Lines Matching defs:VlaSize
1377 auto VlaSize = getVLAElements1D(Type1D);
1378 if (auto *C = dyn_cast<llvm::ConstantInt>(VlaSize.NumElts))
1388 CreateDefaultAlignTempAlloca(VlaSize.NumElts->getType(), NameRef);
1389 Builder.CreateStore(VlaSize.NumElts, SizeExprAddr);
1393 Type1D = VlaSize.Type;
1403 for (auto &VlaSize : Dimensions) {
1405 if (auto *C = dyn_cast<llvm::ConstantInt>(VlaSize.NumElts))
1418 MD = DI->EmitDeclareOfAutoVariable(ArtificialDecl, VlaSize.NumElts,
1422 DI->registerVLASizeExpression(VlaSize.Type, MD);
1669 auto VlaSize = getVLASize(Ty);
1670 llvm::Type *llvmTy = ConvertTypeForMem(VlaSize.Type);
1673 address = CreateTempAlloca(llvmTy, alignment, "vla", VlaSize.NumElts,
1850 auto VlaSize = getVLASize(VlaType);
1851 auto SizeVal = VlaSize.NumElts;
1852 CharUnits EltSize = getContext().getTypeSizeInChars(VlaSize.Type);
1874 CharUnits ConstantAlign = getContext().getTypeAlignInChars(VlaSize.Type);