Lines Matching refs:setCount
238 uint64_t setCount(uint64_t Count) { in setCount() function
252 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl()
264 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl()
271 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl()
278 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitBlockDecl()
308 uint64_t BlockCount = setCount(PGO.getRegionCount(S)); in VisitLabelStmt()
336 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitWhileStmt()
347 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitWhileStmt()
350 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt()
360 uint64_t BodyCount = setCount(LoopCount + CurrentCount); in VisitDoStmt()
368 uint64_t CondCount = setCount(BackedgeCount + BC.ContinueCount); in VisitDoStmt()
371 setCount(BC.BreakCount + CondCount - LoopCount); in VisitDoStmt()
385 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitForStmt()
394 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount); in VisitForStmt()
401 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitForStmt()
406 setCount(BC.BreakCount + CondCount - BodyCount); in VisitForStmt()
421 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitCXXForRangeStmt()
429 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt()
435 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt()
438 setCount(BC.BreakCount + CondCount - BodyCount); in VisitCXXForRangeStmt()
448 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitObjCForCollectionStmt()
454 setCount(BC.BreakCount + ParentCount + BackedgeCount + BC.ContinueCount - in VisitObjCForCollectionStmt()
470 setCount(PGO.getRegionCount(S)); in VisitSwitchStmt()
480 setCount(CurrentCount + CaseCount); in VisitSwitchCase()
495 uint64_t ThenCount = setCount(PGO.getRegionCount(S)); in VisitIfStmt()
502 setCount(ElseCount); in VisitIfStmt()
508 setCount(OutCount); in VisitIfStmt()
518 setCount(PGO.getRegionCount(S)); in VisitCXXTryStmt()
525 uint64_t CatchCount = setCount(PGO.getRegionCount(S)); in VisitCXXCatchStmt()
537 uint64_t TrueCount = setCount(PGO.getRegionCount(E)); in VisitAbstractConditionalOperator()
542 uint64_t FalseCount = setCount(ParentCount - TrueCount); in VisitAbstractConditionalOperator()
547 setCount(OutCount); in VisitAbstractConditionalOperator()
556 uint64_t RHSCount = setCount(PGO.getRegionCount(E)); in VisitBinLAnd()
559 setCount(ParentCount + RHSCount - CurrentCount); in VisitBinLAnd()
568 uint64_t RHSCount = setCount(PGO.getRegionCount(E)); in VisitBinLOr()
571 setCount(ParentCount + RHSCount - CurrentCount); in VisitBinLOr()