• Home
  • Raw
  • Download

Lines Matching refs:setCount

381   uint64_t setCount(uint64_t Count) {  in setCount()  function
395 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl()
407 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl()
414 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl()
421 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitBlockDecl()
451 uint64_t BlockCount = setCount(PGO.getRegionCount(S)); in VisitLabelStmt()
479 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitWhileStmt()
490 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitWhileStmt()
493 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt()
503 uint64_t BodyCount = setCount(LoopCount + CurrentCount); in VisitDoStmt()
511 uint64_t CondCount = setCount(BackedgeCount + BC.ContinueCount); in VisitDoStmt()
514 setCount(BC.BreakCount + CondCount - LoopCount); in VisitDoStmt()
528 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitForStmt()
537 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount); in VisitForStmt()
544 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitForStmt()
549 setCount(BC.BreakCount + CondCount - BodyCount); in VisitForStmt()
566 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitCXXForRangeStmt()
574 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt()
580 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt()
583 setCount(BC.BreakCount + CondCount - BodyCount); in VisitCXXForRangeStmt()
593 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitObjCForCollectionStmt()
599 setCount(BC.BreakCount + ParentCount + BackedgeCount + BC.ContinueCount - in VisitObjCForCollectionStmt()
617 setCount(PGO.getRegionCount(S)); in VisitSwitchStmt()
627 setCount(CurrentCount + CaseCount); in VisitSwitchCase()
644 uint64_t ThenCount = setCount(PGO.getRegionCount(S)); in VisitIfStmt()
651 setCount(ElseCount); in VisitIfStmt()
657 setCount(OutCount); in VisitIfStmt()
667 setCount(PGO.getRegionCount(S)); in VisitCXXTryStmt()
674 uint64_t CatchCount = setCount(PGO.getRegionCount(S)); in VisitCXXCatchStmt()
686 uint64_t TrueCount = setCount(PGO.getRegionCount(E)); in VisitAbstractConditionalOperator()
691 uint64_t FalseCount = setCount(ParentCount - TrueCount); in VisitAbstractConditionalOperator()
696 setCount(OutCount); in VisitAbstractConditionalOperator()
705 uint64_t RHSCount = setCount(PGO.getRegionCount(E)); in VisitBinLAnd()
708 setCount(ParentCount + RHSCount - CurrentCount); in VisitBinLAnd()
717 uint64_t RHSCount = setCount(PGO.getRegionCount(E)); in VisitBinLOr()
720 setCount(ParentCount + RHSCount - CurrentCount); in VisitBinLOr()