Lines Matching defs:VlaSize
1392 auto VlaSize = getVLAElements1D(Type1D);
1393 if (auto *C = dyn_cast<llvm::ConstantInt>(VlaSize.NumElts))
1403 CreateDefaultAlignTempAlloca(VlaSize.NumElts->getType(), NameRef);
1404 Builder.CreateStore(VlaSize.NumElts, SizeExprAddr);
1408 Type1D = VlaSize.Type;
1418 for (auto &VlaSize : Dimensions) {
1420 if (auto *C = dyn_cast<llvm::ConstantInt>(VlaSize.NumElts))
1433 MD = DI->EmitDeclareOfAutoVariable(ArtificialDecl, VlaSize.NumElts,
1437 DI->registerVLASizeExpression(VlaSize.Type, MD);
1651 auto VlaSize = getVLASize(Ty);
1652 llvm::Type *llvmTy = ConvertTypeForMem(VlaSize.Type);
1655 address = CreateTempAlloca(llvmTy, alignment, "vla", VlaSize.NumElts,
1820 auto VlaSize = getVLASize(VlaType);
1821 auto SizeVal = VlaSize.NumElts;
1822 CharUnits EltSize = getContext().getTypeSizeInChars(VlaSize.Type);
1844 CharUnits ConstantAlign = getContext().getTypeAlignInChars(VlaSize.Type);