Searched refs:CountMap (Results 1 – 3 of 3) sorted by relevance
48 typedef llvm::ImmutableMap<CountKey, unsigned> CountMap; typedef50 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()
216 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; member226 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 …]
164 typedef DenseMap<uint64_t, unsigned> CountMap; in tryToreplicateChunks() typedef165 CountMap Counts; in tryToreplicateChunks()172 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()