Home
last modified time | relevance | path

Searched refs:ModuleID (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h33 struct ModuleID { struct
49 ModuleID ID; argument
72 std::vector<ModuleID> ClangModuleDeps;
92 std::function<StringRef(ModuleID)> LookupPCMPath,
93 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps) const;
105 llvm::ArrayRef<ModuleID> Modules,
106 std::function<StringRef(ModuleID)> LookupPCMPath,
107 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps,
149 ModuleID handleTopLevelModule(const Module *M);
H A DDependencyScanningTool.h28 ModuleID ID;
39 std::vector<ModuleID> ClangModuleDeps;
53 std::function<StringRef(ModuleID)> LookupPCMPath,
54 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps) const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp56 std::function<StringRef(ModuleID)> LookupPCMPath, in getCanonicalCommandLine()
57 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps) const { in getCanonicalCommandLine()
79 llvm::ArrayRef<ModuleID> Modules, in collectPCMAndModuleMapPaths()
80 std::function<StringRef(ModuleID)> LookupPCMPath, in collectPCMAndModuleMapPaths()
81 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps, in collectPCMAndModuleMapPaths()
85 std::function<void(llvm::ArrayRef<ModuleID>)> AddArgs = in collectPCMAndModuleMapPaths()
86 [&](llvm::ArrayRef<ModuleID> Modules) { in collectPCMAndModuleMapPaths()
87 for (const ModuleID &MID : Modules) { in collectPCMAndModuleMapPaths()
169 ModuleID ModuleDepCollectorPP::handleTopLevelModule(const Module *M) { in handleTopLevelModule()
230 ModuleID ImportID = handleTopLevelModule(Import->getTopLevelModule()); in addModuleDep()
H A DDependencyScanningTool.cpp17 std::function<StringRef(ModuleID)> LookupPCMPath, in getAdditionalArgs()
18 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps) const { in getAdditionalArgs()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp252 static llvm::json::Array toJSONSorted(std::vector<ModuleID> V) { in toJSONSorted()
253 llvm::sort(V, [](const ModuleID &A, const ModuleID &B) { in toJSONSorted()
259 for (const ModuleID &MID : V) in toJSONSorted()
291 [&](ModuleID MID) { return lookupPCMPath(MID); }, in mergeDeps()
292 [&](ModuleID MID) -> const ModuleDeps & { in mergeDeps()
329 [&](ModuleID MID) { return lookupPCMPath(MID); }, in printFullOutput()
330 [&](ModuleID MID) -> const ModuleDeps & { in printFullOutput()
359 StringRef lookupPCMPath(ModuleID MID) { in lookupPCMPath()
363 const ModuleDeps &lookupModuleDeps(ModuleID MID) { in lookupModuleDeps()
370 ModuleID ID;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DModule.h193 std::string ModuleID; ///< Human readable identifier for the module variable
217 explicit Module(StringRef ModuleID, LLVMContext& C);
227 const std::string &getModuleIdentifier() const { return ModuleID; } in getModuleIdentifier()
244 StringRef getName() const { return ModuleID; } in getName()
290 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } in setModuleIdentifier()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp685 const std::string ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled() local
688 if (0 == ModuleID.compare(0, 3, "IR:")) { in notifyObjectCompiled()
689 std::string IRFileName = ModuleID.substr(3); in notifyObjectCompiled()
707 const std::string ModuleID = M->getModuleIdentifier(); in getObject() local
710 if (0 == ModuleID.compare(0, 3, "IR:")) { in getObject()
711 std::string IRFileName = ModuleID.substr(3); in getObject()
911 const std::string ModuleID = M->getModuleIdentifier(); in compileModule() local
914 if (0 != ModuleID.compare(0, 3, "IR:")) { in compileModule()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp704 const std::string ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled() local
707 if (0 == ModuleID.compare(0, 3, "IR:")) { in notifyObjectCompiled()
708 std::string IRFileName = ModuleID.substr(3); in notifyObjectCompiled()
726 const std::string ModuleID = M->getModuleIdentifier(); in getObject() local
729 if (0 == ModuleID.compare(0, 3, "IR:")) { in getObject()
730 std::string IRFileName = ModuleID.substr(3); in getObject()
952 const std::string ModuleID = M->getModuleIdentifier(); in compileModule() local
955 if (0 != ModuleID.compare(0, 3, "IR:")) { in compileModule()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DExternalPreprocessorSource.h42 virtual Module *getModule(unsigned ModuleID) = 0;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DAssembler.cpp32 static constexpr const char ModuleID[] = "ExegesisInfoTest"; variable
157 auto Mod = std::make_unique<Module>(ModuleID, *Context); in createModule()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCUDANV.cpp870 SmallString<64> ModuleID; in makeModuleCtorFunction() local
871 llvm::raw_svector_ostream OS(ModuleID); in makeModuleCtorFunction()
874 std::string(ModuleID.str()), "", ModuleIDSectionName, 32); in makeModuleCtorFunction()
878 Twine("__fatbinwrap") + ModuleID, FatbinWrapper); in makeModuleCtorFunction()
883 RegisterLinkedBinaryName += ModuleID; in makeModuleCtorFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/lli/
H A Dlli.cpp310 const std::string &ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled() local
312 if (!getCacheFilename(ModuleID, CacheName)) in notifyObjectCompiled()
326 const std::string &ModuleID = M->getModuleIdentifier(); in getObject() local
328 if (!getCacheFilename(ModuleID, CacheName)) in getObject()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp331 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument
340 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry()
344 if (all_of(Index.getModuleHash(ModuleID), in ModuleCacheEntry()
358 computeLTOCacheKey(Key, Conf, Index, ModuleID, ImportList, ExportList, in ModuleCacheEntry()
H A DLTO.cpp80 StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList, in computeLTOCacheKey() argument
144 auto ModHash = Index.getModuleHash(ModuleID); in computeLTOCacheKey()
1222 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread() local
1224 if (!Cache || !CombinedIndex.modulePaths().count(ModuleID) || in runThinLTOBackendThread()
1225 all_of(CombinedIndex.getModuleHash(ModuleID), in runThinLTOBackendThread()
1233 computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList, in runThinLTOBackendThread()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/LTO/
H A DLTO.h67 const ModuleSummaryIndex &Index, StringRef ModuleID,
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DTestingGuide.rst347 default outputs a ``ModuleID``:
357 ; ModuleID = '/path/to/example.ll'
363 ``ModuleID`` can unexpectedly match against ``CHECK`` lines. For example:
377 :program:`opt` does not output a ``ModuleID`` when input comes from stdin.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DModule.cpp76 Materializer(), ModuleID(std::string(MID)), in Module()
H A DCore.cpp247 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMModuleCreateWithName() argument
248 return wrap(new Module(ModuleID, *GlobalContext)); in LLVMModuleCreateWithName()
251 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMModuleCreateWithNameInContext() argument
253 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/
H A DCore.h670 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
678 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c286 LLVMModuleRef llvm_create_module(LLVMContextRef C, value ModuleID) { in llvm_create_module() argument
287 return LLVMModuleCreateWithNameInContext(String_val(ModuleID), C); in llvm_create_module()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl03.rst501 ; ModuleID = 'my cool jit'
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp9602 unsigned ModuleID = Lex.getUIntVal(); in parseModuleReference() local
9603 auto I = ModuleIdMap.find(ModuleID); in parseModuleReference()