• Home
  • Raw
  • Download

Lines Matching refs:SrcOpIdx1

3408                                              unsigned &SrcOpIdx1,  in findFMA3CommutedOpIndices()  argument
3416 if (SrcOpIdx1 != CommuteAnyOperandIndex && in findFMA3CommutedOpIndices()
3417 (SrcOpIdx1 < 1 || SrcOpIdx1 > RegOpsNum)) in findFMA3CommutedOpIndices()
3425 if (SrcOpIdx1 == CommuteAnyOperandIndex || in findFMA3CommutedOpIndices()
3427 unsigned CommutableOpIdx1 = SrcOpIdx1; in findFMA3CommutedOpIndices()
3432 if (SrcOpIdx1 == SrcOpIdx2) in findFMA3CommutedOpIndices()
3438 CommutableOpIdx2 = SrcOpIdx1; in findFMA3CommutedOpIndices()
3457 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, in findFMA3CommutedOpIndices()
3464 return getFMA3OpcodeToCommuteOperands(MI, SrcOpIdx1, SrcOpIdx2) != 0; in findFMA3CommutedOpIndices()
3468 MachineInstr &MI, unsigned SrcOpIdx1, unsigned SrcOpIdx2) const { in getFMA3OpcodeToCommuteOperands() argument
3607 if (SrcOpIdx1 > SrcOpIdx2) in getFMA3OpcodeToCommuteOperands()
3608 std::swap(SrcOpIdx1, SrcOpIdx2); in getFMA3OpcodeToCommuteOperands()
3616 if (IsIntrinOpcode && SrcOpIdx1 == 1) in getFMA3OpcodeToCommuteOperands()
3620 if (SrcOpIdx1 == 1 && SrcOpIdx2 == 2) in getFMA3OpcodeToCommuteOperands()
3622 else if (SrcOpIdx1 == 1 && SrcOpIdx2 == 3) in getFMA3OpcodeToCommuteOperands()
3624 else if (SrcOpIdx1 == 2 && SrcOpIdx2 == 3) in getFMA3OpcodeToCommuteOperands()
3655 bool X86InstrInfo::findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
3674 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 1, 2); in findCommutedOpIndices()
3680 return findFMA3CommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
3681 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()