HomeSort by relevance Sort by last modified time
    Searched defs:vla (Results 1 - 11 of 11) sorted by null

  /external/clang/test/CodeGen/
debug-info-vla.c 3 // 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;
vla.c 5 // Extremely basic VLA test
18 int vla[x]; local
19 return vla[x-1];
114 // VLA captures.
  /external/clang/test/Sema/
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/
c99-variable-length-array-cxx11.cpp 20 void vla(int N) { function
c99-variable-length-array.cpp 16 void vla(int N) { function
66 // Template argument deduction does not allow deducing a size from a VLA.
  /external/clang/test/Analysis/
cxx-crashes.cpp 62 void vla(int n) { function
68 // This struct is POD, though, so it should be fine to put it in a VLA.
outofbound.c 58 void vla(int a) { function
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/
p2.cpp 18 int vla[n]; local
19 f0(0, vla); // expected-error{{no matching function for call to 'f0'}}
  /external/clang/lib/CodeGen/
CGDecl.cpp 301 // We can't have a VLA here, but we can have a pointer to a VLA,
303 // Make sure to evaluate VLA bounds now so that we have them for later.
794 // If the type is variably-modified, emit all the VLA sizes for it.
906 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); local
    [all...]
CodeGenFunction.cpp 840 /// \param sizeInChars - the total size of the VLA, in chars
854 llvm::Value *begin = Builder.CreateBitCast(dest, i8p, "vla.begin");
855 llvm::Value *end = Builder.CreateInBoundsGEP(dest, sizeInChars, "vla.end");
858 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop");
859 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont");
861 // Make a loop over the VLA. C99 guarantees that the VLA element
865 llvm::PHINode *cur = Builder.CreatePHI(i8p, 2, "vla.cur");
874 llvm::Value *next = Builder.CreateConstInBoundsGEP1_32(cur, 1, "vla.next");
876 // Leave if that's the end of the VLA
908 const VariableArrayType *vla; local
1086 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); local
    [all...]

Completed in 673 milliseconds