Lines Matching refs:BOp
2166 if (const CmpInst *BOp = dyn_cast<CmpInst>(Cond)) { in EmitBranchForMergedCondition() local
2171 (isExportableFromCurrentBlock(BOp->getOperand(0), BB) && in EmitBranchForMergedCondition()
2172 isExportableFromCurrentBlock(BOp->getOperand(1), BB))) { in EmitBranchForMergedCondition()
2187 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition()
2220 const Instruction *BOp = dyn_cast<Instruction>(Cond); in FindMergedConditions() local
2228 if (BOp) { in FindMergedConditions()
2229 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions()
2231 : (match(BOp, m_LogicalOr(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions()
2244 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in FindMergedConditions()
2245 if (!BOpIsInOrAndTree || BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions()
2401 const Instruction *BOp = dyn_cast<Instruction>(CondVal); in visitBr() local
2402 if (!DAG.getTargetLoweringInfo().isJumpExpensive() && BOp && in visitBr()
2403 BOp->hasOneUse() && !I.hasMetadata(LLVMContext::MD_unpredictable)) { in visitBr()
2407 if (match(BOp, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in visitBr()
2409 else if (match(BOp, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in visitBr()
2414 FindMergedConditions(BOp, Succ0MBB, Succ1MBB, BrMBB, BrMBB, Opcode, in visitBr()