LLVM API Documentation

Public Types | Public Member Functions | Public Attributes | Friends
llvm::DebugLocEntry::Value Struct Reference

A single location or constant. More...

#include <DebugLocEntry.h>

Collaboration diagram for llvm::DebugLocEntry::Value:
Collaboration graph
[legend]

List of all members.

Public Types

enum  EntryType { E_Location, E_Integer, E_ConstantFP, E_ConstantInt }

Public Member Functions

 Value (const MDNode *Var, int64_t i)
 Value (const MDNode *Var, const ConstantFP *CFP)
 Value (const MDNode *Var, const ConstantInt *CIP)
 Value (const MDNode *Var, MachineLocation Loc)
bool isLocation () const
bool isInt () const
bool isConstantFP () const
bool isConstantInt () const
int64_t getInt () const
const ConstantFPgetConstantFP () const
const ConstantIntgetConstantInt () const
MachineLocation getLoc () const
const MDNodegetVariableNode () const
DIVariable getVariable () const
bool isVariablePiece () const

Public Attributes

const MDNodeVariable
enum EntryType EntryKind
union {
   int64_t   Int
   const ConstantFP *   CFP
   const ConstantInt *   CIP
Constant
MachineLocation Loc

Friends

bool operator== (const Value &, const Value &)
 Compare two Values for equality.
bool operator< (const Value &, const Value &)
 Compare two pieces based on their offset.

Detailed Description

A single location or constant.

Definition at line 28 of file DebugLocEntry.h.


Member Enumeration Documentation

Enumerator:
E_Location 
E_Integer 
E_ConstantFP 
E_ConstantInt 

Definition at line 49 of file DebugLocEntry.h.


Constructor & Destructor Documentation

llvm::DebugLocEntry::Value::Value ( const MDNode Var,
int64_t  i 
) [inline]

Definition at line 29 of file DebugLocEntry.h.

Definition at line 33 of file DebugLocEntry.h.

References CFP.

Definition at line 37 of file DebugLocEntry.h.

References CIP.

Definition at line 41 of file DebugLocEntry.h.


Member Function Documentation

Definition at line 67 of file DebugLocEntry.h.

Definition at line 68 of file DebugLocEntry.h.

int64_t llvm::DebugLocEntry::Value::getInt ( ) const [inline]

Definition at line 66 of file DebugLocEntry.h.

Referenced by llvm::DwarfDebug::emitDebugLocValue().

Definition at line 69 of file DebugLocEntry.h.

References Loc.

Referenced by llvm::DwarfDebug::emitDebugLocValue().

Definition at line 70 of file DebugLocEntry.h.

References Variable.

Definition at line 64 of file DebugLocEntry.h.

References E_ConstantFP, and EntryKind.

Definition at line 65 of file DebugLocEntry.h.

References E_ConstantInt, and EntryKind.

Definition at line 63 of file DebugLocEntry.h.

References E_Integer, and EntryKind.

Referenced by llvm::DwarfDebug::emitDebugLocValue().

Definition at line 62 of file DebugLocEntry.h.

References E_Location, and EntryKind.

Referenced by llvm::DwarfDebug::emitDebugLocValue().


Friends And Related Function Documentation

bool operator< ( const Value A,
const Value B 
) [friend]

Compare two pieces based on their offset.

Definition at line 164 of file DebugLocEntry.h.

bool operator== ( const Value A,
const Value B 
) [friend]

Compare two Values for equality.

Definition at line 142 of file DebugLocEntry.h.


Member Data Documentation

Definition at line 55 of file DebugLocEntry.h.

Referenced by llvm::operator==(), and Value().

Definition at line 56 of file DebugLocEntry.h.

Referenced by llvm::operator==(), and Value().

Referenced by llvm::operator==().

Definition at line 50 of file DebugLocEntry.h.

Referenced by isConstantFP(), isConstantInt(), isInt(), isLocation(), and llvm::operator==().

Definition at line 54 of file DebugLocEntry.h.

Referenced by llvm::operator==().

Definition at line 60 of file DebugLocEntry.h.

Referenced by getLoc(), and llvm::operator==().

Definition at line 46 of file DebugLocEntry.h.

Referenced by getVariable(), and getVariableNode().


The documentation for this struct was generated from the following file: