Home
last modified time | relevance | path

Searched refs:GlobalIndex (Results 1 – 17 of 17) 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/llvm-project/clang/lib/Serialization/
DModuleManager.cpp328 GlobalIndex = Index; in setGlobalIndex()
329 if (!GlobalIndex) { in setGlobalIndex()
337 if (!GlobalIndex->loadedModuleFile(&M)) in setGlobalIndex()
342 if (!GlobalIndex || GlobalIndex->loadedModuleFile(MF)) in moduleFileAccepted()
DASTReader.cpp2067 if (GlobalIndex->lookupIdentifier(II.getName(), Hits)) { in updateOutOfDateIdentifier()
4096 if (GlobalIndex) in loadGlobalIndex()
4115 GlobalIndex.reset(Result.first); in loadGlobalIndex()
4116 ModuleMgr.setGlobalIndex(GlobalIndex.get()); in loadGlobalIndex()
4211 GlobalIndex.reset(); in ReadAST()
5507 SubmoduleID GlobalIndex = GlobalID - NUM_PREDEF_SUBMODULE_IDS; in ReadSubmoduleBlock() local
5508 if (GlobalIndex >= SubmodulesLoaded.size() || in ReadSubmoduleBlock()
5509 SubmodulesLoaded[GlobalIndex]) { in ReadSubmoduleBlock()
5544 SubmodulesLoaded[GlobalIndex] = CurrentModule; in ReadSubmoduleBlock()
5878 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/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp2138 GlobalModuleIndex *GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex() local
2140 if (!GlobalIndex && shouldBuildGlobalModuleIndex() && hasFileManager() && in loadGlobalModuleIndex()
2156 GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex()
2160 if (!HaveFullGlobalModuleIndex && GlobalIndex && !buildingModule()) { in loadGlobalModuleIndex()
2187 GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex()
2191 return GlobalIndex; in loadGlobalModuleIndex()
2202 GlobalModuleIndex *GlobalIndex = loadGlobalModuleIndex( in lookupMissingImports() local
2206 if (GlobalIndex) { in lookupMissingImports()
2212 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-project/clang/include/clang/Serialization/
DModuleManager.h99 GlobalModuleIndex *GlobalIndex = nullptr; variable
DASTReader.h444 std::unique_ptr<GlobalModuleIndex> GlobalIndex; variable
1391 getModulePreprocessedEntity(unsigned GlobalIndex);
1636 bool hasGlobalIndex() const { return (bool)GlobalIndex; } in hasGlobalIndex()
1639 GlobalModuleIndex *getGlobalIndex() { return GlobalIndex.get(); } in getGlobalIndex()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp808 unsigned GlobalIndex = 0; in buildBitSetsFromDisjointSet() local
815 TypeMembers[TypeIdIndex].insert(GlobalIndex); in buildBitSetsFromDisjointSet()
817 GlobalIndex++; in buildBitSetsFromDisjointSet()
/external/llvm-project/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp159 unsigned GlobalIndex = getGlobalFileIndex(Name); in getFileIndexForFunction() local
162 auto R = CurrentFunctionFileMapping.find(GlobalIndex); in getFileIndexForFunction()
167 std::make_pair(GlobalIndex, IndexInFunction)); in getFileIndexForFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp1600 unsigned GlobalIndex = 0; in buildBitSetsFromDisjointSet() local
1607 TypeMembers[I->second].insert(GlobalIndex); in buildBitSetsFromDisjointSet()
1609 GlobalIndices[GTM] = GlobalIndex; in buildBitSetsFromDisjointSet()
1610 GlobalIndex++; in buildBitSetsFromDisjointSet()
/external/llvm-project/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp1631 unsigned GlobalIndex = 0; in buildBitSetsFromDisjointSet() local
1638 TypeMembers[I->second].insert(GlobalIndex); in buildBitSetsFromDisjointSet()
1640 GlobalIndices[GTM] = GlobalIndex; in buildBitSetsFromDisjointSet()
1641 GlobalIndex++; in buildBitSetsFromDisjointSet()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWasmObjectFile.cpp533 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab() local
534 wasm::WasmGlobal &Global = Globals[GlobalIndex]; in parseLinkingSectionSymtab()
/external/llvm-project/llvm/lib/Object/
DWasmObjectFile.cpp569 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab() local
570 wasm::WasmGlobal &Global = Globals[GlobalIndex]; in parseLinkingSectionSymtab()