Home
last modified time | relevance | path

Searched +full:- +full:- +full:target (Results 1 – 25 of 1319) sorted by relevance

12345678910>>...53

/llvm-project/clang/test/Driver/
H A Driscv-profiles.c1 // RUN: %clang --target=riscv32 -### -c %s 2>&1 -march=rvi20u32 \
2 // RUN: | FileCheck -check-prefix=RVI20U32 %s
3 // RVI20U32: "-target
[all...]
H A Dcsky-arch.c1 // RUN: %clang -target csky-unknown-elf -march=ck801 -### %s \
2 // RUN: -fsyntax-only 2>&1 | FileCheck %s -check-prefixes=CHECK-CK801
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 \
9 // RUN: -fsyntax-only 2>&1 | FileCheck %s -check-prefixes=CHECK-CK802
11 // CHECK-CK802: "-target-cpu" "ck802"
12 // CHECK-CK802: "-target-feature" "+elrw" "-target-feature" "+trust"
13 // CHECK-CK802: "-target-feature" "+nvic" "-target-feature" "+e1"
[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-prefi
[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 --targe
[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 \
4 // RUN: | FileCheck -
[all...]
H A Damdgpu-mcpu.cl1 // Check that -mcpu works for all supported GPUs.
4 // R600-based processors.
7 // RUN: %clang -### -target r600 -mcpu=r600 %s 2>&1 | FileCheck --check-prefix=R600 %s
8 // RUN: %clang -###
[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 \
4 // RUN: | FileCheck %s -check-prefix=nocona
5 // nocona: "-targe
[all...]
H A Daarch64-implied-sve-features.c1 // RUN: %clang --target=aarch64-linux-gnu -march=armv8-a+sve %s -### 2>&1 | FileCheck %s --chec
[all...]
H A Dmips-abi.c3 // RUN: %clang --target=mips-linux-gnu -### -c %s 2>&1 \
4 // RUN: | FileCheck -check-prefix=MIPS32R2-O32 %s
5 // RUN: %clang --target=mips64-linux-gnu -mips32r2 -mabi=32 -### -c %s 2>&1 \
6 // RUN: | FileCheck -check-prefix=MIPS32R2-O32 %s
7 // MIPS32R2-O32: "-target-cpu" "mips32r2"
8 // MIPS32R2-O32: "-target-abi" "o32"
10 // RUN: %clang --target=mips64-linux-gnu -### -c %s 2>&1 \
11 // RUN: | FileCheck -check-prefix=MIPS64R2-N64 %s
12 // RUN: %clang --target=mips-img-linux-gnu -mips64r2 -### -c %s 2>&1 \
13 // RUN: | FileCheck -check-prefix=MIPS64R2-N64 %s
[all …]
H A Dcsky-mfpu.c1 // Test that different values of -mfpu pick correct CSKY FPU target-feature(s).
3 // RUN: %clang -target csky-unknown-linux %s -### -o %t.o 2>&1 \
4 // RUN: | FileCheck --check-prefix=CHECK-DEFAULT %s
5 // CHECK-DEFAULT-NOT: "-target-feature" "+hard-float"
6 // CHECK-DEFAULT-NOT: "-target-feature" "+hard-float-abi"
7 // CHECK-DEFAULT-NOT: "-target-feature" "+fpuv2_sf"
8 // CHECK-DEFAULT-NOT: "-target-feature" "+fpuv2_df"
10 // RUN: %clang -target csky-unknown-linux %s -mfpu=fpv2 -### -o %t.o 2>&1 \
11 // RUN: | FileCheck --check-prefix=CHECK-FPV2 %s
12 // CHECK-FPV2-NOT: "-target-feature" "+hard-float"
[all …]
/llvm-project/libcxx/test/std/re/re.const/re.matchflag/
H A Dmatch_multiline.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 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()
[all …]
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DDeclRefExprUtilsTest.cpp1 #include "../clang-tidy/utils/DeclRefExprUtils.h"
23 Finder->addMatcher(varDecl(hasName("target")).bind("var"), this); in registerMatchers()
30 *D, *cast<FunctionDecl>(D->getDeclContext())->getBody(), in check()
35 diag(Expr->getBeginLoc(), "const usage") in check()
36 << FixItHint::CreateInsertion(Expr->getBeginLoc(), "/*const*/"); in check()
74 // `*this`. This is consistent with the semantics of `const`-qualified in RunTest()
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()
[all …]
H A DAddConstTest.cpp1 #include "../clang-tidy/utils/FixItHintUtils.h"
24 Finder->addMatcher(varDecl(hasName("target")).bind("var"), this); in registerMatchers()
32 auto Diag = diag(D->getBeginLoc(), "doing const transformation"); in check()
50 // ------
883 __anon290d8e632102(StringRef Target) TEST() argument
[all...]
/llvm-project/llvm/test/MC/PowerPC/
H A Dppc64-fixups.s2 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK
3 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
5 # RUN: llvm-mc -triple powerpc64-unknown-unknown -filetype=obj %s | \
6 # RUN: llvm-readobj -r - | FileCheck %s -check-prefix=CHECK-BE-REL
7 # RUN: llvm-mc -triple powerpc64le-unknown-unknown -filetype=obj %s | \
8 # RUN: llvm-readobj -r - | FileCheck %s -check-prefix=CHECK-LE-REL
10 # 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…
[all …]
H A Dppc64-encoding-ext.s2 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK
3 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
7 # CHECK-BE: beqlr 0 # encoding: [0x4d,0x82,0x00,0x20]
8 # CHECK-LE: beqlr 0 # encoding: [0x20,0x00,0x82,0x4d]
10 # CHECK-BE: beqlr 1 # encoding: [0x4d,0x86,0x00,0x20]
11 # CHECK-LE: beqlr 1 # encoding: [0x20,0x00,0x86,0x4d]
13 # CHECK-BE: beqlr 2 # encoding: [0x4d,0x8a,0x00,0x20]
14 # CHECK-LE: beqlr 2 # encoding: [0x20,0x00,0x8a,0x4d]
16 # CHECK-BE: beqlr 3 # encoding: [0x4d,0x8e,0x00,0x20]
17 # CHECK-LE: beqlr 3 # encoding: [0x20,0x00,0x8e,0x4d]
[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-featur
[all...]
/llvm-project/clang/test/OpenMP/
H A Ddeclare_target_ast_print.cpp1 // RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -I %S/Inputs -emit-pch -o %t %s
2 // RUN: %clang_cc1 -fopenmp -std=c++11 -includ
[all...]
H A Dtarget_ast_print.cpp3 // expected-no-diagnostics
7 // RUN: %clang_cc1 -DOMP45 -verify -Wno-vla -fopenmp -fopenmp-version=45 -ast-print %s | FileCheck …
8 // RUN: %clang_cc1 -DOMP45 -fopenmp -fopenmp-version=45 -x c++ -std=c++11 -emit-pch -o %t %s
9 … RUN: %clang_cc1 -DOMP45 -fopenmp -fopenmp-version=45 -std=c++11 -include-pch %t -verify -Wno-vla …
11 // RUN: %clang_cc1 -DOMP45 -verify -Wno-vla -fopenmp-simd -fopenmp-version=45 -ast-print %s | FileC…
12 // RUN: %clang_cc1 -DOMP45 -fopenmp-simd -fopenmp-version=45 -x c++ -std=c++11 -emit-pch -o %t %s
13 …UN: %clang_cc1 -DOMP45 -fopenmp-simd -fopenmp-version=45 -std=c++11 -include-pch %t -verify -Wno-v…
21 #pragma omp target in tmain()
23 #pragma omp target if (target:argc > 0) in tmain()
25 #pragma omp target if (C) in tmain()
[all …]
H A Dtarget_exit_data_ast_print.cpp1 // RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=45 -ast-print %s | FileCheck %s
2 // RUN: %clang_cc1 -fopenmp -fopenmp-version=45 -x c++ -std=c++11 -emit-pch -o %t %s
3 // RUN: %clang_cc1 -fopenmp -fopenmp-version=45 -std=c++11 -include-pch %t -verify %s -ast-print | …
5 // RUN: %clang_cc1 -verify -fopenmp-simd -fopenmp-version=45 -ast-print %s | FileCheck %s
6 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=45 -x c++ -std=c++11 -emit-pch -o %t %s
7 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=45 -std=c++11 -include-pch %t -verify %s -ast-pri…
9 // RUN: %clang_cc1 -verify -fopenmp-simd -fopenmp-version=52 -ast-print %s | FileCheck %s
10 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=52 -x c++ -std=c++11 -emit-pch -o %t %s
11 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=52 -std=c++11 -include-pch %t -verify %s -ast-pri…
13 // RUN: %clang_cc1 -verify -fopenmp -ast-print %s | FileCheck %s
[all …]
H A Dtarget_enter_data_ast_print.cpp1 // RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=45 -ast-print %s | FileCheck %s
2 // RUN: %clang_cc1 -fopenmp -fopenmp-version=45 -x c++ -std=c++11 -emit-pch -o %t %s
3 // RUN: %clang_cc1 -fopenmp -fopenmp-version=45 -std=c++11 -include-pch %t -verify %s -ast-print | …
5 // RUN: %clang_cc1 -verify -fopenmp-simd -fopenmp-version=45 -ast-print %s | FileCheck %s
6 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=45 -x c++ -std=c++11 -emit-pch -o %t %s
7 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=45 -std=c++11 -include-pch %t -verify %s -ast-pri…
9 // RUN: %clang_cc1 -verify -fopenmp-simd -fopenmp-version=52 -ast-print %s | FileCheck %s
10 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=52 -x c++ -std=c++11 -emit-pch -o %t %s
11 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=52 -std=c++11 -include-pch %t -verify %s -ast-pri…
13 // RUN: %clang_cc1 -verify -fopenmp -ast-print %s | FileCheck %s
[all …]
H A Dtarget_data_use_device_ptr_addr_messages.cpp1 // RUN: %clang_cc1 -std=c++11 -verify=expected,omp45 -fopenmp -fopenmp-version=45 -ferror-limit 200…
2 // RUN: %clang_cc1 -std=c++11 -verify=expected,omp51 -fopenmp -ferror-limit 200 %s -Wuninitialized
4 // RUN: %clang_cc1 -std=c++11 -verify=expected,omp45 -fopenmp-simd -fopenmp-version=45 -ferror-limi…
5 // RUN: %clang_cc1 -std=c++11 -verify=expected,omp51 -fopenmp-simd -ferror-limit 200 %s -Wuninitial…
20 #pragma omp target data map(i) use_device_ptr // expected-error {{expected '(' after 'use_device_pt… in func()
22 #pragma omp target data map(i) use_device_ptr( // expected-error {{expected ')'}} expected-note {{t… in func()
24 #pragma omp target data map(i) use_device_ptr() // expected-error {{expected expression}} in func()
26 #pragma omp target data map(i) use_device_ptr(alloc) // expected-error {{use of undeclared identifi… in func()
28 #pragma omp target data map(i) use_device_ptr(arg // expected-error {{expected ')'}} expected-note … in func()
30 #pragma omp target data map(i) use_device_ptr(i) // expected-error {{expected pointer or reference … in func()
[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 - | FileChec
[all...]
/llvm-project/clang/test/Sema/
H A Dattr-target.c1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -verify -std=c2x %s
2 // RUN: %clang_cc1 -triple aarch64-linux-gn
[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
[all...]

12345678910>>...53