Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1503 Instruction *JoinOp = CB.getContextInst(); in checkOrAndOpImpliedByOther() local
1505 unsigned OtherOpIdx = JoinOp->getOperand(0) == CmpToCheck ? 1 : 0; in checkOrAndOpImpliedByOther()
1510 if (OtherOpIdx != 0 && isa<SelectInst>(JoinOp)) in checkOrAndOpImpliedByOther()
1513 if (!match(JoinOp->getOperand(OtherOpIdx), in checkOrAndOpImpliedByOther()
1518 bool IsOr = match(JoinOp, m_LogicalOr()); in checkOrAndOpImpliedByOther()
1533 if (IsOr && isa<SelectInst>(JoinOp)) { in checkOrAndOpImpliedByOther()
1534 JoinOp->setOperand( in checkOrAndOpImpliedByOther()
1536 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()
1538 JoinOp->setOperand( in checkOrAndOpImpliedByOther()
1540 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()