Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1387 Counter ThenCount = getRegionCounter(S); in VisitIfStmt() local
1398 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), ThenCount); in VisitIfStmt()
1402 Counter OutCount = propagateCounts(ThenCount, S->getThen()); in VisitIfStmt()
1404 Counter ElseCount = subtractCounters(ParentCount, ThenCount); in VisitIfStmt()
1428 createBranchRegion(S->getCond(), ThenCount, in VisitIfStmt()
1429 subtractCounters(ParentCount, ThenCount)); in VisitIfStmt()
H A DCodeGenPGO.cpp668 uint64_t ThenCount = setCount(PGO.getRegionCount(S)); in VisitIfStmt() local
669 CountMap[S->getThen()] = ThenCount; in VisitIfStmt()
673 uint64_t ElseCount = ParentCount - ThenCount; in VisitIfStmt()
H A DCGStmt.cpp829 uint64_t ThenCount = getProfileCount(S.getThen()); in EmitIfStmt() local
830 if (!ThenCount && !getCurrentProfileCount() && in EmitIfStmt()
833 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, ThenCount, LH); in EmitIfStmt()