Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_checks.inc59 UBSAN_CHECK(NonPositiveVLAIndex, "non-positive-vla-index", "vla-bound")
/freebsd/tests/sys/fs/fusefs/
H A DMakefile97 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.cpp2239 const VariableArrayType *vla; in EmitNullInitialization() local
2252 vla = vlaType; in EmitNullInitialization()
2258 vla = nullptr; in EmitNullInitialization()
2267 if (vla) Ty = getContext().getBaseElementType(vla); in EmitNullInitialization()
2280 if (vla) return emitNonZeroVLAInit(*this, Ty, DestPtr, SrcPtr, SizeVal); in EmitNullInitialization()
2413 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize() local
2414 assert(vla && "type was not a variable array type!"); in getVLASize()
2415 return getVLASize(vla); in getVLASize()
2444 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLAElements1D() local
2445 assert(vla && "type was not a variable array type!"); in getVLAElements1D()
[all …]
H A DCGExprScalar.cpp3211 if (const VariableArrayType *vla in EmitScalarPrePostIncDec() local
3213 llvm::Value *numElts = CGF.getVLASize(vla).NumElts; in EmitScalarPrePostIncDec()
3215 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in EmitScalarPrePostIncDec()
4285 if (const VariableArrayType *vla in emitPointerArithmetic() local
4288 llvm::Value *numElements = CGF.getVLASize(vla).NumElts; in emitPointerArithmetic()
4294 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in emitPointerArithmetic()
4674 if (const VariableArrayType *vla in EmitSub() local
4676 auto VlaSize = CGF.getVLASize(vla); in EmitSub()
H A DCGExpr.cpp4212 const VariableArrayType *vla) { in getFixedSizeElementType() argument
4215 eltType = vla->getElementType(); in getFixedSizeElementType()
4216 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
4299 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP() local
4300 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
4519 if (const VariableArrayType *vla = in EmitArraySubscriptExpr() local
4528 llvm::Value *numElements = getVLASize(vla).NumElts; in EmitArraySubscriptExpr()
4540 Addr = emitArraySubscriptGEP(*this, Addr, Idx, vla->getElementType(), in EmitArraySubscriptExpr()
H A DCodeGenFunction.h3101 VlaSizePair getVLAElements1D(const VariableArrayType *vla);
3102 VlaSizePair getVLAElements1D(QualType vla);
3108 VlaSizePair getVLASize(const VariableArrayType *vla);
3109 VlaSizePair getVLASize(QualType vla);
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExpr.cpp732 const VariableArrayType *vla) { in getFixedSizeElementType() argument
735 eltType = vla->getElementType(); in getFixedSizeElementType()
736 } while ((vla = astContext.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
761 if (const VariableArrayType *vla = in emitArraySubscriptPtr() local
763 eltType = getFixedSizeElementType(cgf.getContext(), vla); in emitArraySubscriptPtr()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.def117 SANITIZER("vla-bound", VLABound)
H A DDiagnosticGroups.td1056 def VLAUseStaticAssert : DiagGroup<"vla-extension-static-assert">;
1057 def VLACxxExtension : DiagGroup<"vla-cxx-extension", [VLAUseStaticAssert]>;
1058 def VLAExtension : DiagGroup<"vla-extension", [VLACxxExtension]>;
1059 def VLA : DiagGroup<"vla", [VLAExtension]>;
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_log_spacemap.c1372 struct spa_ld_log_sm_arg vla = { in spa_ld_log_sm_data() local
1377 space_map_length(sls->sls_sm), spa_ld_log_sm_cb, &vla); in spa_ld_log_sm_data()