Lines Matching refs:CondCount
346 uint64_t CondCount = in VisitWhileStmt() local
348 CountMap[S->getCond()] = CondCount; in VisitWhileStmt()
350 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt()
368 uint64_t CondCount = setCount(BackedgeCount + BC.ContinueCount); in VisitDoStmt() local
369 CountMap[S->getCond()] = CondCount; in VisitDoStmt()
371 setCount(BC.BreakCount + CondCount - LoopCount); in VisitDoStmt()
400 uint64_t CondCount = in VisitForStmt() local
403 CountMap[S->getCond()] = CondCount; in VisitForStmt()
406 setCount(BC.BreakCount + CondCount - BodyCount); in VisitForStmt()
434 uint64_t CondCount = in VisitCXXForRangeStmt() local
436 CountMap[S->getCond()] = CondCount; in VisitCXXForRangeStmt()
438 setCount(BC.BreakCount + CondCount - BodyCount); in VisitCXXForRangeStmt()
888 Optional<uint64_t> CondCount = PGO.getStmtCount(Cond); in createProfileWeightsForLoop() local
889 assert(CondCount.hasValue() && "missing expected loop condition count"); in createProfileWeightsForLoop()
890 if (*CondCount == 0) in createProfileWeightsForLoop()
893 std::max(*CondCount, LoopCount) - LoopCount); in createProfileWeightsForLoop()