/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.h | 344 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1, 367 getFMA3OpcodeToCommuteOperands(const MachineInstr &MI, unsigned SrcOpIdx1, 699 unsigned &SrcOpIdx1,
|
H A D | X86InstrInfo.cpp | 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 [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsInstrInfo.cpp | 772 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 D | MipsInstrInfo.h | 176 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfo.cpp | 3119 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 D | RISCVInstrInfo.h | 229 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetInstrInfo.cpp | 296 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 D | SIInstrInfo.h | 323 unsigned &SrcOpIdx1) const override; 326 unsigned &SrcOpIdx1) const;
|
H A D | SIInstrInfo.cpp | 2825 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 D | PPCInstrInfo.h | 427 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
|
H A D | PPCInstrInfo.cpp | 1216 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 D | TargetInstrInfo.h | 491 unsigned &SrcOpIdx1,
|