LLVM API Documentation
#include <LLParser.h>
Public Types | |
enum | { t_LocalID, t_GlobalID, t_LocalName, t_GlobalName, t_APSInt, t_APFloat, t_Null, t_Undef, t_Zero, t_EmptyArray, t_Constant, t_InlineAsm, t_MDNode, t_MDString, t_ConstantStruct, t_PackedConstantStruct } |
Public Member Functions | |
ValID () | |
~ValID () | |
bool | operator< (const ValID &RHS) const |
Public Attributes | |
enum llvm::ValID:: { ... } | Kind |
LLLexer::LocTy | Loc |
unsigned | UIntVal |
std::string | StrVal |
std::string | StrVal2 |
APSInt | APSIntVal |
APFloat | APFloatVal |
Constant * | ConstantVal |
MDNode * | MDNodeVal |
MDString * | MDStringVal |
Constant ** | ConstantStructElts |
ValID - Represents a reference of a definition of some sort with no type. There are several cases where we have to parse the value but where the type can depend on later context. This may either be a numeric reference or a symbolic (var) reference. This is just a discriminated union.
Definition at line 46 of file LLParser.h.
anonymous enum |
t_LocalID | |
t_GlobalID | |
t_LocalName | |
t_GlobalName | |
t_APSInt | |
t_APFloat | |
t_Null | |
t_Undef | |
t_Zero | |
t_EmptyArray | |
t_Constant | |
t_InlineAsm | |
t_MDNode | |
t_MDString | |
t_ConstantStruct | |
t_PackedConstantStruct |
Definition at line 47 of file LLParser.h.
llvm::ValID::ValID | ( | ) | [inline] |
Definition at line 71 of file LLParser.h.
llvm::ValID::~ValID | ( | ) | [inline] |
Definition at line 72 of file LLParser.h.
References ConstantStructElts, Kind, t_ConstantStruct, and t_PackedConstantStruct.
Definition at line 77 of file LLParser.h.
References Kind, StrVal, t_ConstantStruct, t_GlobalID, t_GlobalName, t_LocalID, t_LocalName, t_PackedConstantStruct, and UIntVal.
Definition at line 65 of file LLParser.h.
Definition at line 64 of file LLParser.h.
Definition at line 69 of file LLParser.h.
Referenced by ~ValID().
Definition at line 66 of file LLParser.h.
enum { ... } llvm::ValID::Kind |
Referenced by operator<(), and ~ValID().
Definition at line 61 of file LLParser.h.
Definition at line 67 of file LLParser.h.
Definition at line 68 of file LLParser.h.
std::string llvm::ValID::StrVal |
Definition at line 63 of file LLParser.h.
Referenced by operator<().
std::string llvm::ValID::StrVal2 |
Definition at line 63 of file LLParser.h.
Definition at line 62 of file LLParser.h.
Referenced by operator<().