Lines Matching defs:InsnVarID
411 /// The representative condition, with a type and a path (InsnVarID and OpIdx
844 unsigned InsnVarID;
848 PredicateMatcher(PredicateKind Kind, unsigned InsnVarID, unsigned OpIdx = ~0)
849 : Kind(Kind), InsnVarID(InsnVarID), OpIdx(OpIdx) {}
852 unsigned getInsnVarID() const { return InsnVarID; }
869 return B.getKind() == getKind() && InsnVarID == B.InsnVarID &&
896 OperandPredicateMatcher(PredicateKind Kind, unsigned InsnVarID,
898 : PredicateMatcher(Kind, InsnVarID, OpIdx) {}
922 SameOperandMatcher(unsigned InsnVarID, unsigned OpIdx, StringRef MatchingName,
924 : OperandPredicateMatcher(OPM_SameOperand, InsnVarID, OpIdx),
957 LLTOperandMatcher(unsigned InsnVarID, unsigned OpIdx, const LLTCodeGen &Ty)
958 : OperandPredicateMatcher(OPM_LLT, InsnVarID, OpIdx), Ty(Ty) {
995 PointerToAnyOperandMatcher(unsigned InsnVarID, unsigned OpIdx,
997 : OperandPredicateMatcher(OPM_PointerToAny, InsnVarID, OpIdx),
1022 RecordNamedOperandMatcher(unsigned InsnVarID, unsigned OpIdx,
1024 : OperandPredicateMatcher(OPM_RecordNamedOperand, InsnVarID, OpIdx),
1048 RecordRegisterType(unsigned InsnVarID, unsigned OpIdx, TempTypeIdx Idx)
1049 : OperandPredicateMatcher(OPM_RecordRegType, InsnVarID, OpIdx), Idx(Idx) {
1076 ComplexPatternOperandMatcher(unsigned InsnVarID, unsigned OpIdx,
1079 : OperandPredicateMatcher(OPM_ComplexPattern, InsnVarID, OpIdx),
1097 RegisterBankOperandMatcher(unsigned InsnVarID, unsigned OpIdx,
1099 : OperandPredicateMatcher(OPM_RegBank, InsnVarID, OpIdx), RC(RC) {}
1114 MBBOperandMatcher(unsigned InsnVarID, unsigned OpIdx)
1115 : OperandPredicateMatcher(OPM_MBB, InsnVarID, OpIdx) {}
1127 ImmOperandMatcher(unsigned InsnVarID, unsigned OpIdx)
1128 : OperandPredicateMatcher(IPM_Imm, InsnVarID, OpIdx) {}
1145 ConstantIntOperandMatcher(unsigned InsnVarID, unsigned OpIdx, int64_t Value)
1146 : OperandPredicateMatcher(OPM_Int, InsnVarID, OpIdx), Value(Value) {}
1168 LiteralIntOperandMatcher(unsigned InsnVarID, unsigned OpIdx, int64_t Value)
1169 : OperandPredicateMatcher(OPM_LiteralInt, InsnVarID, OpIdx),
1191 CmpPredicateOperandMatcher(unsigned InsnVarID, unsigned OpIdx, std::string P)
1192 : OperandPredicateMatcher(OPM_CmpPredicate, InsnVarID, OpIdx),
1214 IntrinsicIDOperandMatcher(unsigned InsnVarID, unsigned OpIdx,
1216 : OperandPredicateMatcher(OPM_IntrinsicID, InsnVarID, OpIdx), II(II) {}
1238 OperandImmPredicateMatcher(unsigned InsnVarID, unsigned OpIdx,
1240 : OperandPredicateMatcher(IPM_ImmPredicate, InsnVarID, OpIdx),
1312 std::string getOperandExpr(unsigned InsnVarID) const;
1320 /// InsnVarID matches all the predicates and all the operands.
1351 InstructionPredicateMatcher(PredicateKind Kind, unsigned InsnVarID)
1352 : PredicateMatcher(Kind, InsnVarID) {}
1386 InstructionOpcodeMatcher(unsigned InsnVarID,
1388 : InstructionPredicateMatcher(IPM_Opcode, InsnVarID), Insts(I) {
1437 InstructionNumOperandsMatcher(unsigned InsnVarID, unsigned NumOperands,
1439 : InstructionPredicateMatcher(IPM_NumOperands, InsnVarID),
1489 InstructionImmPredicateMatcher(unsigned InsnVarID,
1491 : InstructionPredicateMatcher(IPM_ImmPredicate, InsnVarID),
1519 AtomicOrderingMMOPredicateMatcher(unsigned InsnVarID, StringRef Order,
1521 : InstructionPredicateMatcher(IPM_AtomicOrderingMMO, InsnVarID),
1541 MemorySizePredicateMatcher(unsigned InsnVarID, unsigned MMOIdx, unsigned Size)
1542 : InstructionPredicateMatcher(IPM_MemoryLLTSize, InsnVarID),
1564 MemoryAddressSpacePredicateMatcher(unsigned InsnVarID, unsigned MMOIdx,
1566 : InstructionPredicateMatcher(IPM_MemoryAddressSpace, InsnVarID),
1585 MemoryAlignmentPredicateMatcher(unsigned InsnVarID, unsigned MMOIdx,
1587 : InstructionPredicateMatcher(IPM_MemoryAlignment, InsnVarID),
1618 MemoryVsLLTSizePredicateMatcher(unsigned InsnVarID, unsigned MMOIdx,
1620 : InstructionPredicateMatcher(IPM_MemoryVsLLTSize, InsnVarID),
1641 VectorSplatImmPredicateMatcher(unsigned InsnVarID, SplatKind K)
1642 : InstructionPredicateMatcher(IPM_VectorSplatImm, InsnVarID), Kind(K) {}
1663 GenericInstructionPredicateMatcher(unsigned InsnVarID,
1666 GenericInstructionPredicateMatcher(unsigned InsnVarID,
1668 : InstructionPredicateMatcher(IPM_GenericPredicate, InsnVarID),
1684 MIFlagsInstructionPredicateMatcher(unsigned InsnVarID,
1687 : InstructionPredicateMatcher(IPM_MIFlags, InsnVarID),
1705 NoUsePredicateMatcher(unsigned InsnVarID)
1706 : InstructionPredicateMatcher(IPM_NoUse, InsnVarID) {}
1719 << MatchTable::Comment("MI") << MatchTable::ULEB128Value(InsnVarID)
1727 OneUsePredicateMatcher(unsigned InsnVarID)
1728 : InstructionPredicateMatcher(IPM_OneUse, InsnVarID) {}
1741 << MatchTable::Comment("MI") << MatchTable::ULEB128Value(InsnVarID)
1763 unsigned InsnVarID;
1784 InsnVarID = Rule.implicitlyDefineInsnVar(*this);
1797 unsigned getInsnVarID() const { return InsnVarID; }
1873 InstructionOperandMatcher(unsigned InsnVarID, unsigned OpIdx,
1876 : OperandPredicateMatcher(OPM_Instruction, InsnVarID, OpIdx),