| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrInfo.cpp | 78 MachineInstr &MI, bool NewMI, unsigned OpIdx1, unsigned OpIdx2) const { in commuteInstructionImpl() 83 MFI.isVRegStackified(MI.getOperand(OpIdx2).getReg())) in commuteInstructionImpl() 87 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
|
| H A D | WebAssemblyInstrInfo.h | 48 unsigned OpIdx2) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86EncodingOptimization.cpp | 24 unsigned OpIdx1, OpIdx2; in optimizeInstFromVEX3ToVEX2() local 31 OpIdx2 = IDX2; \ in optimizeInstFromVEX3ToVEX2() 49 OpIdx2 = 2; in optimizeInstFromVEX3ToVEX2() 66 OpIdx2 = 2; in optimizeInstFromVEX3ToVEX2() 94 !X86II::isX86_64ExtendedReg(MI.getOperand(OpIdx2).getReg())) in optimizeInstFromVEX3ToVEX2() 99 std::swap(MI.getOperand(OpIdx1), MI.getOperand(OpIdx2)); in optimizeInstFromVEX3ToVEX2()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | Thumb2InstrInfo.h | 69 unsigned OpIdx2) const override;
|
| H A D | Thumb2InstrInfo.cpp | 279 unsigned OpIdx2) const { in commuteInstructionImpl() 289 return ARMBaseInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
|
| H A D | ARMBaseInstrInfo.h | 108 unsigned OpIdx2) const override;
|
| H A D | ARMBaseInstrInfo.cpp | 2102 unsigned OpIdx2) const { in commuteInstructionImpl() 2113 TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl() 2122 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfo.cpp | 3944 unsigned OpIdx2) const { in commuteInstructionImpl() 3958 OpIdx2); in commuteInstructionImpl() 3968 OpIdx1, OpIdx2); in commuteInstructionImpl() 3990 assert((OpIdx1 == 1 || OpIdx2 == 1) && "Unexpected opcode index"); in commuteInstructionImpl() 3991 assert((OpIdx1 == 3 || OpIdx2 == 3) && "Unexpected opcode index"); in commuteInstructionImpl() 4019 OpIdx1, OpIdx2); in commuteInstructionImpl() 4027 assert((OpIdx1 == 1 || OpIdx2 == 1) && "Unexpected opcode index"); in commuteInstructionImpl() 4030 if (OpIdx1 == 3 || OpIdx2 == 3) { in commuteInstructionImpl() 4046 OpIdx1, OpIdx2); in commuteInstructionImpl() 4053 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
|
| H A D | RISCVInstrInfo.h | 240 unsigned OpIdx2) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetInstrInfo.cpp | 285 unsigned OpIdx2) const { in commuteInstruction() 289 if ((OpIdx1 == CommuteAnyOperandIndex || OpIdx2 == CommuteAnyOperandIndex) && in commuteInstruction() 290 !findCommutedOpIndices(MI, OpIdx1, OpIdx2)) { in commuteInstruction() 295 return commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstruction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 200 unsigned OpIdx2) const; 484 unsigned OpIdx2 = CommuteAnyOperandIndex) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.h | 369 unsigned OpIdx2) const override;
|
| H A D | PPCInstrInfo.cpp | 1131 unsigned OpIdx2) const { in commuteInstructionImpl() 1136 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl() 1154 assert(((OpIdx1 == 1 && OpIdx2 == 2) || (OpIdx1 == 2 && OpIdx2 == 1)) && in commuteInstructionImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrInfo.cpp | 295 unsigned OpIdx2) const { in commuteInstructionImpl() 317 OpIdx1, OpIdx2); in commuteInstructionImpl() 320 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.cpp | 2293 unsigned OpIdx2) const { in commuteInstructionImpl() 2678 commuteVPTERNLOG(*WorkingMI, OpIdx1, OpIdx2); in commuteInstructionImpl() 2691 get(getFMA3OpcodeToCommuteOperands(MI, OpIdx1, OpIdx2, *FMA3Group))); in commuteInstructionImpl() 2695 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 2409 for (unsigned OpIdx2 = FromIdx; OpIdx2 != ToIdx; ++OpIdx2) { in getScoreAtLevelRec() local 2411 if (Op2Used.count(OpIdx2)) in getScoreAtLevelRec() 2415 getScoreAtLevelRec(I1->getOperand(OpIdx1), I2->getOperand(OpIdx2), in getScoreAtLevelRec() 2421 MaxOpIdx2 = OpIdx2; in getScoreAtLevelRec() 2526 void swap(unsigned OpIdx1, unsigned OpIdx2, unsigned Lane) { in swap() argument 2527 std::swap(OpsVec[OpIdx1][Lane], OpsVec[OpIdx2][Lane]); in swap()
|