Lines Matching refs:getDef
36 if (Init->getDef()->getName() != "outs") in CGIOperandList()
45 if (Init->getDef()->getName() != "ins") in CGIOperandList()
67 Record *Rec = Arg->getDef(); in CGIOperandList()
87 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList()
441 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
443 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
458 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
459 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
461 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
465 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
472 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
477 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
484 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
485 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
498 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
544 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
547 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
549 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch()
583 if (!DI || !DI->getDef()->isSubClassOf("Instruction")) in CodeGenInstAlias()
587 ResultInst = &T.getInstruction(DI->getDef()); in CodeGenInstAlias()
600 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
603 ADI->getDef()->getName() + "!"); in CodeGenInstAlias()
604 Entry = ADI->getDef(); in CodeGenInstAlias()
640 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
661 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()