Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 5289) sorted by relevance

12345678910>>...212

/llvm-project/clang/test/Modules/Inputs/
H A Dmodule.modulemap1 module c_library [extern_c] { module inner { header "c-header.h" } }
2 module cxx_library { header "cxx-header.h" requires cplusplus }
3 module c_library_bad [extern_c] { header "c-header-bad.h" }
4 module diamond_top { header "diamond_top.h" }
5 module diamond_left {
9 module diamond_right {
13 module diamond_bottom {
17 module irgen { header "irgen.h" }
18 module cxx_irgen_top { header "cxx-irgen-top.h" }
19 module cxx_irgen_left { header "cxx-irgen-left.h" }
[all …]
/llvm-project/libcxx/include/
H A Dmodule.modulemap1 // This module contains headers related to the configuration of the library. These headers
3 module std_config [system] {
13 module std_core [system] {
14 module cstddef {
15 module byte { header "__cstddef/byte.h" }
16 module max_align_t {
20 module nullptr_t { header "__cstddef/nullptr_t.h" }
21 module ptrdiff_t { header "__cstddef/ptrdiff_t.h" }
22 module size_t { header "__cstddef/size_t.h" }
25 module cstdin
[all...]
/llvm-project/clang/test/ARCMT/Inputs/
H A Dmodule.modulemap1 module c_library [extern_c] { module inner { header "c-header.h" } }
2 module cxx_library { header "cxx-header.h" requires cplusplus }
3 module c_library_bad [extern_c] { header "c-header-bad.h" }
4 module diamond_top { header "diamond_top.h" }
5 module diamond_left {
9 module diamond_right {
13 module diamond_bottom {
17 module irgen { header "irgen.h" }
18 module cxx_irgen_top { header "cxx-irgen-top.h" }
19 module cxx_irgen_left { header "cxx-irgen-left.h" }
[all …]
/llvm-project/llvm/test/CodeGen/PowerPC/
H A DPR3488.ll3 module asm "\09.section \22___kcrctab+numa_node\22, \22a\22\09"
4 module asm "\09.weak\09__crc_numa_node\09"
5 module asm "\09.long\09__crc_numa_node\09"
6 module asm "\09.previous\09\09\09\09\09"
7 module asm "\09.section \22___kcrctab+_numa_mem_\22, \22a\22\09"
8 module asm "\09.weak\09__crc__numa_mem_\09"
9 module asm "\09.long\09__crc__numa_mem_\09"
10 module asm "\09.previous\09\09\09\09\09"
11 module asm "\09.section \22___kcrctab+node_states\22, \22a\22\09"
12 module asm "\09.weak\09__crc_node_states\09"
[all …]
/llvm-project/llvm/test/MC/Mips/
H A Dmodule-directive-bad.s5 .module fp=64
6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
9 .module fp=32
10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
13 .module fp=64
14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
17 .module fp=32
18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
21 .module fp=64
22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
[all …]
/llvm-project/flang/test/Semantics/
H A Dseparate-mp02.f903 ! When a module subprogram has the MODULE prefix the following must match
4 ! with the corresponding separate module procedure interface body:
9 module m1
11 module subroutine s4(x)
14 module subroutine s5(x, y)
18 module subroutine s6(x, y)
22 module subroutine s7(x, y, z)
27 module subroutine s8(x, y, z)
32 module subroutine s9(x, y, z, w)
38 module subroutin
[all...]
H A Dseparate-mp03.f907 integer module function f1(x)
10 integer module function f2(x) variable
13 module function f3(x) result(res)
17 module function f4(x) result(res)
21 module subroutine s1
23 pure module subroutine s2
25 module subroutine s3
29 integer module function f1(x) variable
33 module procedure f2
36 module function f3(x) result(res)
[all …]
/llvm-project/lldb/include/
H A Dmodule.modulemap2 module lldb_API {
8 module * { export * }
11 module lldb_Host {
17 module ConnectionFileDescriptor { header "lldb/Host/ConnectionFileDescriptor.h" export * }
18 module Debug { header "lldb/Host/Debug.h" export * }
19 module Editline { header "lldb/Host/Editline.h" export * }
20 module FileCache { header "lldb/Host/FileCache.h" export * }
21 module File { header "lldb/Host/File.h" export * }
22 module FileAction { header "lldb/Host/FileAction.h" export * }
23 module FileSystem { header "lldb/Host/FileSystem.h" export * }
[all …]
/llvm-project/clang/test/CXX/module/basic/basic.def.odr/
H A Dp6.cppm5 // RUN: %clang_cc1 -std=c++20 -verify %t/global-vs-module.cppm
6 // RUN: %clang_cc1 -std=c++20 -verify %t/global-vs-module.cppm -DEXPORT
7 // RUN: %clang_cc1 -std=c++20 -verify %t/global-vs-module.cppm -DUSING
9 // RUN: %clang_cc1 -std=c++20 -emit-module-interface %t/global-vs-module.cppm -o %t/M.pcm -DNO_GLOB…
10 // RUN: %clang_cc1 -std=c++20 -verify %t/module-vs-global.cpp -fmodule-file=M=%t/M.pcm
15 // RUN: %clang_cc1 -std=c++20 %t/module-vs-module.cpp -fmodule-file=M=%t/M.pcm -DMODULE_INTERFACE -…
16 // RUN: %clang_cc1 -std=c++20 %t/module-vs-module.cpp -fmodule-file=M=%t/M.pcm -DMODULE_INTERFACE -…
18 // RUN: %clang_cc1 -std=c++20 %t/module-vs-module.cpp -fmodule-file=M=%t/M.pcm -emit-module-interfa…
19 // RUN: %clang_cc1 -std=c++20 %t/module-vs-module.cpp -fmodule-file=M=%t/M.pcm -fmodule-file=N=%t/N…
21 // RUN: %clang_cc1 -std=c++20 %t/module-vs-module.cpp -fmodule-file=M=%t/M.pcm -fmodule-file=N=%t/N…
[all …]
/llvm-project/clang/test/Modules/
H A Drequires.m2 …_cc1 -Rmodule-include-translation -Wno-private-module -fmodules-cache-path=%t -fmodules -fimplicit…
3 …_cc1 -Rmodule-include-translation -Wno-private-module -fmodules-cache-path=%t -fmodules -fimplicit…
5 // expected-error@DependsOnModule.framework/Modules/module.modulemap:7 {{module 'DependsOnModule.CX…
6 @import DependsOnModule.CXX; // expected-note {{module imported here}}
8 // expected-error@DependsOnModule.framework/Modules/module.modulemap:15 {{module 'DependsOnModule.N…
9 @import DependsOnModule.NotObjC; // expected-note {{module imported here}}
11 // expected-error@DependsOnModule.framework/Modules/module.modulemap:22 {{module 'DependsOnModule.C…
12 @import DependsOnModule.CustomReq2; // expected-note {{module imported here}}
15 // expected-error@module.modulemap:* {{module 'RequiresWithMissingHeader.HeaderBefore' requires fea…
16 @import RequiresWithMissingHeader.HeaderBefore; // expected-note {{module imported here}}
[all …]
H A Dtarget-features.m9 …ple aarch64-unknown-unknown -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs …
13 …riple armv7-unknown-unknown -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs …
15 …ple aarch64-unknown-unknown -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs …
17 …triple i386-unknown-unknown -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs …
19 …iple x86_64-unknown-unknown -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs …
21 …ple riscv32-unknown-unknown -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs …
23 …ple riscv64-unknown-unknown -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs …
28 // AARCH32-NOT: module 'TargetFeatures' requires
29 // AARCH64-NOT: module 'TargetFeatures' requires
30 // X86_32-NOT: module 'TargetFeatures' requires
[all …]
H A Dtarget-platform-features.m7 // RUN: echo "module RequiresMacOS {" >> %t/InputsA/module.modulemap
8 // RUN: echo " requires macos" >> %t/InputsA/module.modulemap
9 // RUN: echo "}" >> %t/InputsA/module.modulemap
10 // RUN: echo "module RequiresNotiOS {" >> %t/InputsA/module.modulemap
11 // RUN: echo " requires !ios" >> %t/InputsA/module.modulemap
12 // RUN: echo "}" >> %t/InputsA/module.modulemap
13 // RUN: echo "module RequiresMain {" >> %t/InputsA/module.modulemap
14 // RUN: echo " module SubRequiresNotiOS {" >> %t/InputsA/module.modulemap
15 // RUN: echo " requires !ios" >> %t/InputsA/module.modulemap
16 // RUN: echo " }" >> %t/InputsA/module.modulemap
[all …]
H A Dreserved-names-1.cppm5 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected,loud %t/module.cpp
6 … %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -Wno-reserved-module-identifier %t/module.cpp
8 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -Wno-reserved-module-identifier %t/imp…
10 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -DNODIAGNOSTICS -Wno-reserved-module-i…
12 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -DNODIAGNOSTICS -Wno-reserved-module-i…
14 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -DNODIAGNOSTICS -Wno-reserved-module-i…
16 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -Wno-reserved-module-identifier %t/std…
18 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -Wno-reserved-module-identifier %t/std…
20 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -Wno-reserved-module-identifier %t/std…
22 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected -Wno-reserved-module-identifier %t/std…
[all …]
H A Dusing-decl-friend-2.cpp4 #pragma clang module build A
5 module A {}
6 #pragma clang module contents
7 #pragma clang module begin A
9 #pragma clang module end
10 #pragma clang module endbuild
12 #pragma clang module build B
13 module B {}
14 #pragma clang module contents
15 #pragma clang module begin B
[all …]
H A Dfriend-definition.cpp4 #pragma clang module build A
5 module A {}
6 #pragma clang module contents
7 #pragma clang module begin A
12 #pragma clang module end
13 #pragma clang module endbuild
15 #pragma clang module build B
16 module B {}
17 #pragma clang module contents
18 #pragma clang module begin B
[all …]
H A Dpreprocess-build.cpp3 #pragma clang module build baz
4 module baz {}
5 #pragma clang module endbuild // baz
7 #pragma clang module build foo
8 module foo { module bar {} }
9 #pragma clang module contents
10 #pragma clang module begin foo.bar
13 #pragma clang module import baz
15 #pragma clang module build bar
16 module bar {}
[all …]
H A Dvisibility-in-instantiation.cpp3 #pragma clang module build M
4 module M { module A {} module B {} module C {} }
5 #pragma clang module contents
7 #pragma clang module begin M.A
11 #pragma clang module end
13 #pragma clang module begin M.B
15 #pragma clang module end
17 #pragma clang module begin M.C
20 #pragma clang module end
21 #pragma clang module endbuild
[all …]
H A DRmodule-import.m5 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t1 \
6 // RUN: -fdisable-module-hash -fsyntax-only -I%S/Inputs/Rmodule-import \
9 // Run again, using FileCheck to check remarks from the module builds.
11 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t2 \
12 // RUN: -fdisable-module-hash -fsyntax-only -I%S/Inputs/Rmodule-import \
17 expected-remark-re{{building module 'A' as '{{.*[/\\]}}A.pcm'}} \
18 expected-remark{{finished building module 'A'}} \
19 expected-remark-re{{importing module 'A' from '{{.*[/\\]}}A.pcm'}} \
20 expected-remark-re{{importing module 'B' into 'A' from '{{.*[/\\]}}B.pcm'}} \
21 expected-remark-re{{importing module 'C' into 'B' from '{{.*[/\\]}}C.pcm'}}
[all …]
H A Dmerge-template-pattern-visibility-3.cpp3 #pragma clang module build A
4 module A {}
5 #pragma clang module contents
6 #pragma clang module begin A
8 #pragma clang module end
9 #pragma clang module endbuild
11 #pragma clang module build B
12 module B {}
13 #pragma clang module contents
14 #pragma clang module begin B
[all …]
H A Dmerge-template-pattern-visibility-2.cpp3 #pragma clang module build A1
4 module A1 { export * }
5 #pragma clang module contents
6 #pragma clang module begin A1
9 #pragma clang module end
10 #pragma clang module endbuild
12 #pragma clang module build A2
13 module A2 { export * }
14 #pragma clang module contents
15 #pragma clang module begin A2
[all …]
/llvm-project/llvm/include/
H A Dmodule.modulemap1 module LLVM_C {
3 module * { export * }
6 module LLVM_Analysis {
9 module * { export * }
17 module LLVM_AsmParser {
20 module * { export * }
23 module LLVM_CodeGenTypes {
26 module LLT {
29 module MVT {
31 extern module LLVM_Extern_CodeGenTypes_Ge
[all...]
/llvm-project/clang/lib/Headers/
H A Dmodule.modulemap1 /*===---- module.modulemap - intrinsics module map -------------------------===
10 module _Builtin_intrinsics [system] [extern_c] {
11 explicit module altivec {
16 explicit module arm {
19 explicit module acle {
24 explicit module neon {
31 explicit module sve {
38 explicit module intel {
71 explicit module mm_mallo
[all...]
/llvm-project/clang/include/
H A Dmodule.modulemap1 module Clang_C {
3 module * { export * }
6 module Clang_Analysis {
12 module * { export * }
21 module Clang_AST {
30 module * { export * }
33 module Clang_ASTMatchers { requires cplusplus umbrella "clang/ASTMatchers" module * { export * } }
35 module Clang_Basic {
87 module * { expor
[all...]
/llvm-project/clang/test/ClangScanDeps/
H A Dmodules-pch-dangling.c49 module mod_00 { header "mod_00.h" }
50 module mod_01 { header "mod_01.h" }
51 module mod_02 { header "mod_02.h" }
52 module mod_03 { header "mod_03.h" }
53 module mod_04 { header "mod_04.h" }
54 module mod_05 { header "mod_05.h" }
55 module mod_06 { header "mod_06.h" }
56 module mod_07 { header "mod_07.h" }
57 module mod_08 { header "mod_08.h" }
58 module mod_09 { header "mod_09.h" }
[all …]
/llvm-project/mlir/test/Dialect/SPIRV/Linking/ModuleCombiner/
H A Dconflict-resolution.mlir1 // RUN: mlir-opt -test-spirv-module-combiner -split-input-file -verify-diagnostics %s | FileCheck %s
5 // CHECK: module {
6 // CHECK-NEXT: spirv.module Logical GLSL450 {
17 module {
18 spirv.module Logical GLSL450 {
24 spirv.module Logical GLSL450 {
35 // CHECK: module {
36 // CHECK-NEXT: spirv.module Logical GLSL450 {
53 module {
54 spirv.module Logical GLSL450 {
[all …]

12345678910>>...212