/external/llvm/test/DebugInfo/X86/ |
D | vla.ll | 3 ; 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 …]
|
D | op_deref.ll | 4 ; 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/ |
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/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** %vla.i, i64 %indvars.iv37.i 54 %call1 = call i8* (...)* @a(i8** %vla) nounwind
|
/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 | dbg-declare.ll | 16 %vla = alloca i8, i64 %2, align 16, !dbg !16 17 call void @llvm.dbg.declare(metadata !{i8* %vla}, metadata !18), !dbg !23
|
D | 2009-02-12-DebugInfoVLA.ll | 87 !17 = metadata !{metadata !"vla.c", metadata !"/tmp/"}
|
/external/clang/test/CodeGen/ |
D | debug-info-vla.c | 6 int vla[s]; in testVLAwithSize() local 9 vla[i] = i*i; in testVLAwithSize()
|
D | vla.c | 18 int vla[x]; in f0() local 19 return vla[x-1]; in f0()
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p4.cpp | 53 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/ |
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/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/clang/test/ARCMT/ |
D | cxx-checking.mm | 99 void vla(int n) { function 100 id vla[n];
|
/external/clang/test/SemaCXX/ |
D | c99-variable-length-array-cxx11.cpp | 20 void vla(int N) { in vla() function
|
D | c99-variable-length-array.cpp | 16 void vla(int N) { in vla() function
|
/external/clang/test/Analysis/ |
D | cxx-crashes.cpp | 62 void vla(int n) { in vla() function
|
D | outofbound.c | 58 void vla(int a) { in vla() function
|
D | taint-generic.c | 184 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has tainted size}} in testTaintedVLASize() local
|
/external/clang/test/CodeGenObjC/ |
D | encode-test-3.m | 9 const char * vla = @encode(int[n]);
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1035 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()
|
D | CGDecl.cpp | 955 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/ |
D | Sanitizers.def | 74 SANITIZER("vla-bound", VLABound)
|
/external/clang/test/SemaObjCXX/ |
D | properties.mm | 40 char vla[t.length] = {}; // expected-error {{variable-sized object may not be initialized}}
|