/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.info/time.zone.info.local/ |
H A D | ostream.pass.cpp | 54 namespace tz = std::chrono; in test() 57 "{[-10484-10-16 15:30:08, 14423-03-17 15:30:07) 00:00:00 0min \"TZ\", " in test() 59 tz::local_info{tz::local_info::unique, in test() 60 tz::sys_info{tz::sys_seconds::min(), tz::sys_seconds::max(), 0s, 0min, "TZ"}, in test() 61 tz::sys_info{}}); in test() 66 tz::local_info{ in test() 67 tz::local_info::nonexistent, in test() 68 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test() 69 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test() 73 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test() [all …]
|
/llvm-project/libcxx/test/std/time/time.syn/ |
H A D | formatter.local_info.pass.cpp | 45 namespace tz = std::chrono; in test_no_chrono_specs() 53 "{[-10484-10-16 15:30:08, 14423-03-17 15:30:07) 00:00:00 0min \"TZ\", " in test_no_chrono_specs() 56 tz::local_info{tz::local_info::unique, in test_no_chrono_specs() 57 tz::sys_info{tz::sys_seconds::min(), tz::sys_seconds::max(), 0s, 0min, "TZ"}, in test_no_chrono_specs() 58 tz::sys_info{}}); in test_no_chrono_specs() 64 tz in test_no_chrono_specs() [all...] |
H A D | formatter.sys_info.pass.cpp | 45 namespace tz = std::chrono; in test_no_chrono_specs() 51 check(SV("[-10484-10-16 15:30:08, 14423-03-17 15:30:07) 00:00:00 0min \"TZ\""), in test_no_chrono_specs() 53 tz::sys_info{tz::sys_seconds::min(), tz::sys_seconds::max(), 0s, 0min, "TZ"}); in test_no_chrono_specs() 57 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz in test_no_chrono_specs() [all...] |
/llvm-project/llvm/test/Transforms/InstCombine/ |
H A D | cttz.ll | 12 ; CHECK-NEXT: [[TZ:%.*]] = zext nneg i16 [[TMP1]] to i32 13 ; CHECK-NEXT: ret i32 [[TZ]] 16 %tz = call i32 @llvm.cttz.i32(i32 %z, i1 true) 17 ret i32 %tz 23 ; CHECK-NEXT: [[TZ:%.*]] = call range(i32 0, 33) i32 @llvm.cttz.i32(i32 [[Z]], i1 false) 24 ; CHECK-NEXT: ret i32 [[TZ]] 27 %tz = call i32 @llvm.cttz.i32(i32 %z, i1 false) 28 ret i32 %tz 35 ; CHECK-NEXT: [[TZ:%.*]] = call range(i32 0, 33) i32 @llvm.cttz.i32(i32 [[Z]], i1 true) 36 ; CHECK-NEXT: ret i32 [[TZ]] [all...] |
H A D | cmp-intrinsic.ll | 260 %tz = tail call i33 @llvm.cttz.i33(i33 %x, i1 false) 261 %cmp = icmp ne i33 %tz, 33 281 %tz = tail call i33 @llvm.cttz.i33(i33 %x, i1 false) 282 %cmp = icmp eq i33 %tz, 0 302 %tz = tail call i33 @llvm.cttz.i33(i33 %x, i1 false) 303 %cmp = icmp eq i33 %tz, 32 323 %tz = tail call i33 @llvm.cttz.i33(i33 %x, i1 false) 324 %cmp = icmp eq i33 %tz, 4 341 ; CHECK-NEXT: [[TZ:%.*]] = tail call range(i33 0, 34) i33 @llvm.cttz.i33(i33 [[X:%.*]], i1 false) 342 ; CHECK-NEXT: store i33 [[TZ]], pt [all...] |
/llvm-project/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/ |
H A D | get_info.sys_time.pass.cpp | 120 const std::chrono::time_zone* tz = std::chrono::locate_zone("GMT"); in test_gmt() local 129 tz->get_info(std::chrono::sys_seconds::min())); in test_gmt() 137 tz->get_info(std::chrono::sys_seconds(std::chrono::seconds{0}))); in test_gmt() 146 tz->get_info(std::chrono::sys_seconds::max() - std::chrono::seconds{1})); // max is not valid in test_gmt() 152 const std::chrono::time_zone* tz = std::chrono::locate_zone("GMT"); in test_durations() local 162 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::nanoseconds>{})); in test_durations() 163 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::microseconds>{})); in test_durations() 164 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::milliseconds>{})); in test_durations() 165 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::seconds>{})); in test_durations() 166 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::minutes>{})); in test_durations() [all …]
|
H A D | to_sys_choose.pass.cpp | 35 const std::chrono::time_zone* tz = std::chrono::locate_zone("Etc/GMT+1"); in test_unique() local 37 …assert(tz->to_sys(std::chrono::local_time<std::chrono::nanoseconds>{-1ns}, std::chrono::choose::ea… in test_unique() 40 …assert(tz->to_sys(std::chrono::local_time<std::chrono::microseconds>{0us}, std::chrono::choose::la… in test_unique() 43 assert(tz->to_sys( in test_unique() 51 assert(tz->to_sys( in test_unique() 58 assert(tz->to_sys(std::chrono::local_time<std::chrono::weeks>{}, std::chrono::choose::earliest) == in test_unique() 64 assert(tz->to_sys(std::chrono::local_time<std::chrono::months>{}, std::chrono::choose::latest) == in test_unique() 68 assert(tz->to_sys(std::chrono::local_time<std::chrono::years>{}, std::chrono::choose::earliest) == in test_unique() 77 const std::chrono::time_zone* tz = std::chrono::locate_zone("Europe/Berlin"); in test_nonexistent() local 96 std::chrono::local_info info = tz->get_info(time); in test_nonexistent() [all …]
|
H A D | get_info.local_time.pass.cpp | 109 const std::chrono::time_zone* tz = std::chrono::locate_zone("GMT"); in test_gmt() local 116 tz->get_info(std::chrono::local_seconds::min())); in test_gmt() 125 const std::chrono::time_zone* tz = std::chrono::locate_zone("Etc/GMT-1"); in test_local_time_out_of_range() local 132 tz->get_info(std::chrono::local_seconds::min())); in test_local_time_out_of_range() 139 tz->get_info(std::chrono::local_seconds::min() + 59min + 59s)); in test_local_time_out_of_range() 146 tz->get_info(std::chrono::local_seconds::min() + 1h)); in test_local_time_out_of_range() 150 const std::chrono::time_zone* tz = std::chrono::locate_zone("Etc/GMT+1"); in test_local_time_out_of_range() local 157 tz->get_info(std::chrono::local_seconds::max() - 1s)); in test_local_time_out_of_range() 164 tz->get_info(std::chrono::local_seconds::max() - 1h - 1s)); in test_local_time_out_of_range() 175 const std::chrono::time_zone* tz = std::chrono::locate_zone("Indian/Kerguelen"); in test_indian_kerguelen() local [all …]
|
H A D | to_sys.pass.cpp | 37 const std::chrono::time_zone* tz = std::chrono::locate_zone("Etc/GMT+1"); in test_unique() local 39 assert(tz->to_sys(std::chrono::local_time<std::chrono::nanoseconds>{-1ns}) == in test_unique() 42 assert(tz->to_sys(std::chrono::local_time<std::chrono::microseconds>{0us}) == in test_unique() 45 assert(tz->to_sys(std::chrono::local_time<std::chrono::seconds>{ in test_unique() 51 assert(tz->to_sys(std::chrono::local_time<std::chrono::days>{ in test_unique() 56 assert(tz->to_sys(std::chrono::local_time<std::chrono::weeks>{}) == in test_unique() 69 const std::chrono::time_zone* tz = std::chrono::locate_zone("Europe/Berlin"); in test_nonexistent() local 86 std::chrono::local_info info = tz->get_info(time); in test_nonexistent() 101 tz->to_sys(time + 0ns)); in test_nonexistent() 115 tz in test_nonexistent() 153 const std::chrono::time_zone* tz = std::chrono::locate_zone("Europe/Berlin"); test_ambiguous() local [all...] |
H A D | to_local.pass.cpp | 37 const std::chrono::time_zone* tz = std::chrono::locate_zone("Etc/GMT+1"); in main() local 39 assert(tz->to_local(std::chrono::sys_time<std::chrono::nanoseconds>{-1ns}) == in main() 42 assert(tz->to_local(std::chrono::sys_time<std::chrono::microseconds>{0us}) == in main() 45 assert(tz->to_local( in main() 51 …tz->to_local(std::chrono::sys_time<std::chrono::days>{std::chrono::sys_days{std::chrono::January /… in main() 55 assert(tz->to_local(std::chrono::sys_time<std::chrono::weeks>{}) == in main() 59 assert(tz->to_local(std::chrono::sys_time<std::chrono::months>{}) == in main() 63 assert(tz->to_local(std::chrono::sys_time<std::chrono::years>{}) == in main()
|
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A D | deterministic-archive.test | 12 # RUN: env TZ=GMT llvm-ar tv %t.2D.a | FileCheck %s --check-prefix=CHECK-DETERMINISTIC 14 # RUN: env TZ=GMT llvm-ar tv %t.2U.a | FileCheck %s --check-prefix=CHECK-NONDETERMINISTIC 17 # RUN: env TZ=GMT llvm-ar tv %t.3D.a | FileCheck %s --check-prefix=CHECK-DETERMINISTIC 19 # RUN: env TZ=GMT llvm-ar tv %t.3U.a | FileCheck %s --check-prefix=CHECK-NONDETERMINISTIC 23 # RUN: env TZ=GMT llvm-ar tv %t.4D.a | FileCheck %s --check-prefix=CHECK-DETERMINISTIC 25 # RUN: env TZ=GMT llvm-ar tv %t.4U.a | FileCheck %s --check-prefix=CHECK-NONDETERMINISTIC 28 # RUN: env TZ=GMT llvm-ar tv %t.5D.a | FileCheck %s --check-prefix=CHECK-DETERMINISTIC 30 # RUN: env TZ=GMT llvm-ar tv %t.5U.a | FileCheck %s --check-prefix=CHECK-NONDETERMINISTIC 34 # RUN: env TZ=GMT llvm-ar tv %t.6.a | FileCheck %s --check-prefix=CHECK-DETERMINISTIC 36 # RUN: env TZ=GMT llvm-ar tv %t.7.a | FileCheck %s --check-prefix=CHECK-DETERMINISTIC [all …]
|
H A D | compress-debug-sections.test | 6 # RUN: llvm-objcopy --compress-debug-sections=zlib %t.o %tz.o 7 # RUN: cp %tz.o %tz.copy.o 9 # RUN: llvm-objcopy --decompress-debug-sections %tz.o %t2.o 18 # RUN: cmp %tz.o %tz.copy.o
|
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.info/time.zone.info.sys/ |
H A D | ostream.pass.cpp | 54 namespace tz = std::chrono; in test() 56 test(SV("[-10484-10-16 15:30:08, 14423-03-17 15:30:07) 00:00:00 0min \"TZ\""), in test() 57 tz::sys_info{tz::sys_seconds::min(), tz::sys_seconds::max(), 0s, 0min, "TZ"}); in test() 60 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test() 61 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test()
|
/llvm-project/libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/ |
H A D | current_zone.pass.cpp | 36 int status = _putenv_s("TZ", zone.c_str()); in set_tz() 42 int status = setenv("TZ", zone.c_str(), 1); in set_tz() 49 const std::chrono::time_zone* tz = std::chrono::current_zone(); in test_zone() 50 assert(tz); in test_zone() 51 assert(tz->name() == zone); in test_zone() 56 const std::chrono::time_zone* tz = std::chrono::current_zone(); in test_link() 57 assert(tz); in test_link() 58 assert(tz->name() == zone); in test_link() 62 const std::chrono::time_zone* tz = std::chrono::current_zone(); in main() 64 assert(tz); in main() 48 const std::chrono::time_zone* tz = std::chrono::current_zone(); test_zone() local 55 const std::chrono::time_zone* tz = std::chrono::current_zone(); test_link() local 61 const std::chrono::time_zone* tz = std::chrono::current_zone(); main() local [all...] |
H A D | locate_zone.pass.cpp | 28 const std::chrono::time_zone* tz = std::chrono::locate_zone(zone); in test_zone() local 29 assert(tz); in test_zone() 30 assert(tz->name() == zone); in test_zone() 34 const std::chrono::time_zone* tz = std::chrono::locate_zone(link); in test_link() local 35 assert(tz); in test_link() 36 assert(tz->name() == zone); in test_link()
|
/llvm-project/libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/ |
H A D | current_zone.pass.cpp | 37 int status = _putenv_s("TZ", zone.c_str()); in set_tz() 43 int status = setenv("TZ", zone.c_str(), 1); in set_tz() 50 const std::chrono::time_zone* tz = std::chrono::get_tzdb().current_zone(); in test_zone() local 51 assert(tz); in test_zone() 52 assert(tz->name() == zone); in test_zone() 57 const std::chrono::time_zone* tz = std::chrono::get_tzdb().current_zone(); in test_link() local 58 assert(tz); in test_link() 59 assert(tz->name() == zone); in test_link() 63 const std::chrono::time_zone* tz = std::chrono::get_tzdb().current_zone(); in main() local 65 assert(tz); in main() [all …]
|
H A D | locate_zone.pass.cpp | 30 const std::chrono::time_zone* tz = std::chrono::get_tzdb().locate_zone(zone); in test_zone() local 31 assert(tz); in test_zone() 32 assert(tz->name() == zone); in test_zone() 36 const std::chrono::time_zone* tz = std::chrono::get_tzdb().locate_zone(link); in test_link() local 37 assert(tz); in test_link() 38 assert(tz->name() == zone); in test_link()
|
/llvm-project/mlir/test/Dialect/GPU/ |
H A D | decompose-memrefs.mlir | 8 // CHECK-SAME: threads(%[[TX:.*]], %[[TY:.*]], %[[TZ:.*]]) in 9 // CHECK: %[[IDX:.*]] = affine.apply #[[MAP]]()[%[[TX]], %[[STRIDES]]#0, %[[TY]], %[[STRIDES]]#1, %[[TZ]]] 20 threads(%tx, %ty, %tz) in (%block_x = %block_dim0, %block_y = %block_dim1, %block_z = %block_dim2) { 21 memref.store %arg0, %arg1[%tx, %ty, %tz] : memref<?x?x?xf32> 34 // CHECK-SAME: threads(%[[TX:.*]], %[[TY:.*]], %[[TZ:.*]]) in 35 // CHECK: %[[IDX:.*]] = affine.apply #[[MAP]]()[%[[OFFSET]], %[[TX]], %[[STRIDES]]#0, %[[TY]], %[[STRIDES]]#1, %[[TZ]], %[[STRIDES]]#2] 46 threads(%tx, %ty, %tz) in (%block_x = %block_dim0, %block_y = %block_dim1, %block_z = %block_dim2) { 47 memref.store %arg0, %arg1[%tx, %ty, %tz] : memref<?x?x?xf32, strided<[?, ?, ?], offset: ?>> 60 // CHECK-SAME: threads(%[[TX:.*]], %[[TY:.*]], %[[TZ:.*]]) in 61 // CHECK: %[[IDX:.*]] = affine.apply #[[MAP]]()[%[[TX]], %[[STRIDES]]#0, %[[TY]], %[[STRIDES]]#1, %[[TZ]]] [all...] |
/llvm-project/libcxx/test/libcxx/diagnostics/ |
H A D | chrono.nodiscard.verify.cpp | 24 void test(std::chrono::time_zone tz, std::chrono::time_zone_link link, std::chrono::leap_second leap) { 49 tz.name(); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 50 tz.get_info(s); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 51 tz.get_info(l); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 52 tz.to_sys(l); // not nodiscard in test() 53 tz.to_sys(l, z); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 54 operator==(tz, tz); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 55 operator<=>(tz, tz); // expecte in test() [all...] |
/llvm-project/llvm/test/tools/llvm-ranlib/ |
H A D | D-flag.test | 3 ## Important: all `llvm-ar tv` calls must use TZ=UTC to produce identical values 5 # RUN: env TZ=UTC touch -t 200001020304 %t.o 9 # RUN: env TZ=UTC llvm-ar tv %t-no-index.a | FileCheck %s --check-prefix=REAL-VALUES 13 # RUN: env TZ=UTC llvm-ar tv %t.a | FileCheck %s --check-prefix=DETERMINISTIC-VALUES 17 # RUN: env TZ=UTC llvm-ar tv %t.a | FileCheck %s --check-prefix=REAL-VALUES 21 # RUN: env TZ=UTC llvm-ar tv %t.a | FileCheck %s --check-prefix=REAL-VALUES 23 # RUN: env TZ=UTC llvm-ar tv %t.a | FileCheck %s --check-prefix=DETERMINISTIC-VALUES 28 # RUN: env TZ=UTC llvm-ar tv %t.a | FileCheck %s --check-prefix=REAL-VALUES 29 # RUN: env TZ=UTC llvm-ar tv %t2.a | FileCheck %s --check-prefix=REAL-VALUES
|
/llvm-project/.github/workflows/ |
H A D | docs.yml | 125 TZ=UTC ninja -C llvm-build docs-llvm-html docs-llvm-man 134 TZ=UTC ninja -C clang-build docs-clang-html docs-clang-man 143 TZ=UTC ninja -C clang-tools-extra-build docs-clang-tools-html docs-clang-tools-man 152 TZ=UTC ninja -C lldb-build docs-lldb-html docs-lldb-man 161 TZ=UTC ninja -C libunwind-build docs-libunwind-html 170 TZ=UTC ninja -C libcxx-build docs-libcxx-html 179 TZ=UTC ninja -C libc-build docs-libc-html 188 TZ=UTC ninja -C lld-build docs-lld-html 197 TZ=UTC ninja -C openmp-build docs-openmp-html 206 TZ [all...] |
/llvm-project/llvm/test/Object/ |
H A D | archive-toc.test | 4 RUN: env TZ=GMT llvm-ar tv Inputs/GNU.a | FileCheck %s --check-prefix=GNU -strict-whitespace 13 RUN: env TZ=GMT llvm-ar tv Inputs/MacOSX.a | FileCheck %s --check-prefix=OSX -strict-whitespace 22 RUN: env TZ=GMT llvm-ar tv Inputs/SVR4.a | FileCheck %s -strict-whitespace 25 RUN: env TZ=GMT llvm-ar tv Inputs/xpg4.a | FileCheck %s -strict-whitespace 33 RUN: env TZ=GMT llvm-ar tv Inputs/thin.a | FileCheck %s --check-prefix=THIN -strict-whitespace 45 RUN: env TZ=GMT llvm-ar tv Inputs/thin-path.a | FileCheck %s --check-prefix=THINPATH -strict-whites… 57 RUN: env TZ=GMT llvm-ar tvO Inputs/GNU.a | FileCheck %s --check-prefix=GNU-VO --strict-whitespace
|
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.db/time.zone.db.tzdb/ |
H A D | locate_zone.pass.cpp | 63 const std::chrono::time_zone* tz = tzdb.locate_zone("zone"); in main() local 64 assert(tz); in main() 65 assert(tz->name() == "zone"); in main() 68 const std::chrono::time_zone* tz = tzdb.locate_zone("link"); in main() local 69 assert(tz); in main() 70 assert(tz->name() == "zone"); in main()
|
/llvm-project/llvm/test/tools/llvm-libtool-darwin/ |
H A D | deterministic-library.test | 12 # RUN: env TZ=GMT llvm-ar tv %t.lib | FileCheck %s --check-prefix=CHECK-DETERMINISTIC 16 # RUN: env TZ=GMT llvm-ar tv %t.lib | FileCheck %s --check-prefix=CHECK-DETERMINISTIC 22 # RUN: env TZ=GMT llvm-ar tv %t.lib | FileCheck %s --check-prefix=CHECK-NONDETERMINISTIC 28 # RUN: env TZ=GMT llvm-ar tv %t.lib | FileCheck %s --check-prefix=CHECK-DETERMINISTIC 32 # RUN: env TZ=GMT llvm-ar tv %t.lib | FileCheck %s --check-prefix=CHECK-NONDETERMINISTIC
|
/llvm-project/llvm/test/MC/Disassembler/ARM/ |
H A D | arm-thumb-trustzone.txt | 2 …bv7-apple-darwin -mcpu=cortex-a8 -disassemble -mattr=trustzone < %s | FileCheck %s -check-prefix=TZ 15 # TZ: smc #15 16 # TZ: ite eq 17 # TZ: smceq #0
|