Lines Matching refs:ADI
438 DefInit *ADI = dyn_cast<DefInit>(Arg);
439 Record *ResultRecord = ADI ? ADI->getDef() : nullptr;
441 if (ADI && ADI->getDef() == InstOpRec) {
456 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand"))
457 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit();
459 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) {
463 .hasSubClass(&T.getRegisterClass(ADI->getDef())))
470 if (ADI && ADI->getDef()->isSubClassOf("Register")) {
482 .contains(T.getRegBank().getReg(ADI->getDef())))
483 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() +
496 if (ADI && ADI->getDef()->getName() == "zero_reg") {
527 ADI->getDef()->isSubClassOf("Operand")) {
530 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type"))
532 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef());
576 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i));
577 if (!ADI || Result->getArgName(i).empty())
583 if (Entry && Entry != ADI->getDef())
586 ADI->getDef()->getName() + "!");
587 Entry = ADI->getDef();