| /llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/minidump-new/ |
| H A D | TestMiniDumpUUID.py | 37 return self.target.modules 49 self.assertEqual(2, len(modules)) 60 modules = self.target.modules 61 self.assertEqual(2, len(modules)) 75 modules = self.target.modules 76 self.assertEqual(2, len(modules)) 87 self.assertEqual(2, len(modules)) 97 self.assertEqual(2, len(modules)) 107 self.assertEqual(2, len(modules)) 117 self.assertEqual(2, len(modules)) [all …]
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | immintrin.h | 19 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 24 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 29 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 34 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 39 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 44 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 49 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 54 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 59 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 64 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ [all …]
|
| H A D | x86intrin.h | 17 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 22 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 27 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 32 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 37 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 42 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 47 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 52 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 57 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \ 62 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
|
| H A D | stddef.h | 18 #if !__has_feature(modules) 30 #if !defined(_PTRDIFF_T) || __has_feature(modules) 32 #if !__has_feature(modules) 41 #if !defined(_SIZE_T) || __has_feature(modules) 43 #if !__has_feature(modules) 55 !defined(_RSIZE_T)) || __has_feature(modules) 57 #if !__has_feature(modules) 67 #if !defined(_WCHAR_T) || __has_feature(modules) 68 #if !__has_feature(modules) 112 #if !defined(_WINT_T) || __has_feature(modules) [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_procmaps_test.cpp | 43 InternalMmapVector<LoadedModule> modules; in TEST() local 44 modules.reserve(kMaxModules); in TEST() 45 memory_mapping.DumpListOfModules(&modules); in TEST() 46 EXPECT_GT(modules.size(), 0U); in TEST() 48 for (uptr i = 0; i < modules.size(); ++i) { in TEST() 54 modules[i].clear(); in TEST() 63 InternalMmapVector<LoadedModule> modules; in TEST() local 64 modules.reserve(kMaxModules); in TEST() 65 memory_mapping.DumpListOfModules(&modules); in TEST() 67 ModuleArch arch = modules[i].arch(); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | ignored_macros.m | 2 // RUN: rm -rf %t.modules 3 // RUN: %clang_cc1 -fmodules-cache-path=%t.modules -DIGNORED=1 -fmodules -fimplicit-module-maps -I … 4 // RUN: %clang_cc1 -fmodules-cache-path=%t.modules -DIGNORED=1 -fmodules -fimplicit-module-maps -I … 9 // RUN: rm -rf %t.modules 10 // RUN: %clang_cc1 -fmodules-cache-path=%t.modules -fmodules -fimplicit-module-maps -I %S/Inputs -e… 11 // RUN: not %clang_cc1 -fmodules-cache-path=%t.modules -DIGNORED=1 -fmodules -fimplicit-module-maps… 18 // RUN: rm -rf %t.modules 23 // to both invocations, so modules will be built without the IGNORED 25 // RUN: rm -rf %t.modules 30 // to both invocations, so modules will be built without the IGNORED [all …]
|
| H A D | resolution-change.m | 4 …module-maps -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/mo… 7 …module-maps -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/mo… 10 …module-maps -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/mo… 17 …c1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/De… 21 …module-maps -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/mo… 22 …was built in directory '{{.*Inputs.modules-with-same-name.path1.A}}' but now resides in directory … 24 …module-maps -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/mo…
|
| H A D | prebuilt-implicit-modules.m | 8 …=%S/Inputs/prebuilt-implicit-module/module.modulemap -fprebuilt-implicit-modules -fprebuilt-module… 11 // Check a module cache path is not required when all modules resolve to 12 // prebuilt implicit modules. 15 …=%S/Inputs/prebuilt-implicit-module/module.modulemap -fprebuilt-implicit-modules -fprebuilt-module… 17 // Check that we correctly fall back to implicit modules if the prebuilt implicit module is not fou… 20 …=%S/Inputs/prebuilt-implicit-module/module.modulemap -fprebuilt-implicit-modules -fprebuilt-module… 23 // Check that non-implicit prebuilt modules are always preferred to prebuilt implicit modules. 28 …=%S/Inputs/prebuilt-implicit-module/module.modulemap -fprebuilt-implicit-modules -fprebuilt-module…
|
| H A D | modules-with-same-name.m | 4 …PATH -fmodules-ignore-macro=DIRECT -fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/pa… 7 …PATH -fmodules-ignore-macro=DIRECT -fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/pa… 13 …cro=DIRECT -fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/mo… 19 …cro=DIRECT -fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/mo…
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Support/ |
| H A D | InternalNames.h | 51 DeconstructedName(llvm::ArrayRef<std::string> modules, in DeconstructedName() 54 : modules{modules.begin(), modules.end()}, host{host}, name{name}, in DeconstructedName() 57 llvm::SmallVector<std::string> modules; member 70 static std::string doConstant(llvm::ArrayRef<llvm::StringRef> modules, 75 static std::string doDispatchTable(llvm::ArrayRef<llvm::StringRef> modules, 85 doIntrinsicTypeDescriptor(llvm::ArrayRef<llvm::StringRef> modules, 90 static std::string doProcedure(llvm::ArrayRef<llvm::StringRef> modules, 95 static std::string doType(llvm::ArrayRef<llvm::StringRef> modules, 105 static std::string doTypeDescriptor(llvm::ArrayRef<std::string> modules, 112 static std::string doVariable(llvm::ArrayRef<llvm::StringRef> modules, [all …]
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Support/ |
| H A D | InternalNames.cpp | 136 llvm::ArrayRef<llvm::StringRef> modules, in doIntrinsicTypeDescriptor() argument 159 result.append(doModulesHost(modules, host)).append("C"); in doIntrinsicTypeDescriptor() 194 auto rmodules = convertToStringRef(modules); in doTypeDescriptor() 226 llvm::SmallVector<std::string> modules; in deconstruct() local 311 deconstructResult.second.modules.empty() && in isExternalFacingUniquedName() 324 return !result.second.modules.empty() && in belongsToModule() 325 result.second.modules[0] == moduleName; in belongsToModule() 345 llvm::SmallVector<llvm::StringRef> modules; in getTypeDescriptorName() local 346 for (const std::string &mod : result.second.modules) in getTypeDescriptorName() 347 modules.push_back(mod); in getTypeDescriptorName() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/stats/ |
| H A D | stats.cpp | 30 InternalMmapVectorNoCtor<StatModule **> modules; variable 88 modules.push_back(mod); in __sanitizer_stats_register() 89 return modules.size() - 1; in __sanitizer_stats_register() 96 WriteModuleReport(modules[index]); in __sanitizer_stats_unregister() 97 modules[index] = 0; in __sanitizer_stats_unregister() 104 for (StatModule **mod : modules) { in WriteFullReport()
|
| /llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/ |
| H A D | modules-empty.m | 2 cat >modules.modulemap <<EOF 8 clang -c -fmodules -fmodule-map-file=modules.modulemap \ 10 -Xclang -fdisable-module-hash modules-empty.m -o 1.o 15 // RUN: cp %p/../Inputs/modules-empty/1.o %p/../Inputs/modules-empty/Empty.pcm %t.dir
|
| H A D | modules-dwarf-version.m | 1 /* Compile with (using the module from the modules.m teastcase): 2 clang -c -fmodules -fmodule-map-file=modules.modulemap \ 4 -Xclang -fdisable-module-hash modules.m -o 1.o 9 // RUN: cp %p/../Inputs/modules/Bar.pcm %t.dir 10 // RUN: cp %p/../Inputs/modules-dwarf-version/1.o %t.dir
|
| H A D | modules.m | 2 cat >modules.modulemap <<EOF 12 clang -D BAR_H -E -o Bar.h modules.m 13 clang -D FOO_H -E -o Foo.h modules.m 14 clang -D ODR_VIOLATION_C -E -o odr_violation.c modules.m 15 clang -c -fmodules -fmodule-map-file=modules.modulemap \ 17 -Xclang -fdisable-module-hash modules.m -o 1.o 21 // RUN: dsymutil -f -oso-prepend-path=%p/../Inputs/modules \ 25 // RUN: dsymutil -f -oso-prepend-path=%p/../Inputs/modules -y \
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | extension-begin.cl | 8 // Test with modules 9 // RUN: rm -rf %t.modules 10 // RUN: mkdir -p %t.modules 12 …-emit-llvm -o - -fmodules -fimplicit-module-maps -fmodules-cache-path=%t.modules %s -verify -pedan… 14 // RUN: rm -rf %t.modules 15 // RUN: mkdir -p %t.modules 17 …-emit-llvm -o - -fmodules -fimplicit-module-maps -fmodules-cache-path=%t.modules %s -verify -pedan…
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/ |
| H A D | dump_oplib.py | 64 modules = [] 65 for module_name in args.modules: 66 modules.append( 70 modules.append(load_module_from_file(f"_mlir_eval_oplib{i}", file_path)) 71 for m in modules:
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/SPIRV/ |
| H A D | TestModuleCombiner.cpp | 36 auto modules = llvm::to_vector<4>(getOperation().getOps<spirv::ModuleOp>()); in runOnOperation() local 38 OpBuilder combinedModuleBuilder(modules[0]); in runOnOperation() 47 spirv::combine(modules, combinedModuleBuilder, listener); in runOnOperation() 49 for (spirv::ModuleOp module : modules) in runOnOperation()
|
| /llvm-project-15.0.7/lldb/test/Shell/Commands/ |
| H A D | command-target-modules-dump-sections.yaml | 2 # RUN: %lldb %t -o "target modules dump sections" -o exit \ 5 # CHECK:Sections for '{{.*}}command-target-modules-dump-sections.yaml.tmp' (x86_64): 8 …x0000000000005000) r-x 0x00001000 0x00001000 0x00000006 command-target-modules-dump-sections.yam… 9 …x0000000000005100) r-- 0x00002000 0x00000100 0x00000002 command-target-modules-dump-sections.yam… 10 …x0000000000006040) r-- 0x00002100 0x00000040 0x00000002 command-target-modules-dump-sections.yam…
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_common_mac.cpp | 123 InternalMmapVector<LoadedModule> modules; in ProcessGlobalRegions() local 124 modules.reserve(128); in ProcessGlobalRegions() 125 memory_mapping.DumpListOfModules(&modules); in ProcessGlobalRegions() 126 for (uptr i = 0; i < modules.size(); ++i) { in ProcessGlobalRegions() 129 if (!flags()->use_globals && modules[i].instrumented()) continue; in ProcessGlobalRegions() 132 modules[i].ranges()) { in ProcessGlobalRegions()
|
| /llvm-project-15.0.7/lldb/test/Shell/Settings/ |
| H A D | TestDefaultModuleCachePath.test | 2 settings show symbols.clang-modules-cache-path 4 # This test checks that we get *any* clang modules cache path by default. The 6 # CHECK: symbols.clang-modules-cache-path (file) = " 9 # CHECK-NOT: symbols.clang-modules-cache-path (file) = ""
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | Modules.rst | 89 Problems modules do not solve 103 …modules, pass the command-line flag ``-fmodules``. This will make any modules-enabled software lib… 123 `Includes as imports`_ to see how modules get imported today. 175 Enable the modules feature. 213 ``-fno-implicit-modules`` 226 …modules. If specified, we will look for modules in this directory for a given top-level module nam… 228 ``-fprebuilt-implicit-modules`` 286 First let us use an explicit mapping from modules to files. 313 …h explicit or prebuilt modules, we are responsible for, and should be particularly careful about t… 834 module will be re-exported through. Only top-level modules [all …]
|
| /llvm-project-15.0.7/cmake/ |
| H A D | README.rst | 8 These are CMake modules to be shared between LLVM projects strictly at build 11 modules should instead go in ``${project}/cmake/modules`` of the most upstream 14 The advantage of not putting these modules in an existing location like 15 ``llvm/cmake/modules`` is two-fold: 35 # Add path for custom modules.
|
| /llvm-project-15.0.7/clang/test/ClangScanDeps/ |
| H A D | modules-fmodule-name-no-module-built.m | 4 // RUN: cp %s %t.dir/modules-fmodule-name-no-module-built.m 13 // RUN: -generate-modules-path-args -mode preprocess-dependency-directives > %t.result 20 // CHECK-NEXT: "modules": [ 44 // CHECK: "-fno-implicit-modules" 49 // CHECK-NEXT: "[[PREFIX]]/modules-fmodule-name-no-module-built.m" 53 // CHECK-NEXT: "input-file": "[[PREFIX]]/modules-fmodule-name-no-module-built.m"
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | ompt-general.cpp | 189 HMODULE *modules; in ompt_tool_windows() local 191 modules = (HMODULE *)malloc(NUM_MODULES * sizeof(HMODULE)); in ompt_tool_windows() 197 if (!EnumProcessModules(process, modules, NUM_MODULES * sizeof(HMODULE), in ompt_tool_windows() 200 free(modules); in ompt_tool_windows() 209 modules = (HMODULE *)realloc(modules, needed); in ompt_tool_windows() 211 if (!EnumProcessModules(process, modules, needed, &needed)) { in ompt_tool_windows() 212 free(modules); in ompt_tool_windows() 221 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows() 225 free(modules); in ompt_tool_windows() 231 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows() [all …]
|