HomeSort by relevance Sort by last modified time
    Searched full:vla (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /external/clang/test/CodeGen/
debug-info-vla.c 5 // CHECK: metadata !{i32 {{.*}}, metadata {{.*}}, metadata !"vla", metadata {{.*}}, i32 [[@LINE+1]], metadata {{.*}}, i32 8192, i32 0} ; [ DW_TAG_auto_variable ] [vla] [line [[@LINE+1]]]
6 int vla[s]; local
9 vla[i] = i*i;
2006-01-13-StackSave.c 8 int VLA[i];
9 external(VLA);
2007-03-27-VarLengthArray.c 3 // CHECK: getelementptr inbounds i32* %{{vla|[0-9]}}
varargs.c 18 void vla(int n, ...) function
  /external/compiler-rt/test/ubsan/TestCases/Misc/
vla.c 1 // RUN: %clang -fsanitize=vla-bound %s -O3 -o %t
7 // CHECK-MINUS-ONE: vla.c:9:11: runtime error: variable length array bound evaluates to non-positive value -1
8 // CHECK-ZERO: vla.c:9:11: runtime error: variable length array bound evaluates to non-positive value 0
  /external/clang/test/Sema/
c11-typedef-redef.c 12 typedef int vla[N]; // expected-note{{previous definition is here}} typedef
13 typedef int vla[N]; // expected-error{{redefinition of typedef for variably-modified type 'int [N]'}} typedef
scope-check.c 13 typedef int a[x]; // expected-note {{jump bypasses initialization of VLA typedef}}
155 typedef int A[n]; // expected-note {{jump bypasses initialization of VLA typedef}}
197 int vla[n];
209 int vla[n];
211 vla[n-1] = 0;
218 // PR8473: IR gen can't deal with indirect gotos past VLA
227 char vla[n]; // expected-note {{jump bypasses initialization}}
229 vla[0] = 'a';
  /external/llvm/test/DebugInfo/X86/
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), !dbg !17
37 %arrayidx = getelementptr inbounds i32* %vla, i64 0, !dbg !22
42 %arrayidx1 = getelementptr inbounds i32* %vla, i64 %idxprom, !dbg !23
71 %call = call i32 @vla(i32 %0), !dbg !2
    [all...]
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
37 %vla = alloca i32, i64 %1, align 16, !dbg !12
38 call void @llvm.dbg.declare(metadata !{i32* %vla}, metadata !14), !dbg !18
55 %arrayidx = getelementptr inbounds i32* %vla, i64 %idxprom, !dbg !23
92 !14 = metadata !{i32 786688, metadata !13, metadata !"vla", metadata !6, i32 3, metadata !15, i32 8192, i32 0, metadata !30} ; [ DW_TAG_auto_variable ]
  /external/llvm/test/DebugInfo/ARM/
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), !dbg !24
27 ; The VLA alloca should be described by a dbg.declare:
28 ; CHECK: call void @llvm.dbg.declare(metadata !{float* %vla}, metadata ![[VLA:.*]])
29 ; The VLA alloca and following store into the array should not be lowered to like this:
30 ; CHECK-NOT: call void @llvm.dbg.value(metadata !{float %r}, i64 0, metadata ![[VLA]])
    [all...]
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p4.cpp 53 typedef int vla[N];
54 auto l2 = [] () -> vla { }; // expected-error{{function cannot return array type 'vla' (aka 'int [N]')}}
  /external/clang/test/ARCMT/
cxx-checking.mm 97 // It's okay to create a VLA of retainable types.
98 void vla(int n) {
99 id vla[n];
  /external/clang/test/CodeGenCXX/
catch-undef-behavior2.cpp 1 // RUN: %clang_cc1 -std=c++11 -fsanitize=signed-integer-overflow,integer-divide-by-zero,float-divide-by-zero,shift,unreachable,return,vla-bound,alignment,null,vptr,object-size,float-cast-overflow,bool,enum,array-bounds,function -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s
  /external/clang/test/Index/
recover-bad-code-rdar_7487294.c 5 // Previously we tried to free the size expression of the VLA twice.
  /external/clang/lib/StaticAnalyzer/Checkers/
VLASizeChecker.cpp 11 // performs checks for declaration of VLA of undefined or zero size.
13 // of the MemRegion that represents a VLA.
55 this, "Dangerous variable-length array (VLA) declaration"));
59 os << "Declared variable-length array (VLA) ";
88 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(VD->getType());
89 if (!VLA)
93 const Expr *SE = VLA->getSizeExpr();
138 CharUnits EleSize = Ctx.getTypeSizeInChars(VLA->getElementType());
  /external/clang/test/Analysis/
cxx-crashes.cpp 62 void vla(int n) { function
68 // This struct is POD, though, so it should be fine to put it in a VLA.
  /external/llvm/test/CodeGen/AArch64/
arm64-alloca-frame-pointer-offset.ll 19 %vla = alloca i8, i64 %v, align 4
20 %tmp2 = bitcast i8* %vla to i32*
  /external/llvm/test/Transforms/IndVarSimplify/
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** %vla.i, i64 %indvars.iv37.i
54 %call1 = call i8* (...)* @a(i8** %vla) nounwind
  /external/clang/test/CodeGenObjC/
encode-test-3.m 9 const char * vla = @encode(int[n]);
  /external/clang/test/SemaCXX/
c99-variable-length-array-cxx11.cpp 20 void vla(int N) { function
  /external/clang/test/CXX/temp/temp.arg/temp.arg.type/
p2.cpp 18 int vla[n]; local
19 f0(0, vla); // expected-error{{no matching function for call to 'f0'}}
  /external/llvm/test/CodeGen/ARM/Windows/
vla.ll 10 %vla = alloca i8, i32 %sz, align 1
11 %arrayidx = getelementptr inbounds i8* %vla, i32 %idx
  /external/llvm/test/CodeGen/PowerPC/
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/X86/
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) nounwin
    [all...]
  /external/llvm/test/Transforms/Inline/
inline-vla.ll 22 %vla = alloca i64, i64 %size, align 16
23 %0 = bitcast i64* %vla to i8*

Completed in 1872 milliseconds

1 2 3 4 5