Lines Matching refs:VLA
3546 // Note that VLA pointers are always decayed, so we don't need to do
3615 const VariableArrayType *vla) {
3618 eltType = vla->getElementType();
3619 } while ((vla = ctx.getAsVariableArrayType(eltType)));
3675 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) {
3676 eltType = getFixedSizeElementType(CGF.getContext(), vla);
3766 if (const VariableArrayType *vla =
3770 // the VLA bounds.
3774 // The element count here is the total number of non-VLA elements.
3775 llvm::Value *numElements = getVLASize(vla).NumElts;
3777 // Effectively, the multiply by the VLA size is part of the GEP.
3787 Addr = emitArraySubscriptGEP(*this, Addr, Idx, vla->getElementType(),
3900 // Note that VLA pointers are always decayed, so we don't need to do
4024 if (auto *VLA = getContext().getAsVariableArrayType(ResultExprTy)) {
4027 // the VLA bounds.
4030 BaseTy, VLA->getElementType(), IsLowerBound);
4031 // The element count here is the total number of non-VLA elements.
4032 llvm::Value *NumElements = getVLASize(VLA).NumElts;
4034 // Effectively, the multiply by the VLA size is part of the GEP.
4042 EltPtr = emitArraySubscriptGEP(*this, Base, Idx, VLA->getElementType(),
4475 // make sure to emit the VLA size.