Home
last modified time | relevance | path

Searched refs:OpIdx2 (Results 1 – 16 of 16) 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()
81 MFI.isVRegStackified(MI.getOperand(OpIdx2).getReg())) in commuteInstructionImpl()
85 return TargetInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
H A DWebAssemblyInstrInfo.h53 unsigned OpIdx2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86EncodingOptimization.cpp23 unsigned OpIdx1, OpIdx2; in optimizeInstFromVEX3ToVEX2() local
30 OpIdx2 = IDX2; \ in optimizeInstFromVEX3ToVEX2()
48 OpIdx2 = 2; in optimizeInstFromVEX3ToVEX2()
65 OpIdx2 = 2; in optimizeInstFromVEX3ToVEX2()
93 !X86II::isX86_64ExtendedReg(MI.getOperand(OpIdx2).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.h69 unsigned OpIdx2) const override;
H A DThumb2InstrInfo.cpp277 unsigned OpIdx2) const { in commuteInstructionImpl()
287 return ARMBaseInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
H A DARMBaseInstrInfo.h108 unsigned OpIdx2) const override;
H A DARMBaseInstrInfo.cpp2259 unsigned OpIdx2) const { in commuteInstructionImpl()
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.cpp3346 unsigned OpIdx2) const { in commuteInstructionImpl()
3360 OpIdx2); 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, OpIdx2);
[all...]
H A DRISCVInstrInfo.h233 unsigned OpIdx2) const override;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp251 unsigned OpIdx2) const { in commuteInstruction()
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/include/llvm/CodeGen/
H A DTargetInstrInfo.h187 unsigned OpIdx2) const;
471 unsigned OpIdx2 = CommuteAnyOperandIndex) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h262 unsigned OpIdx2) const override;
H A DPPCInstrInfo.cpp1133 unsigned OpIdx2) const { in commuteInstructionImpl()
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.cpp293 unsigned OpIdx2) const { in commuteInstructionImpl()
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.cpp1669 for (unsigned OpIdx2 = FromIdx; OpIdx2 != ToIdx; ++OpIdx2) { in getScoreAtLevelRec() local
1671 if (Op2Used.count(OpIdx2)) in getScoreAtLevelRec()
1675 getScoreAtLevelRec(I1->getOperand(OpIdx1), I2->getOperand(OpIdx2), in getScoreAtLevelRec()
1681 MaxOpIdx2 = OpIdx2; in getScoreAtLevelRec()
1782 /// Swap the operand at \p OpIdx1 with that one at \p OpIdx2.
1783 void swap(unsigned OpIdx1, unsigned OpIdx2, unsigned Lane) { in swap() argument
1784 std::swap(OpsVec[OpIdx1][Lane], OpsVec[OpIdx2][Lane]); in swap()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp2285 unsigned OpIdx2) const { in commuteInstructionImpl()
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()