Home
last modified time | relevance | path

Searched refs:getCurrentRegionCount (Results 1 – 5 of 5) sorted by relevance

/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCodeGenPGO.cpp258 CountMap[S] = PGO.getCurrentRegionCount(); in RecordStmtCount()
275 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitFunctionDecl()
288 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitCapturedDecl()
296 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitObjCMethodDecl()
304 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitBlockDecl()
327 CountMap[S] = PGO.getCurrentRegionCount(); in VisitLabelStmt()
334 BreakContinueStack.back().BreakCount += PGO.getCurrentRegionCount(); in VisitBreakStmt()
342 BreakContinueStack.back().ContinueCount += PGO.getCurrentRegionCount(); in VisitContinueStmt()
355 CountMap[S->getBody()] = PGO.getCurrentRegionCount(); in VisitWhileStmt()
366 CountMap[S->getCond()] = PGO.getCurrentRegionCount(); in VisitWhileStmt()
[all …]
H A DCodeGenPGO.h58 uint64_t getCurrentRegionCount() const { return CurrentRegionCount; } in getCurrentRegionCount() function
153 ParentCount(PGO.getCurrentRegionCount()), Adjust(0) {} in RegionCounter()
159 ParentCount(PGO.getCurrentRegionCount()), Adjust(0) {} in RegionCounter()
191 RegionCount += PGO->getCurrentRegionCount();
213 Adjust += PGO->getCurrentRegionCount() - RegionCount; in adjustForControlFlow()
215 RegionCount = PGO->getCurrentRegionCount(); in adjustForControlFlow()
H A DCoverageMappingGen.cpp449 Counter getCurrentRegionCount() { return CurrentRegionCount; } in getCurrentRegionCount() function
482 ParentCount(Mapper->getCurrentRegionCount()) {} in RegionMapper()
511 Mapping.addCounters(RegionCount, Mapping.getCurrentRegionCount()); in beginRegion()
535 Adjust, Mapping.subtractCounters(Mapping.getCurrentRegionCount(), in adjustForControlFlow()
538 RegionCount = Mapping.getCurrentRegionCount(); in adjustForControlFlow()
663 BreakContinueStack.back().BreakCount, getCurrentRegionCount()); in VisitBreakStmt()
671 BreakContinueStack.back().ContinueCount, getCurrentRegionCount()); in VisitContinueStmt()
742 getCurrentRegionCount(), BreakContinueStack.back().ContinueCount)); in VisitForStmt()
H A DCodeGenFunction.cpp1124 uint64_t FalseCount = PGO.getCurrentRegionCount() - TrueCount; in EmitBranchOnBoolExpr()
1179 uint64_t CurrentCount = std::max(PGO.getCurrentRegionCount(), TrueCount); in EmitBranchOnBoolExpr()
H A DCGObjC.cpp1510 uint64_t EntryCount = PGO.getCurrentRegionCount(); in EmitObjCForCollectionStmt()