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()
211 llvm::DenseMap<const Stmt *, uint64_t> &CountMap; member221 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, in ComputeRegionCounts()223 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts()227 CountMap[S] = CurrentCount; in RecordStmtCount()248 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl()260 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl()267 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl()274 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl()304 CountMap[S] = BlockCount; in VisitLabelStmt()332 CountMap[S->getBody()] = CurrentCount; in VisitWhileStmt()[all …]
154 typedef DenseMap<uint64_t, unsigned> CountMap; in tryToreplicateChunks() typedef155 CountMap Counts; in tryToreplicateChunks()162 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()