LLVM API Documentation
A single location or constant. More...
#include <DebugLocEntry.h>
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 ConstantFP * | getConstantFP () const |
const ConstantInt * | getConstantInt () const |
MachineLocation | getLoc () const |
const MDNode * | getVariableNode () const |
DIVariable | getVariable () const |
bool | isVariablePiece () const |
Public Attributes | |
const MDNode * | Variable |
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. |
A single location or constant.
Definition at line 28 of file DebugLocEntry.h.
Definition at line 49 of file DebugLocEntry.h.
llvm::DebugLocEntry::Value::Value | ( | const MDNode * | Var, |
int64_t | i | ||
) | [inline] |
Definition at line 29 of file DebugLocEntry.h.
llvm::DebugLocEntry::Value::Value | ( | const MDNode * | Var, |
const ConstantFP * | CFP | ||
) | [inline] |
Definition at line 33 of file DebugLocEntry.h.
References CFP.
llvm::DebugLocEntry::Value::Value | ( | const MDNode * | Var, |
const ConstantInt * | CIP | ||
) | [inline] |
Definition at line 37 of file DebugLocEntry.h.
References CIP.
llvm::DebugLocEntry::Value::Value | ( | const MDNode * | Var, |
MachineLocation | Loc | ||
) | [inline] |
Definition at line 41 of file DebugLocEntry.h.
const ConstantFP* llvm::DebugLocEntry::Value::getConstantFP | ( | ) | const [inline] |
Definition at line 67 of file DebugLocEntry.h.
const ConstantInt* llvm::DebugLocEntry::Value::getConstantInt | ( | ) | const [inline] |
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().
MachineLocation llvm::DebugLocEntry::Value::getLoc | ( | ) | const [inline] |
Definition at line 69 of file DebugLocEntry.h.
References Loc.
Referenced by llvm::DwarfDebug::emitDebugLocValue().
DIVariable llvm::DebugLocEntry::Value::getVariable | ( | ) | const [inline] |
Definition at line 71 of file DebugLocEntry.h.
References Variable.
Referenced by llvm::DwarfDebug::emitDebugLocValue(), isVariablePiece(), llvm::operator<(), llvm::operator==(), and llvm::DebugLocEntry::sortUniqueValues().
const MDNode* llvm::DebugLocEntry::Value::getVariableNode | ( | ) | const [inline] |
Definition at line 70 of file DebugLocEntry.h.
References Variable.
bool llvm::DebugLocEntry::Value::isConstantFP | ( | ) | const [inline] |
Definition at line 64 of file DebugLocEntry.h.
References E_ConstantFP, and EntryKind.
bool llvm::DebugLocEntry::Value::isConstantInt | ( | ) | const [inline] |
Definition at line 65 of file DebugLocEntry.h.
References E_ConstantInt, and EntryKind.
bool llvm::DebugLocEntry::Value::isInt | ( | ) | const [inline] |
Definition at line 63 of file DebugLocEntry.h.
References E_Integer, and EntryKind.
Referenced by llvm::DwarfDebug::emitDebugLocValue().
bool llvm::DebugLocEntry::Value::isLocation | ( | ) | const [inline] |
Definition at line 62 of file DebugLocEntry.h.
References E_Location, and EntryKind.
Referenced by llvm::DwarfDebug::emitDebugLocValue().
bool llvm::DebugLocEntry::Value::isVariablePiece | ( | ) | const [inline] |
Definition at line 72 of file DebugLocEntry.h.
References getVariable(), and llvm::DIVariable::isVariablePiece().
Referenced by llvm::DwarfDebug::emitDebugLocEntry().
Compare two pieces based on their offset.
Definition at line 164 of file DebugLocEntry.h.
Compare two Values for equality.
Definition at line 142 of file DebugLocEntry.h.
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().
union { ... } llvm::DebugLocEntry::Value::Constant |
Referenced by llvm::operator==().
Definition at line 50 of file DebugLocEntry.h.
Referenced by isConstantFP(), isConstantInt(), isInt(), isLocation(), and llvm::operator==().
int64_t llvm::DebugLocEntry::Value::Int |
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().