Lines Matching refs:InstOpRec
437 Record *InstOpRec, bool hasSubOps, in tryAliasOpMatch() argument
444 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
456 if (InstOpRec->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
457 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch()
463 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
465 if (!T.getRegisterClass(InstOpRec) in tryAliasOpMatch()
474 if (InstOpRec->isSubClassOf("OptionalDefOperand")) { in tryAliasOpMatch()
475 DagInit *DI = InstOpRec->getValueAsDag("MIOperandInfo"); in tryAliasOpMatch()
478 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
481 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
484 if (!T.getRegisterClass(InstOpRec) in tryAliasOpMatch()
487 " is not a member of the " + InstOpRec->getName() + in tryAliasOpMatch()
516 if (hasSubOps || !InstOpRec->isSubClassOf("Operand")) in tryAliasOpMatch()
528 if (hasSubOps || !InstOpRec->isSubClassOf("Operand")) in tryAliasOpMatch()
544 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
548 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
622 Record *InstOpRec = ResultInst->Operands[i].Rec; in CodeGenInstAlias() local
625 if (tryAliasOpMatch(Result, AliasOpNo, InstOpRec, (NumSubOps > 1), in CodeGenInstAlias()
630 (InstOpRec->getValue("ParserMatchClass") && in CodeGenInstAlias()
631 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
671 (SubOp == 0 ? InstOpRec->getName() :SubRec->getName())); in CodeGenInstAlias()
678 InstOpRec->getName()); in CodeGenInstAlias()