Lines Matching refs:InsnVarID

1129   unsigned InsnVarID;  member in __anon0a286f430111::PredicateMatcher
1133 PredicateMatcher(PredicateKind Kind, unsigned InsnVarID, unsigned OpIdx = ~0) in PredicateMatcher() argument
1134 : Kind(Kind), InsnVarID(InsnVarID), OpIdx(OpIdx) {} in PredicateMatcher()
1136 unsigned getInsnVarID() const { return InsnVarID; } in getInsnVarID()
1154 return B.getKind() == getKind() && InsnVarID == B.InsnVarID && in isIdentical()
1181 OperandPredicateMatcher(PredicateKind Kind, unsigned InsnVarID, in OperandPredicateMatcher() argument
1183 : PredicateMatcher(Kind, InsnVarID, OpIdx) {} in OperandPredicateMatcher()
1204 SameOperandMatcher(unsigned InsnVarID, unsigned OpIdx, StringRef MatchingName) in SameOperandMatcher() argument
1205 : OperandPredicateMatcher(OPM_SameOperand, InsnVarID, OpIdx), in SameOperandMatcher()
1237 LLTOperandMatcher(unsigned InsnVarID, unsigned OpIdx, const LLTCodeGen &Ty) in LLTOperandMatcher() argument
1238 : OperandPredicateMatcher(OPM_LLT, InsnVarID, OpIdx), Ty(Ty) { in LLTOperandMatcher()
1266 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") in emitPredicateOpcodes()
1289 PointerToAnyOperandMatcher(unsigned InsnVarID, unsigned OpIdx, in PointerToAnyOperandMatcher() argument
1291 : OperandPredicateMatcher(OPM_PointerToAny, InsnVarID, OpIdx), in PointerToAnyOperandMatcher()
1306 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1322 RecordNamedOperandMatcher(unsigned InsnVarID, unsigned OpIdx, in RecordNamedOperandMatcher() argument
1324 : OperandPredicateMatcher(OPM_RecordNamedOperand, InsnVarID, OpIdx), in RecordNamedOperandMatcher()
1340 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1358 ComplexPatternOperandMatcher(unsigned InsnVarID, unsigned OpIdx, in ComplexPatternOperandMatcher() argument
1361 : OperandPredicateMatcher(OPM_ComplexPattern, InsnVarID, OpIdx), in ComplexPatternOperandMatcher()
1372 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1390 RegisterBankOperandMatcher(unsigned InsnVarID, unsigned OpIdx, in RegisterBankOperandMatcher() argument
1392 : OperandPredicateMatcher(OPM_RegBank, InsnVarID, OpIdx), RC(RC) {} in RegisterBankOperandMatcher()
1406 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1417 MBBOperandMatcher(unsigned InsnVarID, unsigned OpIdx) in MBBOperandMatcher() argument
1418 : OperandPredicateMatcher(OPM_MBB, InsnVarID, OpIdx) {} in MBBOperandMatcher()
1427 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") in emitPredicateOpcodes()
1434 ImmOperandMatcher(unsigned InsnVarID, unsigned OpIdx) in ImmOperandMatcher() argument
1435 : OperandPredicateMatcher(IPM_Imm, InsnVarID, OpIdx) {} in ImmOperandMatcher()
1444 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") in emitPredicateOpcodes()
1456 ConstantIntOperandMatcher(unsigned InsnVarID, unsigned OpIdx, int64_t Value) in ConstantIntOperandMatcher() argument
1457 : OperandPredicateMatcher(OPM_Int, InsnVarID, OpIdx), Value(Value) {} in ConstantIntOperandMatcher()
1471 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1484 LiteralIntOperandMatcher(unsigned InsnVarID, unsigned OpIdx, int64_t Value) in LiteralIntOperandMatcher() argument
1485 : OperandPredicateMatcher(OPM_LiteralInt, InsnVarID, OpIdx), in LiteralIntOperandMatcher()
1500 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1512 CmpPredicateOperandMatcher(unsigned InsnVarID, unsigned OpIdx, in CmpPredicateOperandMatcher() argument
1514 : OperandPredicateMatcher(OPM_CmpPredicate, InsnVarID, OpIdx), PredName(P) {} in CmpPredicateOperandMatcher()
1528 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1542 IntrinsicIDOperandMatcher(unsigned InsnVarID, unsigned OpIdx, in IntrinsicIDOperandMatcher() argument
1544 : OperandPredicateMatcher(OPM_IntrinsicID, InsnVarID, OpIdx), II(II) {} in IntrinsicIDOperandMatcher()
1558 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1605 std::string getOperandExpr(unsigned InsnVarID) const { in getOperandExpr()
1606 return "State.MIs[" + llvm::to_string(InsnVarID) + "]->getOperand(" + in getOperandExpr()
1711 InstructionPredicateMatcher(PredicateKind Kind, unsigned InsnVarID) in InstructionPredicateMatcher() argument
1712 : PredicateMatcher(Kind, InsnVarID) {} in InstructionPredicateMatcher()
1759 InstructionOpcodeMatcher(unsigned InsnVarID, in InstructionOpcodeMatcher() argument
1761 : InstructionPredicateMatcher(IPM_Opcode, InsnVarID), in InstructionOpcodeMatcher()
1798 << MatchTable::IntValue(InsnVarID); in emitPredicateOpcodes()
1856 InstructionNumOperandsMatcher(unsigned InsnVarID, unsigned NumOperands) in InstructionNumOperandsMatcher() argument
1857 : InstructionPredicateMatcher(IPM_NumOperands, InsnVarID), in InstructionNumOperandsMatcher()
1872 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1909 InstructionImmPredicateMatcher(unsigned InsnVarID, in InstructionImmPredicateMatcher() argument
1911 : InstructionPredicateMatcher(IPM_ImmPredicate, InsnVarID), in InstructionImmPredicateMatcher()
1928 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1950 AtomicOrderingMMOPredicateMatcher(unsigned InsnVarID, StringRef Order, in AtomicOrderingMMOPredicateMatcher() argument
1952 : InstructionPredicateMatcher(IPM_AtomicOrderingMMO, InsnVarID), in AtomicOrderingMMOPredicateMatcher()
1976 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Order") in emitPredicateOpcodes()
1989 MemorySizePredicateMatcher(unsigned InsnVarID, unsigned MMOIdx, unsigned Size) in MemorySizePredicateMatcher() argument
1990 : InstructionPredicateMatcher(IPM_MemoryLLTSize, InsnVarID), in MemorySizePredicateMatcher()
2005 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
2018 MemoryAddressSpacePredicateMatcher(unsigned InsnVarID, unsigned MMOIdx, in MemoryAddressSpacePredicateMatcher() argument
2020 : InstructionPredicateMatcher(IPM_MemoryAddressSpace, InsnVarID), in MemoryAddressSpacePredicateMatcher()
2036 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
2054 MemoryAlignmentPredicateMatcher(unsigned InsnVarID, unsigned MMOIdx, in MemoryAlignmentPredicateMatcher() argument
2056 : InstructionPredicateMatcher(IPM_MemoryAlignment, InsnVarID), in MemoryAlignmentPredicateMatcher()
2075 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
2098 MemoryVsLLTSizePredicateMatcher(unsigned InsnVarID, unsigned MMOIdx, in MemoryVsLLTSizePredicateMatcher() argument
2101 : InstructionPredicateMatcher(IPM_MemoryVsLLTSize, InsnVarID), in MemoryVsLLTSizePredicateMatcher()
2121 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
2140 VectorSplatImmPredicateMatcher(unsigned InsnVarID, SplatKind K) in VectorSplatImmPredicateMatcher() argument
2141 : InstructionPredicateMatcher(IPM_VectorSplatImm, InsnVarID), Kind(K) {} in VectorSplatImmPredicateMatcher()
2159 Table << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID); in emitPredicateOpcodes()
2170 GenericInstructionPredicateMatcher(unsigned InsnVarID, in GenericInstructionPredicateMatcher() argument
2172 : InstructionPredicateMatcher(IPM_GenericPredicate, InsnVarID), in GenericInstructionPredicateMatcher()
2187 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
2212 unsigned InsnVarID; member in __anon0a286f430111::InstructionMatcher
2225 InsnVarID = Rule.implicitlyDefineInsnVar(*this); in InstructionMatcher()
2238 unsigned getInsnVarID() const { return InsnVarID; } in getInsnVarID()
2297 InstructionNumOperandsMatcher(InsnVarID, getNumOperands()) in emitPredicateOpcodes()
2410 InstructionOperandMatcher(unsigned InsnVarID, unsigned OpIdx, in InstructionOperandMatcher() argument
2413 : OperandPredicateMatcher(OPM_Instruction, InsnVarID, OpIdx), in InstructionOperandMatcher()
2461 new InstructionNumOperandsMatcher(InsnVarID, getNumOperands())); in optimize()
2473 if (InsnVarID > 0) { in optimize()
3457 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()