Home
last modified time | relevance | path

Searched refs:vla (Results 1 – 25 of 178) sorted by relevance

12345678

/external/llvm-project/clang/test/OpenMP/
Dtarget_vla_messages.cpp24 int vla[arg]; in declare() local
52 T vla[arg]; in target_template() local
62 int vla[arg]; in target() local
72 int vla[arg]; in target() local
84 int vla[arg]; in teams_reduction() local
94 #pragma omp target map(vla) in teams_reduction()
95 #pragma omp teams reduction(+: vla) in teams_reduction()
102 #pragma omp target map(vla[0:2]) in teams_reduction()
103 #pragma omp teams reduction(+: vla[0:2]) in teams_reduction()
118 #pragma omp target map(vla[0:arg]) in teams_reduction()
[all …]
Dtarget_data_use_device_addr_codegen.cpp37 float vla[(int)a]; in main() local
40 #pragma omp target data use_device_addr(a, ptr [3:4], ref, ptr[0], arr[:(int)a], vla[0]) in main()
41 ++a, ++*ptr, ++ref, ++arr[0], ++vla[0]; in main()
/external/clang/test/Analysis/
Dvla.c8 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} in check_zero_sized_VLA() local
13 …int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its … in check_uninit_sized_VLA() local
18 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in vla_allocate_signed() local
22 int vla[x]; // no-warning in vla_allocate_unsigned() local
35 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_3() local
40 int vla[x]; // no-warning in check_negative_sized_VLA_4() local
45 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_5() local
50 int vla[x]; // no-warning in check_negative_sized_VLA_6() local
55 int vla[x + 2]; // no-warning in check_negative_sized_VLA_7() local
60 int vla[x - 2]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_8() local
[all …]
/external/llvm-project/clang/test/Analysis/
Dvla.c12 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} in check_zero_sized_VLA() local
17 …int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its … in check_uninit_sized_VLA() local
22 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in vla_allocate_signed() local
26 int vla[x]; // no-warning in vla_allocate_unsigned() local
39 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_3() local
44 int vla[x]; // no-warning in check_negative_sized_VLA_4() local
49 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_5() local
54 int vla[x]; // no-warning in check_negative_sized_VLA_6() local
59 int vla[x + 2]; // no-warning in check_negative_sized_VLA_7() local
64 int vla[x - 2]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_8() local
[all …]
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dmachine-outliner-retaddr-sign-sp-mod.ll14 %vla = alloca i32, i64 %0, align 4
15 store volatile i32* %vla, i32** @v, align 8
16 store volatile i32* %vla, i32** @v, align 8
17 store volatile i32* %vla, i32** @v, align 8
18 store volatile i32* %vla, i32** @v, align 8
19 store volatile i32* %vla, i32** @v, align 8
20 store volatile i32* %vla, i32** @v, align 8
32 %vla = alloca i32, i64 %0, align 4
34 store volatile i32* %vla, i32** @v, align 8
35 store volatile i32* %vla, i32** @v, align 8
[all …]
/external/swiftshader/third_party/subzero/crosstest/
Dtest_stacksave.c24 uint32_t vla[size]; in DECLARE_TESTS() local
27 vla[i] = i + inc; in DECLARE_TESTS()
29 return (vla[start] << 2) + (vla[mid] << 1) + vla[size - 1]; in DECLARE_TESTS()
41 uint32_t vla[size1]; in test_vla_in_loop() local
44 vla[j] = foo(start * j + inc); in test_vla_in_loop()
47 sum += vla[j]; in test_vla_in_loop()
/external/llvm/test/DebugInfo/X86/
Dvla.ll3 ; CHECK: ##DEBUG_VALUE: vla:a <- [%RCX+0]
9 ; int vla(int n) {
16 ; return vla(argc);
19 ; ModuleID = 'vla.c'
24 define i32 @vla(i32 %n) nounwind ssp uwtable !dbg !4 {
35 %vla = alloca i32, i64 %1, align 16, !dbg !17
36 …call void @llvm.dbg.declare(metadata i32* %vla, metadata !18, metadata !DIExpression(DW_OP_deref))…
37 %arrayidx = getelementptr inbounds i32, i32* %vla, i64 0, !dbg !22
42 %arrayidx1 = getelementptr inbounds i32, i32* %vla, i64 %idxprom, !dbg !23
71 %call = call i32 @vla(i32 %0), !dbg !28
[all …]
Dop_deref.ll17 ; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000067] = "vla")
22 ; vla should have a register-indirect address at one point.
23 ; ASM-CHECK: DEBUG_VALUE: vla <- [%RCX+0]
40 %vla = alloca i32, i64 %1, align 16, !dbg !12
41 call void @llvm.dbg.declare(metadata i32* %vla, metadata !14, metadata !30), !dbg !18
58 %arrayidx = getelementptr inbounds i32, i32* %vla, i64 %idxprom, !dbg !23
94 !14 = !DILocalVariable(name: "vla", line: 3, scope: !13, file: !6, type: !15)
/external/llvm-project/llvm/test/DebugInfo/X86/
Dvla.ll3 ; CHECK: ##DEBUG_VALUE: vla:a <- [DW_OP_deref] [{{\$r[a-z]+}}+0]
9 ; int vla(int n) {
16 ; return vla(argc);
19 ; ModuleID = 'vla.c'
24 define i32 @vla(i32 %n) nounwind ssp uwtable !dbg !4 {
35 %vla = alloca i32, i64 %1, align 16, !dbg !17
36 …call void @llvm.dbg.declare(metadata i32* %vla, metadata !18, metadata !DIExpression(DW_OP_deref))…
37 %arrayidx = getelementptr inbounds i32, i32* %vla, i64 0, !dbg !22
42 %arrayidx1 = getelementptr inbounds i32, i32* %vla, i64 %idxprom, !dbg !23
71 %call = call i32 @vla(i32 %0), !dbg !28
[all …]
Dop_deref.ll18 ; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000067] = "vla")
22 ; vla should have a register-indirect address at one point.
23 ; ASM-CHECK: DEBUG_VALUE: vla <- [DW_OP_deref] [$rax+0]
40 %vla = alloca i32, i64 %1, align 16, !dbg !12
41 call void @llvm.dbg.declare(metadata i32* %vla, metadata !14, metadata !30), !dbg !18
58 %arrayidx = getelementptr inbounds i32, i32* %vla, i64 %idxprom, !dbg !23
94 !14 = !DILocalVariable(name: "vla", line: 3, scope: !13, file: !6, type: !15)
/external/llvm/test/DebugInfo/ARM/
Dlowerbdgdeclare_vla.ll8 ; float vla[count];
9 ; vla[0] = r;
11 ; vla[i] /= r;
25 %vla = alloca float, i32 %conv, align 4, !dbg !24
26 …tail call void @llvm.dbg.declare(metadata float* %vla, metadata !14, metadata !DIExpression(DW_OP_…
28 ; CHECK: call void @llvm.dbg.declare(metadata float* %vla, metadata ![[VLA:.*]], metadata {{.*}})
31 ; the backend interprets this as "vla has the location of %r".
32 store float %r, float* %vla, align 4, !dbg !25, !tbaa !26
40 %arrayidx2 = getelementptr inbounds float, float* %vla, i32 %i.09, !dbg !31
49 %arrayidx2.phi.trans.insert = getelementptr inbounds float, float* %vla, i32 %inc
[all …]
/external/llvm-project/llvm/test/DebugInfo/ARM/
Dlowerbdgdeclare_vla.ll8 ; float vla[count];
9 ; vla[0] = r;
11 ; vla[i] /= r;
25 %vla = alloca float, i32 %conv, align 4, !dbg !24
26 …tail call void @llvm.dbg.declare(metadata float* %vla, metadata !14, metadata !DIExpression(DW_OP_…
28 ; CHECK: call void @llvm.dbg.declare(metadata float* %vla, metadata ![[VLA:.*]], metadata {{.*}})
31 ; the backend interprets this as "vla has the location of %r".
32 store float %r, float* %vla, align 4, !dbg !25, !tbaa !26
40 %arrayidx2 = getelementptr inbounds float, float* %vla, i32 %i.09, !dbg !31
49 %arrayidx2.phi.trans.insert = getelementptr inbounds float, float* %vla, i32 %inc
[all …]
/external/clang/test/Sema/
Dscope-check.c197 int vla[n]; in test13() local
209 int vla[n]; in test14() local
211 vla[n-1] = 0; in test14()
227 char vla[n]; // expected-note {{jump bypasses initialization}} in test15() local
229 vla[0] = 'a'; in test15()
/external/llvm-project/clang/test/Sema/
Dscope-check.c197 int vla[n]; in test13() local
209 int vla[n]; in test14() local
211 vla[n-1] = 0; in test14()
227 char vla[n]; // expected-note {{jump bypasses initialization}} in test15() local
229 vla[0] = 'a'; in test15()
/external/llvm-project/debuginfo-tests/dexter-tests/
Dvla.c10 int vla[size]; in init_vla() local
12 vla[i] = size-i; in init_vla()
13 vla[0] = size; // DexLabel('end_init') in init_vla()
/external/llvm-project/lldb/test/API/lang/c/vla/
Dmain.c4 int vla[a]; in foo() local
7 vla[i] = a-i; in foo()
10 return vla[a-1]; in foo()
/external/llvm-project/clang/test/CodeGen/
Dstack-clash-protection.c15 void vla(int n) { in vla() function
16 volatile int vla[n]; in vla() local
17 __builtin_memset(&vla[0], 0, 1); in vla()
/external/llvm-project/clang/test/CodeGenCXX/
Dtrivial-auto-var-init.cpp171 int vla[size]; in test_vla() local
172 int *ptr = vla; in test_vla()
230 } vla[size]; in test_struct_vla() local
231 void *ptr = static_cast<void*>(vla); in test_struct_vla()
/external/llvm-project/llvm/test/Verifier/
Dinvalid-disubrange-count-node.ll6 %vla = alloca i32, i64 %0, align 16
7 call void @llvm.dbg.declare(metadata i32* %vla, metadata !19, metadata !12), !dbg !18
18 !1 = !DIFile(filename: "vla.c", directory: "/path/to")
33 !19 = !DILocalVariable(name: "vla", scope: !7, file: !1, line: 21, type: !20)
/external/llvm/test/Transforms/IndVarSimplify/
Dsink-alloca.ll35 ; CHECK-NEXT: %vla = alloca i8*
38 %vla = alloca i8*, i64 %n, align 16
40 %vla.i = alloca i8*, i64 %n, align 16
46 %arrayidx.i = getelementptr inbounds i8*, i8** %vla.i, i64 %indvars.iv37.i
54 %call1 = call i8* (...) @a(i8** %vla) nounwind
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/
Dsink-alloca.ll35 ; CHECK-NEXT: %vla = alloca i8*
38 %vla = alloca i8*, i64 %n, align 16
40 %vla.i = alloca i8*, i64 %n, align 16
46 %arrayidx.i = getelementptr inbounds i8*, i8** %vla.i, i64 %indvars.iv37.i
54 %call1 = call i8* (...) @a(i8** %vla) nounwind
/external/llvm/test/CodeGen/X86/
Ddynamic-allocas-VLAs.ll54 %vla = alloca i32, i64 %sz, align 16
55 call void @t3_helper(i32* %a, i32* %vla) nounwind
77 %vla = alloca i32, i64 %sz, align 16
78 call void @t4_helper(i32* %a, i32* %vla, <8 x float>* %v) nounwind
138 %vla = alloca i32, i64 %sz, align 16
139 call void @t6_helper1(i32* %a, i32* %vla) nounwind
160 %vla = alloca i32, i64 %0, align 16
162 call void @bar(i32 %1, i32* %vla, %struct.struct_t* byval align 8 %arg1)
210 %vla = alloca i32, i64 %sz, align 16
211 call void @t3_helper(i32* %a, i32* %vla) nounwind
/external/llvm-project/llvm/test/CodeGen/X86/
Ddynamic-allocas-VLAs.ll54 %vla = alloca i32, i64 %sz, align 16
55 call void @t3_helper(i32* %a, i32* %vla) nounwind
77 %vla = alloca i32, i64 %sz, align 16
78 call void @t4_helper(i32* %a, i32* %vla, <8 x float>* %v) nounwind
138 %vla = alloca i32, i64 %sz, align 16
139 call void @t6_helper1(i32* %a, i32* %vla) nounwind
160 %vla = alloca i32, i64 %0, align 16
162 call void @bar(i32 %1, i32* %vla, %struct.struct_t* byval(%struct.struct_t) align 8 %arg1)
210 %vla = alloca i32, i64 %sz, align 16
211 call void @t3_helper(i32* %a, i32* %vla) nounwind
/external/llvm-project/llvm/test/DebugInfo/Generic/
Ddisubrange_vla_no_dbgvalue.ll3 ; RUN: llvm-dwarfdump -verbose -name=vla %t > %t2
8 ; - First to get the debug entry for 'vla', to get the array type node.
28 !1 = !DIFile(filename: "vla.c", directory: "/path/to")
42 !15 = !DILocalVariable(name: "vla", scope: !7, file: !1, line: 21, type: !16)
/external/llvm/test/Transforms/Inline/
Darray-alloca.ll6 %vla = alloca i32, i32 %M, align 16
12 %vla = alloca %struct.A, i32 %M, align 16
18 %vla = alloca i32, i128 %M, align 16

12345678