/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.h | 50 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 D | DependencyScanningTool.h | 29 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 D | DependencyScanningWorker.h | 59 virtual void handleDirectModuleDependency(ModuleID MD) = 0; 70 virtual std::string lookupModuleOutput(const ModuleID &ID,
|
/llvm-project/llvm/test/Other/ChangePrinters/ |
H A D | print-changed-diff.ll | 142 ; 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 D | change-printer.ll | 111 ; 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 D | print-module-scope.ll | 17 ; CFG-NEXT: ModuleID = 22 ; CFG-NEXT: ModuleID = 28 ; FOO-NEXT: ModuleID =
|
H A D | opt-bisect-print-ir-path.ll | 17 ; CHECK: ModuleID 18 ; CHECK-NOT: ModuleID
|
H A D | scc-pass-printer.ll | 20 ; INL-MOD-NEXT: ModuleID = 29 ; INL-MOD-NEXT: ModuleID =
|
/llvm-project/mlir/test/mlir-translate/ |
H A D | split-markers.mlir | 19 // 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 D | byval_load_align.ll | 12 %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 D | MCJITObjectCacheTest.cpp | 29 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 D | exec-on-ir-change.ll | 49 ; 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 D | calc.test | 5 ;CHECK: ModuleID = 'test' 12 ;CHECK: ModuleID = 'arg1'
|
/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningTool.cpp | 42 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 D | ModuleDepCollector.cpp | 307 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 D | ClangModulesDeclVendor.h | 36 typedef uintptr_t ModuleID; typedef 37 typedef std::vector<ModuleID> ModuleVector;
|
H A D | ClangModulesDeclVendor.cpp | 106 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 D | next-objc-dispatch.m | 27 // CHECK-FRAGILE_LEGACY: ModuleID 33 // CHECK-NONFRAGILE_LEGACY: ModuleID 39 // CHECK-NONFRAGILE_NONLEGACY: ModuleID
|
/llvm-project/llvm/test/tools/llvm-reduce/ |
H A D | remove-module-data.ll | 9 ; CHECK-FILE: ModuleID 16 ; CHECK-FINAL-NOT: ModuleID
|
/llvm-project/llvm/test/CodeGen/SystemZ/ |
H A D | systemz-large-stack-frames.ll | 8 ; ModuleID = 'main.cpp' 13 ; ModuleID = 'large-stack-frames.cpp'
|
/llvm-project/llvm/test/Transforms/ConstraintElimination/ |
H A D | reproducer-remarks.ll | 10 ; 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 D | Module.h | 189 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 D | ClangScanDeps.cpp | 346 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 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()
|
/llvm-project/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()
|