Home
last modified time | relevance | path

Searched refs:CSTR (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/
H A Dformatter.c_string.pass.cpp29 #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 Dformatter.const_char_array.pass.cpp30 #define CSTR(S) MAKE_CSTRING(CharT, S) macro
94 std::basic_string<CharT> s(CSTR("abc\0abc"), 7); in test_array()
H A Dformatter.char_array.pass.cpp29 #define CSTR(S) MAKE_CSTRING(CharT, S) macro
89 std::basic_string<CharT> s(CSTR("abc\0abc"), 7); in test_array()
H A Dformatter.string.pass.cpp31 #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 Dget.pass.cpp31 #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 Dformat_to.bench.cpp21 #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 Dformat_to_n.bench.cpp21 #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 Dformatted_size.bench.cpp15 #define CSTR(S) MAKE_CSTRING(CharT, S) macro
23 benchmark::DoNotOptimize(std::formatted_size(CSTR("{}"), str)); in BM_formatted_size_string()
H A Dformat.bench.cpp15 #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 D2010-05-30-memcpy-Struct.ll15 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast %union.anon* [[EV:%.*]] to i8*
16 …8* noundef nonnull dereferenceable(1) [[SRC:%.*]], i8* noundef nonnull dereferenceable(1) [[CSTR]])
H A Dstpcpy-1.ll86 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i8** [[P:%.*]] to i8*
88 ; CHECK-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* [[CSTR]], i8* [[CSTR1]])
H A Dsimplify-libcalls.ll12 ; 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 Dpair-int32-int32.ll12 ; 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 Dgep-references-bb.ll25 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8*
27 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 8)
H A Dalias-merge-blocks.ll13 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8*
15 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 16)
H A Dint64-and-ptr.ll15 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i64* [[TMP0]] to i8*
17 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 16)
H A Dsplit-block-does-work.ll15 ; 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 Dentry-block-shuffled.ll22 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP5]] to i8*
24 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR2]], i64 8)
H A Dpr41917.ll21 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP0]] to i8*
23 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i32 8)
H A Dentry-block-shuffled-2.ll21 ; CHECK-NEXT: [[CSTR:%.*]] = bitcast i32** [[TMP0]] to i8*
23 ; CHECK-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR2]], i64 16)
H A Dmultiple-blocks-does-work.ll30 ; X86-NEXT: [[CSTR:%.*]] = bitcast i32* [[TMP4]] to i8*
32 ; X86-NEXT: [[MEMCMP:%.*]] = call i32 @memcmp(i8* [[CSTR]], i8* [[CSTR1]], i64 8)
H A Daddressspaces.ll17 ; 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 Dformat_tests.h30 #define CSTR(S) MAKE_CSTRING(CharT, S) macro