Home
last modified time | relevance | path

Searched refs:SrcOpIdx1 (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h344 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
367 getFMA3OpcodeToCommuteOperands(const MachineInstr &MI, unsigned SrcOpIdx1,
699 unsigned &SrcOpIdx1,
H A DX86InstrInfo.cpp2053 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
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstrInfo.cpp772 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
789 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3)) in findCommutedOpIndices()
792 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
796 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
H A DMipsInstrInfo.h176 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp3119 unsigned &SrcOpIdx1, in findCommutedOpIndices()
3134 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 1, 2); in findCommutedOpIndices()
3142 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3); in findCommutedOpIndices()
3146 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 4, 5); in findCommutedOpIndices()
3173 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3); in findCommutedOpIndices()
3201 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices()
3221 if (SrcOpIdx1 != CommuteAnyOperandIndex && SrcOpIdx1 > 3) in findCommutedOpIndices()
3227 if (SrcOpIdx1 != CommuteAnyOperandIndex && in findCommutedOpIndices()
3228 SrcOpIdx2 != CommuteAnyOperandIndex && SrcOpIdx1 ! in findCommutedOpIndices()
3112 findCommutedOpIndices(const MachineInstr & MI,unsigned & SrcOpIdx1,unsigned & SrcOpIdx2) const findCommutedOpIndices() argument
[all...]
H A DRISCVInstrInfo.h229 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp296 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
309 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, in findCommutedOpIndices()
313 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h323 unsigned &SrcOpIdx1) const override;
326 unsigned &SrcOpIdx1) const;
H A DSIInstrInfo.cpp2825 unsigned &SrcOpIdx1) const { in findCommutedOpIndices()
2826 return findCommutedOpIndices(MI.getDesc(), SrcOpIdx0, SrcOpIdx1); in findCommutedOpIndices()
2831 unsigned &SrcOpIdx1) const { in findCommutedOpIndices()
2844 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h427 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
H A DPPCInstrInfo.cpp1216 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
1224 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
1228 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3); in findCommutedOpIndices()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h491 unsigned &SrcOpIdx1,