Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
Dubsan_checks.inc58 UBSAN_CHECK(NonPositiveVLAIndex, "non-positive-vla-index", "vla-bound")
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.cpp1907 const VariableArrayType *vla; in EmitNullInitialization() local
1920 vla = vlaType; in EmitNullInitialization()
1926 vla = nullptr; in EmitNullInitialization()
1935 if (vla) Ty = getContext().getBaseElementType(vla); in EmitNullInitialization()
1949 if (vla) return emitNonZeroVLAInit(*this, Ty, DestPtr, SrcPtr, SizeVal); in EmitNullInitialization()
2082 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize() local
2083 assert(vla && "type was not a variable array type!"); in getVLASize()
2084 return getVLASize(vla); in getVLASize()
2113 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLAElements1D() local
2114 assert(vla && "type was not a variable array type!"); in getVLAElements1D()
[all …]
DCGExpr.cpp3615 const VariableArrayType *vla) { in getFixedSizeElementType() argument
3618 eltType = vla->getElementType(); in getFixedSizeElementType()
3619 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
3675 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP() local
3676 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
3766 if (const VariableArrayType *vla = in EmitArraySubscriptExpr() local
3775 llvm::Value *numElements = getVLASize(vla).NumElts; in EmitArraySubscriptExpr()
3787 Addr = emitArraySubscriptGEP(*this, Addr, Idx, vla->getElementType(), in EmitArraySubscriptExpr()
DCGExprScalar.cpp2586 if (const VariableArrayType *vla in EmitScalarPrePostIncDec() local
2588 llvm::Value *numElts = CGF.getVLASize(vla).NumElts; in EmitScalarPrePostIncDec()
3455 if (const VariableArrayType *vla in emitPointerArithmetic() local
3458 llvm::Value *numElements = CGF.getVLASize(vla).NumElts; in emitPointerArithmetic()
3795 if (const VariableArrayType *vla in EmitSub() local
3797 auto VlaSize = CGF.getVLASize(vla); in EmitSub()
DCodeGenFunction.h2734 VlaSizePair getVLAElements1D(const VariableArrayType *vla);
2735 VlaSizePair getVLAElements1D(QualType vla);
2741 VlaSizePair getVLASize(const VariableArrayType *vla);
2742 VlaSizePair getVLASize(QualType vla);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
DSanitizers.def105 SANITIZER("vla-bound", VLABound)
DDiagnosticGroups.td782 def VLAExtension : DiagGroup<"vla-extension">;
783 def VLA : DiagGroup<"vla", [VLAExtension]>;
/freebsd-12-stable/contrib/gcc/
DChangeLog.apple263 vla __block declarations.
DChangeLog-20065604 Fix up vla, vm and [*] sematics.
5627 (composite_type): Add support for vla compositing.
5628 (comptypes_internal): Add support for vla compatibility.
5629 (c_expr_sizeof_expr): Evaluate vla arguments.
DChangeLog.tree-ssa8422 * tree-simple.c (is_gimple_val): Prevent ADDR_EXPRs of vla's from
11982 * tree-dfa.c: Revert vla changes from yesterday.
/freebsd-12-stable/contrib/gcclibs/libgomp/
DChangeLog1177 * testsuite/libgomp.dg/vla-1.c: New test.
/freebsd-12-stable/contrib/gcc/doc/
Dinvoke.texi3322 @opindex Wno-vla
3324 @option{-Wno-vla} will prevent the @option{-pedantic} warning of