LLVM
8.0.1
|
Resolve arbitrary mappings. More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
MapResolver (Record *CurRec=nullptr) | |
void | set (Init *Key, Init *Value) |
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... | |
Public Member Functions inherited from llvm::Resolver | |
Resolver (Record *CurRec) | |
virtual | ~Resolver () |
Record * | getCurrentRecord () const |
virtual bool | keepUnsetBits () const |
bool | isFinal () const |
void | setFinal (bool Final) |
|
inlineexplicit |
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 2169 of file Record.cpp.
References I, llvm::Init::resolveReferences(), and llvm::tgtok::VarName.
Definition at line 1816 of file Record.h.
References llvm::tgtok::VarName.
Referenced by ForeachApply(), llvm::VarDefInit::Profile(), and QualifiedNameOfImplicitName().