Lines Matching refs:InstOpRec
29 const Record *InstOpRec, bool hasSubOps, in tryAliasOpMatch() argument
37 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
49 if (InstOpRec->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
50 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch()
56 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
58 if (!T.getRegisterClass(InstOpRec).hasSubClass( in tryAliasOpMatch()
67 if (InstOpRec->isSubClassOf("OptionalDefOperand")) { in tryAliasOpMatch()
68 const DagInit *DI = InstOpRec->getValueAsDag("MIOperandInfo"); in tryAliasOpMatch()
71 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
74 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
77 if (!T.getRegisterClass(InstOpRec).contains( in tryAliasOpMatch()
81 InstOpRec->getName() + " register class!"); in tryAliasOpMatch()
109 if (hasSubOps || !InstOpRec->isSubClassOf("Operand")) in tryAliasOpMatch()
121 if (hasSubOps || !InstOpRec->isSubClassOf("Operand")) in tryAliasOpMatch()
136 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
140 if (InstOpRec->getValueInit("Type") != ADI->getDef()->getValueInit("Type")) in tryAliasOpMatch()
217 const Record *InstOpRec = OpInfo.Rec; in CodeGenInstAlias() local
220 if (tryAliasOpMatch(Result, AliasOpNo, InstOpRec, (NumSubOps > 1), in CodeGenInstAlias()
224 if (NumSubOps == 1 || (InstOpRec->getValue("ParserMatchClass") && in CodeGenInstAlias()
225 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
268 (SubOp == 0 ? InstOpRec->getName() : SubRec->getName())); in CodeGenInstAlias()
276 InstOpRec->getName()); in CodeGenInstAlias()