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

  /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/Sema/
scope-check.c 13 typedef int a[x]; // expected-note {{jump bypasses initialization of VLA typedef}}
155 typedef int A[n]; // expected-note {{jump bypasses initialization of VLA typedef}}
197 int vla[n];
209 int vla[n];
211 vla[n-1] = 0;
218 // PR8473: IR gen can't deal with indirect gotos past VLA
227 char vla[n]; // expected-note {{jump bypasses initialization}}
229 vla[0] = 'a';
block-misc.c 205 int vla[n]; // expected-note {{declared here}}
207 vla[1] = 4341;
209 (void)vla[1]; // expected-error {{cannot refer to declaration with a variably modified type inside block}}
  /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/Analysis/
outofbound.c 58 void vla(int a) { function
  /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...]
CGExprScalar.cpp     [all...]
CodeGenFunction.h     [all...]
CGExpr.cpp     [all...]

Completed in 533 milliseconds