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()
85 ->getDef()->getName() != "ops") in CGIOperandList()
416 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
422 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch()
428 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
432 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
434 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch()
439 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
444 InstOpRec = dynamic_cast<DefInit*>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
454 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
455 throw TGError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
463 ResOp = ResultOperand(ADI->getDef()); in tryAliasOpMatch()
468 if (ADI && ADI->getDef()->getName() == "zero_reg") { in tryAliasOpMatch()
499 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
502 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
504 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch()
517 if (DI == 0 || !DI->getDef()->isSubClassOf("Instruction")) in CodeGenInstAlias()
520 ResultInst = &T.getInstruction(DI->getDef()); in CodeGenInstAlias()
533 if (Entry && Entry != ADI->getDef()) in CodeGenInstAlias()
536 ADI->getDef()->getName() + "!"); in CodeGenInstAlias()
537 Entry = ADI->getDef(); in CodeGenInstAlias()
572 Record *SubRec = dynamic_cast<DefInit*>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()