Lines Matching refs:ADI
545 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch() local
546 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
548 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
564 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
565 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
567 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
571 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
579 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
591 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
592 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
605 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
650 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
651 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
654 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
657 ADI->getDef()); in tryAliasOpMatch()
698 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias() local
699 if (!ADI || !Result->getArgName(i)) in CodeGenInstAlias()
705 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
708 ADI->getDef()->getName() + "!"); in CodeGenInstAlias()
709 Entry = ADI->getDef(); in CodeGenInstAlias()