reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGDecl.cpp
 1323     if (auto *C = dyn_cast<llvm::ConstantInt>(VlaSize.NumElts))
 1333           CreateDefaultAlignTempAlloca(VlaSize.NumElts->getType(), NameRef);
 1334       Builder.CreateStore(VlaSize.NumElts, SizeExprAddr);
 1350     if (auto *C = dyn_cast<llvm::ConstantInt>(VlaSize.NumElts))
 1355       auto VlaExprTy = VlaSize.NumElts->getType()->getPointerElementType();
 1364       MD = DI->EmitDeclareOfAutoVariable(ArtificialDecl, VlaSize.NumElts,
 1544     address = CreateTempAlloca(llvmTy, alignment, "vla", VlaSize.NumElts,
 1690   auto SizeVal = VlaSize.NumElts;
tools/clang/lib/CodeGen/CGExpr.cpp
  945         return CGF.getVLASize(VAT).NumElts;
 3517     llvm::Value *numElements = getVLASize(vla).NumElts;
 3752     llvm::Value *NumElements = getVLASize(VLA).NumElts;
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2442       llvm::Value *numElts = CGF.getVLASize(vla).NumElts;
 2745       llvm::Value *size = VlaSize.NumElts;
 3239     llvm::Value *numElements = CGF.getVLASize(vla).NumElts;
 3549     divisor = VlaSize.NumElts;
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 5763               .NumElts,
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 3796               .NumElts,
 3996               .NumElts,
 4318               .NumElts,
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  274       Size = Size ? Builder.CreateNUWMul(Size, VlaSize.NumElts)
  275                   : VlaSize.NumElts;
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1645       SizeVal = VlaSize.NumElts;
 1729     numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).NumElts;