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

/external/clang/test/CodeGen/
H A Ddebug-info-vla.c7 // CHECK: ![[VAR]] = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "vla",{{.*}} line: [[@LINE+2]]
9 int vla[s]; local
12 vla[i] = i*i;
H A Dvarargs.c18 void vla(int n, ...) function
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/SemaCXX/
H A Dc99-variable-length-array-cxx11.cpp20 void vla(int N) { function
H A Dc99-variable-length-array.cpp16 void vla(int N) { function
/external/clang/test/Analysis/
H A Dvla.c8 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} local
13 int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its size}} local
18 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} local
22 int vla[x]; // no-warning local
35 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} local
40 int vla[x]; // no-warning local
45 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} local
50 int vla[x]; // no-warning local
55 int vla[x + 2]; // no-warning local
60 int vla[ local
65 int vla[x]; // no-warning local
70 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} local
80 int vla[x]; // no-warning local
[all...]
H A Dcxx-crashes.cpp62 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/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/lib/CodeGen/
H A DCGDecl.cpp999 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); local
1000 vla->setAlignment(alignment.getQuantity());
1002 DeclPtr = vla;
H A DCodeGenFunction.cpp1229 llvm::Value *begin = Builder.CreateBitCast(dest, i8p, "vla.begin");
1230 llvm::Value *end = Builder.CreateInBoundsGEP(dest, sizeInChars, "vla.end");
1233 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop");
1234 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont");
1240 llvm::PHINode *cur = Builder.CreatePHI(i8p, 2, "vla.cur");
1250 cur, 1, "vla.next");
1253 llvm::Value *done = Builder.CreateICmpEQ(next, end, "vla-init.isdone");
1284 const VariableArrayType *vla; local
1300 vla = vlaType;
1306 vla
1462 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); local
[all...]

Completed in 3583 milliseconds