Home
last modified time | relevance | path

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

12345678910>>...45

/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h50 struct ModuleID { struct
65 bool operator==(const ModuleID &Other) const { argument
70 bool operator<(const ModuleID& Other) const {
112 ModuleID ID;
136 std::vector<ModuleID> ClangModuleDeps;
210 std::optional<ModuleID> handleTopLevelModule(const Module *M);
263 /// Secondary mapping for \c ModularDeps allowing lookup by ModuleID without
265 llvm::DenseMap<ModuleID, ModuleDeps *> ModuleDepsByID;
304 collectModuleMapFiles(ArrayRef<ModuleID> ClangModuleDeps) const;
308 ArrayRef<ModuleID> ClangModuleDep
[all...]
H A DDependencyScanningTool.h29 std::function<std::string(const ModuleID &, ModuleOutputKind)>;
42 ModuleID ID;
57 std::vector<ModuleID> ClangModuleDeps;
137 const llvm::DenseSet<ModuleID> &AlreadySeen,
145 StringRef CWD, const llvm::DenseSet<ModuleID> &AlreadySeen,
156 FullDependencyConsumer(const llvm::DenseSet<ModuleID> &AlreadySeen) in handleBuildCommand()
177 void handleDirectModuleDependency(ModuleID ID) override {
191 llvm::MapVector<ModuleID, ModuleDeps> ClangModuleDeps;
192 std::vector<ModuleID> DirectModuleDeps;
196 const llvm::DenseSet<ModuleID>
[all...]
H A DDependencyScanningWorker.h59 virtual void handleDirectModuleDependency(ModuleID MD) = 0;
70 virtual std::string lookupModuleOutput(const ModuleID &ID,
/llvm-project/llvm/test/Other/ChangePrinters/
H A Dprint-changed-diff.ll142 ; CHECK-DIFF-SIMPLE: ModuleID = {{.+}}
144 ; CHECK-DIFF-SIMPLE-NOT: ModuleID = {{.+}}
152 ; CHECK-DIFF-SIMPLE-NOT: ModuleID = {{.+}}
164 ; CHECK-DIFF-FUNC-FILTER-NEXT: ; ModuleID = {{.+}}
167 ; CHECK-DIFF-FUNC-FILTER-NOT: ModuleID = {{.+}}
178 ; CHECK-DIFF-PRINT-MOD-SCOPE: ModuleID = {{.+}}
180 ; CHECK-DIFF-PRINT-MOD-SCOPE-NOT: ModuleID = {{.+}}
186 ; CHECK-DIFF-PRINT-MOD-SCOPE-NOT: ModuleID = {{.+}}
198 ; CHECK-DIFF-FILTER-MULT-FUNC-NOT: ModuleID = {{.+}}
204 ; CHECK-DIFF-FILTER-MULT-FUNC-NOT: ModuleID = {{.+}}
[all …]
/llvm-project/llvm/test/Other/
H A Dchange-printer.ll111 ; CHECK-SIMPLE-NEXT: ; ModuleID = {{.+}}
124 ; CHECK-FUNC-FILTER-NEXT: ; ModuleID = {{.+}}
130 ; CHECK-PRINT-MOD-SCOPE-NEXT: ModuleID = {{.+}}
132 ; CHECK-PRINT-MOD-SCOPE-NEXT: ModuleID = {{.+}}
134 ; CHECK-PRINT-MOD-SCOPE-NEXT: ModuleID = {{.+}}
137 ; CHECK-FUNC-FILTER-MOD-SCOPE-NEXT: ; ModuleID = {{.+}}
140 ; CHECK-FUNC-FILTER-MOD-SCOPE-NEXT: ModuleID = {{.+}}
143 ; CHECK-FILTER-MULT-FUNC-NEXT: ; ModuleID = {{.+}}
150 ; CHECK-FILTER-PASSES-NEXT: ; ModuleID = {{.+}}
157 ; CHECK-FILTER-MULT-PASSES-NEXT: ; ModuleID = {{.+}}
[all …]
H A Dprint-module-scope.ll17 ; CFG-NEXT: ModuleID =
22 ; CFG-NEXT: ModuleID =
28 ; FOO-NEXT: ModuleID =
H A Dopt-bisect-print-ir-path.ll17 ; CHECK: ModuleID
18 ; CHECK-NOT: ModuleID
H A Dscc-pass-printer.ll20 ; INL-MOD-NEXT: ModuleID =
29 ; INL-MOD-NEXT: ModuleID =
/llvm-project/mlir/test/mlir-translate/
H A Dsplit-markers.mlir19 // CHECK-OUTPUT: ModuleID
21 // CHECK-OUTPUT-NEXT: ModuleID
28 // CHECK-NOSPLIT: ModuleID
29 // CHECK-NOSPLIT-NOT: ModuleID
/llvm-project/llvm/test/CodeGen/ARM/
H A Dbyval_load_align.ll12 %struct.ModuleID = type { [32 x i8], [32 x i8], i16 }
14 @sID = internal constant %struct.ModuleID { [32 x i8] c"TEST\00\00\00\00\00\00\00\00\00\00\00\00\00…
19 tail call void @Logger(i8 signext 97, ptr byval(%struct.ModuleID) @sID) #2
23 declare void @Logger(i8 signext, ptr byval(%struct.ModuleID)) #1
/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITObjectCacheTest.cpp29 const std::string ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled() local
30 if (ObjMap.contains(ModuleID)) in notifyObjectCompiled()
33 ObjMap[ModuleID] = copyBuffer(Obj); in notifyObjectCompiled()
55 const std::string ModuleID = M->getModuleIdentifier(); in getObjectInternal() local
56 StringMap<const MemoryBuffer *>::iterator it = ObjMap.find(ModuleID); in getObjectInternal()
/llvm-project/llvm/test/Other/ChangeTesters/
H A Dexec-on-ir-change.ll49 ; CHECK-SIMPLE: ; ModuleID = {{.+}}
61 ; CHECK-PRINT-MOD-SCOPE: ModuleID = {{.+}}
63 ; CHECK-PRINT-MOD-SCOPE: ModuleID = {{.+}}
65 ; CHECK-PRINT-MOD-SCOPE: ModuleID = {{.+}}
68 ; CHECK-FUNC-FILTER-MOD-SCOPE: ; ModuleID = {{.+}}
70 ; CHECK-FUNC-FILTER-MOD-SCOPE: ModuleID = {{.+}}
95 ; CHECK-FILTER-FUNC-PASSES-MOD-SCOPE: ; ModuleID = {{.+}}
97 ; CHECK-FILTER-FUNC-PASSES-MOD-SCOPE: ModuleID = {{.+}}
/llvm-project/llvm/test/Bindings/llvm-c/
H A Dcalc.test5 ;CHECK: ModuleID = 'test'
12 ;CHECK: ModuleID = 'arg1'
/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp42 void handleDirectModuleDependency(ModuleID ID) override {} in handleDirectModuleDependency()
121 std::string lookupModuleOutput(const ModuleID &, in getP1689ModuleDependencyFile() argument
144 const llvm::DenseSet<ModuleID> &AlreadySeen, in getTranslationUnitDependencies()
157 StringRef CWD, const llvm::DenseSet<ModuleID> &AlreadySeen, in getModuleDependencies()
H A DModuleDepCollector.cpp307 ArrayRef<ModuleID> ClangModuleDeps) const { in collectModuleMapFiles()
309 for (const ModuleID &MID : ClangModuleDeps) { in addModuleMapFiles()
322 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
326 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles()
334 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
335 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles()
347 CowCompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in needsModules()
348 for (const ModuleID &MID : ClangModuleDeps) { in needsModules()
385 SmallVector<ModuleID> DirectDeps; in applyDiscoveredDependencies()
572 std::optional<ModuleID> in handleTopLevelModule()
[all...]
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.h36 typedef uintptr_t ModuleID; typedef
37 typedef std::vector<ModuleID> ModuleVector;
H A DClangModulesDeclVendor.cpp106 typedef llvm::DenseSet<ModuleID> ExportedModuleSet;
126 typedef llvm::DenseSet<ModuleID> ImportedModuleSet;
247 if (exports.count(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module))) in ReportModuleExportsHelper()
250 exports.insert(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module)); in ReportModuleExportsHelper()
266 for (ModuleID module : exports_set) in ReportModuleExports()
470 typedef std::map<ModuleID, ssize_t> ModulePriorityMap; in ForEachMacro()
475 for (ModuleID module : modules) in ForEachMacro()
510 module_priorities.find(reinterpret_cast<ModuleID>(module)); in ForEachMacro()
522 reinterpret_cast<ModuleID>(top_level_module)); in ForEachMacro()
/llvm-project/clang/test/CodeGenObjC/
H A Dnext-objc-dispatch.m27 // CHECK-FRAGILE_LEGACY: ModuleID
33 // CHECK-NONFRAGILE_LEGACY: ModuleID
39 // CHECK-NONFRAGILE_NONLEGACY: ModuleID
/llvm-project/llvm/test/tools/llvm-reduce/
H A Dremove-module-data.ll9 ; CHECK-FILE: ModuleID
16 ; CHECK-FINAL-NOT: ModuleID
/llvm-project/llvm/test/CodeGen/SystemZ/
H A Dsystemz-large-stack-frames.ll8 ; ModuleID = 'main.cpp'
13 ; ModuleID = 'large-stack-frames.cpp'
/llvm-project/llvm/test/Transforms/ConstraintElimination/
H A Dreproducer-remarks.ll10 ; CHECK: remark: <unknown>:0:0: module; ModuleID = 'test_no_known_facts'
27 ; CHECK: remark: <unknown>:0:0: module; ModuleID = 'test_one_known_fact_true_branch'
53 ; CHECK: remark: <unknown>:0:0: module; ModuleID = 'test_one_known_fact_false_branch'
79 ; CHECK: remark: <unknown>:0:0: module; ModuleID = 'test_multiple_known_facts_branches_1'
111 ; CHECK: remark: <unknown>:0:0: module; ModuleID = 'test_multiple_known_facts_branches_2'
/llvm-project/llvm/include/llvm/IR/
H A DModule.h189 std::string ModuleID; ///< Human readable identifier for the module
255 explicit Module(StringRef ModuleID, LLVMContext& C);
268 const std::string &getModuleIdentifier() const { return ModuleID; }
277 /// For other compiles it is the same as the ModuleID, which would
285 StringRef getName() const { return ModuleID; }
310 /// ModuleID and the provided pass salt. The returned RNG should not
331 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); }
194 std::string ModuleID; ///< Human readable identifier for the module global() variable
/llvm-project/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp346 static auto toJSONSorted(llvm::json::OStream &JOS, std::vector<ModuleID> V) { in toJSONSorted()
349 for (const ModuleID &MID : V) in toJSONSorted()
523 ModuleID ID; in operator <()
560 std::vector<ModuleID> ModuleDeps; in handleTranslationUnitResult()
693 static std::string constructPCMPath(ModuleID MID, StringRef OutputDir) { in lookupModuleOutput()
700 static std::string lookupModuleOutput(const ModuleID &MID, ModuleOutputKind MOK,
955 llvm::DenseSet<ModuleID> AlreadySeenModules; in clang_scan_deps_main()
969 auto LookupOutput = [&](const ModuleID &MID, ModuleOutputKind MOK) { in clang_scan_deps_main()
/llvm-project/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()
/llvm-project/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()

12345678910>>...45