Lines Matching refs:ADI
32 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch() local
33 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
35 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
51 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
52 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
54 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
58 &T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
66 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
78 T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
79 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
92 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
137 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
138 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
141 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
144 ADI->getDef()); in tryAliasOpMatch()
184 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias() local
185 if (!ADI || !Result->getArgName(i)) in CodeGenInstAlias()
191 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
194 " and " + ADI->getDef()->getName() + in CodeGenInstAlias()
196 Entry = ADI->getDef(); in CodeGenInstAlias()