Lines Matching refs:CondCount
341 uint64_t CondCount = in VisitWhileStmt() local
343 CountMap[S->getCond()] = CondCount; in VisitWhileStmt()
345 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt()
363 uint64_t CondCount = setCount(BackedgeCount + BC.ContinueCount); in VisitDoStmt() local
364 CountMap[S->getCond()] = CondCount; in VisitDoStmt()
366 setCount(BC.BreakCount + CondCount - LoopCount); in VisitDoStmt()
395 uint64_t CondCount = in VisitForStmt() local
398 CountMap[S->getCond()] = CondCount; in VisitForStmt()
401 setCount(BC.BreakCount + CondCount - BodyCount); in VisitForStmt()
428 uint64_t CondCount = in VisitCXXForRangeStmt() local
430 CountMap[S->getCond()] = CondCount; in VisitCXXForRangeStmt()
432 setCount(BC.BreakCount + CondCount - BodyCount); in VisitCXXForRangeStmt()
835 Optional<uint64_t> CondCount = PGO.getStmtCount(Cond); in createProfileWeightsForLoop() local
836 assert(CondCount.hasValue() && "missing expected loop condition count"); in createProfileWeightsForLoop()
837 if (*CondCount == 0) in createProfileWeightsForLoop()
840 std::max(*CondCount, LoopCount) - LoopCount); in createProfileWeightsForLoop()