Lines Matching refs:InstOpRec
441 Record *InstOpRec, bool hasSubOps, in tryAliasOpMatch() argument
448 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
460 if (InstOpRec->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
461 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch()
467 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
469 if (!T.getRegisterClass(InstOpRec) in tryAliasOpMatch()
478 if (InstOpRec->isSubClassOf("OptionalDefOperand")) { in tryAliasOpMatch()
479 DagInit *DI = InstOpRec->getValueAsDag("MIOperandInfo"); in tryAliasOpMatch()
482 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
485 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
488 if (!T.getRegisterClass(InstOpRec) in tryAliasOpMatch()
491 " is not a member of the " + InstOpRec->getName() + in tryAliasOpMatch()
520 if (hasSubOps || !InstOpRec->isSubClassOf("Operand")) in tryAliasOpMatch()
532 if (hasSubOps || !InstOpRec->isSubClassOf("Operand")) in tryAliasOpMatch()
548 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
552 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
626 Record *InstOpRec = ResultInst->Operands[i].Rec; in CodeGenInstAlias() local
629 if (tryAliasOpMatch(Result, AliasOpNo, InstOpRec, (NumSubOps > 1), in CodeGenInstAlias()
634 (InstOpRec->getValue("ParserMatchClass") && in CodeGenInstAlias()
635 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
675 (SubOp == 0 ? InstOpRec->getName() :SubRec->getName())); in CodeGenInstAlias()
682 InstOpRec->getName()); in CodeGenInstAlias()