Lines Matching refs:OpName
286 StringRef OpName,
310 const auto OpName = Ty.getTypeOfOpName(); in processApplyPattern() local
311 if (MatchOpTable.lookup(OpName).Found) in processApplyPattern()
314 PrintError(RuleDef.getLoc(), "'" + OpName + "' ('" + Ty.str() + in processApplyPattern()
441 const InstructionPattern &IP, StringRef OpName, in inferNamedOperandType() argument
451 for (auto It = TECs.findLeader(OpName); It != TECs.member_end(); ++It) { in inferNamedOperandType()
452 if (!AllowSelf && *It == OpName) in inferNamedOperandType()
559 const auto OpName = Op.getOperandName(); in getInstEqClasses() local
561 errs() << Sep << OpName; in getInstEqClasses()
566 OutTECs.insert((Leader = OpName)); in getInstEqClasses()
568 OutTECs.unionSets(Leader, OpName); in getInstEqClasses()
728 const StringInit *OpName) const;
1427 const auto DiagnoseRedefMatch = [&](StringRef OpName) { in buildRuleOperandsTable() argument
1428 PrintError("Operand '" + OpName + in buildRuleOperandsTable()
1432 const auto DiagnoseRedefApply = [&](StringRef OpName) { in buildRuleOperandsTable() argument
1433 PrintError("Operand '" + OpName + in buildRuleOperandsTable()
1624 const StringInit *OpName) const { in parseInstructionPatternOperand()
1627 if (OpName) in parseInstructionPatternOperand()
1628 PrintNote("operand name is '" + OpName->getAsUnquotedString() + "'"); in parseInstructionPatternOperand()
1634 std::string Name = OpName ? OpName->getAsUnquotedString() : ""; in parseInstructionPatternOperand()
1661 std::string Name = OpName ? OpName->getAsUnquotedString() : ""; in parseInstructionPatternOperand()
1668 if (!OpName) { in parseInstructionPatternOperand()
1678 IP.addOperand(insertStrRef(OpName->getAsUnquotedString()), *Ty); in parseInstructionPatternOperand()
1684 assert(OpName && "Unset w/ no OpName?"); in parseInstructionPatternOperand()
1685 IP.addOperand(insertStrRef(OpName->getAsUnquotedString()), PatternType()); in parseInstructionPatternOperand()
2212 StringRef OpName = Op.getOperandName(); in emitInstructionApplyPattern() local
2213 if (const auto *DefPat = ApplyOpTable.getDef(OpName)) { in emitInstructionApplyPattern()
2219 if (!Op.isNamedImmediate() && !MatchOpTable.lookup(OpName).Found) { in emitInstructionApplyPattern()
2220 PrintError("invalid output operand '" + OpName + in emitInstructionApplyPattern()
2255 StringRef OpName = Op.getOperandName(); in emitInstructionApplyPattern() local
2259 if (auto It = OperandToTempRegID.find(OpName); in emitInstructionApplyPattern()
2261 assert(!MatchOpTable.lookup(OpName).Found && in emitInstructionApplyPattern()
2268 assert(MatchOpTable.lookup(OpName).Found && in emitInstructionApplyPattern()
2269 !ApplyOpTable.getDef(OpName) && "Temp reg not emitted yet!"); in emitInstructionApplyPattern()
2270 DstMI.addRenderer<CopyRenderer>(OpName); in emitInstructionApplyPattern()
2277 auto OpLookupRes = MatchOpTable.lookup(OpName); in emitInstructionApplyPattern()
2281 PrintError("Cannot define live-in operand '" + OpName + in emitInstructionApplyPattern()
2294 OpName + "')"); in emitInstructionApplyPattern()
2298 DstMI.addRenderer<CopyRenderer>(OpName); in emitInstructionApplyPattern()
2305 if (auto It = OperandToTempRegID.find(OpName); in emitInstructionApplyPattern()
2311 OperandToTempRegID[OpName] = TempRegID; in emitInstructionApplyPattern()
2314 PrintError("def of a new register '" + OpName + in emitInstructionApplyPattern()
2319 declareTempRegExpansion(CE, TempRegID, OpName); in emitInstructionApplyPattern()
2482 const auto OpName = in emitCodeGenInstructionMatchPattern() local
2485 IM.addOperand(Idx, OpName, AllocatedTemporariesBaseID++); in emitCodeGenInstructionMatchPattern()
2486 if (!OpName.empty()) in emitCodeGenInstructionMatchPattern()
2504 if (OpName.empty() || in emitCodeGenInstructionMatchPattern()
2505 !M.getOperandMatcher(OpName).contains<LLTOperandMatcher>()) { in emitCodeGenInstructionMatchPattern()
2525 assert(!OpName.empty()); in emitCodeGenInstructionMatchPattern()
2530 PrintError("'" + OpName + in emitCodeGenInstructionMatchPattern()
2533 PrintNote("'" + OpName + "' is defined by '" + DefPat->getName() + "'"); in emitCodeGenInstructionMatchPattern()