LLVM 22.0.0git
|
Delegate resolving to a sub-resolver, but shadow some variable names. More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
ShadowResolver (Resolver &R) | |
void | addShadow (const Init *Key) |
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. | |
Public Member Functions inherited from llvm::Resolver | |
Resolver (const Record *CurRec) | |
virtual | ~Resolver ()=default |
const Record * | getCurrentRecord () const |
virtual bool | keepUnsetBits () const |
bool | isFinal () const |
void | setFinal (bool Final) |
Delegate resolving to a sub-resolver, but shadow some variable names.
|
inlineexplicit |
Definition at line 2274 of file Record.h.
References llvm::Resolver::getCurrentRecord(), llvm::Resolver::Resolver(), and llvm::Resolver::setFinal().
Definition at line 2279 of file Record.h.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
Referenced by llvm::FoldOpInit::resolveReferences(), and llvm::TernOpInit::resolveReferences().
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.