LLVM  8.0.1
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 ()
 
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. More...
 
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 1774 of file Record.h.

Constructor & Destructor Documentation

◆ Resolver()

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

Definition at line 1779 of file Record.h.

◆ ~Resolver()

virtual llvm::Resolver::~Resolver ( )
inlinevirtual

Definition at line 1780 of file Record.h.

Member Function Documentation

◆ getCurrentRecord()

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

◆ isFinal()

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

◆ keepUnsetBits()

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

Reimplemented in llvm::RecordResolver.

Definition at line 1791 of file Record.h.

Referenced by llvm::BitsInit::resolveReferences().

◆ 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::HasReferenceResolver, llvm::TrackUnresolvedResolver, llvm::ShadowResolver, llvm::RecordValResolver, llvm::RecordResolver, and llvm::MapResolver.

Referenced by llvm::VarInit::resolveReferences().

◆ setFinal()

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

Definition at line 1798 of file Record.h.

Referenced by llvm::Record::resolveReferences().


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