| /openbsd/src/gnu/llvm/llvm/lib/Target/X86/ |
| D | X86InstrInfo.h | 290 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1, 313 getFMA3OpcodeToCommuteOperands(const MachineInstr &MI, unsigned SrcOpIdx1, 645 unsigned &SrcOpIdx1,
|
| D | X86InstrInfo.cpp | 1797 static unsigned getThreeSrcCommuteCase(uint64_t TSFlags, unsigned SrcOpIdx1, in getThreeSrcCommuteCase() argument 1800 if (SrcOpIdx1 > SrcOpIdx2) in getThreeSrcCommuteCase() 1801 std::swap(SrcOpIdx1, SrcOpIdx2); in getThreeSrcCommuteCase() 1809 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op2) in getThreeSrcCommuteCase() 1811 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase() 1813 if (SrcOpIdx1 == Op2 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase() 1819 const MachineInstr &MI, unsigned SrcOpIdx1, unsigned SrcOpIdx2, in getFMA3OpcodeToCommuteOperands() argument 1830 assert(!(FMA3Group.isIntrinsic() && (SrcOpIdx1 == 1 || SrcOpIdx2 == 1)) && in getFMA3OpcodeToCommuteOperands() 1834 unsigned Case = getThreeSrcCommuteCase(MI.getDesc().TSFlags, SrcOpIdx1, in getFMA3OpcodeToCommuteOperands() 1875 static void commuteVPTERNLOG(MachineInstr &MI, unsigned SrcOpIdx1, in commuteVPTERNLOG() argument [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/ |
| D | RISCVInstrInfo.cpp | 2083 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 2092 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 4, 5); in findCommutedOpIndices() 2120 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices() 2140 if (SrcOpIdx1 != CommuteAnyOperandIndex && SrcOpIdx1 > 3) in findCommutedOpIndices() 2146 if (SrcOpIdx1 != CommuteAnyOperandIndex && in findCommutedOpIndices() 2147 SrcOpIdx2 != CommuteAnyOperandIndex && SrcOpIdx1 != 1 && SrcOpIdx2 != 1) in findCommutedOpIndices() 2153 if (SrcOpIdx1 == CommuteAnyOperandIndex || in findCommutedOpIndices() 2157 unsigned CommutableOpIdx1 = SrcOpIdx1; in findCommutedOpIndices() 2158 if (SrcOpIdx1 == SrcOpIdx2) { in findCommutedOpIndices() 2162 } else if (SrcOpIdx1 == CommuteAnyOperandIndex) { in findCommutedOpIndices() [all …]
|
| D | RISCVInstrInfo.h | 175 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/Mips/ |
| 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()
|
| D | MipsInstrInfo.h | 176 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | TargetInstrInfo.cpp | 294 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 307 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, in findCommutedOpIndices() 311 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | SIInstrInfo.h | 269 unsigned &SrcOpIdx1) const override; 272 unsigned &SrcOpIdx1) const;
|
| D | SIInstrInfo.cpp | 2452 unsigned &SrcOpIdx1) const { in findCommutedOpIndices() 2453 return findCommutedOpIndices(MI.getDesc(), SrcOpIdx0, SrcOpIdx1); in findCommutedOpIndices() 2458 unsigned &SrcOpIdx1) const { in findCommutedOpIndices() 2471 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| D | PPCInstrInfo.h | 531 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
|
| D | PPCInstrInfo.cpp | 1224 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 1232 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices() 1236 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3); in findCommutedOpIndices()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| D | TargetInstrInfo.h | 482 unsigned &SrcOpIdx1,
|