Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp47 typedef llvm::ImmutableMap<CountKey, unsigned> CountMap; typedef
49 static inline CountMap GetMap(void *D) { in GetMap()
50 return CountMap(static_cast<CountMap::TreeTy*>(D)); in GetMap()
53 static inline CountMap::Factory& GetFactory(void *F) { in GetFactory()
54 return *static_cast<CountMap::Factory*>(F); in GetFactory()
59 CountMap M = GetMap(Data); in getNumVisited()
60 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID)); in getNumVisited()
65 F = new CountMap::Factory(Alloc); in Factory()
69 delete static_cast<CountMap::Factory*>(F); in ~Factory()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenPGO.cpp374 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; member
384 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts()
386 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts()
390 CountMap[S] = CurrentCount; in RecordStmtCount()
411 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl()
423 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl()
430 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl()
437 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl()
467 CountMap[S] = BlockCount; in VisitLabelStmt()
495 CountMap[S->getBody()] = CurrentCount; in VisitWhileStmt()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp45 using CountMap = DenseMap<uint64_t, unsigned>; in tryToreplicateChunks() typedef
47 CountMap Counts; in tryToreplicateChunks()
54 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()