LLVM  10.0.0
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< TGLocalVarScope > extractParent ()
 
Init * getVar (StringRef Name) const
 
bool varAlreadyDefined (StringRef Name) const
 
void addVar (StringRef Name, Init *I)
 

Detailed Description

Definition at line 81 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 88 of file TGParser.h.

Member Function Documentation

◆ addVar()

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

Definition at line 114 of file TGParser.h.

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

◆ extractParent()

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

Definition at line 91 of file TGParser.h.

◆ getVar()

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

Definition at line 97 of file TGParser.h.

References if().

◆ varAlreadyDefined()

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

Definition at line 106 of file TGParser.h.


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