Home
last modified time | relevance | path

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

12

/external/llvm/test/DebugInfo/X86/
Dvla.ll3 ; CHECK: ##DEBUG_VALUE: vla:a <- [RDX+0]
8 ; int vla(int n) {
15 ; return vla(argc);
18 ; ModuleID = 'vla.c'
23 define i32 @vla(i32 %n) nounwind ssp uwtable {
34 %vla = alloca i32, i64 %1, align 16, !dbg !17
35 call void @llvm.dbg.declare(metadata !{i32* %vla}, metadata !18), !dbg !17
36 %arrayidx = getelementptr inbounds i32* %vla, i64 0, !dbg !22
41 %arrayidx1 = getelementptr inbounds i32* %vla, i64 %idxprom, !dbg !23
70 %call = call i32 @vla(i32 %0), !dbg !28
[all …]
Dop_deref.ll4 ; DW-CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000067] = "vla")
12 ; vla should have a register-indirect address at one point.
13 ; ASM-CHECK: DEBUG_VALUE: vla <- [RCX+0]
26 %vla = alloca i32, i64 %1, align 16, !dbg !12
27 call void @llvm.dbg.declare(metadata !{i32* %vla}, metadata !14), !dbg !18
44 %arrayidx = getelementptr inbounds i32* %vla, i64 %idxprom, !dbg !23
80 !14 = metadata !{i32 786688, metadata !13, metadata !"vla", metadata !6, i32 3, metadata !15, i32 0…
/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()
Dc11-typedef-redef.c12 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
Dblock-misc.c205 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/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** %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
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
Ddbg-declare.ll16 %vla = alloca i8, i64 %2, align 16, !dbg !16
17 call void @llvm.dbg.declare(metadata !{i8* %vla}, metadata !18), !dbg !23
D2009-02-12-DebugInfoVLA.ll87 !17 = metadata !{metadata !"vla.c", metadata !"/tmp/"}
/external/clang/test/CodeGen/
Ddebug-info-vla.c6 int vla[s]; in testVLAwithSize() local
9 vla[i] = i*i; in testVLAwithSize()
Dvla.c18 int vla[x]; in f0() local
19 return vla[x-1]; in f0()
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp4.cpp53 typedef int vla[N]; in test_result_type() typedef
54 …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/
Dp2.cpp18 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/CodeGen/PowerPC/
Ddyn-alloca-aligned.ll12 %vla = alloca i32, i64 %0, align 128
21 call void @bar(i32* %vla1, i32* %vla) #0
/external/clang/test/ARCMT/
Dcxx-checking.mm99 void vla(int n) { function
100 id vla[n];
/external/clang/test/SemaCXX/
Dc99-variable-length-array-cxx11.cpp20 void vla(int N) { in vla() function
Dc99-variable-length-array.cpp16 void vla(int N) { in vla() function
/external/clang/test/Analysis/
Dcxx-crashes.cpp62 void vla(int n) { in vla() function
Doutofbound.c58 void vla(int a) { in vla() function
Dtaint-generic.c184 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has tainted size}} in testTaintedVLASize() local
/external/clang/test/CodeGenObjC/
Dencode-test-3.m9 const char * vla = @encode(int[n]);
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1035 const VariableArrayType *vla; in EmitNullInitialization() local
1051 vla = vlaType; in EmitNullInitialization()
1057 vla = 0; in EmitNullInitialization()
1066 if (vla) Ty = getContext().getBaseElementType(vla); in EmitNullInitialization()
1078 if (vla) return emitNonZeroVLAInit(*this, Ty, DestPtr, SrcPtr, SizeVal); in EmitNullInitialization()
1213 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize() local
1214 assert(vla && "type was not a variable array type!"); in getVLASize()
1215 return getVLASize(vla); in getVLASize()
DCGDecl.cpp955 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); in EmitAutoVarAlloca() local
956 vla->setAlignment(alignment.getQuantity()); in EmitAutoVarAlloca()
958 DeclPtr = vla; in EmitAutoVarAlloca()
/external/clang/include/clang/Basic/
DSanitizers.def74 SANITIZER("vla-bound", VLABound)
/external/clang/test/SemaObjCXX/
Dproperties.mm40 char vla[t.length] = {}; // expected-error {{variable-sized object may not be initialized}}

12