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.cpp78 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 DWebAssemblyInstrInfo.h48 unsigned OpIdx2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86EncodingOptimization.cpp24 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 DThumb2InstrInfo.h69 unsigned OpIdx2) const override;
H A DThumb2InstrInfo.cpp279 unsigned OpIdx2) const { in commuteInstructionImpl()
289 return ARMBaseInstrInfo::commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstructionImpl()
H A DARMBaseInstrInfo.h108 unsigned OpIdx2) const override;
H A DARMBaseInstrInfo.cpp2102 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 DRISCVInstrInfo.cpp3944 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 DRISCVInstrInfo.h240 unsigned OpIdx2) const override;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp285 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 DTargetInstrInfo.h200 unsigned OpIdx2) const;
484 unsigned OpIdx2 = CommuteAnyOperandIndex) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h369 unsigned OpIdx2) const override;
H A DPPCInstrInfo.cpp1131 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 DSystemZInstrInfo.cpp295 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 DX86InstrInfo.cpp2293 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 DSLPVectorizer.cpp2409 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()