Lines Matching refs:ADI
541 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch() local
542 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
544 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
560 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
561 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
563 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
567 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
575 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
587 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
588 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
601 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
646 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
647 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
650 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
653 ADI->getDef()); in tryAliasOpMatch()
694 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias() local
695 if (!ADI || !Result->getArgName(i)) in CodeGenInstAlias()
701 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
704 ADI->getDef()->getName() + "!"); in CodeGenInstAlias()
705 Entry = ADI->getDef(); in CodeGenInstAlias()