LLVM 20.0.0git
|
Resolve all variables from a record except for unset variables. More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
RecordResolver (const Record &R) | |
void | setName (const Init *NewName) |
const Init * | resolve (const 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. | |
bool | keepUnsetBits () const override |
Public Member Functions inherited from llvm::Resolver | |
Resolver (const Record *CurRec) | |
virtual | ~Resolver ()=default |
const Record * | getCurrentRecord () const |
virtual const Init * | resolve (const Init *VarName)=0 |
Return the initializer for the given variable name (should normally be a StringInit), or nullptr if the name could not be resolved. | |
virtual bool | keepUnsetBits () const |
bool | isFinal () const |
void | setFinal (bool Final) |
Resolve all variables from a record except for unset variables.
|
inlineoverridevirtual |
Reimplemented from llvm::Resolver.
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 3353 of file Record.cpp.
References llvm::Resolver::getCurrentRecord(), llvm::is_contained(), and llvm::Init::resolveReferences().