Home
last modified time | relevance | path

Searched refs:ElseCount (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp308 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall() local
309 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall()
313 scaleBranchCount(Count, Scale), scaleBranchCount(ElseCount, Scale)); in promoteIndirectCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp303 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall() local
304 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall()
308 scaleBranchCount(Count, Scale), scaleBranchCount(ElseCount, Scale)); in promoteIndirectCall()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp327 uint64_t ElseCount = TotalCount - Count; in createIfThenElse() local
328 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in createIfThenElse()
332 scaleBranchCount(Count, Scale), scaleBranchCount(ElseCount, Scale)); in createIfThenElse()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp500 uint64_t ElseCount = ParentCount - ThenCount; in VisitIfStmt() local
502 setCount(ElseCount); in VisitIfStmt()
503 CountMap[S->getElse()] = ElseCount; in VisitIfStmt()
507 OutCount += ElseCount; in VisitIfStmt()
DCoverageMappingGen.cpp855 Counter ElseCount = subtractCounters(ParentCount, ThenCount); in VisitIfStmt() local
858 OutCount = addCounters(OutCount, propagateCounts(ElseCount, Else)); in VisitIfStmt()
860 OutCount = addCounters(OutCount, ElseCount); in VisitIfStmt()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenPGO.cpp649 uint64_t ElseCount = ParentCount - ThenCount; in VisitIfStmt() local
651 setCount(ElseCount); in VisitIfStmt()
652 CountMap[S->getElse()] = ElseCount; in VisitIfStmt()
656 OutCount += ElseCount; in VisitIfStmt()
DCoverageMappingGen.cpp1289 Counter ElseCount = subtractCounters(ParentCount, ThenCount); in VisitIfStmt() local
1294 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), ElseCount); in VisitIfStmt()
1296 OutCount = addCounters(OutCount, propagateCounts(ElseCount, Else)); in VisitIfStmt()
1298 OutCount = addCounters(OutCount, ElseCount); in VisitIfStmt()