Lines Matching refs:CondCount
486 uint64_t CondCount = in VisitWhileStmt() local
488 CountMap[S->getCond()] = CondCount; in VisitWhileStmt()
490 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt()
508 uint64_t CondCount = setCount(BackedgeCount + BC.ContinueCount); in VisitDoStmt() local
509 CountMap[S->getCond()] = CondCount; in VisitDoStmt()
511 setCount(BC.BreakCount + CondCount - LoopCount); in VisitDoStmt()
540 uint64_t CondCount = in VisitForStmt() local
543 CountMap[S->getCond()] = CondCount; in VisitForStmt()
546 setCount(BC.BreakCount + CondCount - BodyCount); in VisitForStmt()
576 uint64_t CondCount = in VisitCXXForRangeStmt() local
578 CountMap[S->getCond()] = CondCount; in VisitCXXForRangeStmt()
580 setCount(BC.BreakCount + CondCount - BodyCount); in VisitCXXForRangeStmt()
1053 Optional<uint64_t> CondCount = PGO.getStmtCount(Cond); in createProfileWeightsForLoop() local
1054 assert(CondCount.hasValue() && "missing expected loop condition count"); in createProfileWeightsForLoop()
1055 if (*CondCount == 0) in createProfileWeightsForLoop()
1058 std::max(*CondCount, LoopCount) - LoopCount); in createProfileWeightsForLoop()