Searched refs:JoinOp (Results 1 – 1 of 1) sorted by relevance
1593 Instruction *JoinOp = CB.getContextInst(); in checkOrAndOpImpliedByOther() local1594 if (JoinOp->use_empty()) in checkOrAndOpImpliedByOther()1598 unsigned OtherOpIdx = JoinOp->getOperand(0) == CmpToCheck ? 1 : 0; in checkOrAndOpImpliedByOther()1603 if (OtherOpIdx != 0 && isa<SelectInst>(JoinOp)) in checkOrAndOpImpliedByOther()1615 bool IsOr = match(JoinOp, m_LogicalOr()); in checkOrAndOpImpliedByOther()1616 SmallVector<Value *, 4> Worklist({JoinOp->getOperand(OtherOpIdx)}); in checkOrAndOpImpliedByOther()1644 JoinOp->replaceAllUsesWith( in checkOrAndOpImpliedByOther()1645 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()1647 JoinOp->replaceAllUsesWith(JoinOp->getOperand(OtherOpIdx)); in checkOrAndOpImpliedByOther()1648 ToRemove.push_back(JoinOp); in checkOrAndOpImpliedByOther()