Home
last modified time | relevance | path

Searched refs:CommutableOpIdx2 (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp178 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() local
179 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
180 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
267 unsigned CommutableOpIdx2) { in fixCommutedOpIndices() argument
271 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
274 ResultIdx1 = CommutableOpIdx2; in fixCommutedOpIndices()
275 else if (ResultIdx2 == CommutableOpIdx2) in fixCommutedOpIndices()
281 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
282 else if (ResultIdx1 == CommutableOpIdx2) in fixCommutedOpIndices()
289 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp3200 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices()
3202 CommutableOpIdx2)) in findCommutedOpIndices()
3249 // operand and assign its index to CommutableOpIdx2. in findCommutedOpIndices()
3250 unsigned CommutableOpIdx2; in findCommutedOpIndices()
3253 CommutableOpIdx2 = 1; in findCommutedOpIndices()
3261 CommutableOpIdx2 = 2; in findCommutedOpIndices()
3263 CommutableOpIdx2 = 3; in findCommutedOpIndices()
3269 CommutableOpIdx2)) in findCommutedOpIndices()
3193 unsigned CommutableOpIdx2 = 3; findCommutedOpIndices() local
3243 unsigned CommutableOpIdx2; findCommutedOpIndices() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp2772 unsigned CommutableOpIdx2 = SrcOpIdx2; in findThreeSrcCommutedOpIndices() local
2779 CommutableOpIdx2 = LastCommutableVecOp; in findThreeSrcCommutedOpIndices()
2782 CommutableOpIdx2 = SrcOpIdx1; in findThreeSrcCommutedOpIndices()
2786 Register Op2Reg = MI.getOperand(CommutableOpIdx2).getReg(); in findThreeSrcCommutedOpIndices()
2809 CommutableOpIdx2)) in findThreeSrcCommutedOpIndices()
3009 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices() local
3013 ++CommutableOpIdx2; in findCommutedOpIndices()
3016 CommutableOpIdx2)) in findCommutedOpIndices()
3036 unsigned CommutableOpIdx2 = Desc.getNumDefs() + 2; in findCommutedOpIndices() local
3048 ++CommutableOpIdx2; in findCommutedOpIndices()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h201 unsigned CommutableOpIdx2);