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.cpp192 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() local
193 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
194 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
301 unsigned CommutableOpIdx2) { in fixCommutedOpIndices() argument
305 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
308 ResultIdx1 = CommutableOpIdx2; in fixCommutedOpIndices()
309 else if (ResultIdx2 == CommutableOpIdx2) in fixCommutedOpIndices()
315 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
316 else if (ResultIdx1 == CommutableOpIdx2) in fixCommutedOpIndices()
323 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp3814 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices() local
3816 CommutableOpIdx2)) in findCommutedOpIndices()
3865 unsigned CommutableOpIdx2; in findCommutedOpIndices() local
3868 CommutableOpIdx2 = 1; in findCommutedOpIndices()
3876 CommutableOpIdx2 = 2; in findCommutedOpIndices()
3878 CommutableOpIdx2 = 3; in findCommutedOpIndices()
3884 CommutableOpIdx2)) in findCommutedOpIndices()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp2757 unsigned CommutableOpIdx2 = SrcOpIdx2; in findThreeSrcCommutedOpIndices() local
2764 CommutableOpIdx2 = LastCommutableVecOp; in findThreeSrcCommutedOpIndices()
2767 CommutableOpIdx2 = SrcOpIdx1; in findThreeSrcCommutedOpIndices()
2771 Register Op2Reg = MI.getOperand(CommutableOpIdx2).getReg(); in findThreeSrcCommutedOpIndices()
2794 CommutableOpIdx2)) in findThreeSrcCommutedOpIndices()
3048 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices() local
3052 ++CommutableOpIdx2; in findCommutedOpIndices()
3055 CommutableOpIdx2)) in findCommutedOpIndices()
3075 unsigned CommutableOpIdx2 = Desc.getNumDefs() + 2; in findCommutedOpIndices() local
3087 ++CommutableOpIdx2; in findCommutedOpIndices()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h214 unsigned CommutableOpIdx2);