Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp884 uint64_t ThenCount = setCount(PGO.getRegionCount(S)); in VisitIfStmt() local
885 CountMap[S->getThen()] = ThenCount; in VisitIfStmt()
889 uint64_t ElseCount = ParentCount - ThenCount; in VisitIfStmt()
H A DCoverageMappingGen.cpp2066 auto [ThenCount, ElseCount] = in VisitIfStmt()
2081 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), ThenCount); in VisitIfStmt()
2084 Counter OutCount = propagateCounts(ThenCount, S->getThen()); in VisitIfStmt()
2115 createBranchRegion(S->getCond(), ThenCount, ElseCount); in VisitIfStmt()
H A DCGStmt.cpp949 uint64_t ThenCount = getProfileCount(S.getThen()); in EmitIfStmt() local
950 if (!ThenCount && !getCurrentProfileCount() && in EmitIfStmt()
961 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, ThenCount, LH, in EmitIfStmt()