Home
last modified time | relevance | path

Searched refs:GlobalIndex (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Serialization/
DModuleManager.cpp218 GlobalIndex = Index; in setGlobalIndex()
219 if (!GlobalIndex) { in setGlobalIndex()
227 if (!GlobalIndex->loadedModuleFile(Chain[I])) { in setGlobalIndex()
234 if (!GlobalIndex || GlobalIndex->loadedModuleFile(MF)) in moduleFileAccepted()
241 : FileMgr(FileMgr), GlobalIndex(), FirstVisitState(nullptr) {} in ModuleManager()
DASTReader.cpp1695 if (GlobalIndex->lookupIdentifier(II.getName(), Hits)) { in updateOutOfDateIdentifier()
3404 if (GlobalIndex) in loadGlobalIndex()
3420 GlobalIndex.reset(Result.first); in loadGlobalIndex()
3421 ModuleMgr.setGlobalIndex(GlobalIndex.get()); in loadGlobalIndex()
3478 GlobalIndex.reset(); in ReadAST()
4265 SubmoduleID GlobalIndex = GlobalID - NUM_PREDEF_SUBMODULE_IDS; in ReadSubmoduleBlock() local
4266 if (GlobalIndex >= SubmodulesLoaded.size() || in ReadSubmoduleBlock()
4267 SubmodulesLoaded[GlobalIndex]) { in ReadSubmoduleBlock()
4298 SubmodulesLoaded[GlobalIndex] = CurrentModule; in ReadSubmoduleBlock()
4698 ASTReader::getModulePreprocessedEntity(unsigned GlobalIndex) { in getModulePreprocessedEntity() argument
[all …]
/external/clang/lib/Frontend/
DCompilerInstance.cpp1526 GlobalModuleIndex *GlobalIndex = ModuleManager->getGlobalIndex(); in loadGlobalModuleIndex() local
1528 if (!GlobalIndex && shouldBuildGlobalModuleIndex() && hasFileManager() && in loadGlobalModuleIndex()
1537 GlobalIndex = ModuleManager->getGlobalIndex(); in loadGlobalModuleIndex()
1541 if (!HaveFullGlobalModuleIndex && GlobalIndex && !buildingModule()) { in loadGlobalModuleIndex()
1565 GlobalIndex = ModuleManager->getGlobalIndex(); in loadGlobalModuleIndex()
1569 return GlobalIndex; in loadGlobalModuleIndex()
1580 GlobalModuleIndex *GlobalIndex = loadGlobalModuleIndex( in lookupMissingImports() local
1584 if (GlobalIndex) { in lookupMissingImports()
1590 if (GlobalIndex->lookupIdentifier(Name, FoundModules)) in lookupMissingImports()
/external/clang/include/clang/Serialization/
DModuleManager.h63 GlobalModuleIndex *GlobalIndex; variable
DASTReader.h369 std::unique_ptr<GlobalModuleIndex> GlobalIndex; variable
1179 getModulePreprocessedEntity(unsigned GlobalIndex);
1390 bool hasGlobalIndex() const { return (bool)GlobalIndex; } in hasGlobalIndex()
1393 GlobalModuleIndex *getGlobalIndex() { return GlobalIndex.get(); } in getGlobalIndex()