Home
last modified time | relevance | path

Searched refs:ThenCount (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1884 Counter ThenCount = getRegionCounter(S); in VisitIfStmt() local
1894 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), ThenCount); in VisitIfStmt()
1897 Counter OutCount = propagateCounts(ThenCount, S->getThen()); in VisitIfStmt()
1898 Counter ElseCount = subtractCounters(ParentCount, ThenCount); in VisitIfStmt()
1922 createBranchRegion(S->getCond(), ThenCount, in VisitIfStmt()
1923 subtractCounters(ParentCount, ThenCount)); in VisitIfStmt()
H A DCodeGenPGO.cpp795 uint64_t ThenCount = setCount(PGO.getRegionCount(S)); in VisitIfStmt() local
796 CountMap[S->getThen()] = ThenCount; in VisitIfStmt()
800 uint64_t ElseCount = ParentCount - ThenCount; in VisitIfStmt()
H A DCGStmt.cpp836 uint64_t ThenCount = getProfileCount(S.getThen()); in EmitIfStmt() local
837 if (!ThenCount && !getCurrentProfileCount() && in EmitIfStmt()
848 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, ThenCount, LH); in EmitIfStmt()