LLVM 22.0.0git
llvm::MapResolver Class Referencefinal

Resolve arbitrary mappings. More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::MapResolver:
[legend]

Public Member Functions

 MapResolver (const Record *CurRec=nullptr)
void set (const Init *Key, const Init *Value)
bool isComplete (Init *VarName) const
const Initresolve (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 RecordgetCurrentRecord () const
virtual bool keepUnsetBits () const
bool isFinal () const
void setFinal (bool Final)

Detailed Description

Resolve arbitrary mappings.

Definition at line 2227 of file Record.h.

Constructor & Destructor Documentation

◆ MapResolver()

llvm::MapResolver::MapResolver ( const Record * CurRec = nullptr)
inlineexplicit

Definition at line 2239 of file Record.h.

References llvm::Resolver::Resolver().

Member Function Documentation

◆ isComplete()

bool llvm::MapResolver::isComplete ( Init * VarName) const
inline

Definition at line 2243 of file Record.h.

References assert().

◆ resolve()

const Init * MapResolver::resolve ( const 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 3347 of file Record.cpp.

References I.

◆ set()

void llvm::MapResolver::set ( const Init * Key,
const Init * Value )
inline

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