LLVM
15.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 (Init *Key) |
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) |
Delegate resolving to a sub-resolver, but shadow some variable names.
|
inlineexplicit |
Definition at line 2127 of file Record.h.
References llvm::Resolver::setFinal().
|
inline |
Definition at line 2132 of file Record.h.
Referenced by llvm::TernOpInit::resolveReferences(), and llvm::FoldOpInit::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.
Definition at line 2134 of file Record.h.
References llvm::detail::DenseSetImpl< ValueT, DenseMap< ValueT, detail::DenseSetEmpty, DenseMapInfo< ValueT >, detail::DenseSetPair< ValueT > >, DenseMapInfo< ValueT > >::count(), and llvm::tgtok::VarName.