/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/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | vector_laplace_diag_test.py | 130 vla = ds.VectorLaplaceDiag( 134 vla.covariance().eval()) 136 vla = ds.VectorLaplaceDiag( 139 self.assertAllEqual([2], vla.batch_shape) 140 self.assertAllEqual([3], vla.event_shape) 148 vla.covariance().eval()) 150 vla = ds.VectorLaplaceDiag( 153 self.assertAllEqual([2], vla.batch_shape) 154 self.assertAllEqual([3], vla.event_shape) 162 vla.covariance().eval()) [all …]
|
/external/swiftshader/third_party/subzero/crosstest/ |
D | test_stacksave.c | 24 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/ |
D | vla.ll | 3 ; 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 …]
|
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+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/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/ |
D | vla.ll | 3 ; CHECK: ##DEBUG_VALUE: vla:a <- [DW_OP_deref] [$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 …]
|
D | op_deref.ll | 15 ; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000067] = "vla") 19 ; vla should have a register-indirect address at one point. 20 ; ASM-CHECK: DEBUG_VALUE: vla <- [DW_OP_deref] [$rcx+0] 37 %vla = alloca i32, i64 %1, align 16, !dbg !12 38 call void @llvm.dbg.declare(metadata i32* %vla, metadata !14, metadata !30), !dbg !18 55 %arrayidx = getelementptr inbounds i32, i32* %vla, i64 %idxprom, !dbg !23 91 !14 = !DILocalVariable(name: "vla", line: 3, scope: !13, file: !6, type: !15)
|
/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 !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/swiftshader/third_party/llvm-7.0/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 !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/ |
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 | 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()
|
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
|
/external/swiftshader/third_party/llvm-7.0/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 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
|
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
|
/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 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
|
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
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/ |
D | invalid-disubrange-count-node.ll | 6 %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/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AVR/ |
D | dynalloca.ll | 33 %vla = alloca i16, i16 %x 38 %arrayidx2 = getelementptr inbounds i16, i16* %vla, i16 6 43 call void @foo(i16* %arraydecay, i16* %vla, i8* %vla1) 75 %vla = alloca i16, i16 %x 76 call void @foo2(i16* %vla, i64 0, i64 0, i64 0)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/Generic/ |
D | disubrange_vla_no_dbgvalue.ll | 3 ; 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/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/ |
D | disubrange.ll | 8 %vla = alloca i32, i64 %0, align 16 9 call void @llvm.dbg.declare(metadata i32* %vla, metadata !19, metadata !12), !dbg !18 20 !1 = !DIFile(filename: "vla.c", directory: "/path/to") 35 !19 = !DILocalVariable(name: "vla", scope: !7, file: !1, line: 21, type: !20)
|
/external/llvm/test/Transforms/Inline/ |
D | array-alloca.ll | 6 %vla = alloca i32, i32 %M, align 16 12 %vla = alloca %struct.A, i32 %M, align 16 18 %vla = alloca i32, i128 %M, align 16
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/ |
D | array-alloca.ll | 7 %vla = alloca i32, i32 %M, align 16 13 %vla = alloca %struct.A, i32 %M, align 16 19 %vla = alloca i32, i128 %M, align 16
|
/external/clang/test/CodeGen/ |
D | debug-info-vla.c | 9 int vla[s]; in testVLAwithSize() local 12 vla[i] = i*i; in testVLAwithSize()
|