Lines Matching refs:getDef
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()
71 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); 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()
138 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
141 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
144 ADI->getDef()); in tryAliasOpMatch()
174 if (!DI || !DI->getDef()->isSubClassOf("Instruction")) in CodeGenInstAlias()
178 ResultInst = &T.getInstruction(DI->getDef()); in CodeGenInstAlias()
191 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
194 " and " + ADI->getDef()->getName() + in CodeGenInstAlias()
196 Entry = ADI->getDef(); in CodeGenInstAlias()
237 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
259 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()