| /llvm-project-15.0.7/libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/ |
| H A D | formatter.c_string.pass.cpp | 29 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 72 std::basic_string<CharT> s(CSTR("abc\0abc"), 7); in test_char_pointer() 77 CSTR("world")); in test_char_pointer() 80 CSTR("world")); in test_char_pointer() 82 CSTR("world")); in test_char_pointer() 84 CSTR("world")); in test_char_pointer() 86 CSTR("world")); in test_char_pointer() 89 CSTR("world")); in test_char_pointer() 91 CSTR("universe")); in test_char_pointer() 94 CSTR("world")); in test_char_pointer() [all …]
|
| H A D | formatter.const_char_array.pass.cpp | 30 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 94 std::basic_string<CharT> s(CSTR("abc\0abc"), 7); in test_array()
|
| H A D | formatter.char_array.pass.cpp | 29 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 89 std::basic_string<CharT> s(CSTR("abc\0abc"), 7); in test_array()
|
| H A D | formatter.string.pass.cpp | 31 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 83 std::basic_string<CharT> s(CSTR("abc\0abc"), 7); in test_string_type()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/format/format.fmt.string/ |
| H A D | get.pass.cpp | 31 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 36 assert((std::basic_format_string<CharT>{CSTR("foo")}.get() == SV("foo"))); in test() 37 assert((std::basic_format_string<CharT, int>{CSTR("{}")}.get() == SV("{}"))); in test() 38 …assert((std::basic_format_string<CharT, int, float>{CSTR("{} {:01.23L}")}.get() == SV("{} {:01.23L… in test()
|
| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | format_to.bench.cpp | 21 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 33 benchmark::DoNotOptimize(std::format_to(std::back_inserter(output), CSTR("{}"), str)); in BM_format_to_string_back_inserter() 48 benchmark::DoNotOptimize(std::format_to(std::begin(output), CSTR("{}"), str)); in BM_format_to_string_begin() 63 benchmark::DoNotOptimize(std::format_to(std::begin(output), CSTR("{}"), str)); in BM_format_to_string_span() 76 benchmark::DoNotOptimize(std::format_to(output, CSTR("{}"), str)); in BM_format_to_string_pointer()
|
| H A D | format_to_n.bench.cpp | 21 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 33 benchmark::DoNotOptimize(std::format_to_n(std::back_inserter(output), size, CSTR("{}"), str)); in BM_format_to_n_string_back_inserter() 48 benchmark::DoNotOptimize(std::format_to_n(std::begin(output), size, CSTR("{}"), str)); in BM_format_to_n_string_begin() 63 benchmark::DoNotOptimize(std::format_to_n(std::begin(output), size, CSTR("{}"), str)); in BM_format_to_n_string_span() 76 benchmark::DoNotOptimize(std::format_to_n(output, size, CSTR("{}"), str)); in BM_format_to_n_string_pointer()
|
| H A D | formatted_size.bench.cpp | 15 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 23 benchmark::DoNotOptimize(std::formatted_size(CSTR("{}"), str)); in BM_formatted_size_string()
|
| H A D | format.bench.cpp | 15 #define CSTR(S) MAKE_CSTRING(CharT, S) macro 23 benchmark::DoNotOptimize(std::format(CSTR("{}"), str)); in BM_format_string()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | 2010-05-30-memcpy-Struct.ll | 15 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast %union.anon* [[EV:%.*]] to i8* 16 …8* noundef nonnull dereferenceable(1) [[SRC:%.*]], i8* noundef nonnull dereferenceable(1) [[CSTR]])
|
| H A D | stpcpy-1.ll | 86 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i8** [[P:%.*]] to i8* 88 ; CHECK-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* [[CSTR]], i8* [[CSTR1]])
|
| H A D | simplify-libcalls.ll | 12 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32* [[X:%.*]] to i8* 13 …(i8* noundef nonnull dereferenceable(1) [[P:%.*]], i8* noundef nonnull dereferenceable(1) [[CSTR]])
|
| /llvm-project-15.0.7/llvm/test/Transforms/MergeICmps/X86/ |
| H A D | pair-int32-int32.ll | 12 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8* 14 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 8) 72 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8* 74 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 8)
|
| H A D | gep-references-bb.ll | 25 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8* 27 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 8)
|
| H A D | alias-merge-blocks.ll | 13 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8* 15 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 16)
|
| H A D | int64-and-ptr.ll | 15 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i64* [[TMP0]] to i8* 17 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 16)
|
| H A D | split-block-does-work.ll | 15 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8* 17 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 16) 151 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8* 153 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 16) 214 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP2]] to i8* 216 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 12)
|
| H A D | entry-block-shuffled.ll | 22 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP5]] to i8* 24 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR2]], i64 8)
|
| H A D | pr41917.ll | 21 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8* 23 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i32 8)
|
| H A D | entry-block-shuffled-2.ll | 21 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32** [[TMP0]] to i8* 23 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR2]], i64 16)
|
| H A D | multiple-blocks-does-work.ll | 30 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP4]] to i8* 32 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 8)
|
| H A D | addressspaces.ll | 17 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i64* [[TMP0]] to i8* 19 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 16)
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/format/format.functions/ |
| H A D | format_tests.h | 30 #define CSTR(S) MAKE_CSTRING(CharT, S) macro
|