Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp176 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() local
177 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
178 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
265 unsigned CommutableOpIdx2) { in fixCommutedOpIndices() argument
269 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
272 ResultIdx1 = CommutableOpIdx2; in fixCommutedOpIndices()
273 else if (ResultIdx2 == CommutableOpIdx2) in fixCommutedOpIndices()
279 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
280 else if (ResultIdx1 == CommutableOpIdx2) in fixCommutedOpIndices()
287 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp2119 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices() local
2121 CommutableOpIdx2)) in findCommutedOpIndices()
2169 unsigned CommutableOpIdx2; in findCommutedOpIndices() local
2172 CommutableOpIdx2 = 1; in findCommutedOpIndices()
2180 CommutableOpIdx2 = 2; in findCommutedOpIndices()
2182 CommutableOpIdx2 = 3; in findCommutedOpIndices()
2188 CommutableOpIdx2)) in findCommutedOpIndices()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp2398 unsigned CommutableOpIdx2 = SrcOpIdx2; in findThreeSrcCommutedOpIndices() local
2405 CommutableOpIdx2 = LastCommutableVecOp; in findThreeSrcCommutedOpIndices()
2408 CommutableOpIdx2 = SrcOpIdx1; in findThreeSrcCommutedOpIndices()
2412 Register Op2Reg = MI.getOperand(CommutableOpIdx2).getReg(); in findThreeSrcCommutedOpIndices()
2435 CommutableOpIdx1, CommutableOpIdx2)) in findThreeSrcCommutedOpIndices()
2619 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices() local
2623 ++CommutableOpIdx2; in findCommutedOpIndices()
2626 CommutableOpIdx1, CommutableOpIdx2)) in findCommutedOpIndices()
2647 unsigned CommutableOpIdx2 = Desc.getNumDefs() + 2; in findCommutedOpIndices() local
2659 ++CommutableOpIdx2; in findCommutedOpIndices()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h186 unsigned CommutableOpIdx2);