LLVM
8.0.1
|
A single location or constant. More...
#include "CodeGen/AsmPrinter/DebugLocEntry.h"
Public Types | |
enum | EntryType { E_Location, E_Integer, E_ConstantFP, E_ConstantInt } |
Type of entry that this represents. More... | |
Public Member Functions | |
Value (const DIExpression *Expr, int64_t i) | |
Value (const DIExpression *Expr, const ConstantFP *CFP) | |
Value (const DIExpression *Expr, const ConstantInt *CIP) | |
Value (const DIExpression *Expr, 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 |
bool | isFragment () const |
const DIExpression * | getExpression () const |
LLVM_DUMP_METHOD void | dump () const |
Public Attributes | |
const DIExpression * | Expression |
Any complex address location expression for this Value. More... | |
enum EntryType | EntryKind |
union { | |
int64_t Int | |
const ConstantFP * CFP | |
const ConstantInt * CIP | |
} | Constant |
Either a constant,. More... | |
MachineLocation | Loc |
Friends | |
bool | operator== (const Value &, const Value &) |
Compare two Values for equality. More... | |
bool | operator< (const Value &, const Value &) |
Compare two fragments based on their offset. More... | |
A single location or constant.
Definition at line 33 of file DebugLocEntry.h.
Type of entry that this represents.
Enumerator | |
---|---|
E_Location | |
E_Integer | |
E_ConstantFP | |
E_ConstantInt |
Definition at line 55 of file DebugLocEntry.h.
|
inline |
Definition at line 34 of file DebugLocEntry.h.
|
inline |
Definition at line 38 of file DebugLocEntry.h.
References CFP.
|
inline |
Definition at line 42 of file DebugLocEntry.h.
References CIP.
|
inline |
Definition at line 46 of file DebugLocEntry.h.
References assert().
|
inline |
Definition at line 81 of file DebugLocEntry.h.
References llvm::dbgs(), llvm::Metadata::dump(), llvm::Value::dump(), llvm::MachineLocation::getReg(), isConstantFP(), isConstantInt(), llvm::MachineLocation::isIndirect(), and isLocation().
|
inline |
Definition at line 73 of file DebugLocEntry.h.
Referenced by emitDebugLocValue().
|
inline |
Definition at line 74 of file DebugLocEntry.h.
|
inline |
Definition at line 77 of file DebugLocEntry.h.
References Expression, operator<, and operator==.
Referenced by emitDebugLocValue(), isFragment(), llvm::operator<(), and llvm::DebugLocEntry::sortUniqueValues().
|
inline |
Definition at line 72 of file DebugLocEntry.h.
Referenced by emitDebugLocValue().
|
inline |
|
inline |
Definition at line 70 of file DebugLocEntry.h.
References E_ConstantFP.
Referenced by dump(), and emitDebugLocValue().
|
inline |
|
inline |
Definition at line 76 of file DebugLocEntry.h.
References getExpression(), and llvm::DIExpression::isFragment().
Referenced by llvm::DebugLocEntry::addValues().
|
inline |
Definition at line 69 of file DebugLocEntry.h.
References E_Integer.
Referenced by emitDebugLocValue().
|
inline |
Definition at line 68 of file DebugLocEntry.h.
References E_Location.
Referenced by dump(), and emitDebugLocValue().
Compare two fragments based on their offset.
Definition at line 179 of file DebugLocEntry.h.
Referenced by getExpression().
Compare two Values for equality.
Definition at line 157 of file DebugLocEntry.h.
Referenced by getExpression().
const ConstantFP* llvm::DebugLocEntry::Value::CFP |
Definition at line 61 of file DebugLocEntry.h.
Referenced by llvm::operator==(), and Value().
const ConstantInt* llvm::DebugLocEntry::Value::CIP |
Definition at line 62 of file DebugLocEntry.h.
Referenced by llvm::operator==(), and Value().
union { ... } llvm::DebugLocEntry::Value::Constant |
Either a constant,.
Referenced by llvm::operator==().
enum EntryType llvm::DebugLocEntry::Value::EntryKind |
Definition at line 56 of file DebugLocEntry.h.
Referenced by llvm::operator==().
const DIExpression* llvm::DebugLocEntry::Value::Expression |
Any complex address location expression for this Value.
Definition at line 52 of file DebugLocEntry.h.
Referenced by getExpression(), and llvm::operator==().
int64_t llvm::DebugLocEntry::Value::Int |
Definition at line 60 of file DebugLocEntry.h.
Referenced by llvm::operator==().
MachineLocation llvm::DebugLocEntry::Value::Loc |
Definition at line 66 of file DebugLocEntry.h.
Referenced by getLoc(), and llvm::operator==().