/external/clang/test/CodeGen/ |
H A D | debug-info-vla.c | 7 // CHECK: ![[VAR]] = !DILocalVariable(name: "vla",{{.*}} line: [[@LINE+2]] 9 int vla[s]; local 12 vla[i] = i*i;
|
H A D | varargs.c | 18 void vla(int n, ...) function
|
H A D | vla.c | 18 int vla[x]; local 19 return vla[x-1];
|
/external/clang/test/Sema/ |
H A D | 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
|
/external/clang/test/SemaCXX/ |
H A D | c99-variable-length-array-cxx11.cpp | 20 void vla(int N) { function
|
H A D | c99-variable-length-array.cpp | 16 void vla(int N) { function
|
/external/clang/test/Analysis/ |
H A D | vla.c | 8 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 D | cxx-crashes.cpp | 62 void vla(int n) { function
|
H A D | outofbound.c | 58 void vla(int a) { function
|
H A D | padding_c.c | 118 int vla[]; member in struct:HoldsVLA
|
H A D | taint-generic.c | 184 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 D | p2.cpp | 28 int vla[n]; local 29 f0(0, vla); // expected-error{{no matching function for call to 'f0'}}
|
/external/swiftshader/third_party/subzero/crosstest/ |
H A D | test_stacksave.c | 20 /* NOTE: This has 0 stacksaves, because the vla isn't in a loop, 21 * so the vla can just be freed by the epilogue. 24 uint32_t vla[size]; local 27 vla[i] = i + inc; 29 return (vla[start] << 2) + (vla[mid] << 1) + vla[size - 1]; 34 /* NOTE: This has 1 stacksave, because the vla is in a loop and should 41 uint32_t vla[size1]; local 44 vla[ [all...] |
/external/mesa3d/src/intel/vulkan/ |
H A D | anv_pipeline_cache.c | 231 uint32_t vla[1 + DIV_ROUND_UP(key_size, sizeof(uint32_t))]; local 232 struct anv_shader_bin_key *key = (void *)vla;
|
/external/clang/test/OpenMP/ |
H A D | target_map_codegen.cpp | 601 // - OMP_MAP_PRIVATE_VAL + OMP_MAP_IS_FIRST = 288 (vla size) 602 // - OMP_MAP_PRIVATE_VAL + OMP_MAP_IS_FIRST = 288 (vla size) 608 double vla[2][a]; local 644 vla[1][3] += 1.0;
|
/external/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 1088 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); local 1089 vla->setAlignment(alignment.getQuantity()); 1091 address = Address(vla, alignment);
|
H A D | CodeGenFunction.cpp | 1404 Builder.CreateElementBitCast(dest, CGF.Int8Ty, "vla.begin"); 1406 Builder.CreateInBoundsGEP(begin.getPointer(), sizeInChars, "vla.end"); 1409 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop"); 1410 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont"); 1416 llvm::PHINode *cur = Builder.CreatePHI(begin.getType(), 2, "vla.cur"); 1428 Builder.CreateInBoundsGEP(CGF.Int8Ty, cur, baseSizeInChars, "vla.next"); 1431 llvm::Value *done = Builder.CreateICmpEQ(next, end, "vla-init.isdone"); 1456 const VariableArrayType *vla; local 1472 vla = vlaType; 1478 vla 1635 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); local [all...] |
H A D | CGExpr.cpp | 2834 const VariableArrayType *vla) { 2837 eltType = vla->getElementType(); 2838 } while ((vla = ctx.getAsVariableArrayType(eltType))); 2855 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { 2856 eltType = getFixedSizeElementType(CGF.getContext(), vla); 2909 if (const VariableArrayType *vla = 2917 llvm::Value *numElements = getVLASize(vla).first; 2929 Addr = emitArraySubscriptGEP(*this, Addr, Idx, vla->getElementType(), 2833 getFixedSizeElementType(const ASTContext &ctx, const VariableArrayType *vla) argument
|