/external/clang/test/Analysis/ |
D | vla.c | 8 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/test/DebugInfo/X86/ |
D | vla.ll | 3 ; CHECK: ##DEBUG_VALUE: vla:a <- RDX 9 ; int vla(int n) { 16 ; return vla(argc); 19 ; ModuleID = 'vla.c' 24 define i32 @vla(i32 %n) nounwind ssp uwtable { 35 %vla = alloca i32, i64 %1, align 16, !dbg !17 36 …call void @llvm.dbg.declare(metadata i32* %vla, metadata !18, metadata !MDExpression(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 …]
|
D | op_deref.ll | 17 ; 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 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 95 !14 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "vla", line: 3, scope: !13, file: !6, type:…
|
D | dbg-declare.ll | 16 %vla = alloca i8, i64 %2, align 16, !dbg !16 17 call void @llvm.dbg.declare(metadata i8* %vla, metadata !18, metadata !MDExpression()), !dbg !23
|
/external/llvm/test/DebugInfo/ARM/ |
D | lowerbdgdeclare_vla.ll | 8 ; 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 !MDExpression(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/ |
D | scope-check.c | 197 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()
|
D | c11-typedef-redef.c | 12 typedef int vla[N]; // expected-note{{previous definition is here}} in f() typedef 13 …typedef int vla[N]; // expected-error{{redefinition of typedef for variably-modified type 'int [N]… in f() typedef
|
D | block-misc.c | 205 int vla[n]; // expected-note {{declared here}} in test20() local 207 vla[1] = 4341; in test20() 209 …(void)vla[1]; // expected-error {{cannot refer to declaration with a variably modified type insid… in test20()
|
/external/llvm/test/CodeGen/X86/ |
D | dynamic-allocas-VLAs.ll | 54 %vla = alloca i32, i64 %sz, align 16 55 call void @t3_helper(i32* %a, i32* %vla) nounwind 79 %vla = alloca i32, i64 %sz, align 16 80 call void @t4_helper(i32* %a, i32* %vla, <8 x float>* %v) nounwind 142 %vla = alloca i32, i64 %sz, align 16 143 call void @t6_helper1(i32* %a, i32* %vla) nounwind 164 %vla = alloca i32, i64 %0, align 16 166 call void @bar(i32 %1, i32* %vla, %struct.struct_t* byval align 8 %arg1) 214 %vla = alloca i32, i64 %sz, align 16 215 call void @t3_helper(i32* %a, i32* %vla) nounwind
|
D | windows-itanium-alloca.ll | 10 %vla = alloca i8, i32 %sz, align 1 11 call void @external(i8* %vla)
|
D | dbg-combine.ll | 38 %vla = alloca i32, i64 %1, align 16, !dbg !16 39 call void @llvm.dbg.declare(metadata i32* %vla, metadata !17, metadata !21), !dbg !22 40 %arrayidx = getelementptr inbounds i32, i32* %vla, i64 0, !dbg !23 42 %arrayidx1 = getelementptr inbounds i32, i32* %vla, i64 1, !dbg !25 44 %arrayidx2 = getelementptr inbounds i32, i32* %vla, i64 2, !dbg !27
|
D | mem-intrin-base-reg.ll | 57 %vla = alloca i8, i32 %n 58 call void @escape_vla_and_icmp(i8* %vla, i1 zeroext %icmp) 85 %vla = alloca i8, i32 %n 86 call void @escape_vla_and_icmp(i8* %vla, i1 zeroext %icmp)
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | sink-alloca.ll | 35 ; 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/clang/test/CodeGen/ |
D | debug-info-vla.c | 9 int vla[s]; in testVLAwithSize() local 12 vla[i] = i*i; in testVLAwithSize()
|
D | vla.c | 18 int vla[x]; in f0() local 19 return vla[x-1]; in f0()
|
D | varargs.c | 18 void vla(int n, ...) in vla() function
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p4.cpp | 50 typedef int vla[N]; in test_result_type() typedef 51 …auto l2 = [] () -> vla { }; // expected-error{{function cannot return array type 'vla' (aka 'int [… in test_result_type()
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.type/ |
D | p2.cpp | 18 int vla[n]; in test_f0() local 19 f0(0, vla); // expected-error{{no matching function for call to 'f0'}} in test_f0()
|
/external/llvm/test/Analysis/Delinearization/ |
D | multidim_only_ivs_2d_nested.ll | 18 ; AddRec: {{%vla.us,+,{8,+,8}<%for.cond7.preheader.lr.ph.split.us.us>}<%for.body9.lr.ph.us.us>,+,8}… 19 ; CHECK: Base offset: %vla.us 37 call void @bar(i64 %indvars.iv51, i64 %indvars.iv48, double* %vla.us) nounwind 56 %arrayidx10.us.us = getelementptr inbounds double, double* %vla.us, i64 %arrayidx.sum.us.us 66 %vla.us = alloca double, i64 %2, align 16
|
/external/llvm/test/CodeGen/AArch64/ |
D | aarch64-dynamic-stack-layout.ll | 56 ; volatile int vla[i1]; 57 ; return i10 + (int)d10 + l1 + g() + vla[0]; 64 ; volatile int vla[i1]; 65 ; return i10 + (int)d10 + l1 + vla[0]; 72 ; volatile int vla[i1]; 73 ; return i10 + (int)d10 + l1 + g() + vla[0]; 80 ; volatile int vla[i1]; 81 ; return i10 + (int)d10 + l1 + vla[0]; 223 %vla = alloca i32, i64 %0, align 4 230 %1 = load volatile i32, i32* %vla, align 4, !tbaa !1 [all …]
|
D | arm64-alloca-frame-pointer-offset.ll | 19 %vla = alloca i8, i64 %v, align 4 20 %tmp2 = bitcast i8* %vla to i32*
|
/external/llvm/test/CodeGen/PowerPC/ |
D | dyn-alloca-aligned.ll | 12 %vla = alloca i32, i64 %0, align 128 21 call void @bar(i32* %vla1, i32* %vla) #0
|
/external/llvm/test/CodeGen/ARM/Windows/ |
D | vla.ll | 10 %vla = alloca i8, i32 %sz, align 1 11 %arrayidx = getelementptr inbounds i8, i8* %vla, i32 %idx
|
/external/clang/test/ARCMT/ |
D | cxx-checking.mm | 98 void vla(int n) { function 99 id vla[n];
|
/external/llvm/test/Transforms/Inline/ |
D | inline-vla.ll | 22 %vla = alloca i64, i64 %size, align 16 23 %0 = bitcast i64* %vla to i8*
|