Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/mpi/
H A Dtype-mismatch.cpp11 short buf2; in charNegativeTest() local
12 MPI_Send(&buf2, 1, MPI_CHAR, 0, 0, MPI_COMM_WORLD); in charNegativeTest()
41 unsigned buf2; in intNegativeTest() local
42 MPI_Send(&buf2, 1, MPI_INT, 0, 0, MPI_COMM_WORLD); in intNegativeTest()
75 unsigned buf2; in longNegativeTest() local
76 MPI_Send(&buf2, 1, MPI_LONG, 0, 0, MPI_COMM_WORLD); in longNegativeTest()
109 unsigned buf2; in int8_tNegativeTest() local
143 unsigned buf2; in complex_c_long_double_complexNegativeTest() local
177 unsigned buf2; in complex_cxx_float_complexNegativeTest() local
213 UNSIGNED buf2; in skippedTypesTests() local
[all …]
H A Dbuffer-deref.cpp11 unsigned **buf2; in negativeTests() local
12 MPI_Send(buf2, 1, MPI_UNSIGNED, 0, 0, MPI_COMM_WORLD); in negativeTests()
32 unsigned *buf2; in positiveTests() local
33 MPI_Send(buf2, 1, MPI_UNSIGNED, 0, 0, MPI_COMM_WORLD); in positiveTests()
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A DCustomAllocator.cpp16 static const char *buf2 = "bbbb"; variable
19 int memcmp_result = memcmp(buf1, buf2, 4); in callFuzzerInterceptors()
23 int strncmp_result = strncmp(buf1, buf2, 4); in callFuzzerInterceptors()
27 int strcmp_result = strcmp(buf1, buf2); in callFuzzerInterceptors()
31 const char *strstr_result = strstr(buf1, buf2); in callFuzzerInterceptors()
/llvm-project-15.0.7/libc/test/src/string/memory_utils/
H A Dalgorithm_test.cpp247 SizedOp<TestBackend, 1>::isDifferent(buf1(), buf2()); in TEST_F()
257 SizedOp<TestBackend, 15>::isDifferent(buf1(), buf2()); in TEST_F()
276 SizedOp<TestBackend, 15>::isDifferent(buf1(), buf2()); in TEST_F()
296 SizedOp<TestBackend, 16>::isDifferent(buf1(), buf2()); in TEST_F()
312 SizedOp<TestBackend, 1>::threeWayCmp(buf1(), buf2()); in TEST_F()
323 SizedOp<TestBackend, 15>::threeWayCmp(buf1(), buf2()); in TEST_F()
343 SizedOp<TestBackend, 16>::threeWayCmp(buf1(), buf2()); in TEST_F()
354 SizedOp<TestBackend, 16>::threeWayCmp(buf1(), buf2()); in TEST_F()
379 Skip<11>::Then<SizedOp<TestBackend, 1>>::isDifferent(buf1(), buf2()); in TEST_F()
426 Tail<_8>::isDifferent(buf1(), buf2(), 16); in TEST_F()
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/X86/
H A Damx_api.c9 char buf2[1024]; variable
28 __tile_loadd(&a, buf2, STRIDE); in test_api()
29 __tile_loadd(&b, buf2, STRIDE); in test_api()
30 __tile_loadd(&c, buf2, STRIDE); in test_api()
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/Windows/
H A Dwineh-framepointer.ll49 %buf2 = alloca [5000 x i8], align 16
51 call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %buf2) #3
52 …ll arm_aapcs_vfpcc void @other(i32 noundef %e, ptr noundef nonnull %vla, ptr noundef nonnull %buf2)
55 call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %buf2) #3
107 %buf2 = alloca [5000 x i8], align 16
110 call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %buf2)
114 …c void @other2(i32 noundef %a, ptr noundef nonnull %vla, ptr noundef nonnull %buf2, ptr noundef %0)
119 call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %buf2)
158 %buf2 = alloca [5000 x i8], align 16
161 call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %buf2)
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Dstack-protector.ll20 %buf2 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
21 …tf(i8* getelementptr ([11 x i8], [11 x i8]* @"\01LC", i32 0, i32 0), i8* %buf2) nounwind ; <i32> …
41 %buf2 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
42 …tf(i8* getelementptr ([11 x i8], [11 x i8]* @"\01LC", i32 0, i32 0), i8* %buf2) nounwind ; <i32…
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_printf_test.cpp108 char buf2[1024]; in TestAgainstLibc() local
109 snprintf(buf2, sizeof(buf2), fmt, arg1, arg2); in TestAgainstLibc()
111 EXPECT_STREQ(buf2, buf); in TestAgainstLibc()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/AMX/
H A Damx-configO2toO0-lower.ll4 @buf2 = dso_local global [1024 x i8] zeroinitializer, align 16
25 … %{{[0-9]+}} = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 8, ptr @buf2, i64 32)
27 … %{{[0-9]+}} = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 8, i16 %col, ptr @buf2, i64 32)
29 …{[0-9]+}} = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 %col, ptr @buf2, i64 32)
53 %3 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 8, ptr @buf2, i64 32)
54 %4 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 8, i16 %col, ptr @buf2, i64 32)
55 %5 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 %col, ptr @buf2, i64 32)
H A Damx-config.ll8 @buf2 = dso_local global [1024 x i8] zeroinitializer, align 64
31 ; AVX512-NEXT: movl $buf2, %ecx
65 ; AVX2-NEXT: movl $buf2, %ecx
101 ; AVX1-NEXT: movl $buf2, %ecx
136 ; SSE2-NEXT: movl $buf2, %ecx
160 %12 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %6, i16 %1, ptr @buf2, i64 32)
161 %13 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %6, i16 %2, ptr @buf2, i64 32)
162 %14 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %6, i16 %2, ptr @buf2, i64 32)
H A Damx-spill.ll5 @buf2 = dso_local global [1024 x i8] zeroinitializer, align 64
50 ; CHECK-NEXT: movl $buf2, %ecx
85 %17 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %1, i16 %1, ptr @buf2, i64 32)
86 %18 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %1, i16 %2, ptr @buf2, i64 32)
87 %19 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %1, i16 %2, ptr @buf2, i64 32)
H A Damx-configO2toO0.ll5 @buf2 = dso_local global [1024 x i8] zeroinitializer, align 16
63 ; AVX512-NEXT: movl $buf2, %esi
75 ; AVX512-NEXT: movl $buf2, %esi
90 ; AVX512-NEXT: movl $buf2, %edx
161 %3 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 8, ptr @buf2, i64 32)
162 %4 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 8, i16 %col, ptr @buf2, i64 32)
163 %5 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 %col, ptr @buf2, i64 32)
H A Damx-fastconfig.mir9 @buf2 = dso_local global [1024 x i8] zeroinitializer, align 16
23 …l(i16 %row, i16 8, i8* getelementptr inbounds ([1024 x i8], [1024 x i8]* @buf2, i64 0, i64 0), i64…
24 …l(i16 8, i16 %col, i8* getelementptr inbounds ([1024 x i8], [1024 x i8]* @buf2, i64 0, i64 0), i64…
25 …16 %row, i16 %col, i8* getelementptr inbounds ([1024 x i8], [1024 x i8]* @buf2, i64 0, i64 0), i64…
123 ; CHECK-NEXT: [[MOV32ri64_2:%[0-9]+]]:gr64 = MOV32ri64 @buf2
187 %17:gr64 = MOV32ri64 @buf2
H A Damx-configO2toO0-precfg.ll5 @buf2 = dso_local global [1024 x i8] zeroinitializer, align 16
68 …I11:%.*]] = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 [[ROW]], i16 8, ptr @buf2, i64 32)
78 …I12:%.*]] = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 8, i16 [[COL]], ptr @buf2, i64 32)
89 …*]] = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 [[ROW]], i16 [[COL]], ptr @buf2, i64 32)
152 %i11 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 8, ptr @buf2, i64 32)
154 %i12 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 8, i16 %col, ptr @buf2, i64 32)
156 %i13 = tail call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 %col, ptr @buf2, i64 32)
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dhalf.cl30 __kernel void foo( __global half* buf, __global float* buf2 )
34 buf[0] = min( buf2[0], 1.5f );
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/rvv/
H A Dstack-coloring-scalablevec.mir15 %buf2 = alloca <vscale x 4 x i32>
25 - { id: 1, name: buf2, size: 16, alignment: 16, stack-id: scalable-vector }
/llvm-project-15.0.7/llvm/test/CodeGen/SPARC/
H A Dstack-protector.ll23 %buf2 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
24 …tf(i8* getelementptr ([11 x i8], [11 x i8]* @"\01LC", i32 0, i32 0), i8* %buf2) nounwind ; <i32> …
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-diagnose-as-builtin.c60 char buf2[11]; in call_memcpy2() local
61 …memcpy2(buf1, buf2, 11); // expected-warning {{'memcpy' will always overflow; destination buffer h… in call_memcpy2()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dstack-protector.ll36 %buf2 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
37 …tf(i8* getelementptr ([11 x i8], [11 x i8]* @"\01LC", i32 0, i32 0), i8* %buf2) nounwind ; <i32> …
/llvm-project-15.0.7/clang/test/Analysis/
H A Dmalloc.c173 char *buf2 = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_2() local
174 if (!buf2) { in reallocRadar6337483_2()
177 free(buf2); in reallocRadar6337483_2()
195 char *buf2 = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_4() local
196 if (!buf2) { in reallocRadar6337483_4()
199 free(buf2); in reallocRadar6337483_4()
211 char *buf2 = (char*)reallocf(buf, 0x1000000); in reallocfRadar6337483_4() local
212 if (!buf2) { in reallocfRadar6337483_4()
215 free(buf2); in reallocfRadar6337483_4()
/llvm-project-15.0.7/llvm/test/Other/
H A Dlint.ll21 %buf2 = alloca {i8, i8}, align 2
39 %gep = getelementptr {i8, i8}, {i8, i8}* %buf2, i32 0, i32 1
101 %inner = getelementptr {i8, i8}, {i8, i8}* %buf2, i32 0, i32 1
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dalloc-size.c256 short *const buf2 = ((short*)(my_malloc(100))); in test9() local
263 gi = OBJECT_SIZE_BUILTIN(buf2, 0); in test9()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp880 SmallString<256> buf2; in checkCall_rand() local
881 llvm::raw_svector_ostream os2(buf2); in checkCall_rand()
1044 SmallString<256> buf2; in checkUncheckedReturnValue() local
1045 llvm::raw_svector_ostream os2(buf2); in checkUncheckedReturnValue()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dbuiltin-object-size-ptr.ll7 ; char buf2[10];
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A DStackColoring.ll329 ; Regression test for PR15707. %buf1 and %buf2 should not be merged
336 %buf2 = alloca i8, i32 100000, align 16
342 call void @llvm.lifetime.start.p0(i64 -1, ptr %buf2)
344 %result2 = call i32 @foo(i32 0, ptr %buf2)

12