Lines Matching refs:MBP
333 MachineBranchPredicate MBP; in analyzeBlockForNullChecks() local
335 if (TII->analyzeBranchPredicate(MBB, MBP, true)) in analyzeBlockForNullChecks()
339 if (!(MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 && in analyzeBlockForNullChecks()
340 (MBP.Predicate == MachineBranchPredicate::PRED_NE || in analyzeBlockForNullChecks()
341 MBP.Predicate == MachineBranchPredicate::PRED_EQ))) in analyzeBlockForNullChecks()
346 if (!MBP.SingleUseCondition) in analyzeBlockForNullChecks()
351 if (MBP.Predicate == MachineBranchPredicate::PRED_NE) { in analyzeBlockForNullChecks()
352 NotNullSucc = MBP.TrueDest; in analyzeBlockForNullChecks()
353 NullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
355 NotNullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
356 NullSucc = MBP.TrueDest; in analyzeBlockForNullChecks()
418 unsigned PointerReg = MBP.LHS.getReg(); in analyzeBlockForNullChecks()
466 NullCheckList.emplace_back(&MI, MBP.ConditionDef, &MBB, NotNullSucc, in analyzeBlockForNullChecks()