Lines Matching refs:ADI
441 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch() local
442 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
444 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
459 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
460 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
462 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
466 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
473 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
485 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
486 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
499 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
544 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
545 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
548 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
550 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch()
594 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias() local
595 if (!ADI || Result->getArgName(i).empty()) in CodeGenInstAlias()
601 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
604 ADI->getDef()->getName() + "!"); in CodeGenInstAlias()
605 Entry = ADI->getDef(); in CodeGenInstAlias()