Lines Matching refs:BOp
2400 if (const CmpInst *BOp = dyn_cast<CmpInst>(Cond)) { in EmitBranchForMergedCondition() local
2405 (isExportableFromCurrentBlock(BOp->getOperand(0), BB) && in EmitBranchForMergedCondition()
2406 isExportableFromCurrentBlock(BOp->getOperand(1), BB))) { in EmitBranchForMergedCondition()
2421 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition()
2454 const Instruction *BOp = dyn_cast<Instruction>(Cond); in FindMergedConditions() local
2462 if (BOp) { in FindMergedConditions()
2463 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions()
2465 : (match(BOp, m_LogicalOr(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions()
2478 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in FindMergedConditions()
2479 if (!BOpIsInOrAndTree || BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions()
2638 const Instruction *BOp = dyn_cast<Instruction>(CondVal); in visitBr() local
2639 if (!DAG.getTargetLoweringInfo().isJumpExpensive() && BOp && in visitBr()
2640 BOp->hasOneUse() && !I.hasMetadata(LLVMContext::MD_unpredictable)) { in visitBr()
2644 if (match(BOp, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in visitBr()
2646 else if (match(BOp, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in visitBr()
2651 FindMergedConditions(BOp, Succ0MBB, Succ1MBB, BrMBB, BrMBB, Opcode, in visitBr()