Lines Matching refs:ADI
445 DefInit *ADI = dyn_cast<DefInit>(Arg); in tryAliasOpMatch() local
446 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
448 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
463 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
464 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
466 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
470 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
477 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
489 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
490 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
503 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
548 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
549 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
552 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
554 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch()
598 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias() local
599 if (!ADI || Result->getArgName(i).empty()) in CodeGenInstAlias()
605 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
608 ADI->getDef()->getName() + "!"); in CodeGenInstAlias()
609 Entry = ADI->getDef(); in CodeGenInstAlias()