Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp175 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() local
176 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
177 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
266 unsigned CommutableOpIdx2) { in fixCommutedOpIndices() argument
270 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
273 ResultIdx1 = CommutableOpIdx2; in fixCommutedOpIndices()
274 else if (ResultIdx2 == CommutableOpIdx2) in fixCommutedOpIndices()
280 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
281 else if (ResultIdx1 == CommutableOpIdx2) in fixCommutedOpIndices()
307 unsigned CommutableOpIdx2 = CommutableOpIdx1 + 1; in findCommutedOpIndices() local
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp1514 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices() local
1516 CommutableOpIdx2)) in findCommutedOpIndices()
1564 unsigned CommutableOpIdx2; in findCommutedOpIndices() local
1567 CommutableOpIdx2 = 1; in findCommutedOpIndices()
1575 CommutableOpIdx2 = 2; in findCommutedOpIndices()
1577 CommutableOpIdx2 = 3; in findCommutedOpIndices()
1583 CommutableOpIdx2)) in findCommutedOpIndices()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp2367 unsigned CommutableOpIdx2 = SrcOpIdx2; in findThreeSrcCommutedOpIndices() local
2374 CommutableOpIdx2 = LastCommutableVecOp; in findThreeSrcCommutedOpIndices()
2377 CommutableOpIdx2 = SrcOpIdx1; in findThreeSrcCommutedOpIndices()
2381 Register Op2Reg = MI.getOperand(CommutableOpIdx2).getReg(); in findThreeSrcCommutedOpIndices()
2404 CommutableOpIdx1, CommutableOpIdx2)) in findThreeSrcCommutedOpIndices()
2576 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices() local
2580 ++CommutableOpIdx2; in findCommutedOpIndices()
2583 CommutableOpIdx1, CommutableOpIdx2)) in findCommutedOpIndices()
2604 unsigned CommutableOpIdx2 = Desc.getNumDefs() + 2; in findCommutedOpIndices() local
2616 ++CommutableOpIdx2; in findCommutedOpIndices()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h179 unsigned CommutableOpIdx2);