Home
last modified time | relevance | path

Searched refs:vla (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_checks.inc58 UBSAN_CHECK(NonPositiveVLAIndex, "non-positive-vla-index", "vla-bound")
/freebsd/tests/sys/fs/fusefs/
H A DMakefile86 CXXWARNFLAGS+= -Wno-vla-cxx-extension
/freebsd/lib/libomp/
H A DMakefile80 CXXWARNFLAGS+= -Wno-vla-cxx-extension
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2135 const VariableArrayType *vla; in EmitNullInitialization() local
2148 vla = vlaType; in EmitNullInitialization()
2154 vla = nullptr; in EmitNullInitialization()
2163 if (vla) Ty = getContext().getBaseElementType(vla); in EmitNullInitialization()
2176 if (vla) return emitNonZeroVLAInit(*this, Ty, DestPtr, SrcPtr, SizeVal); in EmitNullInitialization()
2309 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize() local
2310 assert(vla && "type was not a variable array type!"); in getVLASize()
2311 return getVLASize(vla); in getVLASize()
2340 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLAElements1D() local
2341 assert(vla && "type was not a variable array type!"); in getVLAElements1D()
[all …]
H A DCGExprScalar.cpp2955 if (const VariableArrayType *vla in EmitScalarPrePostIncDec() local
2957 llvm::Value *numElts = CGF.getVLASize(vla).NumElts; in EmitScalarPrePostIncDec()
2959 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in EmitScalarPrePostIncDec()
3980 if (const VariableArrayType *vla in emitPointerArithmetic() local
3983 llvm::Value *numElements = CGF.getVLASize(vla).NumElts; in emitPointerArithmetic()
3989 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in emitPointerArithmetic()
4369 if (const VariableArrayType *vla in EmitSub() local
4371 auto VlaSize = CGF.getVLASize(vla); in EmitSub()
H A DCGExpr.cpp3986 const VariableArrayType *vla) { in getFixedSizeElementType() argument
3989 eltType = vla->getElementType(); in getFixedSizeElementType()
3990 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
4073 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP() local
4074 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
4221 if (const VariableArrayType *vla = in EmitArraySubscriptExpr() local
4230 llvm::Value *numElements = getVLASize(vla).NumElts; in EmitArraySubscriptExpr()
4242 Addr = emitArraySubscriptGEP(*this, Addr, Idx, vla->getElementType(), in EmitArraySubscriptExpr()
H A DCodeGenFunction.h3055 VlaSizePair getVLAElements1D(const VariableArrayType *vla);
3056 VlaSizePair getVLAElements1D(QualType vla);
3062 VlaSizePair getVLASize(const VariableArrayType *vla);
3063 VlaSizePair getVLASize(QualType vla);
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.def111 SANITIZER("vla-bound", VLABound)
H A DDiagnosticGroups.td895 def VLAUseStaticAssert : DiagGroup<"vla-extension-static-assert">;
896 def VLACxxExtension : DiagGroup<"vla-cxx-extension", [VLAUseStaticAssert]>;
897 def VLAExtension : DiagGroup<"vla-extension", [VLACxxExtension]>;
898 def VLA : DiagGroup<"vla", [VLAExtension]>;
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_log_spacemap.c1194 struct spa_ld_log_sm_arg vla = { in spa_ld_log_sm_data() local
1199 space_map_length(sls->sls_sm), spa_ld_log_sm_cb, &vla); in spa_ld_log_sm_data()