Lines Matching refs:SrcOpIdx1
2053 static unsigned getThreeSrcCommuteCase(uint64_t TSFlags, unsigned SrcOpIdx1, in getThreeSrcCommuteCase() argument
2056 if (SrcOpIdx1 > SrcOpIdx2) in getThreeSrcCommuteCase()
2057 std::swap(SrcOpIdx1, SrcOpIdx2); in getThreeSrcCommuteCase()
2065 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op2) in getThreeSrcCommuteCase()
2067 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase()
2069 if (SrcOpIdx1 == Op2 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase()
2075 const MachineInstr &MI, unsigned SrcOpIdx1, unsigned SrcOpIdx2, in getFMA3OpcodeToCommuteOperands() argument
2086 assert(!(FMA3Group.isIntrinsic() && (SrcOpIdx1 == 1 || SrcOpIdx2 == 1)) && in getFMA3OpcodeToCommuteOperands()
2091 getThreeSrcCommuteCase(MI.getDesc().TSFlags, SrcOpIdx1, SrcOpIdx2); in getFMA3OpcodeToCommuteOperands()
2130 static void commuteVPTERNLOG(MachineInstr &MI, unsigned SrcOpIdx1, in commuteVPTERNLOG() argument
2134 getThreeSrcCommuteCase(MI.getDesc().TSFlags, SrcOpIdx1, SrcOpIdx2); in commuteVPTERNLOG()
2714 unsigned &SrcOpIdx1, in findThreeSrcCommutedOpIndices() argument
2759 if (SrcOpIdx1 != CommuteAnyOperandIndex && in findThreeSrcCommutedOpIndices()
2760 (SrcOpIdx1 < FirstCommutableVecOp || SrcOpIdx1 > LastCommutableVecOp || in findThreeSrcCommutedOpIndices()
2761 SrcOpIdx1 == KMaskOp)) in findThreeSrcCommutedOpIndices()
2770 if (SrcOpIdx1 == CommuteAnyOperandIndex || in findThreeSrcCommutedOpIndices()
2776 if (SrcOpIdx1 == SrcOpIdx2) in findThreeSrcCommutedOpIndices()
2782 CommutableOpIdx2 = SrcOpIdx1; in findThreeSrcCommutedOpIndices()
2808 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findThreeSrcCommutedOpIndices()
2817 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
2873 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 1 + OpOffset, in findCommutedOpIndices()
2881 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
2886 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
2895 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
2939 return findThreeSrcCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
3015 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices()
3018 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
3028 return findThreeSrcCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2, in findCommutedOpIndices()
3054 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices()
3058 if (!MI.getOperand(SrcOpIdx1).isReg() || in findCommutedOpIndices()
3065 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()