|
LLVM
7.0.0
|
ValID - Represents a reference of a definition of some sort with no type. More...
#include "AsmParser/LLParser.h"
Public Types | |
| enum | { t_LocalID, t_GlobalID, t_LocalName, t_GlobalName, t_APSInt, t_APFloat, t_Null, t_Undef, t_Zero, t_None, t_EmptyArray, t_Constant, t_InlineAsm, t_ConstantStruct, t_PackedConstantStruct } |
Public Member Functions | |
| ValID ()=default | |
| ValID (const ValID &RHS) | |
| bool | operator< (const ValID &RHS) const |
Public Attributes | |
| enum llvm::ValID:: { ... } | Kind = t_LocalID |
| LLLexer::LocTy | Loc |
| unsigned | UIntVal |
| FunctionType * | FTy = nullptr |
| std::string | StrVal |
| std::string | StrVal2 |
| APSInt | APSIntVal |
| APFloat | APFloatVal {0.0} |
| Constant * | ConstantVal |
| std::unique_ptr< 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 48 of file LLParser.h.
| anonymous enum |
| Enumerator | |
|---|---|
| t_LocalID | |
| t_GlobalID | |
| t_LocalName | |
| t_GlobalName | |
| t_APSInt | |
| t_APFloat | |
| t_Null | |
| t_Undef | |
| t_Zero | |
| t_None | |
| t_EmptyArray | |
| t_Constant | |
| t_InlineAsm | |
| t_ConstantStruct | |
| t_PackedConstantStruct | |
Definition at line 49 of file LLParser.h.
|
default |
Definition at line 71 of file LLParser.h.
References assert(), and ConstantStructElts.
Definition at line 78 of file LLParser.h.
References assert(), StrVal, t_ConstantStruct, t_GlobalID, t_GlobalName, t_LocalID, t_LocalName, t_PackedConstantStruct, and UIntVal.
| APFloat llvm::ValID::APFloatVal {0.0} |
Definition at line 66 of file LLParser.h.
Referenced by isValidVariableType().
| APSInt llvm::ValID::APSIntVal |
Definition at line 65 of file LLParser.h.
Referenced by isValidVariableType().
| std::unique_ptr<Constant *[]> llvm::ValID::ConstantStructElts |
Definition at line 68 of file LLParser.h.
Referenced by isValidVariableType(), and ValID().
| Constant* llvm::ValID::ConstantVal |
Definition at line 67 of file LLParser.h.
Referenced by isValidVariableType(), and maybeSetDSOLocal().
| FunctionType* llvm::ValID::FTy = nullptr |
Definition at line 63 of file LLParser.h.
Referenced by isValidVariableType().
| enum { ... } llvm::ValID::Kind |
Referenced by llvm::LLParser::getContext(), isValidVariableType(), and maybeSetDSOLocal().
| LLLexer::LocTy llvm::ValID::Loc |
Definition at line 61 of file LLParser.h.
Referenced by llvm::LLParser::getContext(), and isValidVariableType().
| std::string llvm::ValID::StrVal |
Definition at line 64 of file LLParser.h.
Referenced by isValidVariableType(), and operator<().
| std::string llvm::ValID::StrVal2 |
Definition at line 64 of file LLParser.h.
Referenced by isValidVariableType().
| unsigned llvm::ValID::UIntVal |
Definition at line 62 of file LLParser.h.
Referenced by isValidVariableType(), and operator<().
1.8.13