Home
last modified time | relevance | path

Searched refs:CurMultiClass (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/TableGen/
DTGParser.cpp60 CurRec = &CurMultiClass->Rec; in AddValue()
82 if (!CurRec) CurRec = &CurMultiClass->Rec; in SetValue()
377 Init *TGParser::ParseObjectName(MultiClass *CurMultiClass) { in ParseObjectName() argument
391 if (CurMultiClass) in ParseObjectName()
392 CurRec = &CurMultiClass->Rec; in ParseObjectName()
715 Init *TemplateArgName = QualifyName(*CurRec, CurMultiClass, Name, ":"); in ParseIDValue()
717 if (CurMultiClass) in ParseIDValue()
718 TemplateArgName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name, in ParseIDValue()
728 if (CurMultiClass) { in ParseIDValue()
729 Init *MCName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name, in ParseIDValue()
[all …]
DTGParser.h67 MultiClass *CurMultiClass; variable
88 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records), AnonCounter(0) {} in TGParser()
154 bool ParseDefm(MultiClass *CurMultiClass);
155 bool ParseDef(MultiClass *CurMultiClass);
156 bool ParseForeach(MultiClass *CurMultiClass);
157 bool ParseTopLevelLet(MultiClass *CurMultiClass);
187 Init *ParseObjectName(MultiClass *CurMultiClass);
DRecord.cpp651 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
675 Init *TemplateArgName = QualifyName(*CurRec, CurMultiClass, Name, in Fold()
689 if (CurMultiClass) { in Fold()
690 Init *MCName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name, in Fold()
693 if (CurMultiClass->Rec.isTemplateArg(MCName)) { in Fold()
694 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName); in Fold()
799 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
948 Record *CurRec, MultiClass *CurMultiClass);
952 MultiClass *CurMultiClass) { in EvaluateOperation() argument
956 return ForeachHelper(LHS, Arg, RHSo, Type, CurRec, CurMultiClass); in EvaluateOperation()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGParser.h144 MultiClass *CurMultiClass; variable
167 : Lex(SM, Macros), CurMultiClass(nullptr), Records(records) {} in TGParser()
222 bool ParseDefm(MultiClass *CurMultiClass);
223 bool ParseDef(MultiClass *CurMultiClass);
226 bool ParseForeach(MultiClass *CurMultiClass);
227 bool ParseIf(MultiClass *CurMultiClass);
228 bool ParseIfBody(MultiClass *CurMultiClass, StringRef Kind);
229 bool ParseTopLevelLet(MultiClass *CurMultiClass);
263 Init *ParseObjectName(MultiClass *CurMultiClass);
DTGParser.cpp114 static Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass, in QualifyName() argument
119 if (CurMultiClass && Scoper != "::") { in QualifyName()
120 Init *Prefix = BinOpInit::getStrConcat(CurMultiClass->Rec.getNameInit(), in QualifyName()
142 CurRec = &CurMultiClass->Rec; in AddValue()
164 if (!CurRec) CurRec = &CurMultiClass->Rec; in SetValue()
354 return resolve(*E.Loop, Stack, CurMultiClass == nullptr, in addEntry()
355 CurMultiClass ? &CurMultiClass->Entries : nullptr); in addEntry()
358 if (CurMultiClass) { in addEntry()
359 CurMultiClass->Entries.push_back(std::move(E)); in addEntry()
496 Init *TGParser::ParseObjectName(MultiClass *CurMultiClass) { in ParseObjectName() argument
[all …]
/external/llvm-project/llvm/lib/TableGen/
DTGParser.h139 MultiClass *CurMultiClass; variable
162 : Lex(SM, Macros), CurMultiClass(nullptr), Records(records) {} in TGParser()
218 bool ParseDefm(MultiClass *CurMultiClass);
219 bool ParseDef(MultiClass *CurMultiClass);
222 bool ParseForeach(MultiClass *CurMultiClass);
223 bool ParseIf(MultiClass *CurMultiClass);
224 bool ParseIfBody(MultiClass *CurMultiClass, StringRef Kind);
225 bool ParseTopLevelLet(MultiClass *CurMultiClass);
260 Init *ParseObjectName(MultiClass *CurMultiClass);
DTGParser.cpp115 static Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass, in QualifyName() argument
120 if (CurMultiClass && Scoper != "::") { in QualifyName()
121 Init *Prefix = BinOpInit::getStrConcat(CurMultiClass->Rec.getNameInit(), in QualifyName()
143 CurRec = &CurMultiClass->Rec; in AddValue()
165 if (!CurRec) CurRec = &CurMultiClass->Rec; in SetValue()
355 return resolve(*E.Loop, Stack, CurMultiClass == nullptr, in addEntry()
356 CurMultiClass ? &CurMultiClass->Entries : nullptr); in addEntry()
359 if (CurMultiClass) { in addEntry()
360 CurMultiClass->Entries.push_back(std::move(E)); in addEntry()
505 Init *TGParser::ParseObjectName(MultiClass *CurMultiClass) { in ParseObjectName() argument
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h741 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0;
790 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
844 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
902 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
1664 Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass,
1669 Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass,