Lines Matching refs:PreprocessedEntities
116 if (unsigned(Pos) >= PreprocessedEntities.size()) { in isEntityInFileID()
120 return isPreprocessedEntityIfInFileID(PreprocessedEntities[Pos], in isEntityInFileID()
205 size_t Count = PreprocessedEntities.size(); in findBeginLocalPreprocessedEntity()
208 First = PreprocessedEntities.begin(); in findBeginLocalPreprocessedEntity()
228 return First - PreprocessedEntities.begin(); in findBeginLocalPreprocessedEntity()
237 I = std::upper_bound(PreprocessedEntities.begin(), in findEndLocalPreprocessedEntity()
238 PreprocessedEntities.end(), in findEndLocalPreprocessedEntity()
241 return I - PreprocessedEntities.begin(); in findEndLocalPreprocessedEntity()
250 assert((PreprocessedEntities.empty() || in addPreprocessedEntity()
253 PreprocessedEntities.back()->getSourceRange().getBegin())) && in addPreprocessedEntity()
255 PreprocessedEntities.push_back(Entity); in addPreprocessedEntity()
256 return getPPEntityID(PreprocessedEntities.size()-1, /*isLoaded=*/false); in addPreprocessedEntity()
260 if (PreprocessedEntities.empty() || in addPreprocessedEntity()
262 PreprocessedEntities.back()->getSourceRange().getBegin())) { in addPreprocessedEntity()
263 PreprocessedEntities.push_back(Entity); in addPreprocessedEntity()
264 return getPPEntityID(PreprocessedEntities.size()-1, /*isLoaded=*/false); in addPreprocessedEntity()
284 for (pp_iter RI = PreprocessedEntities.end(), in addPreprocessedEntity()
285 Begin = PreprocessedEntities.begin(); in addPreprocessedEntity()
291 pp_iter insertI = PreprocessedEntities.insert(RI, Entity); in addPreprocessedEntity()
292 return getPPEntityID(insertI - PreprocessedEntities.begin(), in addPreprocessedEntity()
298 pp_iter I = std::upper_bound(PreprocessedEntities.begin(), in addPreprocessedEntity()
299 PreprocessedEntities.end(), in addPreprocessedEntity()
302 pp_iter insertI = PreprocessedEntities.insert(I, Entity); in addPreprocessedEntity()
303 return getPPEntityID(insertI - PreprocessedEntities.begin(), in addPreprocessedEntity()
338 assert(Index < PreprocessedEntities.size() && in getPreprocessedEntity()
340 return PreprocessedEntities[Index]; in getPreprocessedEntity()
486 + llvm::capacity_in_bytes(PreprocessedEntities) in getTotalMemory()