Searched defs:vla (Results 1 - 10 of 10) sorted by relevance

/external/clang/test/CodeGen/
H A Ddebug-info-vla.c3 // CHECK: metadata !{i32 {{.*}}, metadata {{.*}}, metadata !"vla", metadata {{.*}}, i32 7, metadata {{.*}}, i32 0, i32 0, i64 2} ; [ DW_TAG_auto_variable ]
7 int vla[s]; local
10 vla[i] = i*i;
H A Dvla.c18 int vla[x]; local
19 return vla[x-1];
/external/clang/test/Sema/
H A Dc11-typedef-redef.c12 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
/external/clang/test/CXX/temp/temp.arg/temp.arg.type/
H A Dp2.cpp18 int vla[n]; local
19 f0(0, vla); // expected-error{{no matching function for call to 'f0'}}
/external/clang/test/Analysis/
H A Dcxx-crashes.cpp61 void vla(int n) { function
H A Doutofbound.c58 void vla(int a) { function
H A Dtaint-generic.c184 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has tainted size}} local
/external/clang/test/SemaCXX/
H A Dc99-variable-length-array.cpp16 void vla(int N) { function
/external/clang/lib/CodeGen/
H A DCGDecl.cpp903 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); local
904 vla->setAlignment(alignment.getQuantity());
906 DeclPtr = vla;
H A DCodeGenFunction.cpp776 llvm::Value *begin = Builder.CreateBitCast(dest, i8p, "vla.begin");
777 llvm::Value *end = Builder.CreateInBoundsGEP(dest, sizeInChars, "vla.end");
780 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop");
781 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont");
787 llvm::PHINode *cur = Builder.CreatePHI(i8p, 2, "vla.cur");
796 llvm::Value *next = Builder.CreateConstInBoundsGEP1_32(cur, 1, "vla.next");
799 llvm::Value *done = Builder.CreateICmpEQ(next, end, "vla-init.isdone");
830 const VariableArrayType *vla; local
846 vla = vlaType;
852 vla
1009 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); local
[all...]

Completed in 464 milliseconds