/external/clang/test/Analysis/ |
outofbound.c | 58 void vla(int a) { function
|
/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/test/CodeGen/ |
vla.c | 5 // Extremely basic VLA test 18 int vla[x]; local 19 return vla[x-1]; 114 // VLA captures.
|
/external/clang/test/SemaCXX/ |
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/lib/CodeGen/ |
CodeGenFunction.cpp | 651 /// \param sizeInChars - the total size of the VLA, in chars 652 /// \param align - the total alignment of the VLA 666 llvm::Value *begin = Builder.CreateBitCast(dest, i8p, "vla.begin"); 667 llvm::Value *end = Builder.CreateInBoundsGEP(dest, sizeInChars, "vla.end"); 670 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop"); 671 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont"); 673 // Make a loop over the VLA. C99 guarantees that the VLA element 677 llvm::PHINode *cur = Builder.CreatePHI(i8p, 2, "vla.cur"); 686 llvm::Value *next = Builder.CreateConstInBoundsGEP1_32(cur, 1, "vla.next") 720 const VariableArrayType *vla; local 883 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); local [all...] |
CGDecl.cpp | 261 // We can't have a VLA here, but we can have a pointer to a VLA, 263 // Make sure to evaluate VLA bounds now so that we have them for later. 724 // If the type is variably-modified, emit all the VLA sizes for it. 833 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); local 834 vla->setAlignment(alignment.getQuantity()); 836 DeclPtr = vla; [all...] |