class TGLocalVarScope
Declaration
class TGLocalVarScope { /* full declaration omitted */ };
Declared at: llvm/lib/TableGen/TGParser.h:80
Member Variables
- private std::map<std::string, Init*, std::less<>> vars
- private std::unique_ptr<TGLocalVarScope> parent
Method Overview
- public TGLocalVarScope()
- public TGLocalVarScope(std::unique_ptr<TGLocalVarScope> parent)
- public void addVar(llvm::StringRef Name, llvm::Init * I)
- public std::unique_ptr<TGLocalVarScope> extractParent()
- public llvm::Init * getVar(llvm::StringRef Name) const
- public bool varAlreadyDefined(llvm::StringRef Name) const
Methods
¶TGLocalVarScope()
TGLocalVarScope()
Declared at: llvm/lib/TableGen/TGParser.h:86
¶TGLocalVarScope(
std::unique_ptr<TGLocalVarScope> parent)
TGLocalVarScope(
std::unique_ptr<TGLocalVarScope> parent)
Declared at: llvm/lib/TableGen/TGParser.h:87
Parameters
- std::unique_ptr<TGLocalVarScope> parent
¶void addVar(llvm::StringRef Name, llvm::Init* I)
void addVar(llvm::StringRef Name, llvm::Init* I)
Declared at: llvm/lib/TableGen/TGParser.h:113
Parameters
- llvm::StringRef Name
- llvm::Init* I
¶std::unique_ptr<TGLocalVarScope> extractParent()
std::unique_ptr<TGLocalVarScope> extractParent()
Declared at: llvm/lib/TableGen/TGParser.h:90
¶llvm::Init* getVar(llvm::StringRef Name) const
llvm::Init* getVar(llvm::StringRef Name) const
Declared at: llvm/lib/TableGen/TGParser.h:96
Parameters
- llvm::StringRef Name
¶bool varAlreadyDefined(llvm::StringRef Name) const
bool varAlreadyDefined(llvm::StringRef Name) const
Declared at: llvm/lib/TableGen/TGParser.h:105
Parameters
- llvm::StringRef Name