Searched refs:CommutableOpIdx1 (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetInstrInfo.cpp | 191 unsigned CommutableOpIdx1 = Idx1; (void)CommutableOpIdx1; in commuteInstructionImpl() local 193 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl() 194 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl() 300 unsigned CommutableOpIdx1, in fixCommutedOpIndices() argument 304 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices() 307 if (ResultIdx2 == CommutableOpIdx1) in fixCommutedOpIndices() 310 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices() 314 if (ResultIdx1 == CommutableOpIdx1) in fixCommutedOpIndices() 317 ResultIdx2 = CommutableOpIdx1; in fixCommutedOpIndices() 323 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfo.cpp | 3813 unsigned CommutableOpIdx1 = 1; in findCommutedOpIndices() local 3815 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices() 3853 unsigned CommutableOpIdx1 = SrcOpIdx1; in findCommutedOpIndices() local 3857 CommutableOpIdx1 = 1; in findCommutedOpIndices() 3860 CommutableOpIdx1 = SrcOpIdx2; in findCommutedOpIndices() 3866 if (CommutableOpIdx1 != 1) { in findCommutedOpIndices() 3870 Register Op1Reg = MI.getOperand(CommutableOpIdx1).getReg(); in findCommutedOpIndices() 3883 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.cpp | 2773 unsigned CommutableOpIdx1; in findThreeSrcCommutedOpIndices() local 2774 for (CommutableOpIdx1 = LastCommutableVecOp; in findThreeSrcCommutedOpIndices() 2775 CommutableOpIdx1 >= FirstCommutableVecOp; CommutableOpIdx1--) { in findThreeSrcCommutedOpIndices() 2777 if (CommutableOpIdx1 == KMaskOp) in findThreeSrcCommutedOpIndices() 2783 if (Op2Reg != MI.getOperand(CommutableOpIdx1).getReg()) in findThreeSrcCommutedOpIndices() 2788 if (CommutableOpIdx1 < FirstCommutableVecOp) in findThreeSrcCommutedOpIndices() 2793 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findThreeSrcCommutedOpIndices() 3047 unsigned CommutableOpIdx1 = 2; in findCommutedOpIndices() local 3051 ++CommutableOpIdx1; in findCommutedOpIndices() 3054 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 213 unsigned CommutableOpIdx1,
|