Home
last modified time | relevance | path

Searched refs:ModuleMap (Results 1 – 25 of 44) sorted by relevance

12

/external/clang/lib/Lex/
DModuleMap.cpp40 ModuleMap::resolveExport(Module *Mod, in resolveExport()
57 Module *ModuleMap::resolveModuleId(const ModuleId &Id, Module *Mod, in resolveModuleId()
87 ModuleMap::ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags, in ModuleMap() function in ModuleMap
96 ModuleMap::~ModuleMap() { in ~ModuleMap()
101 void ModuleMap::setTarget(const TargetInfo &Target) { in setTarget()
163 ModuleMap::HeadersMap::iterator
164 ModuleMap::findKnownHeader(const FileEntry *File) { in findKnownHeader()
175 ModuleMap::KnownHeader
176 ModuleMap::findHeaderInUmbrellaDirs(const FileEntry *File, in findHeaderInUmbrellaDirs()
212 ModuleMap::KnownHeader Header) { in violatesPrivateInclude()
[all …]
DHeaderSearch.cpp123 const FileEntry *ModuleMap = in getModuleFileName() local
125 return getModuleFileName(Module->Name, ModuleMap->getName()); in getModuleFileName()
255 ModuleMap::KnownHeader *SuggestedModule) { in getFileAndSuggestModule()
280 ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
404 ModuleMap::KnownHeader *SuggestedModule, in DoFrameworkLookup()
571 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
574 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
597 ModuleMap::KnownHeader MSSuggestedModule; in LookupFile()
671 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
824 ModuleMap::KnownHeader *SuggestedModule) { in LookupSubframeworkHeader()
[all …]
DCMakeLists.txt12 ModuleMap.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h195 std::map<VModuleKey, std::unique_ptr<EmissionDeferredModule>> ModuleMap; variable
204 assert(!ModuleMap.count(K) && "VModuleKey K already in use"); in addModule()
205 ModuleMap[K] = in addModule()
215 auto I = ModuleMap.find(K); in removeModule()
216 assert(I != ModuleMap.end() && "VModuleKey K not valid here"); in removeModule()
218 ModuleMap.erase(I); in removeModule()
234 for (auto &KV : ModuleMap) in findSymbol()
246 assert(ModuleMap.count(K) && "VModuleKey K not valid here"); in findSymbolIn()
247 return ModuleMap[K]->find(Name, ExportedSymbolsOnly, BaseLayer); in findSymbolIn()
253 assert(ModuleMap.count(K) && "VModuleKey K not valid here"); in emitAndFinalize()
[all …]
/external/llvm/include/llvm/LTO/
DLTO.h40 StringMap<MemoryBufferRef> &ModuleMap; variable
43 ModuleLoader(LLVMContext &Context, StringMap<MemoryBufferRef> &ModuleMap) in ModuleLoader() argument
44 : Context(Context), ModuleMap(ModuleMap) {} in ModuleLoader()
48 return loadModuleFromBuffer(ModuleMap[Identifier], Context, /*Lazy*/ true); in operator()
/external/clang/include/clang/Lex/
DHeaderSearch.h218 mutable ModuleMap ModMap;
383 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule,
395 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule);
433 ModuleMap::ModuleHeaderRole Role,
523 ModuleMap::KnownHeader findModuleForHeader(const FileEntry *File) const;
568 ModuleMap::KnownHeader *SuggestedModule,
578 ModuleMap::KnownHeader *SuggestedModule, bool IsSystemFramework);
586 ModuleMap::KnownHeader *SuggestedModule);
590 ModuleMap &getModuleMap() { return ModMap; } in getModuleMap()
593 const ModuleMap &getModuleMap() const { return ModMap; } in getModuleMap()
DModuleMap.h67 class ModuleMap {
291 ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags,
297 ~ModuleMap();
430 void setInferredModuleAllowedBy(Module *M, const FileEntry *ModuleMap);
443 void addAdditionalModuleMapFile(const Module *M, const FileEntry *ModuleMap) { in addAdditionalModuleMapFile() argument
444 AdditionalModMaps[M].insert(ModuleMap); in addAdditionalModuleMapFile()
DDirectoryLookup.h182 ModuleMap::KnownHeader *SuggestedModule,
193 ModuleMap::KnownHeader *SuggestedModule,
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp132 StringMap<MemoryBufferRef> ModuleMap; in generateModuleMap() local
134 assert(ModuleMap.find(ModuleBuffer.getBufferIdentifier()) == in generateModuleMap()
135 ModuleMap.end() && in generateModuleMap()
137 ModuleMap[ModuleBuffer.getBufferIdentifier()] = ModuleBuffer; in generateModuleMap()
139 return ModuleMap; in generateModuleMap()
149 StringMap<MemoryBufferRef> &ModuleMap, in crossImportIntoModule() argument
151 ModuleLoader Loader(TheModule.getContext(), ModuleMap); in crossImportIntoModule()
332 StringMap<MemoryBufferRef> &ModuleMap, TargetMachine &TM, in ProcessThinLTOModule() argument
342 bool SingleModule = (ModuleMap.size() == 1); in ProcessThinLTOModule()
365 crossImportIntoModule(TheModule, Index, ModuleMap, ImportList); in ProcessThinLTOModule()
[all …]
/external/google-breakpad/src/processor/
Dsource_line_resolver_base.cc55 : modules_(new ModuleMap), in SourceLineResolverBase()
62 ModuleMap::iterator it; in ~SourceLineResolverBase()
266 ModuleMap::iterator mod_iter = modules_->find(code_module->code_file()); in UnloadModule()
300 ModuleMap::const_iterator it = modules_->find(frame->module->code_file()); in FillSourceLineInfo()
310 ModuleMap::const_iterator it = modules_->find(frame->module->code_file()); in FindWindowsFrameInfo()
321 ModuleMap::const_iterator it = modules_->find(frame->module->code_file()); in FindCFIFrameInfo()
Dmodule_serializer.cc134 const BasicSourceLineResolver::ModuleMap::const_iterator &iter, in SerializeModuleAndLoadIntoFastResolver()
171 BasicSourceLineResolver::ModuleMap::const_iterator iter; in ConvertAllModules()
185 BasicSourceLineResolver::ModuleMap::const_iterator iter; in ConvertOneModule()
Dmodule_serializer.h105 const BasicSourceLineResolver::ModuleMap::const_iterator &iter,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp138 StringMap<MemoryBufferRef> ModuleMap; in generateModuleMap() local
140 assert(ModuleMap.find(ModuleBuffer.getBufferIdentifier()) == in generateModuleMap()
141 ModuleMap.end() && in generateModuleMap()
143 ModuleMap[ModuleBuffer.getBufferIdentifier()] = ModuleBuffer.getMemBuffer(); in generateModuleMap()
145 return ModuleMap; in generateModuleMap()
200 StringMap<MemoryBufferRef> &ModuleMap, in crossImportIntoModule() argument
203 return loadModuleFromBuffer(ModuleMap[Identifier], TheModule.getContext(), in crossImportIntoModule()
444 StringMap<MemoryBufferRef> &ModuleMap, TargetMachine &TM, in ProcessThinLTOModule() argument
454 bool SingleModule = (ModuleMap.size() == 1); in ProcessThinLTOModule()
477 crossImportIntoModule(TheModule, Index, ModuleMap, ImportList); in ProcessThinLTOModule()
[all …]
DLTO.cpp527 LTOInfo->IsThinLTO ? ThinLTO.ModuleMap.size() + 1 : 0, in addModule()
727 ThinLTO.ModuleMap.size())) in addThinLTO()
761 if (!ThinLTO.ModuleMap.insert({BM.getModuleIdentifier(), BM}).second) in addThinLTO()
771 return RegularLTO.ParallelCodeGenParallelismLevel + ThinLTO.ModuleMap.size(); in getMaxTasks()
911 MapVector<StringRef, BitcodeModule> &ModuleMap) = 0;
957 MapVector<StringRef, BitcodeModule> &ModuleMap, in runThinLTOBackendThread() argument
966 ImportList, DefinedGlobals, ModuleMap); in runThinLTOBackendThread()
994 MapVector<StringRef, BitcodeModule> &ModuleMap) override { in start() argument
1006 MapVector<StringRef, BitcodeModule> &ModuleMap, in start()
1010 ResolvedODR, DefinedGlobals, ModuleMap, TypeIdSummariesByGuid); in start()
[all …]
DLTOBackend.cpp460 MapVector<StringRef, BitcodeModule> &ModuleMap) { in thinBackend() argument
501 auto I = ModuleMap.find(Identifier); in thinBackend()
502 assert(I != ModuleMap.end()); in thinBackend()
/external/llvm/tools/llvm-link/
Dllvm-link.cpp138 StringMap<std::unique_ptr<Module>> ModuleMap; member in __anon08f4c1270111::ModuleLazyLoaderCache
156 auto I = ModuleMap.find(FileName); in takeModule()
157 assert(I != ModuleMap.end()); in takeModule()
159 ModuleMap.erase(I); in takeModule()
167 auto &Module = ModuleMap[Identifier]; in operator ()()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-link/
Dllvm-link.cpp149 StringMap<std::unique_ptr<Module>> ModuleMap; member in __anonb01eaa5f0111::ModuleLazyLoaderCache
167 auto I = ModuleMap.find(FileName); in takeModule()
168 assert(I != ModuleMap.end()); in takeModule()
170 ModuleMap.erase(I); in takeModule()
178 auto &Module = ModuleMap[Identifier]; in operator ()()
/external/llvm/tools/gold/
Dgold-plugin.cpp879 StringMap<MemoryBufferRef> *ModuleMap; member in __anon6bc62a630211::CodeGen
891 ModuleMap(nullptr) { in CodeGen()
897 StringMap<MemoryBufferRef> *ModuleMap, in CodeGen() argument
901 SaveTempsFilename(std::move(Filename)), ModuleMap(ModuleMap), in CodeGen()
1004 ModuleLoader Loader(M->getContext(), *ModuleMap); in runLTOPasses()
1184 StringMap<MemoryBufferRef> &ModuleMap, in thinLTOBackendTask() argument
1203 &ModuleMap, &ImportList, &DefinedGlobals); in thinLTOBackendTask()
1211 StringMap<MemoryBufferRef> &ModuleMap, in thinLTOBackends() argument
1257 TaskCount, std::ref(ModuleMap), in thinLTOBackends()
1309 StringMap<MemoryBufferRef> ModuleMap; in thinLTOLink() local
[all …]
/external/google-breakpad/src/google_breakpad/processor/
Dsource_line_resolver_base.h103 typedef map<string, Module*, CompareString> ModuleMap; typedef
104 ModuleMap *modules_;
/external/clang/include/clang/Serialization/
DModuleManager.h26 class ModuleMap; variable
226 ModuleMap *modMap);
/external/clang/lib/Frontend/
DFrontendActions.cpp185 ModuleMap &ModMap, clang::Module *Module, in collectModuleHeaderIncludes()
272 const FileEntry *ModuleMap = in BeginSourceFileAction() local
274 if (!ModuleMap) { in BeginSourceFileAction()
293 if (HS.loadModuleMapFile(ModuleMap, IsSystem)) in BeginSourceFileAction()
342 if (ModuleMapForUniquing && ModuleMapForUniquing != ModuleMap) { in BeginSourceFileAction()
346 ModuleMapForUniquing = ModuleMap; in BeginSourceFileAction()
/external/clang/include/clang/Frontend/
DFrontendActions.h109 GenerateModuleAction(const FileEntry *ModuleMap = nullptr,
111 : ASTFrontendAction(), ModuleMapForUniquing(ModuleMap), IsSystem(IsSystem) in ASTFrontendAction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/
DLTOBackend.h48 MapVector<StringRef, BitcodeModule> &ModuleMap);
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DArchive.h516 ModuleMap; typedef
531 ModuleMap modules; ///< The modules loaded via symbol lookup.
/external/clang/lib/CodeGen/
DCGDebugInfo.h38 class ModuleMap; variable
60 ModuleMap *ClangModuleMap = nullptr;
284 void setModuleMap(ModuleMap &MMap) { ClangModuleMap = &MMap; } in setModuleMap()

12