Home
last modified time | relevance | path

Searched refs:OpIdx1 (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.cpp76 MachineInstr &MI, bool NewMI, unsigned OpIdx1, unsigned OpIdx2) const { in commuteInstructionImpl() argument
80 if (MFI.isVRegStackified(MI.getOperand(OpIdx1).getReg()) || in commuteInstructionImpl()
85 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
H A DWebAssemblyInstrInfo.h52 unsigned OpIdx1,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86EncodingOptimization.cpp23 unsigned OpIdx1, OpIdx2; in optimizeInstFromVEX3ToVEX2() local
29 OpIdx1 = IDX1; \ in optimizeInstFromVEX3ToVEX2()
47 OpIdx1 = 1; in optimizeInstFromVEX3ToVEX2()
64 OpIdx1 = 1; in optimizeInstFromVEX3ToVEX2()
92 if (X86II::isX86_64ExtendedReg(MI.getOperand(OpIdx1).getReg()) || in optimizeInstFromVEX3ToVEX2()
98 std::swap(MI.getOperand(OpIdx1), MI.getOperand(OpIdx2)); in optimizeInstFromVEX3ToVEX2()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2InstrInfo.h68 unsigned OpIdx1,
H A DThumb2InstrInfo.cpp276 unsigned OpIdx1, in commuteInstructionImpl() argument
287 return ARMBaseInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
H A DARMBaseInstrInfo.h107 unsigned OpIdx1,
H A DARMBaseInstrInfo.cpp2258 unsigned OpIdx1, in commuteInstructionImpl() argument
2270 TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
2279 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp3345 unsigned OpIdx1, in commuteInstructionImpl()
3359 return TargetInstrInfo::commuteInstructionImpl(WorkingMI, false, OpIdx1, in commuteInstructionImpl()
3370 OpIdx1, OpIdx2); in commuteInstructionImpl()
3392 assert((OpIdx1 == 1 || OpIdx2 == 1) && "Unexpected opcode index"); in commuteInstructionImpl()
3393 assert((OpIdx1 == 3 || OpIdx2 == 3) && "Unexpected opcode index"); in commuteInstructionImpl()
3421 OpIdx1, OpIdx2); in commuteInstructionImpl()
3429 assert((OpIdx1 == 1 || OpIdx2 == 1) && "Unexpected opcode index"); in commuteInstructionImpl()
3432 if (OpIdx1 == 3 || OpIdx2 == 3) { in commuteInstructionImpl()
3448 OpIdx1, OpIdx2); in commuteInstructionImpl()
3455 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx
3338 commuteInstructionImpl(MachineInstr & MI,bool NewMI,unsigned OpIdx1,unsigned OpIdx2) const commuteInstructionImpl() argument
[all...]
H A DRISCVInstrInfo.h232 unsigned OpIdx1,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp250 unsigned OpIdx1, in commuteInstruction() argument
255 if ((OpIdx1 == CommuteAnyOperandIndex || OpIdx2 == CommuteAnyOperandIndex) && in commuteInstruction()
256 !findCommutedOpIndices(MI, OpIdx1, OpIdx2)) { in commuteInstruction()
261 return commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp105 int OpIdx1) const;
1119 int OpIdx1) const { in binaryOpIsDerivedFromSameAlloca()
1123 OtherOp = Inst->getOperand(OpIdx1); in binaryOpIsDerivedFromSameAlloca()
H A DSIInstrInfo.h194 unsigned OpIdx1) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h186 unsigned OpIdx1,
470 unsigned OpIdx1 = CommuteAnyOperandIndex,
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h261 unsigned OpIdx1,
H A DPPCInstrInfo.cpp1132 unsigned OpIdx1, in commuteInstructionImpl() argument
1138 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
1156 assert(((OpIdx1 == 1 && OpIdx2 == 2) || (OpIdx1 == 2 && OpIdx2 == 1)) && in commuteInstructionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp292 unsigned OpIdx1, in commuteInstructionImpl() argument
315 OpIdx1, OpIdx2); in commuteInstructionImpl()
318 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1657 for (unsigned OpIdx1 = 0, NumOperands1 = I1->getNumOperands(); in getScoreAtLevelRec() local
1658 OpIdx1 != NumOperands1; ++OpIdx1) { in getScoreAtLevelRec()
1664 unsigned FromIdx = isCommutative(I2) ? 0 : OpIdx1; in getScoreAtLevelRec()
1667 : std::min(I2->getNumOperands(), OpIdx1 + 1); in getScoreAtLevelRec()
1670 // Skip operands already paired with OpIdx1. in getScoreAtLevelRec()
1675 getScoreAtLevelRec(I1->getOperand(OpIdx1), I2->getOperand(OpIdx2), in getScoreAtLevelRec()
1686 // Pair {OpIdx1, MaxOpIdx2} was found to be best. Never revisit it. in getScoreAtLevelRec()
1782 /// Swap the operand at \p OpIdx1 with that one at \p OpIdx2.
1783 void swap(unsigned OpIdx1, unsigne argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp2284 unsigned OpIdx1, in commuteInstructionImpl() argument
2693 commuteVPTERNLOG(*WorkingMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
2706 get(getFMA3OpcodeToCommuteOperands(MI, OpIdx1, OpIdx2, *FMA3Group))); in commuteInstructionImpl()
2710 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()