Searched refs:CommutableOpIdx1 (Results 1 – 4 of 4) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | TargetInstrInfo.cpp | 175 unsigned CommutableOpIdx1 = Idx1; (void)CommutableOpIdx1; in commuteInstructionImpl() local 177 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl() 178 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl() 264 unsigned CommutableOpIdx1, in fixCommutedOpIndices() argument 268 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices() 271 if (ResultIdx2 == CommutableOpIdx1) in fixCommutedOpIndices() 274 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices() 278 if (ResultIdx1 == CommutableOpIdx1) in fixCommutedOpIndices() 281 ResultIdx2 = CommutableOpIdx1; in fixCommutedOpIndices() 287 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfo.cpp | 2118 unsigned CommutableOpIdx1 = 1; in findCommutedOpIndices() local 2120 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices() 2157 unsigned CommutableOpIdx1 = SrcOpIdx1; in findCommutedOpIndices() local 2161 CommutableOpIdx1 = 1; in findCommutedOpIndices() 2164 CommutableOpIdx1 = SrcOpIdx2; in findCommutedOpIndices() 2170 if (CommutableOpIdx1 != 1) { in findCommutedOpIndices() 2174 Register Op1Reg = MI.getOperand(CommutableOpIdx1).getReg(); in findCommutedOpIndices() 2187 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, CommutableOpIdx1, in findCommutedOpIndices()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.cpp | 2414 unsigned CommutableOpIdx1; in findThreeSrcCommutedOpIndices() local 2415 for (CommutableOpIdx1 = LastCommutableVecOp; in findThreeSrcCommutedOpIndices() 2416 CommutableOpIdx1 >= FirstCommutableVecOp; CommutableOpIdx1--) { in findThreeSrcCommutedOpIndices() 2418 if (CommutableOpIdx1 == KMaskOp) in findThreeSrcCommutedOpIndices() 2424 if (Op2Reg != MI.getOperand(CommutableOpIdx1).getReg()) in findThreeSrcCommutedOpIndices() 2429 if (CommutableOpIdx1 < FirstCommutableVecOp) in findThreeSrcCommutedOpIndices() 2435 CommutableOpIdx1, CommutableOpIdx2)) in findThreeSrcCommutedOpIndices() 2618 unsigned CommutableOpIdx1 = 2; in findCommutedOpIndices() local 2622 ++CommutableOpIdx1; in findCommutedOpIndices() 2626 CommutableOpIdx1, CommutableOpIdx2)) in findCommutedOpIndices() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 185 unsigned CommutableOpIdx1,
|