/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-suspicious-memset-usage.cpp | 3 void *memset(void *, int, __SIZE_TYPE__); 6 using ::memset; 11 memset(ptr, '0', sizeof(T)); in mtempl() 14 memset(ptr, 256, sizeof(T)); in mtempl() 16 memset(0, sizeof(T), 0); in mtempl() 19 memset(0, sizeof(int), 0); in mtempl() 33 memset(p, '0', l); in foo() 37 memset(p, 0xabcd, l); in foo() 40 memset(p, sizeof(int), 0); in foo() 43 std::memset(p, sizeof(int), 0x00); in foo() [all …]
|
D | bugprone-undefined-memory-manipulation.cpp | 3 void *memset(void *, int, __SIZE_TYPE__); 10 using ::memset; 62 memset(s, 0, 5); in f() 67 memset(b, 0, sizeof(T)); in memset_temp() 96 memset(&vf, 0, sizeof(int)); in notTriviallyCopyable() 98 memset(&d, 0, sizeof(int)); in notTriviallyCopyable() 100 memset(&c, 0, sizeof(int)); in notTriviallyCopyable() 102 std::memset(&m, 0, sizeof(int)); in notTriviallyCopyable() 104 ::memset(&vb, 0, sizeof(int)); in notTriviallyCopyable() 129 #define MEMSET memset(&vf, 0, sizeof(int)); in notTriviallyCopyable() [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-memset-bad-sizeof.cpp | 3 extern "C" void *memset(void *, int, unsigned); 37 memset(&s, 0, sizeof(&s)); // \ in f() 39 memset(ps, 0, sizeof(ps)); // \ in f() 41 memset(ps2, 0, sizeof(ps2)); // \ in f() 43 memset(ps2, 0, sizeof(typeof(ps2))); // \ in f() 45 memset(ps2, 0, sizeof(PS)); // \ in f() 47 memset(heap_buffer, 0, sizeof(heap_buffer)); // \ in f() 61 memset((void*)&s, 0, sizeof(&s)); in f() 62 memset(&s, 0, sizeof(s)); in f() 63 memset(&s, 0, sizeof(S)); in f() [all …]
|
D | warn-bad-memaccess.cpp | 3 extern "C" void *memset(void *, int, unsigned); 11 void *memset(void *, int, unsigned); 33 memset(&x1, 0, sizeof x1); // \ in test_warn() 36 memset(x1arr, 0, sizeof x1arr); // \ in test_warn() 39 memset((void*)x1arr, 0, sizeof x1arr); in test_warn() 40 memset(&x2, 0, sizeof x2); // \ in test_warn() 105 memset(&contains_dynamic, 0, sizeof(contains_dynamic)); in test_warn() 108 memset(&deep_contains_dynamic, 0, sizeof(deep_contains_dynamic)); in test_warn() 111 memset(&contains_array_dynamic, 0, sizeof(contains_array_dynamic)); in test_warn() 119 memset(&i, 0, sizeof i); in test_nowarn() [all …]
|
/external/llvm-project/clang/test/Sema/ |
D | transpose-memset.c | 4 #define memset(...) __builtin_memset(__VA_ARGS__) macro 12 …memset(array, sizeof(array), 0); // expected-warning{{'size' argument to memset is '0'; did you me… in main() 13 …memset(array, sizeof(array), 0xff); // expected-warning{{setting buffer to a 'sizeof' expression; … in main() 14 …memset(ptr, sizeof(ptr), 0); // expected-warning{{'size' argument to memset is '0'; did you mean t… in main() 15 …memset(ptr, sizeof(*ptr) * 10, 1); // expected-warning{{setting buffer to a 'sizeof' expression; d… in main() 16 …memset(ptr, 10 * sizeof(int *), 1); // expected-warning{{setting buffer to a 'sizeof' expression; … in main() 17 …memset(ptr, 10 * sizeof(int *) + 10, 0xff); // expected-warning{{setting buffer to a 'sizeof' expr… in main() 18 …memset(ptr, sizeof(char) * sizeof(int *), 0xff); // expected-warning{{setting buffer to a 'sizeof'… in main() 19 memset(array, sizeof(array), sizeof(array)); // Uh... fine I guess. in main() 20 memset(array, 0, sizeof(array)); in main() [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-memset-bad-sizeof.cpp | 4 extern "C" void *memset(void *, int, unsigned); 38 memset(&s, 0, sizeof(&s)); // \ in f() 40 memset(ps, 0, sizeof(ps)); // \ in f() 42 memset(ps2, 0, sizeof(ps2)); // \ in f() 44 memset(ps2, 0, sizeof(typeof(ps2))); // \ in f() 46 memset(ps2, 0, sizeof(PS)); // \ in f() 48 memset(heap_buffer, 0, sizeof(heap_buffer)); // \ in f() 75 memset((void*)&s, 0, sizeof(&s)); in f() 76 memset(&s, 0, sizeof(s)); in f() 77 memset(&s, 0, sizeof(S)); in f() [all …]
|
D | warn-bad-memaccess.cpp | 3 extern "C" void *memset(void *, int, unsigned); 12 void *memset(void *, int, unsigned); 34 memset(&x1, 0, sizeof x1); // \ in test_warn() 37 memset(x1arr, 0, sizeof x1arr); // \ in test_warn() 40 memset((void*)x1arr, 0, sizeof x1arr); in test_warn() 41 memset(&x2, 0, sizeof x2); // \ in test_warn() 112 memset(&contains_dynamic, 0, sizeof(contains_dynamic)); in test_warn() 115 memset(&deep_contains_dynamic, 0, sizeof(deep_contains_dynamic)); in test_warn() 118 memset(&contains_array_dynamic, 0, sizeof(contains_array_dynamic)); in test_warn() 126 memset(&i, 0, sizeof i); in test_nowarn() [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | memset-1.ll | 2 ; Test that the memset library call simplifier works correctly. 8 declare i8* @memset(i8*, i32, i32) 9 declare void @llvm.memset.p0i8.i32(i8* nocapture writeonly, i8, i32, i32, i1) 12 ; Check memset(mem1, val, size) -> llvm.memset(mem1, val, size, 1). 17 ; CHECK-NEXT: call void @llvm.memset.p0i8.i32(i8* align 1 [[MEM:%.*]], i8 [[TMP1]], i32 [[SIZE:%… 20 %ret = call i8* @memset(i8* %mem, i32 %val, i32 %size) 30 %call2 = call i8* @memset(i8* %call1, i32 0, i32 %size) #1 34 ; FIXME: A memset intrinsic should be handled similarly to a memset() libcall. 39 ; CHECK-NEXT: call void @llvm.memset.p0i8.i32(i8* align 1 [[CALL]], i8 0, i32 [[N]], i1 false) 43 call void @llvm.memset.p0i8.i32(i8* %call, i8 0, i32 %n, i32 1, i1 false) [all …]
|
/external/pdfium/core/fxcodec/jpx/ |
D | jpx_unittest.cpp | 40 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 45 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 67 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 72 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 95 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 111 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 118 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 123 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 134 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 146 memset(buffer, 0xbd, sizeof(buffer)); in TEST() [all …]
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_fec_unittest.cc | 278 memset(this->media_loss_mask_, 0, sizeof(this->media_loss_mask_)); in TYPED_TEST() 279 memset(this->fec_loss_mask_, 0, sizeof(this->fec_loss_mask_)); in TYPED_TEST() 308 memset(this->media_loss_mask_, 0, sizeof(this->media_loss_mask_)); in TYPED_TEST() 309 memset(this->fec_loss_mask_, 0, sizeof(this->fec_loss_mask_)); in TYPED_TEST() 322 memset(this->media_loss_mask_, 0, sizeof(this->media_loss_mask_)); in TYPED_TEST() 323 memset(this->fec_loss_mask_, 0, sizeof(this->fec_loss_mask_)); in TYPED_TEST() 363 memset(this->fec_loss_mask_, 0, sizeof(this->fec_loss_mask_)); in TYPED_TEST() 375 memset(this->media_loss_mask_, 0, sizeof(this->media_loss_mask_)); in TYPED_TEST() 386 memset(this->media_loss_mask_, 0, sizeof(this->media_loss_mask_)); in TYPED_TEST() 425 memset(this->media_loss_mask_, 0, sizeof(this->media_loss_mask_)); in TYPED_TEST() [all …]
|
/external/llvm-project/clang/test/Analysis/ |
D | null-deref-ps-region.c | 10 void *memset(void *__s, int __c, size_t __n); 28 memset(x, 0, sizeof(int)); in foo() 35 memset(x, 0, 1); in bar() 42 …memset(x, 0, 1); // expected-warning {{Null pointer passed as 1st argument to memory set function}} in testConcreteNull() 47 memset(buf, 0, 1); // no-warning in testStackArray() 52 memset(buf, 0, 1); // no-warning in testHeapSymbol() 58 memset(buf, 0, 1024); in testStackArrayOutOfBound() 65 memset(buf, 0, 1024); in testHeapSymbolOutOfBound() 72 memset(buf, 0, sizeof(buf)); // no-warning in testStackArraySameSize() 77 memset(buf, 0, 1); // no-warning in testHeapSymbolSameSize()
|
/external/webrtc/common_audio/signal_processing/ |
D | resample_48khz.c | 55 memset(state->S_48_48, 0, 16 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo16khz() 56 memset(state->S_48_32, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo16khz() 57 memset(state->S_32_16, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo16khz() 93 memset(state->S_16_32, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample16khzTo48khz() 94 memset(state->S_32_24, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample16khzTo48khz() 95 memset(state->S_24_48, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample16khzTo48khz() 137 memset(state->S_48_24, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo8khz() 138 memset(state->S_24_24, 0, 16 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo8khz() 139 memset(state->S_24_16, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo8khz() 140 memset(state->S_16_8, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo8khz() [all …]
|
/external/libsrtp2/test/ |
D | test_srtp.c | 98 memset((v128_t *)&zero_vector, 0, sizeof(v128_t)); in srtp_calc_aead_iv_srtcp_all_zero_input_yield_zero_output() 101 memset(&session_keys, 0, sizeof(srtp_session_keys_t)); in srtp_calc_aead_iv_srtcp_all_zero_input_yield_zero_output() 102 memset(&init_vector, 0, sizeof(v128_t)); in srtp_calc_aead_iv_srtcp_all_zero_input_yield_zero_output() 103 memset(&header, 0, sizeof(srtcp_hdr_t)); in srtp_calc_aead_iv_srtcp_all_zero_input_yield_zero_output() 127 memset(&session_keys, 0, sizeof(srtp_session_keys_t)); in srtp_calc_aead_iv_srtcp_seq_num_over_0x7FFFFFFF_bad_param() 128 memset(&init_vector, 0, sizeof(v128_t)); in srtp_calc_aead_iv_srtcp_seq_num_over_0x7FFFFFFF_bad_param() 129 memset(&header, 0, sizeof(srtcp_hdr_t)); in srtp_calc_aead_iv_srtcp_seq_num_over_0x7FFFFFFF_bad_param() 158 memset(&output_iv, 0, SAMPLE_COUNT * sizeof(v128_t)); in srtp_calc_aead_iv_srtcp_distinct_iv_per_sequence_number() 164 memset(&final_iv, 0, SAMPLE_COUNT * sizeof(v128_t)); in srtp_calc_aead_iv_srtcp_distinct_iv_per_sequence_number() 170 memset(&session_keys, 0, sizeof(srtp_session_keys_t)); in srtp_calc_aead_iv_srtcp_distinct_iv_per_sequence_number() [all …]
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_AUDOUT.c | 57 memset(&audioout, 0xff, sizeof(audioout)); in test_VIDIOC_G_AUDOUT() 83 memset(&audioout2, 0, sizeof(audioout2)); in test_VIDIOC_G_AUDOUT() 107 memset(&audioout2, 0xff, sizeof(audioout2)); in test_VIDIOC_G_AUDOUT() 124 memset(&audioout, 0, sizeof(audioout)); in test_VIDIOC_G_AUDOUT_ignore_index() 131 memset(&audioout2, 0, sizeof(audioout2)); in test_VIDIOC_G_AUDOUT_ignore_index() 158 memset(&audioout, 0xff, sizeof(audioout)); in test_VIDIOC_G_AUDOUT_NULL() 207 memset(&audioout_orig, 0, sizeof(audioout_orig)); in test_VIDIOC_S_AUDOUT() 225 memset(&audioout_enum, 0, sizeof(audioout_enum)); in test_VIDIOC_S_AUDOUT() 232 memset(&audioout_set, 0xff, sizeof(audioout_set)); in test_VIDIOC_S_AUDOUT() 253 memset(&audioout_set, 0xff, sizeof(audioout_set)); in test_VIDIOC_S_AUDOUT() [all …]
|
D | test_VIDIOC_ENUM_FMT.c | 51 memset(&format, 0xff, sizeof(format)); in do_enumerate_formats() 82 memset(&format2, 0, sizeof(format2)); in do_enumerate_formats() 107 memset(&format2, 0xff, sizeof(format2)); in do_enumerate_formats() 139 memset(&format, 0xff, sizeof(format)); in test_VIDIOC_ENUM_FMT_S32_MAX() 154 memset(&format2, 0xff, sizeof(format2)); in test_VIDIOC_ENUM_FMT_S32_MAX() 167 memset(&format, 0xff, sizeof(format)); in test_VIDIOC_ENUM_FMT_S32_MAX_1() 182 memset(&format2, 0xff, sizeof(format2)); in test_VIDIOC_ENUM_FMT_S32_MAX_1() 195 memset(&format, 0xff, sizeof(format)); in test_VIDIOC_ENUM_FMT_U32_MAX() 210 memset(&format2, 0xff, sizeof(format2)); in test_VIDIOC_ENUM_FMT_U32_MAX() 228 memset(&format, 0xff, sizeof(format)); in test_VIDIOC_ENUM_FMT_invalid_type() [all …]
|
D | test_VIDIOC_AUDIO.c | 70 memset(&audio, 0xff, sizeof(audio)); in test_VIDIOC_G_AUDIO() 96 memset(&audio2, 0, sizeof(audio2)); in test_VIDIOC_G_AUDIO() 118 memset(&audio2, 0xff, sizeof(audio2)); in test_VIDIOC_G_AUDIO() 134 memset(&audio, 0, sizeof(audio)); in test_VIDIOC_G_AUDIO_ignore_index() 142 memset(&audio2, 0, sizeof(audio2)); in test_VIDIOC_G_AUDIO_ignore_index() 168 memset(&audio, 0xff, sizeof(audio)); in test_VIDIOC_G_AUDIO_NULL() 216 memset(&audio_orig, 0, sizeof(audio_orig)); in test_VIDIOC_S_AUDIO() 234 memset(&audio_enum, 0, sizeof(audio_enum)); in test_VIDIOC_S_AUDIO() 240 memset(&audio_set, 0xff, sizeof(audio_set)); in test_VIDIOC_S_AUDIO() 260 memset(&audio_set, 0xff, sizeof(audio_set)); in test_VIDIOC_S_AUDIO() [all …]
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | bugprone-suspicious-memset-usage.rst | 1 .. title:: clang-tidy - bugprone-suspicious-memset-usage 3 bugprone-suspicious-memset-usage 6 This check finds ``memset()`` calls with potential mistakes in their arguments. 7 Considering the function as ``void* memset(void* destination, int fill_value, 25 Calling memset with a literal zero in its ``byte_count`` argument is likely 29 Corresponding cpplint.py check name: ``runtime/memset``. 44 memset(ip, '0', 1); // suspicious 45 memset(cp, '0', 1); // OK 48 memset(ip, 0xabcd, 1); // fill value gets truncated 49 memset(ip, 0x00, 1); // OK [all …]
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | memset-03.ll | 5 declare void @llvm.memset.p0i8.i32(i8 *nocapture, i8, i32, i1) nounwind 6 declare void @llvm.memset.p0i8.i64(i8 *nocapture, i8, i64, i1) nounwind 13 call void @llvm.memset.p0i8.i32(i8* %dest, i8 0, i32 0, i1 false) 22 call void @llvm.memset.p0i8.i64(i8* %dest, i8 0, i64 0, i1 false) 31 call void @llvm.memset.p0i8.i32(i8* %dest, i8 0, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8* %dest, i8 0, i64 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8* %dest, i8 0, i32 2, i1 false) 58 call void @llvm.memset.p0i8.i64(i8* %dest, i8 0, i64 2, i1 false) 68 call void @llvm.memset.p0i8.i32(i8* %dest, i8 0, i32 3, i1 false) 78 call void @llvm.memset.p0i8.i64(i8* %dest, i8 0, i64 3, i1 false) [all …]
|
D | memset-04.ll | 5 declare void @llvm.memset.p0i8.i32(i8 *nocapture, i8, i32, i1) nounwind 6 declare void @llvm.memset.p0i8.i64(i8 *nocapture, i8, i64, i1) nounwind 13 call void @llvm.memset.p0i8.i32(i8* %dest, i8 -1, i32 0, i1 false) 22 call void @llvm.memset.p0i8.i64(i8* %dest, i8 -1, i64 0, i1 false) 31 call void @llvm.memset.p0i8.i32(i8* %dest, i8 -1, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8* %dest, i8 -1, i64 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8* %dest, i8 -1, i32 2, i1 false) 58 call void @llvm.memset.p0i8.i64(i8* %dest, i8 -1, i64 2, i1 false) 68 call void @llvm.memset.p0i8.i32(i8* %dest, i8 -1, i32 3, i1 false) 78 call void @llvm.memset.p0i8.i64(i8* %dest, i8 -1, i64 3, i1 false) [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | memset-03.ll | 5 declare void @llvm.memset.p0i8.i32(i8 *nocapture, i8, i32, i32, i1) nounwind 6 declare void @llvm.memset.p0i8.i64(i8 *nocapture, i8, i64, i32, i1) nounwind 13 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 0, i32 1, i1 false) 22 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 0, i32 1, i1 false) 31 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 1, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 1, i32 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 2, i32 1, i1 false) 58 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 2, i32 1, i1 false) 68 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 3, i32 1, i1 false) 78 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 3, i32 1, i1 false) [all …]
|
D | memset-04.ll | 5 declare void @llvm.memset.p0i8.i32(i8 *nocapture, i8, i32, i32, i1) nounwind 6 declare void @llvm.memset.p0i8.i64(i8 *nocapture, i8, i64, i32, i1) nounwind 13 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 -1, i32 0, i32 1, i1 false) 22 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 -1, i64 0, i32 1, i1 false) 31 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 -1, i32 1, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 -1, i64 1, i32 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 -1, i32 2, i32 1, i1 false) 58 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 -1, i64 2, i32 1, i1 false) 68 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 -1, i32 3, i32 1, i1 false) 78 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 -1, i64 3, i32 1, i1 false) [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-memset-to-bzero.ll | 5 ; <rdar://problem/14199482> ARM64: Calls to bzero() replaced with calls to memset() 8 ; For small size (<= 256), we do not change memset to bzero. 9 ; CHECK: memset 12 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 256, i32 1, i1 false) 16 declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) 21 ; CHECK-LINUX: memset 24 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 257, i32 1, i1 false) 31 ; CHECK-LINUX: memset 35 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 %conv, i32 1, i1 false) 41 ; CHECK: memset [all …]
|
/external/igt-gpu-tools/tests/i915/ |
D | i915_query.c | 82 memset(&query, 0, sizeof(query)); in test_query_garbage() 91 memset(&item, 0, sizeof(item)); in test_query_garbage() 105 memset(items, 0, sizeof(items)); in test_query_garbage_items() 115 memset(items, 0, sizeof(items)); in test_query_garbage_items() 127 memset(items, 0, sizeof(items)); in test_query_garbage_items() 135 memset(items, 0, sizeof(items)); in test_query_garbage_items() 150 memset(items, 0, sizeof(items)); in test_query_garbage_items() 186 memset(items_ptr, 0, 8192); in test_query_garbage_items() 206 memset(&item, 0, sizeof(item)); in test_query_topology_kernel_writes() 213 memset(_topo_info, 0xff, total_size); in test_query_topology_kernel_writes() [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | arm64-memset-to-bzero-pgso.ll | 3 ; <rdar://problem/14199482> ARM64: Calls to bzero() replaced with calls to memset() 6 ; For small size (<= 256), we do not change memset to bzero. 8 ; CHECK-LINUX: {{b|bl}} memset 11 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 256, i1 false) 15 declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i1) 20 ; CHECK-LINUX: {{b|bl}} memset 23 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 257, i1 false) 30 ; CHECK-LINUX: {{b|bl}} memset 34 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 %conv, i1 false) 41 ; CHECK-LINUX: {{b|bl}} memset [all …]
|
D | arm64-memset-to-bzero.ll | 5 ; <rdar://problem/14199482> ARM64: Calls to bzero() replaced with calls to memset() 8 ; For small size (<= 256), we do not change memset to bzero. 10 ; CHECK-LINUX: {{b|bl}} memset 13 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 256, i1 false) 17 declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i1) 22 ; CHECK-LINUX: {{b|bl}} memset 25 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 257, i1 false) 32 ; CHECK-LINUX: {{b|bl}} memset 36 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 %conv, i1 false) 43 ; CHECK-LINUX: {{b|bl}} memset [all …]
|