Lines Matching defs:TGVarScope
91 class TGVarScope {
97 std::unique_ptr<TGVarScope> Parent;
105 TGVarScope(std::unique_ptr<TGVarScope> Parent)
107 TGVarScope(std::unique_ptr<TGVarScope> Parent, Record *Rec)
109 TGVarScope(std::unique_ptr<TGVarScope> Parent, ForeachLoop *Loop)
111 TGVarScope(std::unique_ptr<TGVarScope> Parent, MultiClass *Multiclass)
115 std::unique_ptr<TGVarScope> extractParent() {
159 std::unique_ptr<TGVarScope> CurScope;
201 TGVarScope *PushScope() {
202 CurScope = std::make_unique<TGVarScope>(std::move(CurScope));
208 TGVarScope *PushScope(Record *Rec) {
209 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Rec);
212 TGVarScope *PushScope(ForeachLoop *Loop) {
213 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Loop);
216 TGVarScope *PushScope(MultiClass *Multiclass) {
217 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Multiclass);
220 void PopScope(TGVarScope *ExpectedStackTop) {