Searched refs:VlaSize (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1328 auto VlaSize = getVLAElements1D(Type1D); local
1329 if (auto *C = dyn_cast<llvm::ConstantInt>(VlaSize.NumElts))
1339 CreateDefaultAlignTempAlloca(VlaSize.NumElts->getType(), NameRef);
1340 Builder.CreateStore(VlaSize.NumElts, SizeExprAddr);
1344 Type1D = VlaSize.Type;
1354 for (auto &VlaSize : Dimensions) {
1356 if (auto *C = dyn_cast<llvm::ConstantInt>(VlaSize.NumElts))
1361 auto VlaExprTy = VlaSize.NumElts->getType()->getPointerElementType();
1370 MD = DI->EmitDeclareOfAutoVariable(ArtificialDecl, VlaSize.NumElts,
1374 DI->registerVLASizeExpression(VlaSize
1553 auto VlaSize = getVLASize(Ty); local
[all...]
H A DCodeGenFunction.cpp1749 auto VlaSize = getVLASize(vlaType); local
1750 SizeVal = VlaSize.NumElts;
1751 CharUnits eltSize = getContext().getTypeSizeInChars(VlaSize.Type);
1954 llvm::Value *VlaSize = VLASizeMap[Vla->getSizeExpr()]; local
1955 assert(VlaSize && "no size for VLA!");
1956 assert(VlaSize->getType() == SizeTy);
1957 return { VlaSize, Vla->getElementType() };
H A DCGExprScalar.cpp2888 auto VlaSize = CGF.getVLASize(VAT); local
2889 llvm::Value *size = VlaSize.NumElts;
2892 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(VlaSize.Type);
3771 auto VlaSize = CGF.getVLASize(vla); local
3772 elementType = VlaSize.Type;
3773 divisor = VlaSize.NumElts;
H A DCGStmtOpenMP.cpp293 VlaSizePair VlaSize = getVLASize(VAT); local
294 Ty = VlaSize.Type;
295 Size = Size ? Builder.CreateNUWMul(Size, VlaSize.NumElts)
296 : VlaSize.NumElts;

Completed in 112 milliseconds