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()
84 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList()
439 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
441 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
456 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
457 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
459 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
463 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
470 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
475 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
482 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
483 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
496 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
527 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
530 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
532 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch()
566 if (!DI || !DI->getDef()->isSubClassOf("Instruction")) in CodeGenInstAlias()
570 ResultInst = &T.getInstruction(DI->getDef()); in CodeGenInstAlias()
583 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
586 ADI->getDef()->getName() + "!"); in CodeGenInstAlias()
587 Entry = ADI->getDef(); in CodeGenInstAlias()
623 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
644 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()