| /llvm-project/clang/test/Modules/ |
| H A D | exponential-paths.cpp | 3 // RUN: rm -rf %t 4 // RUN: mkdir %t 6 // Build module map with 40 modules; two layers with importing and re-exporting 9 // RUN: echo 'module a0 { header "a0.h" export * }' > %t/module.modulemap 10 // RUN: echo 'module b0 { header "b0.h" export * }' >> %t/module.modulemap 11 // RUN: echo 'module a1 { header "a1.h" export * }' >> %t/module.modulemap 12 // RUN: echo 'module b1 { header "b1.h" export * }' >> %t/module.modulemap 13 // RUN: echo 'module a2 { header "a2.h" export * }' >> %t/module.modulemap 14 // RUN: echo 'module b2 { header "b2.h" export * }' >> %t/module.modulemap 15 // RUN: echo 'module a3 { header "a3.h" export * }' >> %t/module.modulemap [all …]
|
| /llvm-project/llvm/unittests/TargetParser/ |
| H A D | TripleTest.cpp | 1 //===---------- 18 Triple T; TEST() local 76 Triple T; TEST() local 1330 Triple T; TEST() local 1371 Triple T; TEST() local 1565 Triple T; TEST() local 1767 Triple T; TEST() local 1920 Triple T; TEST() local 1956 Triple T; TEST() local 2112 Triple T; TEST() local 2129 Triple T = Triple("x86_64-apple-macos11"); TEST() local 2226 Triple T = Triple(""); TEST() local 2331 Triple T; TEST() local 2343 Triple T = Triple("arm"); TEST() local 2347 Triple T = Triple("armeb"); TEST() local 2352 Triple T = Triple("thumb"); TEST() local 2356 Triple T = Triple("thumbeb"); TEST() local 2361 Triple T = Triple("arm64"); TEST() local 2365 Triple T = Triple("arm64_32"); TEST() local 2369 Triple T = Triple("aarch64"); TEST() local 2373 Triple T = Triple("aarch64_be"); TEST() local 2377 Triple T = Triple("arm64e"); TEST() local 2382 Triple T = Triple("arm64ec"); TEST() local 2387 Triple T; TEST() local 2396 Triple T = Triple("thumbv6m"); TEST() local 2400 Triple T = Triple("armv8m.base"); TEST() local 2404 Triple T = Triple("armv7s"); TEST() local 2408 Triple T = Triple("armv7k"); TEST() local 2412 Triple T = Triple("armv7ve"); TEST() local 2416 Triple T = Triple("armv6"); TEST() local 2420 Triple T = Triple("armv6m"); TEST() local 2424 Triple T = Triple("armv6k"); TEST() local 2428 Triple T = Triple("armv6t2"); TEST() local 2432 Triple T = Triple("armv5"); TEST() local 2436 Triple T = Triple("armv5te"); TEST() local 2440 Triple T = Triple("armv4t"); TEST() local 2446 Triple T = Triple("arm"); TEST() local 2450 Triple T = Triple("armv7m"); TEST() local 2454 Triple T = Triple("armv7em"); TEST() local 2458 Triple T = Triple("armv8m.main"); TEST() local 2462 Triple T = Triple("armv8.1m.main"); TEST() local 2470 Triple T = Triple("armv7s"); TEST() local 2474 Triple T = Triple("armv7k"); TEST() local 2478 Triple T = Triple("armv7ve"); TEST() local 2482 Triple T = Triple("armv6"); TEST() local 2486 Triple T = Triple("armv6k"); TEST() local 2490 Triple T = Triple("armv6t2"); TEST() local 2494 Triple T = Triple("armv5"); TEST() local 2498 Triple T = Triple("armv5te"); TEST() local 2502 Triple T = Triple("armv4t"); TEST() local 2506 Triple T = Triple("arm"); TEST() local 2512 Triple T = Triple("armv6m"); TEST() local 2516 Triple T = Triple("armv7m"); TEST() local 2520 Triple T = Triple("armv7em"); TEST() local 2524 Triple T = Triple("armv8m.base"); TEST() local 2528 Triple T = Triple("armv8m.main"); TEST() local 2532 Triple T = Triple("armv8.1m.main"); TEST() local [all...] |
| /llvm-project/libcxx/test/std/time/time.syn/ |
| H A D | formatter.hh_mm_ss.pass.cpp | 1 //===---------- [all...] |
| H A D | formatter.month_day.pass.cpp | 1 //===---------- [all...] |
| H A D | formatter.month.pass.cpp | 1 //===---------- [all...] |
| H A D | formatter.weekday.pass.cpp | 1 //===---------- [all...] |
| H A D | formatter.year_month_day_last.pass.cpp | 1 //===---------- [all...] |
| H A D | formatter.month_day_last.pass.cpp | 1 //===---------- [all...] |
| H A D | formatter.weekday_last.pass.cpp | 1 //===---------- [all...] |
| /llvm-project/libc/test/src/math/smoke/ |
| H A D | FromfpTest.h | 1 //===-- Utility class to test different flavors of fromfp -------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 16 template <typename T> 19 DECLARE_SPECIAL_CONSTANTS(T) 22 typedef T (*FromfpFunc)(T, int, unsigned int); 50 EXPECT_FP_EQ(T(1.0), func(T(1.0), rnd, 2U)); in testRoundedNumbersWithinRange() 51 EXPECT_FP_EQ(T(-1.0), func(T(-1.0), rnd, 1U)); in testRoundedNumbersWithinRange() 52 EXPECT_FP_EQ(T(10.0), func(T(10.0), rnd, 5U)); in testRoundedNumbersWithinRange() 53 EXPECT_FP_EQ(T(-10.0), func(T(-10.0), rnd, 5U)); in testRoundedNumbersWithinRange() [all …]
|
| H A D | FromfpxTest.h | 1 //===-- Utility class to test different flavors of fromfpx ------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 16 template <typename T> 19 DECLARE_SPECIAL_CONSTANTS(T) 22 typedef T (*FromfpxFunc)(T, int, unsigned int); 50 EXPECT_FP_EQ(T(1.0), func(T(1.0), rnd, 2U)); in testRoundedNumbersWithinRange() 51 EXPECT_FP_EQ(T(-1.0), func(T(-1.0), rnd, 1U)); in testRoundedNumbersWithinRange() 52 EXPECT_FP_EQ(T(10.0), func(T(10.0), rnd, 5U)); in testRoundedNumbersWithinRange() 53 EXPECT_FP_EQ(T(-10.0), func(T(-10.0), rnd, 5U)); in testRoundedNumbersWithinRange() [all …]
|
| H A D | UfromfpTest.h | 1 //===-- Utility class to test different flavors of ufromfp ------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 16 template <typename T> 19 DECLARE_SPECIAL_CONSTANTS(T) 22 typedef T (*UfromfpFunc)(T, int, unsigned int); 50 EXPECT_FP_EQ(T(1.0), func(T(1.0), rnd, 1U)); in testRoundedNumbersWithinRange() 51 EXPECT_FP_EQ(T(10.0), func(T(10.0), rnd, 4U)); in testRoundedNumbersWithinRange() 52 EXPECT_FP_EQ(T(1234.0), func(T(1234.0), rnd, 11U)); in testRoundedNumbersWithinRange() 53 EXPECT_FP_EQ(T(1234.0), func(T(1234.0), rnd, 64U)); in testRoundedNumbersWithinRange() [all …]
|
| H A D | UfromfpxTest.h | 1 //===-- Utility class to test different flavors of ufromfpx -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 16 template <typename T> 19 DECLARE_SPECIAL_CONSTANTS(T) 22 typedef T (*UfromfpxFunc)(T, int, unsigned int); 50 EXPECT_FP_EQ(T(1.0), func(T(1.0), rnd, 1U)); in testRoundedNumbersWithinRange() 51 EXPECT_FP_EQ(T(10.0), func(T(10.0), rnd, 4U)); in testRoundedNumbersWithinRange() 52 EXPECT_FP_EQ(T(1234.0), func(T(1234.0), rnd, 11U)); in testRoundedNumbersWithinRange() 53 EXPECT_FP_EQ(T(1234.0), func(T(1234.0), rnd, 64U)); in testRoundedNumbersWithinRange() [all …]
|
| /llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/ |
| H A D | subtarget.ll | 7 ; ---------- [all...] |
| /llvm-project/lld/test/MachO/ |
| H A D | reroot-path.s | 2 # UNSUPPORTED: system-windows 4 # RUN: rm -rf %t; split-file %s %t 6 ## This test verifies that we attempt to re-root absolute paths if -syslibroot 9 ## syslibroot. `chroot` would do the job but isn't cross-platform, so I've used 10 ## this %t/%:t hack instead. 11 # RUN: mkdir -p %t/%:t 13 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/foo.s -o %t/foo.o 14 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/bar.s -o %t/bar.o 15 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/test.s -o %t/test.o 17 ## bar.a is under %t/%:t, and so verifies that rerooting happens. foo.a isn't, [all …]
|
| H A D | lto-cache.ll | 3 ; UNSUPPORTED: system-netbsd 5 ; RUN: rm -rf %t; split-file %s %t 6 ; RUN: opt -module-hash -module-summary %t/foo.ll -o %t/foo.o 7 ; RUN: opt -module-hash -module-summary %t/bar.ll -o %t/bar.o 9 ; RUN: rm -Rf %t/cache && mkdir %t/cache 11 ;; We should only remove files matching the pattern "llvmcache-*". 12 ; RUN: touch -t 197001011200 %t/cache/llvmcache-baz %t/cache/baz 13 ; RUN: %lld -cache_path_lto %t/cache \ 14 ; RUN: --thinlto-cache-policy=prune_after=1h:prune_interval=0s \ 15 ; RUN: -o %t/test %t/foo.o %t/bar.o [all …]
|
| H A D | order-file.s | 2 # RUN: rm -rf %t; split-file %s %t 3 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/test.s -o %t/test.o 4 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/foo.s -o %t/foo.o 5 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/abs.s -o %t/abs.o 6 # RUN: llvm-ar rcs %t/foo.a %t/foo.o 8 # FOO-FIRST: <_bar>: 9 # FOO-FIRST: <_main>: 11 # FOO-SECOND: <_main>: 12 # FOO-SECOND: <_bar>: 14 # RUN: %lld -lSystem -o %t/test-1 %t/test.o %t/foo.o -order_file %t/ord-1 [all …]
|
| H A D | dead-strip-dylibs.s | 3 # RUN: rm -rf %t; split-file %s %t 5 # RUN: llvm-mc %t/bar.s -triple=x86_64-apple-macos -filetype=obj -o %t/bar.o 6 # RUN: %lld -dylib %t/bar.o -o %t/bar.dylib 7 # RUN: %lld -dylib %t/bar.o -o %t/libbar.dylib 8 # RUN: %lld -dylib -mark_dead_strippable_dylib %t/bar.o -o %t/bar-strip.dylib 10 # RUN: llvm-mc %t/foo.s -triple=x86_64-apple-macos -filetype=obj -o %t/foo.o 11 # RUN: %lld -dylib %t/foo.o -o %t/foo_with_bar.dylib %t/bar.dylib -sub_library bar 12 # RUN: %lld -dylib %t/foo.o -o %t/foo.dylib 14 # RUN: llvm-mc %t/weak-foo.s -triple=x86_64-apple-macos -filetype=obj -o %t/weak-foo.o 15 # RUN: %lld -dylib %t/weak-foo.o -o %t/weak-foo.dylib [all …]
|
| /llvm-project/libcxx/test/std/re/re.traits/ |
| H A D | isctype.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 23 std::regex_traits<char> t; in main() local 26 assert( t.isctype('_', t.lookup_classname(s.begin(), s.end()))); in main() 27 assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); in main() 28 assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); in main() 29 assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); in main() 30 assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); in main() 31 assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); in main() [all …]
|
| /llvm-project/libcxx/test/std/containers/views/mdspan/mdspan/ |
| H A D | conversion.pass.cpp | 1 //===---------- 200 constexpr bool t = true; main() local [all...] |
| /llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
| H A D | missing-std-forward.cpp | 1 // RUN: %check_clang_tidy %s cppcoreguidelines-missing-std-forward %t -- -- -fno-delaye 33 does_not_forward(T && t) does_not_forward() argument 39 does_not_forward_invoked(T && t) does_not_forward_invoked() argument 45 forwards_pairwise(T && t) forwards_pairwise() argument 69 mixed_params(T && t,U && u) mixed_params() argument 79 does_not_forward_in_evaluated_code(T && t) does_not_forward_in_evaluated_code() argument 87 lambda_value_capture(T && t) lambda_value_capture() argument 93 lambda_value_capture_copy(T && t) lambda_value_capture_copy() argument 116 does_forward(T && t) does_forward() argument 138 templated_rvalue_ref(std::remove_reference_t<T> && t) templated_rvalue_ref() argument 153 rvalue_ref(T && t) rvalue_ref() argument 161 lambda_value_reference(T && t) lambda_value_reference() argument 166 lambda_value_reference_capture_list_ref_1(T && t) lambda_value_reference_capture_list_ref_1() argument 171 lambda_value_reference_capture_list_ref_2(T && t) lambda_value_reference_capture_list_ref_2() argument 176 lambda_value_reference_capture_list(T && t) lambda_value_reference_capture_list() argument 181 lambda_value_reference_auxiliary_var(T && t) lambda_value_reference_auxiliary_var() argument [all...] |
| /llvm-project/compiler-rt/test/fuzzer/ |
| H A D | merge-control-file.test | 3 RUN: mkdir -p %t 6 RUN: %cpp_compiler %S/FullCoverageSetTest.cpp -o %t/T.exe 8 RUN: rm -rf %t/T0 %t/T1 %t/T2 9 RUN: mkdir -p %t/T0 %t/T1 %t/T2 10 RUN: echo F..... > %t/T0/1 11 RUN: echo .U.... > %t/T0/2 12 RUN: echo ..Z... > %t/T0/3 16 RUN: rm -f %t/T1/*; cp %t/T0/* %t/T1 17 RUN: echo JUNK > %t/MCF 18 RUN: %run %t/T.exe -merge=1 %t/T1 %t/T2 -merge_control_file=%t/MCF 2>&1 | FileCheck %s --check-pref… [all …]
|
| /llvm-project/libcxx/include/ |
| H A D | atomic | 1 // -*- C++ -*- 2 //===------ [all...] |
| /llvm-project/compiler-rt/test/profile/ |
| H A D | instrprof-binary-correlate.c | 3 …g -o %t.normal -fprofile-instr-generate -fcoverage-mapping %S/Inputs/instrprof-debug-info-correlat… 4 // RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t.normal 5 // RUN: llvm-profdata merge -o %t.normal.profdata %t.profraw 6 // RUN: llvm-cov report --instr-profile=%t.normal.profdata %t.normal > %t.normal.report 7 // RUN: llvm-cov show --instr-profile=%t.normal.profdata %t.normal > %t.normal.show 9 // With -profile-correlate=binary flag 10 …-o %t-1.exe -fprofile-instr-generate -fcoverage-mapping -mllvm -profile-correlate=binary %S/Inputs… 11 // RUN: env LLVM_PROFILE_FILE=%t-1.profraw %run %t-1.exe 12 // RUN: llvm-profdata merge -o %t-1.profdata --binary-file=%t-1.exe %t-1.profraw 13 // RUN: llvm-cov report --instr-profile=%t-1.profdata %t-1.exe > %t-1.report [all …]
|
| /llvm-project/clang/test/Driver/ |
| H A D | clang-offload-bundler.c | 1 // REQUIRES: x86-registered-target 2 // UNSUPPORTED: target={{.*}}-macosx{{.*}}, target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}, ta… 7 // RUN: %clang -O0 -target %itanium_abi_triple %s -E -o %t.i 8 // RUN: %clangxx -O0 -target %itanium_abi_triple -x c++ %s -E -o %t.ii 9 // RUN: %clang -O0 -target %itanium_abi_triple %s -S -emit-llvm -o %t.ll 10 // RUN: %clang -O0 -target %itanium_abi_triple %s -c -emit-llvm -o %t.bc 11 // RUN: %clang -O0 -target %itanium_abi_triple %s -S -o %t.s 12 // RUN: %clang -O0 -target %itanium_abi_triple %s -c -o %t.o 13 // RUN: obj2yaml %t.o > %t.o.yaml 14 // RUN: %clang -O0 -target %itanium_abi_triple %s -emit-ast -o %t.ast [all …]
|