LLVM 17.0.0git
Public Member Functions | List of all members
llvm::Resolver Class Referenceabstract

Interface for looking up the initializer for a variable name, used by Init::resolveReferences. More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::Resolver:
Inheritance graph
[legend]

Public Member Functions

 Resolver (Record *CurRec)
 
virtual ~Resolver ()=default
 
RecordgetCurrentRecord () const
 
virtual Initresolve (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)
 

Detailed Description

Interface for looking up the initializer for a variable name, used by Init::resolveReferences.

Definition at line 2137 of file Record.h.

Constructor & Destructor Documentation

◆ Resolver()

llvm::Resolver::Resolver ( Record CurRec)
inlineexplicit

Definition at line 2142 of file Record.h.

◆ ~Resolver()

virtual llvm::Resolver::~Resolver ( )
virtualdefault

Member Function Documentation

◆ getCurrentRecord()

Record * llvm::Resolver::getCurrentRecord ( ) const
inline

Definition at line 2145 of file Record.h.

Referenced by llvm::RecordResolver::resolve().

◆ isFinal()

bool llvm::Resolver::isFinal ( ) const
inline

Definition at line 2159 of file Record.h.

◆ keepUnsetBits()

virtual bool llvm::Resolver::keepUnsetBits ( ) const
inlinevirtual

Reimplemented in llvm::RecordResolver.

Definition at line 2154 of file Record.h.

◆ resolve()

virtual Init * llvm::Resolver::resolve ( Init VarName)
pure virtual

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().

◆ setFinal()

void llvm::Resolver::setFinal ( bool  Final)
inline

Definition at line 2161 of file Record.h.

Referenced by llvm::ShadowResolver::ShadowResolver().


The documentation for this class was generated from the following file: