Lines Matching refs:MainOp

426   Instruction *MainOp = nullptr;  member
431 return MainOp ? MainOp->getOpcode() : 0; in getOpcode()
439 bool isAltShuffle() const { return AltOp != MainOp; } in isAltShuffle()
447 InstructionsState(Value *OpValue, Instruction *MainOp, Instruction *AltOp) in InstructionsState()
448 : OpValue(OpValue), MainOp(MainOp), AltOp(AltOp) {} in InstructionsState()
1212 (S.MainOp->getNumOperands() <= 2 || !MainAltOps.empty() || in getShallowScore()
1216 S.MainOp->getNumOperands(); in getShallowScore()
2321 Instruction *MainOp = nullptr; member
2383 bool isAltShuffle() const { return MainOp != AltOp; } in isAltShuffle()
2398 return MainOp; in isOneOf()
2402 MainOp = S.MainOp; in setOperations()
2407 return MainOp; in getMainOp()
2416 return MainOp ? MainOp->getOpcode() : 0; in getOpcode()
2463 if (MainOp) in dump()
2464 dbgs() << *MainOp << "\n"; in dump()
2561 assert((BundleMember || isa<PHINode>(S.MainOp) || in newTreeEntry()
2562 isVectorLikeInstWithConstOps(S.MainOp) || in newTreeEntry()
4600 !(S.MainOp && isa<Instruction>(S.MainOp) && S.MainOp == S.AltOp && in buildTree_rec()
4602 (match(S.MainOp, m_Load(m_Value())) || all_of(VL, [&S](const Value *I) { in buildTree_rec()
4606 cast<Instruction>(S.MainOp)->getOpcode(); in buildTree_rec()
4663 bool IsCommutative = isCommutative(S.MainOp) || isCommutative(S.AltOp); in buildTree_rec()
4673 for (int Op = 0, E = S.MainOp->getNumOperands(); Op < E; ++Op) in buildTree_rec()
4679 })) >= S.MainOp->getNumOperands() / 2) in buildTree_rec()
4681 if (S.MainOp->getNumOperands() > 2) in buildTree_rec()
4686 for (int Op = 0, E = S.MainOp->getNumOperands(); Op < E; ++Op) in buildTree_rec()
5791 const Instruction *MainOp, in isAlternateInstruction() argument
5793 if (auto *CI0 = dyn_cast<CmpInst>(MainOp)) { in isAlternateInstruction()
5803 (I != MainOp && in isAlternateInstruction()