LLVM 20.0.0git
|
Interface for looking up the initializer for a variable name, used by Init::resolveReferences. More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
Resolver (Record *CurRec) | |
virtual | ~Resolver ()=default |
Record * | getCurrentRecord () const |
virtual Init * | resolve (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) |
Interface for looking up the initializer for a variable name, used by Init::resolveReferences.
|
inlineexplicit |
|
virtualdefault |
|
inline |
Definition at line 2220 of file Record.h.
Referenced by llvm::RecordResolver::resolve().
|
inlinevirtual |
Reimplemented in llvm::RecordResolver.
Return the initializer for the given variable name (should normally be a StringInit), or nullptr if the name could not be resolved.
Implemented in llvm::MapResolver, llvm::RecordResolver, llvm::ShadowResolver, llvm::TrackUnresolvedResolver, and llvm::HasReferenceResolver.
Referenced by llvm::TrackUnresolvedResolver::resolve().
|
inline |
Definition at line 2236 of file Record.h.
Referenced by llvm::ShadowResolver::ShadowResolver().