Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp48 typedef llvm::ImmutableMap<CountKey, unsigned> CountMap; typedef
50 static inline CountMap GetMap(void *D) { in GetMap()
51 return CountMap(static_cast<CountMap::TreeTy*>(D)); in GetMap()
54 static inline CountMap::Factory& GetFactory(void *F) { in GetFactory()
55 return *static_cast<CountMap::Factory*>(F); in GetFactory()
60 CountMap M = GetMap(Data); in getNumVisited()
61 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID)); in getNumVisited()
66 F = new CountMap::Factory(Alloc); in Factory()
70 delete static_cast<CountMap::Factory*>(F); in ~Factory()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCodeGenPGO.cpp242 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; member
252 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts()
254 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts()
258 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()
355 CountMap[S->getBody()] = PGO.getCurrentRegionCount(); in VisitWhileStmt()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp143 typedef DenseMap<uint64_t, unsigned> CountMap; in tryToreplicateChunks() typedef
144 CountMap Counts; in tryToreplicateChunks()
151 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()