Home
last modified time | relevance | path

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

/external/clang/lib/Serialization/
DModuleManager.cpp275 GlobalIndex = Index; in setGlobalIndex()
276 if (!GlobalIndex) { in setGlobalIndex()
284 if (!GlobalIndex->loadedModuleFile(Chain[I])) { in setGlobalIndex()
291 if (!GlobalIndex || GlobalIndex->loadedModuleFile(MF)) in moduleFileAccepted()
299 : FileMgr(FileMgr), PCHContainerRdr(PCHContainerRdr), GlobalIndex(), in ModuleManager()
DASTReader.cpp1768 if (GlobalIndex->lookupIdentifier(II.getName(), Hits)) { in updateOutOfDateIdentifier()
3408 if (GlobalIndex) in loadGlobalIndex()
3424 GlobalIndex.reset(Result.first); in loadGlobalIndex()
3425 ModuleMgr.setGlobalIndex(GlobalIndex.get()); in loadGlobalIndex()
3511 GlobalIndex.reset(); in ReadAST()
4493 SubmoduleID GlobalIndex = GlobalID - NUM_PREDEF_SUBMODULE_IDS; in ReadSubmoduleBlock() local
4494 if (GlobalIndex >= SubmodulesLoaded.size() || in ReadSubmoduleBlock()
4495 SubmodulesLoaded[GlobalIndex]) { in ReadSubmoduleBlock()
4527 SubmodulesLoaded[GlobalIndex] = CurrentModule; in ReadSubmoduleBlock()
4848 ASTReader::getModulePreprocessedEntity(unsigned GlobalIndex) { in getModulePreprocessedEntity() argument
[all …]
/external/clang/lib/Frontend/
DCompilerInstance.cpp1690 GlobalModuleIndex *GlobalIndex = ModuleManager->getGlobalIndex(); in loadGlobalModuleIndex() local
1692 if (!GlobalIndex && shouldBuildGlobalModuleIndex() && hasFileManager() && in loadGlobalModuleIndex()
1701 GlobalIndex = ModuleManager->getGlobalIndex(); in loadGlobalModuleIndex()
1705 if (!HaveFullGlobalModuleIndex && GlobalIndex && !buildingModule()) { in loadGlobalModuleIndex()
1728 GlobalIndex = ModuleManager->getGlobalIndex(); in loadGlobalModuleIndex()
1732 return GlobalIndex; in loadGlobalModuleIndex()
1743 GlobalModuleIndex *GlobalIndex = loadGlobalModuleIndex( in lookupMissingImports() local
1747 if (GlobalIndex) { in lookupMissingImports()
1753 if (GlobalIndex->lookupIdentifier(Name, FoundModules)) in lookupMissingImports()
/external/clang/include/clang/Serialization/
DModuleManager.h77 GlobalModuleIndex *GlobalIndex; variable
DASTReader.h410 std::unique_ptr<GlobalModuleIndex> GlobalIndex; variable
1215 getModulePreprocessedEntity(unsigned GlobalIndex);
1438 bool hasGlobalIndex() const { return (bool)GlobalIndex; } in hasGlobalIndex()
1441 GlobalModuleIndex *getGlobalIndex() { return GlobalIndex.get(); } in getGlobalIndex()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp128 unsigned GlobalIndex = getGlobalFileIndex(Name); in getFileIndexForFunction() local
131 auto R = CurrentFunctionFileMapping.find(GlobalIndex); in getFileIndexForFunction()
136 std::make_pair(GlobalIndex, IndexInFunction)); in getFileIndexForFunction()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp808 unsigned GlobalIndex = 0; in buildBitSetsFromDisjointSet() local
815 TypeMembers[TypeIdIndex].insert(GlobalIndex); in buildBitSetsFromDisjointSet()
817 GlobalIndex++; in buildBitSetsFromDisjointSet()