LLVM  12.0.0git
Public Member Functions | List of all members
llvm::TGLocalVarScope Class Reference

#include "TableGen/TGParser.h"

Public Member Functions

 TGLocalVarScope ()=default
 
 TGLocalVarScope (std::unique_ptr< TGLocalVarScope > parent)
 
std::unique_ptr< TGLocalVarScopeextractParent ()
 
InitgetVar (StringRef Name) const
 
bool varAlreadyDefined (StringRef Name) const
 
void addVar (StringRef Name, Init *I)
 

Detailed Description

Definition at line 76 of file TGParser.h.

Constructor & Destructor Documentation

◆ TGLocalVarScope() [1/2]

llvm::TGLocalVarScope::TGLocalVarScope ( )
default

◆ TGLocalVarScope() [2/2]

llvm::TGLocalVarScope::TGLocalVarScope ( std::unique_ptr< TGLocalVarScope parent)
inline

Definition at line 83 of file TGParser.h.

Member Function Documentation

◆ addVar()

void llvm::TGLocalVarScope::addVar ( StringRef  Name,
Init I 
)
inline

Definition at line 109 of file TGParser.h.

References assert(), and llvm::MipsISD::Ins.

◆ extractParent()

std::unique_ptr<TGLocalVarScope> llvm::TGLocalVarScope::extractParent ( )
inline

Definition at line 86 of file TGParser.h.

◆ getVar()

Init* llvm::TGLocalVarScope::getVar ( StringRef  Name) const
inline

Definition at line 92 of file TGParser.h.

References if().

◆ varAlreadyDefined()

bool llvm::TGLocalVarScope::varAlreadyDefined ( StringRef  Name) const
inline

Definition at line 101 of file TGParser.h.


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