Home
last modified time | relevance | path

Searched refs:CurMultiClass (Results 1 – 10 of 10) 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/lib/TableGen/
DTGParser.cpp65 CurRec = &CurMultiClass->Rec; in AddValue()
86 if (CurRec == 0) CurRec = &CurMultiClass->Rec; in SetValue()
653 if (CurMultiClass) in ParseIDValue()
654 TemplateArgName = CurMultiClass->Rec.getName()+"::"+TemplateArgName; in ParseIDValue()
663 if (CurMultiClass) { in ParseIDValue()
664 std::string MCName = CurMultiClass->Rec.getName()+"::"+Name; in ParseIDValue()
665 if (CurMultiClass->Rec.isTemplateArg(MCName)) { in ParseIDValue()
666 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName); in ParseIDValue()
796 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass); in ParseOperation()
855 ->Fold(CurRec, CurMultiClass); in ParseOperation()
[all …]
DTGParser.h51 MultiClass *CurMultiClass; variable
57 Lex(SrcMgr), CurMultiClass(0), Records(records) {} in TGParser()
101 bool ParseDefm(MultiClass *CurMultiClass);
102 bool ParseDef(MultiClass *CurMultiClass);
103 bool ParseTopLevelLet(MultiClass *CurMultiClass);
DRecord.cpp736 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
775 if (CurMultiClass) { in Fold()
776 std::string MCName = CurMultiClass->Rec.getName()+"::"+Name; in Fold()
777 if (CurMultiClass->Rec.isTemplateArg(MCName)) { in Fold()
778 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName); in Fold()
886 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
1008 Record *CurRec, MultiClass *CurMultiClass);
1012 MultiClass *CurMultiClass) { in EvaluateOperation() argument
1020 CurRec, CurMultiClass); in EvaluateOperation()
1033 Type, CurRec, CurMultiClass); in EvaluateOperation()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.h101 MultiClass *CurMultiClass; variable
119 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records) {} in TGParser()
161 bool ParseDefm(MultiClass *CurMultiClass);
162 bool ParseDef(MultiClass *CurMultiClass);
164 bool ParseForeach(MultiClass *CurMultiClass);
165 bool ParseTopLevelLet(MultiClass *CurMultiClass);
197 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()
495 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,
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h894 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0;
943 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const;
992 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const;
1048 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const;