LLVM  8.0.1
Public Member Functions | List of all members
llvm::RecordResolver Class Referencefinal

Resolve all variables from a record except for unset variables. More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::RecordResolver:
Inheritance graph
[legend]
Collaboration diagram for llvm::RecordResolver:
Collaboration graph
[legend]

Public Member Functions

 RecordResolver (Record &R)
 
Initresolve (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. More...
 
bool keepUnsetBits () const override
 
- Public Member Functions inherited from llvm::Resolver
 Resolver (Record *CurRec)
 
virtual ~Resolver ()
 
RecordgetCurrentRecord () const
 
bool isFinal () const
 
void setFinal (bool Final)
 

Detailed Description

Resolve all variables from a record except for unset variables.

Definition at line 1822 of file Record.h.

Constructor & Destructor Documentation

◆ RecordResolver()

llvm::RecordResolver::RecordResolver ( Record R)
inlineexplicit

Definition at line 1827 of file Record.h.

References llvm::tgtok::VarName.

Member Function Documentation

◆ keepUnsetBits()

bool llvm::RecordResolver::keepUnsetBits ( ) const
inlineoverridevirtual

Reimplemented from llvm::Resolver.

Definition at line 1831 of file Record.h.

◆ resolve()

Init * RecordResolver::resolve ( Init VarName)
overridevirtual

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 2187 of file Record.cpp.

References llvm::RecordVal::getValue(), llvm::Init::resolveReferences(), and llvm::tgtok::VarName.


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