Home
last modified time | relevance | path

Searched refs:CurRec (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/TableGen/
DTGParser.cpp60 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { in AddValue() argument
61 if (!CurRec) in AddValue()
62 CurRec = &CurMultiClass->Rec; in AddValue()
64 if (RecordVal *ERV = CurRec->getValue(RV.getNameInit())) { in AddValue()
72 CurRec->addValue(RV); in AddValue()
79 bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName, in SetValue() argument
83 if (!CurRec) CurRec = &CurMultiClass->Rec; in SetValue()
85 RecordVal *RV = CurRec->getValue(ValName); in SetValue()
148 bool TGParser::AddSubClass(Record *CurRec, SubClassReference &SubClass) { in AddSubClass() argument
152 if (AddValue(CurRec, SubClass.RefRange.Start, Val)) in AddSubClass()
[all …]
DTGParser.h130 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc);
131 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals);
148 Record *CurRec,
157 bool ParseObjectBody(Record *CurRec);
158 bool ParseBody(Record *CurRec);
159 bool ParseBodyItem(Record *CurRec);
161 bool ParseTemplateArgList(Record *CurRec);
162 Init *ParseDeclaration(Record *CurRec, bool ParsingTemplateArgs);
165 SubClassReference ParseSubClassReference(Record *CurRec, bool isDefm);
168 Init *ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc,
[all …]
DRecord.cpp617 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() argument
634 if (CurRec) { in Fold()
635 if (const RecordVal *RV = CurRec->getValue(Name)) { in Fold()
641 Init *TemplateArgName = QualifyName(*CurRec, CurMultiClass, Name, in Fold()
644 if (CurRec->isTemplateArg(TemplateArgName)) { in Fold()
645 const RecordVal *RV = CurRec->getValue(TemplateArgName); in Fold()
669 assert(CurRec && "NULL pointer"); in Fold()
670 if (Record *D = (CurRec->getRecords()).getDef(Name)) in Fold()
673 PrintFatalError(CurRec->getLoc(), in Fold()
751 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() argument
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h668 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0;
716 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
768 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
825 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
1582 Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass,
1587 Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass,