LLVM 20.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 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) |
Delegate resolving to a sub-resolver, but shadow some variable names.
|
inlineexplicit |
Definition at line 2278 of file Record.h.
References llvm::Resolver::setFinal().
Definition at line 2283 of file Record.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert().
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 2285 of file Record.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::count().