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

Detailed Description

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

Definition at line 2203 of file Record.h.

Constructor & Destructor Documentation

◆ Resolver()

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

Definition at line 2208 of file Record.h.

◆ ~Resolver()

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

Member Function Documentation

◆ getCurrentRecord()

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

Definition at line 2211 of file Record.h.

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

◆ isFinal()

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

Definition at line 2225 of file Record.h.

◆ keepUnsetBits()

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

Reimplemented in llvm::RecordResolver.

Definition at line 2220 of file Record.h.

◆ resolve()

virtual const Init * llvm::Resolver::resolve ( const 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 2227 of file Record.h.

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


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