| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.h | 45 struct ModuleID { struct 60 bool operator==(const ModuleID &Other) const { argument 101 ModuleID ID; 129 std::vector<ModuleID> ClangModuleDeps; 184 std::optional<ModuleID> handleTopLevelModule(const Module *M); 232 llvm::DenseMap<ModuleID, ModuleDeps *> ModuleDepsByID; 267 collectModuleMapFiles(ArrayRef<ModuleID> ClangModuleDeps) const; 271 ArrayRef<ModuleID> ClangModuleDeps) const; 274 ArrayRef<ModuleID> ClangModuleDeps) const; 289 template <> struct DenseMapInfo<clang::tooling::dependencies::ModuleID> { [all …]
|
| H A D | DependencyScanningTool.h | 29 llvm::function_ref<std::string(const ModuleID &, ModuleOutputKind)>; 36 ModuleID ID; 51 std::vector<ModuleID> ClangModuleDeps; 172 std::string lookupModuleOutput(const ModuleID &ID, in lookupModuleOutput()
|
| H A D | DependencyScanningWorker.h | 61 virtual std::string lookupModuleOutput(const ModuleID &ID,
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.h | 36 typedef uintptr_t ModuleID; typedef 37 typedef std::vector<ModuleID> ModuleVector;
|
| H A D | ClangModulesDeclVendor.cpp | 115 typedef llvm::DenseSet<ModuleID> ExportedModuleSet; 135 typedef llvm::DenseSet<ModuleID> ImportedModuleSet; 259 if (exports.count(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module))) in ReportModuleExportsHelper() 262 exports.insert(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module)); in ReportModuleExportsHelper() 278 for (ModuleID module : exports_set) in ReportModuleExports() 482 typedef std::map<ModuleID, ssize_t> ModulePriorityMap; in ForEachMacro() 487 for (ModuleID module : modules) in ForEachMacro() 522 module_priorities.find(reinterpret_cast<ModuleID>(module)); in ForEachMacro() 534 reinterpret_cast<ModuleID>(top_level_module)); in ForEachMacro()
|
| H A D | ClangPersistentVariables.h | 77 void AddHandLoadedClangModule(ClangModulesDeclVendor::ModuleID module) { in AddHandLoadedClangModule()
|
| H A D | ClangExpressionSourceCode.cpp | 364 for (ClangModulesDeclVendor::ModuleID module : hand_imported_modules) { in GetText()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 176 ArrayRef<ModuleID> ClangModuleDeps) const { in collectModuleMapFiles() 178 for (const ModuleID &MID : ClangModuleDeps) { in collectModuleMapFiles() 190 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleMapFiles() 194 for (const ModuleID &MID : ClangModuleDeps) { in addModuleMapFiles() 202 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles() 203 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles() 238 SmallVector<ModuleID> DirectDeps; in applyDiscoveredDependencies() 414 std::optional<ModuleID>
|
| H A D | DependencyScanningTool.cpp | 70 std::string lookupModuleOutput(const ModuleID &ID, in lookupModuleOutput()
|
| /openbsd-src/gnu/llvm/clang/tools/clang-scan-deps/ |
| H A D | ClangScanDeps.cpp | 252 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() 365 ModuleID ID; 386 std::vector<ModuleID> ModuleDeps; 502 static std::string constructPCMPath(ModuleID MID, StringRef OutputDir) { in constructPCMPath() 509 static std::string lookupModuleOutput(const ModuleID &MID, ModuleOutputKind MOK, in lookupModuleOutput() 760 auto LookupOutput = [&](const ModuleID &MID, ModuleOutputKind MOK) { in main()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Module.h | 194 std::string ModuleID; ///< Human readable identifier for the module variable 218 explicit Module(StringRef ModuleID, LLVMContext& C); 228 const std::string &getModuleIdentifier() const { return ModuleID; } in getModuleIdentifier() 245 StringRef getName() const { return ModuleID; } in getName() 291 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } in setModuleIdentifier()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | ExternalPreprocessorSource.h | 42 virtual Module *getModule(unsigned ModuleID) = 0;
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy.cpp | 685 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()
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 704 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/LTO/ |
| H A D | LTO.cpp | 83 StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList, in computeLTOCacheKey() argument 148 auto ModHash = Index.getModuleHash(ModuleID); in computeLTOCacheKey() 1298 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread() local 1301 if (auto E = emitFiles(ImportList, ModuleID, ModuleID.str())) in runThinLTOBackendThread() 1305 if (!Cache || !CombinedIndex.modulePaths().count(ModuleID) || in runThinLTOBackendThread() 1306 all_of(CombinedIndex.getModuleHash(ModuleID), in runThinLTOBackendThread() 1314 computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList, in runThinLTOBackendThread() 1317 Expected<AddStreamFn> CacheAddStreamOrErr = Cache(Task, Key, ModuleID); in runThinLTOBackendThread()
|
| H A D | ThinLTOCodeGenerator.cpp | 360 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument 369 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry() 373 if (all_of(Index.getModuleHash(ModuleID), in ModuleCacheEntry() 387 computeLTOCacheKey(Key, Conf, Index, ModuleID, ImportList, ExportList, in ModuleCacheEntry()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
| H A D | Assembler.cpp | 32 static constexpr const char ModuleID[] = "ExegesisInfoTest"; variable 157 auto Mod = std::make_unique<Module>(ModuleID, *Context); in createModule()
|
| /openbsd-src/gnu/llvm/llvm/tools/lli/ |
| H A D | lli.cpp | 319 const std::string &ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled() local 321 if (!getCacheFilename(ModuleID, CacheName)) in notifyObjectCompiled() 335 const std::string &ModuleID = M->getModuleIdentifier(); in getObject() local 337 if (!getCacheFilename(ModuleID, CacheName)) in getObject()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 901 SmallString<64> ModuleID; in makeModuleCtorFunction() local 902 llvm::raw_svector_ostream OS(ModuleID); in makeModuleCtorFunction() 905 std::string(ModuleID.str()), "", ModuleIDSectionName, 32, /*AddNull=*/true); in makeModuleCtorFunction() 909 Twine("__fatbinwrap") + ModuleID, FatbinWrapper); in makeModuleCtorFunction() 914 RegisterLinkedBinaryName += ModuleID; in makeModuleCtorFunction()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 68 const ModuleSummaryIndex &Index, StringRef ModuleID,
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 1142 IdentifierInfo *ModuleID = PP.getIdentifierInfo(ModuleName); in ExecuteAction() local 1143 Path.push_back(std::make_pair(ModuleID, FileStart)); in ExecuteAction()
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | TestingGuide.rst | 395 default outputs a ``ModuleID``: 405 ; ModuleID = '/path/to/example.ll' 411 ``ModuleID`` can unexpectedly match against ``CHECK`` lines. For example: 425 :program:`opt` does not output a ``ModuleID`` when input comes from stdin.
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Module.cpp | 74 ModuleID(std::string(MID)), SourceFileName(std::string(MID)), DL("") { in Module()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm-c/ |
| H A D | Core.h | 697 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID); 705 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
|
| /openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/ |
| H A D | llvm_ocaml.c | 286 LLVMModuleRef llvm_create_module(LLVMContextRef C, value ModuleID) { in llvm_create_module() argument 287 return LLVMModuleCreateWithNameInContext(String_val(ModuleID), C); in llvm_create_module()
|