Lines Matching refs:DefInit
550 DefInit *DI = dyn_cast<DefInit>(getElement(i)); in getElementAsRecord()
658 if (DefInit *LHSd = dyn_cast<DefInit>(LHS)) in Fold()
705 return DefInit::get(D); in Fold()
805 DefInit *LOp = dyn_cast<DefInit>(LHSs->getOperator()); in Fold()
806 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold()
1045 DefInit *LHSd = dyn_cast<DefInit>(LHS); in Fold()
1049 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold()
1053 DefInit *RHSd = dyn_cast<DefInit>(RHS); in Fold()
1061 return DefInit::get(Val); in Fold()
1428 DefInit *DefInit::get(Record *R) { in get()
1432 Init *DefInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
1435 return const_cast<DefInit *>(this); in convertInitializerTo()
1439 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1445 Init *DefInit::getFieldInit(Record &R, const RecordVal *RV, in getFieldInit()
1451 std::string DefInit::getAsString() const { in getAsString()
1642 DefInit *Record::getDefInit() { in getDefInit()
1644 TheInit.reset(new DefInit(this, new RecordRecTy(this))); in getDefInit()
1785 if (DefInit *DI = dyn_cast<DefInit>(I)) in getValueAsListOfDefs()
1840 if (DefInit *DI = dyn_cast<DefInit>(R->getValue())) in getValueAsDef()