|
LLVM 24.0.0git
|
Do not resolve anything, but keep track of whether a given variable was referenced. More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
| HasReferenceResolver (const Init *VarNameToTrack) | |
| bool | found () const |
| 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) |
| virtual const Init * | getCachedResult (const Init *I, bool &FoundUnresolved) const |
Return the cached result of resolving I, or nullptr. | |
| virtual void | cacheResult (const Init *I, const Init *Result, bool FoundUnresolved) |
Cache the result of resolving I. | |
| virtual void | noteUnresolved () |
| Called when a cached result has unresolved references. | |
Additional Inherited Members | |
| Protected Member Functions inherited from llvm::Resolver | |
| virtual void | clearCachedResults () |
Do not resolve anything, but keep track of whether a given variable was referenced.
Definition at line 2467 of file Record.h.
References llvm::Resolver::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 3318 of file Record.cpp.