LLVM
17.0.0git
|
Resolve arbitrary mappings. More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
MapResolver (Record *CurRec=nullptr) | |
void | set (Init *Key, Init *Value) |
bool | isComplete (Init *VarName) const |
Init * | resolve (Init *VarName) override |
Return the initializer for the given variable name (should normally be a StringInit), or nullptr if the name could not be resolved. More... | |
![]() | |
Resolver (Record *CurRec) | |
virtual | ~Resolver ()=default |
Record * | getCurrentRecord () const |
virtual bool | keepUnsetBits () const |
bool | isFinal () const |
void | setFinal (bool Final) |
|
inlineexplicit |
|
inline |
Definition at line 2181 of file Record.h.
References assert(), and llvm::tgtok::VarName.
Return the initializer for the given variable name (should normally be a StringInit), or nullptr if the name could not be resolved.
Implements llvm::Resolver.
Definition at line 3001 of file Record.cpp.
References I, and llvm::tgtok::VarName.