Home
last modified time | relevance | path

Searched full:target (Results 1 – 25 of 10347) sorted by relevance

12345678910>>...414

/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/Inputs/
H A Dglobals-fundamental.lldbinit1 target variable BFalse
2 target variable BTrue
3 target variable CA
4 target variable CZ
5 target variable SCa
6 target variable SCz
7 target variable UC24
8 target variable UC42
9 target variable C16_24
10 target variable C32_42
[all …]
/llvm-project/clang/test/Driver/
H A Driscv-profiles.c1 // RUN: %clang --target=riscv32 -### -c %s 2>&1 -march=rvi20u32 \
3 // RVI20U32: "-target-feature" "-a"
4 // RVI20U32: "-target-feature" "-c"
5 // RVI20U32: "-target-feature" "-d"
6 // RVI20U32: "-target-feature" "-f"
7 // RVI20U32: "-target-feature" "-m"
9 // RUN: %clang --target=riscv64 -### -c %s 2>&1 -march=rvi20u64 \
11 // RVI20U64: "-target-feature" "-a"
12 // RVI20U64: "-target-feature" "-c"
13 // RVI20U64: "-target
[all...]
H A Dcsky-arch.c1 // RUN: %clang -target csky-unknown-elf -march=ck801 -### %s \
4 // CHECK-CK801: "-target-cpu" "ck801"
5 // CHECK-CK801: "-target-feature" "+elrw" "-target-feature" "+trust"
6 // CHECK-CK801: "-target-feature" "+e1"
8 // RUN: %clang -target csky-unknown-elf -march=ck802 -### %s \
11 // CHECK-CK802: "-target-cpu" "ck802"
12 // CHECK-CK802: "-target-feature" "+elrw" "-target-feature" "+trust"
13 // CHECK-CK802: "-target-feature" "+nvic" "-target-feature" "+e1"
14 // CHECK-CK802: "-target-feature" "+e2"
16 // RUN: %clang -target csky-unknown-elf -march=ck803 -### %s \
[all …]
H A Driscv-cpus.c1 // Check target CPUs are correctly passed.
3 // RUN: %clang --target=riscv32 -### -c %s 2>&1 -mcpu=rocket-rv32 | FileCheck -check-prefix=MCPU-ROCKET32 %s
4 // MCPU-ROCKET32: "-nostdsysteminc" "-target-cpu" "rocket-rv32"
5 // MCPU-ROCKET32: "-target-feature" "+zicsr" "-target-feature" "+zifencei"
7 // RUN: %clang --target=riscv64 -### -c %s 2>&1 -mcpu=rocket-rv64 | FileCheck -check-prefix=MCPU-ROCKET64 %s
8 // MCPU-ROCKET64: "-nostdsysteminc" "-target-cpu" "rocket-rv64"
9 // MCPU-ROCKET64: "-target-feature" "+zicsr" "-target-feature" "+zifencei"
11 // RUN: %clang --target
[all...]
H A Dx86-target-features.c1 // RUN: %clang --target=i386 -march=i386 -mx87 %s -### 2>&1 | FileCheck -check-prefix=X87 %s
2 // RUN: %clang --target=i386 -march=i386 -mno-x87 %s -### 2>&1 | FileCheck -check-prefix=NO-X87 %s
3 // RUN: %clang --target=i386 -march=i386 -m80387 %s -### 2>&1 | FileCheck -check-prefix=X87 %s
4 // RUN: %clang --target=i386 -march=i386 -mno-80387 %s -### 2>&1 | FileCheck -check-prefix=NO-X87 %s
5 // RUN: %clang --target=i386 -march=i386 -mno-fp-ret-in-387 %s -### 2>&1 | FileCheck -check-prefix=NO-X87 %s
6 // X87: "-target-feature" "+x87"
7 // NO-X87: "-target-feature" "-x87"
9 // RUN: %clang --target=i386 -march=i386 -mmmx -m3dnow -m3dnowa %s -### 2>&1 | FileCheck -check-prefix=MMX %s
10 // RUN: %clang --target=i386 -march=i386 -mno-mmx -mno-3dnow -mno-3dnowa %s -### 2>&1 | FileCheck -check-prefix=NO-MMX %s
14 // MMX: "-target
[all...]
H A Darm-mfpu.c1 // Test that different values of -mfpu pick correct ARM FPU target-feature(s).
3 // RUN: %clang -target arm-linux-eabi %s -### -o %t.o 2>&1 \
5 // CHECK-DEFAULT-NOT: "-target-feature" "+soft-float"
6 // CHECK-DEFAULT-DAG: "-target-feature" "+soft-float-abi"
7 // CHECK-DEFAULT-NOT: "-target-feature" "+vfp2"
8 // CHECK-DEFAULT-NOT: "-target-feature" "+vfp3"
9 // CHECK-DEFAULT-NOT: "-target-feature" "+neon"
11 // RUN: not %clang --target=arm-linux-eabi -mfpu=fpa %s -### -o %t.o 2>&1 \
13 // RUN: not %clang --target=arm-linux-eabi -mfpu=fpe2 %s -### -o %t.o 2>&1 \
15 // RUN: not %clang --target
[all...]
H A Damdgpu-mcpu.cl7 // RUN: %clang -### -target r600 -mcpu=r600 %s 2>&1 | FileCheck --check-prefix=R600 %s
8 // RUN: %clang -### -target r600 -mcpu=rv630 %s 2>&1 | FileCheck --check-prefix=R600 %s
9 // RUN: %clang -### -target r600 -mcpu=rv635 %s 2>&1 | FileCheck --check-prefix=R600 %s
10 // RUN: %clang -### -target r600 -mcpu=r630 %s 2>&1 | FileCheck --check-prefix=R630 %s
11 // RUN: %clang -### -target r600 -mcpu=rs780 %s 2>&1 | FileCheck --check-prefix=RS880 %s
12 // RUN: %clang -### -target r600 -mcpu=rs880 %s 2>&1 | FileCheck --check-prefix=RS880 %s
13 // RUN: %clang -### -target r600 -mcpu=rv610 %s 2>&1 | FileCheck --check-prefix=RS880 %s
14 // RUN: %clang -### -target r600 -mcpu=rv620 %s 2>&1 | FileCheck --check-prefix=RS880 %s
15 // RUN: %clang -### -target r600 -mcpu=rv670 %s 2>&1 | FileCheck --check-prefix=RV670 %s
16 // RUN: %clang -### -target r60
[all...]
H A Daarch64-fp16.c1 // Test that both target features fullfp16 and fp16fml are implemented and available correctly
4 // RUN: %clang --target=aarch64 -march=armv8a -### -c %s 2>&1 | FileCheck -check-prefix=V82ANOFP16…
5 // RUN: %clang --target=aarch64 -march=armv8-a -### -c %s 2>&1 | FileCheck -check-prefix=V82ANOFP16…
6 // V82ANOFP16-NOT: "-target-feature" "{{[+-]}}fp16fml"
7 // V82ANOFP16-NOT: "-target-feature" "{{[+-]}}fullfp16"
8 // GENERIC: "-cc1"{{.*}} "-triple" "aarch64{{(--)?}}"{{.*}} "-target-cpu" "generic"
10 // RUN: %clang --target=aarch64 -march=armv8a -### -c %s 2>&1 | FileCheck -check-prefix=GENERICV8A-…
11 // RUN: %clang --target=aarch64 -march=armv8-a -### -c %s 2>&1 | FileCheck -check-prefix=GENERICV8A…
12 // GENERICV8A-NO-FP16FML-NOT: "-target-feature" "{{[+-]}}fp16fml"
13 // GENERICV8A-NO-FP16FML-NOT: "-target-feature" "{{[+-]}}fullfp16"
[all …]
H A Dx86-march.c3 // RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=nocona 2>&1 \
5 // nocona: "-target-cpu" "nocona"
7 // RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=core2 2>&1 \
9 // core2: "-target-cpu" "core2"
11 // RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=penryn 2>&1 \
13 // penryn: "-target-cpu" "penryn"
15 // RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=nehalem 2>&1 \
17 // nehalem: "-target-cpu" "nehalem"
19 // RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=westmere 2>&1 \
21 // westmere: "-target
[all...]
H A Daarch64-implied-sve-features.c1 // RUN: %clang --target=aarch64-linux-gnu -march=armv8-a+sve %s -### 2>&1 | FileCheck %s --check-prefix=SVE-ONLY
2 // SVE-ONLY: "-target-feature" "+sve"
4 // RUN: %clang --target=aarch64-linux-gnu -march=armv8-a+nosve %s -### 2>&1 | FileCheck %s --check-prefix=NOSVE
7 // RUN: %clang --target=aarch64-linux-gnu -march=armv8-a+sve+nosve %s -### 2>&1 | FileCheck %s --check-prefix=SVE-REVERT
8 // SVE-REVERT-NOT: "-target-feature" "+sve"
9 // SVE-REVERT: "-target-feature" "-sve"
11 // RUN: %clang --target=aarch64-linux-gnu -march=armv8-a+sve2 %s -### 2>&1 | FileCheck %s --check-prefix=SVE2-IMPLY
12 // SVE2-IMPLY: "-target-feature" "+sve" "-target-feature" "+sve2"
14 // RUN: %clang --target
[all...]
H A Dmips-abi.c3 // RUN: %clang --target=mips-linux-gnu -### -c %s 2>&1 \
5 // RUN: %clang --target=mips64-linux-gnu -mips32r2 -mabi=32 -### -c %s 2>&1 \
7 // MIPS32R2-O32: "-target-cpu" "mips32r2"
8 // MIPS32R2-O32: "-target-abi" "o32"
10 // RUN: %clang --target=mips64-linux-gnu -### -c %s 2>&1 \
12 // RUN: %clang --target=mips-img-linux-gnu -mips64r2 -### -c %s 2>&1 \
14 // RUN: %clang --target=mips-mti-linux-gnu -mips64r2 -### -c %s 2>&1 \
16 // RUN: %clang --target=mips-linux-gnu -mips64r2 -mabi=64 -### -c %s 2>&1 \
18 // MIPS64R2-N64: "-target-cpu" "mips64r2"
19 // MIPS64R2-N64: "-target-abi" "n64"
[all …]
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DDeclRefExprUtilsTest.cpp23 Finder->addMatcher(varDecl(hasName("target")).bind("var"), this); in registerMatchers()
116 void f(const S target) { in TEST()
117 useVal(/*const*/target); in TEST()
118 useConstRef(/*const*/target); in TEST()
119 useConstPtr(&/*const*/target); in TEST()
120 useConstPtrConstRef(&/*const*/target); in TEST()
121 /*const*/target.constMethod(); in TEST()
122 /*const*/target.staticMethod(); in TEST()
123 /*const*/target(ConstTag{}); in TEST()
124 /*const*/target[42]; in TEST()
[all …]
/llvm-project/libcxx/test/std/re/re.const/re.matchflag/
H A Dmatch_multiline.pass.cpp22 const char* target, bool expected) in search() argument
26 assert(std::regex_search(target, m, re) == expected); in search()
51 const char* target = "foo"; in main() local
53 search(pat, ECMAScript, target, true); in main()
54 search(pat, basic, target, true); in main()
55 search(pat, extended, target, true); in main()
56 search(pat, awk, target, true); in main()
57 search(pat, grep, target, true); in main()
58 search(pat, egrep, target, true); in main()
60 search(pat, ECMAScript | multiline, target, true); in main()
[all …]
/llvm-project/flang/test/Semantics/OpenMP/
H A Dcombined-constructs.f9017 !$omp target parallel device(0)
21 !$omp end target parallel
23 !ERROR: At most one DEVICE clause can appear on the TARGET PARALLEL directive
24 !$omp target parallel device(0) device(1)
28 !$omp end target parallel
30 !$omp target parallel defaultmap(tofrom:scalar)
34 !$omp end target parallel
37 !$omp target parallel defaultmap(tofrom)
41 !$omp end target parallel
43 !ERROR: At most one DEFAULTMAP clause can appear on the TARGET PARALLE
[all...]
H A Ddeclare-target02.f904 ! 2.14.7 Declare Target Directive
12 !$omp declare target (arr1)
14 !$omp declare target (blk1)
16 !ERROR: A variable in a DECLARE TARGET directive cannot be an element of a common block
17 !$omp declare target (a1)
19 !WARNING: The usage of TO clause on DECLARE TARGET directive has been deprecated. Use ENTER clause instead.
20 !$omp declare target to (arr1_to)
22 !$omp declare target enter (arr1_to)
24 !WARNING: The usage of TO clause on DECLARE TARGET directive has been deprecated. Use ENTER clause instead.
25 !$omp declare target t
[all...]
H A Ddeclare-target01.f906 ! 2.14.7 Declare Target Directive
23 !$omp declare target (my_var)
25 !ERROR: A variable that is part of another variable (as an array or structure element) cannot appear on the DECLARE TARGET directive
26 !$omp declare target (my_var%t_i)
28 !ERROR: A variable that is part of another variable (as an array or structure element) cannot appear on the DECLARE TARGET directive
29 !$omp declare target (my_var%t_arr)
31 !ERROR: A type parameter inquiry cannot appear on the DECLARE TARGET directive
32 !$omp declare target (my_var%kind_param)
34 !ERROR: A type parameter inquiry cannot appear on the DECLARE TARGET directive
35 !$omp declare target (my_va
[all...]
/llvm-project/clang/test/Sema/aarch64-sve2-intrinsics/
H A Dacle_sve2.cpp1 // REQUIRES: aarch64-registered-target
3 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -verify -verify-ignore-unexpected=error,note -emit-llvm -o - %s
4 // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -verify=overload -verify-ignore-unexpected=error,note -emit-llvm -o - %s
40 // expected-error@+2 {{'svhistseg_s8' needs target feature sve,sve2}} in test()
41 // overload-error@+1 {{'svhistseg' needs target feature sve,sve2}} in test()
43 // expected-error@+2 {{'svqrdmulh_s8' needs target feature (sve,sve2)|sme}} in test()
44 // overload-error@+1 {{'svqrdmulh' needs target feature (sve,sve2)|sme}} in test()
46 // expected-error@+2 {{'svqrdmulh_n_s8' needs target feature (sve,sve2)|sme}} in test()
47 // overload-error@+1 {{'svqrdmulh' needs target feature (sve,sve2)|sme}} in test()
49 // expected-error@+2 {{'svqdmulh_s8' needs target featur in test()
[all...]
/llvm-project/llvm/test/MC/PowerPC/
H A Dppc64-fixups.s10 # CHECK-BE: b target # encoding: [0b010010AA,A,A,0bAAAAAA00]
11 # CHECK-LE: b target # encoding: [0bAAAAAA00,A,A,0b010010AA]
12 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
13 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
14 # CHECK-BE-REL: 0x{{[0-9A-F]*[048C]}} R_PPC64_REL24 target 0x0
15 # CHECK-LE-REL: 0x{{[0-9A-F]*[048C]}} R_PPC64_REL24 target 0x0
16 b target
18 # CHECK-BE: ba target # encoding: [0b010010AA,A,A,0bAAAAAA10]
19 # CHECK-LE: ba target # encoding: [0bAAAAAA10,A,A,0b010010AA]
20 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
[all …]
/llvm-project/clang/test/OpenMP/
H A Ddeclare_target_ast_print.cpp26 #pragma omp declare target to(bar) device_type(any)
27 // OMP50: #pragma omp declare target{{$}}
29 // OMP50: #pragma omp end declare target{{$}}
31 #pragma omp declare target to(baz) device_type(nohost)
32 // OMP50: #pragma omp declare target device_type(nohost){{$}}
34 // OMP50: #pragma omp end declare target{{$}}
36 #pragma omp declare target to(bazz) device_type(host)
37 // OMP50: #pragma omp declare target device_type(host){{$}}
39 // OMP50: #pragma omp end declare target{{$}}
45 #pragma omp declare target t
[all...]
H A Dtarget_ast_print.cpp21 #pragma omp target in tmain()
23 #pragma omp target if (target:argc > 0) in tmain()
25 #pragma omp target if (C) in tmain()
27 #pragma omp target map(i) in tmain()
29 #pragma omp target map(a[0:10], i) in tmain()
31 #pragma omp target map(to: i) map(from: j) in tmain()
33 #pragma omp target map(always,alloc: i) in tmain()
35 #pragma omp target map(always from: i) in tmain()
37 #pragma omp target map(always) in tmain()
39 #pragma omp target map(always,i) in tmain()
[all …]
H A Dtarget_exit_data_ast_print.cpp31 #pragma omp target exit data map(from: i) in tmain()
33 #pragma omp target exit data map(from: i) if (target exit data: j > 0) in tmain()
35 #pragma omp target exit data map(from: i) if (b) in tmain()
37 #pragma omp target exit data map(from: c) in tmain()
39 #pragma omp target exit data map(from: c) if(b>e) in tmain()
41 #pragma omp target exit data map(release: x[0:10], c) in tmain()
43 #pragma omp target exit data map(delete: x[0:10]) in tmain()
45 #pragma omp target exit data map(always, delete: x[0:10]) in tmain()
47 #pragma omp target exit data map(from: c) map(release: d) in tmain()
49 #pragma omp target exit data map(always,release: e) in tmain()
[all …]
H A Dtarget_enter_data_ast_print.cpp31 #pragma omp target enter data map(to: i) in tmain()
33 #pragma omp target enter data map(to: i) if (target enter data: j > 0) in tmain()
35 #pragma omp target enter data map(to: i) if (b) in tmain()
37 #pragma omp target enter data map(to: c) in tmain()
39 #pragma omp target enter data map(to: c) if(b>e) in tmain()
41 #pragma omp target enter data map(alloc: x[0:10], c) in tmain()
43 #pragma omp target enter data map(to: c) map(alloc: d) in tmain()
45 #pragma omp target enter data map(always,alloc: e) in tmain()
47 #pragma omp target enter data nowait map(to: i) in tmain()
49 #pragma omp target enter data nowait map(to: i) if (target enter data: j > 0) in tmain()
[all …]
/llvm-project/clang/test/Preprocessor/
H A Daarch64-target-features.c1 // RUN: %clang -target aarch64-none-linux-gnu -x c -E -dM %s -o - | FileCheck %s
2 // RUN: %clang -target arm64-none-linux-gnu -x c -E -dM %s -o - | FileCheck %s
68 // RUN: %clang -target aarch64-none-elf -march=armv8-r -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-R-PROFILE
69 // RUN: %clang -target arm64-none-linux-gnu -march=armv8-r -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-R-PROFILE
72 // RUN: %clang -target aarch64-none-elf -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-A-PROFILE
73 // RUN: %clang -target aarch64-none-elf -march=armv8-a -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-A-PROFILE
74 // RUN: %clang -target arm64-none-linux-gnu -march=armv8-a -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-A-PROFILE
77 // RUN: %clang -target aarch64_be-none-elf -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-BIGENDIAN
80 // RUN: %clang -target aarch64-none-linux-gnu -march=armv8-a+crypto -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-FEAT-CRYPTO %s
81 // RUN: %clang -target arm6
[all...]
/llvm-project/clang/test/Sema/
H A Dattr-target.c9 int __attribute__((target("avx,sse4.2,arch=ivybridge"))) foo(void) { return 4; } in foo()
10 //expected-error@+1 {{'target' attribute takes one argument}}
11 int __attribute__((target())) bar(void) { return 4; } in bar()
13 int __attribute__((target("tune=sandybridge"))) baz(void) { return 4; } in baz()
14 //expected-warning@+1 {{unsupported 'fpmath=' in the 'target' attribute string; 'target' attribute ignored}}
15 int __attribute__((target("fpmath=387"))) walrus(void) { return 4; } in walrus()
16 //expected-warning@+1 {{unknown CPU 'hiss' in the 'target' attribute string; 'target' attribute ignored}}
17 int __attribute__((target("av
[all...]
/llvm-project/flang/test/Driver/
H A Dtarget-cpu-features.f901 ! Test that -mcpu/march are used and that the -target-cpu and -target-features
4 ! RUN: %flang --target=aarch64-linux-gnu -mcpu=cortex-a57 -c %s -### 2>&1 \
7 ! RUN: %flang --target=aarch64-linux-gnu -mcpu=cortex-a76 -c %s -### 2>&1 \
10 ! RUN: %flang --target=aarch64-linux-gnu -march=armv9 -c %s -### 2>&1 \
13 ! Negative test. ARM cpu with x86 target.
14 ! RUN: not %flang --target=x86_64-linux-gnu -mcpu=cortex-a57 -c %s -### 2>&1 \
17 ! RUN: %flang --target=x86_64-linux-gnu -march=skylake -c %s -### 2>&1 \
20 ! RUN: %flang --target=x86_64-linux-gnu -mapx-features=egpr -c %s -### 2>&1 \
23 ! RUN: %flang --target
[all...]

12345678910>>...414