Searched refs:CountMap (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 48 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()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 216 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; member 226 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts() 228 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts() 232 CountMap[S] = CurrentCount; in RecordStmtCount() 253 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl() 265 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl() 272 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl() 279 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl() 309 CountMap[S] = BlockCount; in VisitLabelStmt() 337 CountMap[S->getBody()] = CurrentCount; in VisitWhileStmt() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 164 typedef DenseMap<uint64_t, unsigned> CountMap; in tryToreplicateChunks() typedef 165 CountMap Counts; in tryToreplicateChunks() 172 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 134 using CountMap = DenseMap<uint64_t, unsigned>; in tryToreplicateChunks() typedef 136 CountMap Counts; in tryToreplicateChunks() 143 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()
|