/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/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_fec_unittest.cc | 110 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 111 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() 137 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 138 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() 150 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 151 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() 186 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() 197 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 233 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 234 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() [all …]
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_jpx_unittest.cpp | 60 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 65 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 87 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 92 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 115 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 131 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 138 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 143 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 154 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 166 memset(buffer, 0xbd, sizeof(buffer)); in TEST() [all …]
|
/external/webrtc/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/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 …]
|
D | test_VIDIOC_FREQUENCY.c | 41 memset(&freq, 0xff, sizeof(freq)); in test_VIDIOC_G_FREQUENCY() 96 memset(&tuner, 0xff, sizeof(tuner)); in test_VIDIOC_G_FREQUENCY_S32_MAX() 116 memset(&tuner, 0xff, sizeof(tuner)); in test_VIDIOC_G_FREQUENCY_S32_MAX_1() 136 memset(&tuner, 0xff, sizeof(tuner)); in test_VIDIOC_G_FREQUENCY_U32_MAX() 157 memset(&freq, 0xff, sizeof(freq)); in test_VIDIOC_G_FREQUENCY_NULL() 196 memset(&orig_freq, 0xff, sizeof(orig_freq)); in test_VIDIOC_S_FREQUENCY() 208 memset(&freq, 0xff, sizeof(freq)); in test_VIDIOC_S_FREQUENCY() 223 memset(&new_freq, 0xff, sizeof(new_freq)); in test_VIDIOC_S_FREQUENCY() 252 memset(&freq, 0, sizeof(freq)); in test_VIDIOC_S_FREQUENCY() 288 memset(&tuner, 0xff, sizeof(tuner)); in test_VIDIOC_S_FREQUENCY_boundaries() [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 …]
|
D | memset-02.ll | 1 ; Test memset in cases where the set value is a constant other than 0 and -1. 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 128, i32 0, i32 1, i1 false) 22 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 128, i64 0, i32 1, i1 false) 31 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 128, i32 1, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 128, i64 1, i32 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 128, i32 2, i32 1, i1 false) 58 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 128, i64 2, i32 1, i1 false) 68 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 128, i32 3, i32 1, i1 false) [all …]
|
/external/swiftshader/third_party/llvm-7.0/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 …]
|
D | memset-02.ll | 1 ; Test memset in cases where the set value is a constant other than 0 and -1. 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 128, i32 0, i1 false) 22 call void @llvm.memset.p0i8.i64(i8* %dest, i8 128, i64 0, i1 false) 31 call void @llvm.memset.p0i8.i32(i8* %dest, i8 128, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8* %dest, i8 128, i64 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8* %dest, i8 128, i32 2, i1 false) 58 call void @llvm.memset.p0i8.i64(i8* %dest, i8 128, i64 2, i1 false) 68 call void @llvm.memset.p0i8.i32(i8* %dest, i8 128, i32 3, i1 false) [all …]
|
D | memset-01.ll | 1 ; Test memset in cases where the set value is variable. 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 14 call void @llvm.memset.p0i8.i32(i8* %dest, i8 %val, i32 0, i1 false) 24 call void @llvm.memset.p0i8.i64(i8* %dest, i8 %val, i64 0, i1 false) 33 call void @llvm.memset.p0i8.i32(i8* %dest, i8 %val, i32 1, i1 false) 42 call void @llvm.memset.p0i8.i64(i8* %dest, i8 %val, i64 1, i1 false) 52 call void @llvm.memset.p0i8.i32(i8* %dest, i8 %val, i32 2, i1 false) 62 call void @llvm.memset.p0i8.i64(i8* %dest, i8 %val, i64 2, i1 false) 72 call void @llvm.memset.p0i8.i32(i8* %dest, i8 %val, i32 3, i1 false) [all …]
|
/external/swiftshader/third_party/llvm-7.0/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/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/llvm/test/Transforms/MemCpyOpt/ |
D | memset-memcpy-to-2x-memset.ll | 6 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i32 1, i1 false) 7 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst2, i8 %c, i64 128, i32 8, i1 false) 10 call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i32 1, i1 false) 16 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i32 1, i1 false) 17 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst2, i8 %c, i64 100, i32 1, i1 false) 20 call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i32 1, i1 false) 26 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 100, i32 1, i1 false) 30 call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 100, i32 1, i1 false) 36 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i32 8, i1 false) 37 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst2, i8 %c, i64 128, i32 1, i1 false) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/MemCpyOpt/ |
D | memset-memcpy-to-2x-memset.ll | 6 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i1 false) 7 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* align 8 %dst2, i8 %c, i64 128, i1 false) 10 call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i1 false) 16 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i1 false) 17 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst2, i8 %c, i64 100, i1 false) 20 call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 128, i1 false) 26 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 100, i1 false) 30 call void @llvm.memset.p0i8.i64(i8* %dst1, i8 %c, i64 100, i1 false) 36 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* align 8 %dst1, i8 %c, i64 128, i1 false) 37 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst2, i8 %c, i64 128, i1 false) [all …]
|
/external/swiftshader/third_party/llvm-7.0/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. 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 …]
|
/external/ltp/utils/sctp/func_tests/ |
D | test_sockopt.c | 168 memset(&status, 0, optlen); in main() 192 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 203 memset(&inmessage, 0, sizeof(inmessage)); in main() 236 memset(&status, 0, optlen); in main() 244 memset(&status, 0, optlen); in main() 256 memset(&status, 0, optlen); in main() 308 memset(&subscribe, 0, sizeof(struct sctp_event_subscribe)); in main() 340 memset(&subscribe, 0, sizeof(struct sctp_event_subscribe)); in main() 390 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 414 memset(&status1, 0, sizeof(status1)); in main() [all …]
|
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/ |
D | nacl-mem-intrinsics.ll | 1 ; This tests the NaCl intrinsics memset, memcpy and memmove. 27 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) 362 call void @llvm.memset.p0i8.i32(i8* %dst, i8 %val, 368 ; CHECK: call {{.*}} R_{{.*}} memset 371 ; OM1: call {{.*}} R_{{.*}} memset 374 ; ARM32: bl {{.*}} memset 376 ; MIPS32: jal {{.*}} memset 383 call void @llvm.memset.p0i8.i32(i8* %dst, i8 %val, 389 ; CHECK: call {{.*}} R_{{.*}} memset 392 ; OM1: call {{.*}} R_{{.*}} memset [all …]
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
D | OverwriteStoreBegin.ll | 9 ; CHECK: call void @llvm.memset.p0i8.i64(i8* [[GEP]], i8 0, i64 24, i32 4, i1 false) 10 call void @llvm.memset.p0i8.i64(i8* %p3, i8 0, i64 28, i32 4, i1 false) 21 ; CHECK: call void @llvm.memset.p0i8.i64(i8* [[GEP]], i8 0, i64 24, i32 4, i1 false) 22 call void @llvm.memset.p0i8.i64(i8* %p3, i8 0, i64 28, i32 4, i1 false) 32 ; CHECK: call void @llvm.memset.p0i8.i64(i8* [[GEP]], i8 0, i64 24, i32 4, i1 false) 33 call void @llvm.memset.p0i8.i64(i8* %p3, i8 0, i64 32, i32 4, i1 false) 45 ; CHECK: call void @llvm.memset.p0i8.i64(i8* [[GEP]], i8 0, i64 24, i32 4, i1 false) 46 call void @llvm.memset.p0i8.i64(i8* %p3, i8 0, i64 28, i32 4, i1 false) 58 ; CHECK: call void @llvm.memset.p0i8.i64(i8* %p3, i8 0, i64 32, i32 8, i1 false) 59 call void @llvm.memset.p0i8.i64(i8* %p3, i8 0, i64 32, i32 8, i1 false) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/ |
D | long-calls.ll | 20 declare void @llvm.memset.p0i8.i32(i8* nocapture writeonly, i8, i32, i1) 28 ; OFF: jal memset 30 ; Save the `callee` and `memset` addresses in $25 register 36 ; ON32: addiu $1, $zero, %lo(memset) 37 ; ON32: lui $2, %hi(memset) 47 ; ON64: daddiu $1, $zero, %higher(memset) 48 ; ON64: lui $2, %highest(memset) 49 ; ON64: lui $2, %hi(memset) 50 ; ON64: daddiu $2, $zero, %lo(memset) 55 …call void @llvm.memset.p0i8.i32(i8* align 4 bitcast ([20 x i32]* @val to i8*), i8 0, i32 80, i1 fa…
|