reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/ImplicitNullChecks.cpp
  473   if (TII->analyzeBranchPredicate(MBB, MBP, true))
  477   if (!(MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 &&
  477   if (!(MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 &&
  477   if (!(MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 &&
  478         (MBP.Predicate == MachineBranchPredicate::PRED_NE ||
  479          MBP.Predicate == MachineBranchPredicate::PRED_EQ)))
  484   if (!MBP.SingleUseCondition)
  489   if (MBP.Predicate == MachineBranchPredicate::PRED_NE) {
  490     NotNullSucc = MBP.TrueDest;
  491     NullSucc = MBP.FalseDest;
  493     NotNullSucc = MBP.FalseDest;
  494     NullSucc = MBP.TrueDest;
  520   const Register PointerReg = MBP.LHS.getReg();
  522   assert(MBP.ConditionDef->getParent() ==  &MBB && "Should be in basic block");
  524   for (auto I = MBB.rbegin(); MBP.ConditionDef != &*I; ++I)
  594       NullCheckList.emplace_back(&MI, MBP.ConditionDef, &MBB, NotNullSucc,