Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86InstrInfo.h290 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
313 getFMA3OpcodeToCommuteOperands(const MachineInstr &MI, unsigned SrcOpIdx1,
645 unsigned &SrcOpIdx1,
DX86InstrInfo.cpp1797 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/
DRISCVInstrInfo.cpp2083 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 …]
DRISCVInstrInfo.h175 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
/openbsd/src/gnu/llvm/llvm/lib/Target/Mips/
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()
DMipsInstrInfo.h176 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DTargetInstrInfo.cpp294 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/
DSIInstrInfo.h269 unsigned &SrcOpIdx1) const override;
272 unsigned &SrcOpIdx1) const;
DSIInstrInfo.cpp2452 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/
DPPCInstrInfo.h531 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
DPPCInstrInfo.cpp1224 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/
DTargetInstrInfo.h482 unsigned &SrcOpIdx1,