Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp69 const VariableArrayType *VLA, in checkVLA() argument
71 assert(VLA && "Function should be called with non-null VLA argument."); in checkVLA()
83 while (VLA) { in checkVLA()
84 const Expr *SizeE = VLA->getSizeExpr(); in checkVLA()
89 VLALast = VLA; in checkVLA()
90 VLA = C.getASTContext().getAsVariableArrayType(VLA->getElementType()); in checkVLA()
282 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(TypeToCheck); in checkPreStmt() local
283 if (!VLA) in checkPreStmt()
290 State = checkVLA(C, State, VLA, ArraySize); in checkPreStmt()
324 if (!VLA) in checkPreStmt()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h626 Capture(IsVLACapture, const VariableArrayType *VLA, bool IsNested, in Capture() argument
628 : CapturedVLA(VLA), Loc(Loc), CaptureType(CaptureType), Kind(Cap_VLA), in Capture()
/freebsd-14.2/contrib/ofed/infiniband-diags/src/
H A Dsaquery.c1366 CHECK_AND_SET_VAL(lid, 16, 0, vlarb.lid, VLA, LID); in query_vlarb_records()
1367 CHECK_AND_SET_VAL(port, 8, -1, vlarb.port_num, VLA, OUT_PORT); in query_vlarb_records()
1368 CHECK_AND_SET_VAL(block, 8, -1, vlarb.block_num, VLA, BLOCK); in query_vlarb_records()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp4476 if (auto *VLA = getContext().getAsVariableArrayType(ResultExprTy)) { in EmitOMPArraySectionExpr() local
4482 BaseTy, VLA->getElementType(), IsLowerBound); in EmitOMPArraySectionExpr()
4484 llvm::Value *NumElements = getVLASize(VLA).NumElts; in EmitOMPArraySectionExpr()
4494 EltPtr = emitArraySubscriptGEP(*this, Base, Idx, VLA->getElementType(), in EmitOMPArraySectionExpr()
H A DCGStmtOpenMP.cpp393 if (const auto *VLA = dyn_cast<VariableArrayType>(A)) in getCanonicalParamType() local
394 return getCanonicalParamType(C, VLA->getElementType()); in getCanonicalParamType()
H A DCGOpenMPRuntime.cpp4859 const VariableArrayType *VLA = in emitReductionFunction() local
4861 const auto *OVE = cast<OpaqueValueExpr>(VLA->getSizeExpr()); in emitReductionFunction()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td225 HelpText<"Check for declarations of VLA of undefined or zero size">,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticGroups.td859 def VLA : DiagGroup<"vla", [VLAExtension]>;
H A DDiagnosticSemaKinds.td153 InGroup<VLA>, DefaultIgnore;
6300 "jump bypasses initialization of VLA typedef">;
6302 "jump bypasses initialization of VLA type alias">;
/freebsd-14.2/contrib/tzdata/
H A Deurope2625 # 33 RU-VLA Vladimir Oblast