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

References

lib/Transforms/Scalar/GuardWidening.cpp
  369   if (isa<ConstantInt>(getCondition(Instr)))
  385     auto E = Instr->getParent() == CurBB
  386                  ? std::find(GuardsInCurBB.begin(), GuardsInCurBB.end(), Instr)
  403     assert((i == (e - 1)) == (Instr->getParent() == CurBB) && "Bad DFS?");
  406       auto Score = computeWideningScore(Instr, Candidate, InvertCondition);
  407       LLVM_DEBUG(dbgs() << "Score between " << *getCondition(Instr)
  418     LLVM_DEBUG(dbgs() << "Did not eliminate guard " << *Instr << "\n");
  422   assert(BestSoFar != Instr && "Should have never visited same guard!");
  423   assert(DT.dominates(BestSoFar, Instr) && "Should be!");
  425   LLVM_DEBUG(dbgs() << "Widening " << *Instr << " into " << *BestSoFar
  428   widenGuard(BestSoFar, getCondition(Instr), InvertCondition);
  430                                ? ConstantInt::getFalse(Instr->getContext())
  431                                : ConstantInt::getTrue(Instr->getContext());
  432   setCondition(Instr, NewGuardCondition);
  433   EliminatedGuardsAndBranches.push_back(Instr);