Lines Matching refs:GuardWideningImpl
61 class GuardWideningImpl { class
206 explicit GuardWideningImpl(DominatorTree &DT, PostDominatorTree &PDT, in GuardWideningImpl() function in __anonbd0986bc0111::GuardWideningImpl
225 return GuardWideningImpl( in runOnFunction()
241 bool GuardWideningImpl::run() { in run()
267 bool GuardWideningImpl::eliminateGuardViaWidening( in eliminateGuardViaWidening()
340 GuardWideningImpl::WideningScore GuardWideningImpl::computeWideningScore( in computeWideningScore()
369 bool GuardWideningImpl::isAvailableAt(Value *V, Instruction *Loc, in isAvailableAt()
390 void GuardWideningImpl::makeAvailableAt(Value *V, Instruction *Loc) { in makeAvailableAt()
404 bool GuardWideningImpl::widenCondCommon(Value *Cond0, Value *Cond1, in widenCondCommon()
447 SmallVector<GuardWideningImpl::RangeCheck, 4> Checks, CombinedChecks; in widenCondCommon()
480 bool GuardWideningImpl::parseRangeChecks( in parseRangeChecks()
481 Value *CheckCond, SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in parseRangeChecks()
507 GuardWideningImpl::RangeCheck Check( in parseRangeChecks()
554 bool GuardWideningImpl::combineRangeChecks( in combineRangeChecks()
555 SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in combineRangeChecks()
556 SmallVectorImpl<GuardWideningImpl::RangeCheck> &RangeChecksOut) { in combineRangeChecks()
564 SmallVector<GuardWideningImpl::RangeCheck, 3> CurrentChecks; in combineRangeChecks()
566 auto IsCurrentCheck = [&](GuardWideningImpl::RangeCheck &RC) { in combineRangeChecks()
586 [&](const GuardWideningImpl::RangeCheck &LHS, in combineRangeChecks()
587 const GuardWideningImpl::RangeCheck &RHS) { in combineRangeChecks()
603 auto OffsetOK = [&](const GuardWideningImpl::RangeCheck &RC) { in combineRangeChecks()
660 bool Changed = GuardWideningImpl(DT, PDT, LI).run(); in run()
664 StringRef GuardWideningImpl::scoreTypeToString(WideningScore WS) { in scoreTypeToString()