Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp1745 if (auto GlobalIndex = P.getGlobal(VD)) in VisitMemberExpr() local
1746 return this->emitGetPtrGlobal(*GlobalIndex, E) && maybeLoadValue(); in VisitMemberExpr()
2246 std::optional<unsigned> GlobalIndex = P.createGlobal(E); in VisitMaterializeTemporaryExpr() local
2247 if (!GlobalIndex) in VisitMaterializeTemporaryExpr()
2259 if (!this->emitInitGlobalTemp(*SubExprT, *GlobalIndex, TempDecl, E)) in VisitMaterializeTemporaryExpr()
2262 if (!this->emitInitGlobal(*SubExprT, *GlobalIndex, E)) in VisitMaterializeTemporaryExpr()
2265 return this->emitGetPtrGlobal(*GlobalIndex, E); in VisitMaterializeTemporaryExpr()
2269 if (!this->emitGetPtrGlobal(*GlobalIndex, E)) in VisitMaterializeTemporaryExpr()
2320 if (std::optional<unsigned> GlobalIndex = P.createGlobal(E)) { in VisitCompoundLiteralExpr() local
2321 if (!this->emitGetPtrGlobal(*GlobalIndex, E)) in VisitCompoundLiteralExpr()
[all …]
H A DEvalEmitter.cpp283 if (std::optional<unsigned> GlobalIndex = P.getGlobal(E)) { in updateGlobalTemporaries() local
284 const Pointer &Ptr = P.getPtrGlobal(*GlobalIndex); in updateGlobalTemporaries()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp2279 GlobalModuleIndex *GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex() local
2281 if (!GlobalIndex && shouldBuildGlobalModuleIndex() && hasFileManager() && in loadGlobalModuleIndex()
2297 GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex()
2301 if (!HaveFullGlobalModuleIndex && GlobalIndex && !buildingModule()) { in loadGlobalModuleIndex()
2328 GlobalIndex = TheASTReader->getGlobalIndex(); in loadGlobalModuleIndex()
2332 return GlobalIndex; in loadGlobalModuleIndex()
2343 GlobalModuleIndex *GlobalIndex = loadGlobalModuleIndex( in lookupMissingImports() local
2347 if (GlobalIndex) { in lookupMissingImports()
2353 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.h472 std::unique_ptr<GlobalModuleIndex> GlobalIndex; variable
1462 getModulePreprocessedEntity(unsigned GlobalIndex);
1736 bool hasGlobalIndex() const { return (bool)GlobalIndex; } in hasGlobalIndex()
1739 GlobalModuleIndex *getGlobalIndex() { return GlobalIndex.get(); } in getGlobalIndex()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h140 uint64_t GlobalIndex);
H A DDwarfCompileUnit.cpp482 uint64_t GlobalIndex) { in addWasmRelocBaseGlobal() argument
507 addUInt(*Loc, dwarf::DW_FORM_data4, GlobalIndex); in addWasmRelocBaseGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1773 unsigned GlobalIndex = 0; in buildBitSetsFromDisjointSet() local
1780 TypeMembers[I->second].insert(GlobalIndex); in buildBitSetsFromDisjointSet()
1782 GlobalIndices[GTM] = GlobalIndex; in buildBitSetsFromDisjointSet()
1783 GlobalIndex++; in buildBitSetsFromDisjointSet()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp2281 if (GlobalIndex->lookupIdentifier(II.getName(), Hits)) { in updateOutOfDateIdentifier()
4346 if (GlobalIndex) in loadGlobalIndex()
4365 GlobalIndex.reset(Result.first); in loadGlobalIndex()
4366 ModuleMgr.setGlobalIndex(GlobalIndex.get()); in loadGlobalIndex()
4464 GlobalIndex.reset(); in ReadAST()
5800 SubmoduleID GlobalIndex = GlobalID - NUM_PREDEF_SUBMODULE_IDS; in ReadSubmoduleBlock() local
5801 if (GlobalIndex >= SubmodulesLoaded.size() || in ReadSubmoduleBlock()
5802 SubmodulesLoaded[GlobalIndex]) in ReadSubmoduleBlock()
5841 SubmodulesLoaded[GlobalIndex] = CurrentModule; in ReadSubmoduleBlock()
6209 ASTReader::getModulePreprocessedEntity(unsigned GlobalIndex) { in getModulePreprocessedEntity() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp762 unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals; in parseLinkingSectionSymtab() local
763 wasm::WasmGlobal &Global = Globals[GlobalIndex]; in parseLinkingSectionSymtab()