Lines Matching refs:CurRec
617 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
634 if (CurRec) {
635 if (const RecordVal *RV = CurRec->getValue(Name)) {
641 Init *TemplateArgName = QualifyName(*CurRec, CurMultiClass, Name,
644 if (CurRec->isTemplateArg(TemplateArgName)) {
645 const RecordVal *RV = CurRec->getValue(TemplateArgName);
669 assert(CurRec && "NULL pointer");
670 if (Record *D = (CurRec->getRecords()).getDef(Name))
673 PrintFatalError(CurRec->getLoc(),
751 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
891 Record *CurRec, MultiClass *CurMultiClass);
894 RecTy *Type, Record *CurRec,
899 return ForeachHelper(LHS, Arg, RHSo, Type, CurRec, CurMultiClass);
905 Type, CurRec, CurMultiClass))
918 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass);
923 Record *CurRec, MultiClass *CurMultiClass) {
928 PrintFatalError(CurRec->getLoc(), "!foreach requires an operator\n");
933 PrintFatalError(CurRec->getLoc(), "!foreach requires typed variable\n");
939 Type, CurRec, CurMultiClass))
949 CurRec, CurMultiClass))
976 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass);
985 Init *TernOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
1032 CurRec, CurMultiClass))
1915 /// to CurRec's name.
1916 Init *llvm::QualifyName(Record &CurRec, MultiClass *CurMultiClass,
1923 CurRec.getNameInit(),
1925 Type)->Fold(&CurRec, CurMultiClass),
1935 Type)->Fold(&CurRec, CurMultiClass),
1936 NewName->Fold(&CurRec, CurMultiClass),
1940 return NewName->Fold(&CurRec, CurMultiClass);
1944 /// to CurRec's name.
1945 Init *llvm::QualifyName(Record &CurRec, MultiClass *CurMultiClass,
1948 return QualifyName(CurRec, CurMultiClass, StringInit::get(Name), Scoper);