Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DModuleManager.cpp310 GlobalIndex = Index; in setGlobalIndex()
311 if (!GlobalIndex) { in setGlobalIndex()
319 if (!GlobalIndex->loadedModuleFile(&M)) in setGlobalIndex()
324 if (!GlobalIndex || GlobalIndex->loadedModuleFile(MF)) in moduleFileAccepted()
H A DASTReader.cpp2448 if (GlobalIndex->lookupIdentifier(II.getName(), Hits)) { in updateOutOfDateIdentifier()
4647 if (GlobalIndex) in loadGlobalIndex()
4666 GlobalIndex.reset(Result.first); in loadGlobalIndex()
4667 ModuleMgr.setGlobalIndex(GlobalIndex.get()); in loadGlobalIndex()
4752 GlobalIndex.reset(); in ReadAST()
6120 SubmoduleID GlobalIndex = GlobalID - NUM_PREDEF_SUBMODULE_IDS; in ReadSubmoduleBlock() local
6121 if (GlobalIndex >= SubmodulesLoaded.size() || in ReadSubmoduleBlock()
6122 SubmodulesLoaded[GlobalIndex]) in ReadSubmoduleBlock()
6176 SubmodulesLoaded[GlobalIndex] = CurrentModule; in ReadSubmoduleBlock()
6545 ASTReader::getModulePreprocessedEntity(unsigned GlobalIndex) { in getModulePreprocessedEntity() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.cpp2286 if (auto GlobalIndex = P.getGlobal(VD)) in VisitMemberExpr() local
2287 return this->emitGetPtrGlobal(*GlobalIndex, E) && maybeLoadValue(); in VisitMemberExpr()
2825 std::optional<unsigned> GlobalIndex = P.createGlobal(E); in VisitMaterializeTemporaryExpr() local
2826 if (!GlobalIndex) in VisitMaterializeTemporaryExpr()
2838 if (!this->emitInitGlobalTemp(*SubExprT, *GlobalIndex, TempDecl, E)) in VisitMaterializeTemporaryExpr()
2841 if (!this->emitInitGlobal(*SubExprT, *GlobalIndex, E)) in VisitMaterializeTemporaryExpr()
2844 return this->emitGetPtrGlobal(*GlobalIndex, E); in VisitMaterializeTemporaryExpr()
2850 if (!this->emitGetPtrGlobal(*GlobalIndex, E)) in VisitMaterializeTemporaryExpr()
2922 if (std::optional<unsigned> GlobalIndex = P.createGlobal(E)) { in VisitCompoundLiteralExpr() local
2923 if (!this->emitGetPtrGlobal(*GlobalIndex, E)) in VisitCompoundLiteralExpr()
[all …]
H A DEvalEmitter.cpp310 if (std::optional<unsigned> GlobalIndex = P.getGlobal(E)) { in updateGlobalTemporaries() local
311 const Pointer &Ptr = P.getPtrGlobal(*GlobalIndex); in updateGlobalTemporaries()
H A DProgram.cpp65 unsigned GlobalIndex = Globals.size(); in createGlobalString() local
107 return GlobalIndex; in createGlobalString()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp2295 GlobalModuleIndex *GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex() local
2297 if (!GlobalIndex && shouldBuildGlobalModuleIndex() && hasFileManager() && in loadGlobalModuleIndex()
2313 GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex()
2317 if (!HaveFullGlobalModuleIndex && GlobalIndex && !buildingModule()) { in loadGlobalModuleIndex()
2344 GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex()
2348 return GlobalIndex; in loadGlobalModuleIndex()
2359 GlobalModuleIndex *GlobalIndex = loadGlobalModuleIndex( in lookupMissingImports() local
2363 if (GlobalIndex) { in lookupMissingImports()
2369 if (GlobalIndex->lookupIdentifier(Name, FoundModules)) in lookupMissingImports()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h97 GlobalModuleIndex *GlobalIndex = nullptr; variable
H A DASTReader.h518 std::unique_ptr<GlobalModuleIndex> GlobalIndex; variable
1647 getModulePreprocessedEntity(unsigned GlobalIndex);
1925 bool hasGlobalIndex() const { return (bool)GlobalIndex; } in hasGlobalIndex()
1928 GlobalModuleIndex *getGlobalIndex() { return GlobalIndex.get(); } in getGlobalIndex()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h144 uint64_t GlobalIndex);
H A DDwarfCompileUnit.cpp506 uint64_t GlobalIndex) { in addWasmRelocBaseGlobal() argument
531 addUInt(*Loc, dwarf::DW_FORM_data4, GlobalIndex); in addWasmRelocBaseGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1811 unsigned GlobalIndex = 0; in buildBitSetsFromDisjointSet() local
1818 TypeMembers[I->second].insert(GlobalIndex); in buildBitSetsFromDisjointSet()
1820 GlobalIndices[GTM] = GlobalIndex; in buildBitSetsFromDisjointSet()
1821 GlobalIndex++; in buildBitSetsFromDisjointSet()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp772 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab() local
773 wasm::WasmGlobal &Global = Globals[GlobalIndex]; in parseLinkingSectionSymtab()