Home
last modified time | relevance | path

Searched refs:getAsVariableArrayType (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp90 VLA = C.getASTContext().getAsVariableArrayType(VLA->getElementType()); in checkVLA()
269 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(TypeToCheck); in checkPreStmt()
308 const VariableArrayType *VLA = C.getASTContext().getAsVariableArrayType( in checkPreStmt()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2143 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize()
2167 } while ((type = getContext().getAsVariableArrayType(elementType))); in getVLASize()
2174 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLAElements1D()
H A DCGExpr.cpp3709 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
3765 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()
3857 getContext().getAsVariableArrayType(E->getType())) { in EmitArraySubscriptExpr()
4086 if (auto *VAT = C.getAsVariableArrayType(ArrayTy)) { in EmitOMPArraySectionExpr()
4115 if (auto *VLA = getContext().getAsVariableArrayType(ResultExprTy)) { in EmitOMPArraySectionExpr()
H A DCGDecl.cpp1368 while (getContext().getAsVariableArrayType(Type1D)) { in EmitAndRegisterVariableArrayDimensions()
1747 const auto *VlaType = getContext().getAsVariableArrayType(type); in emitZeroOrPatternForAutoVarInit()
H A DCGOpenMPRuntimeGPU.cpp2736 CGF.getContext().getAsVariableArrayType((*IPriv)->getType())) in emitListToGlobalReduceFunction()
2946 CGF.getContext().getAsVariableArrayType((*IPriv)->getType())) in emitGlobalToListReduceFunction()
3268 CGF.getContext().getAsVariableArrayType((*IPriv)->getType())) in emitReduction()
H A DCGExprScalar.cpp2646 = CGF.getContext().getAsVariableArrayType(type)) { in EmitScalarPrePostIncDec()
2975 CGF.getContext().getAsVariableArrayType(TypeToSize)) { in VisitUnaryExprOrTypeTraitExpr()
3519 = CGF.getContext().getAsVariableArrayType(elementType)) { in emitPointerArithmetic()
3859 = CGF.getContext().getAsVariableArrayType(elementType)) { in EmitSub()
H A DCGOpenMPRuntime.cpp855 CGF.getContext().getAsVariableArrayType(PrivateType)->getSizeExpr()), in emitAggregateType()
872 CGF.getContext().getAsVariableArrayType(PrivateType)->getSizeExpr()), in emitAggregateType()
5376 CGF.getContext().getAsVariableArrayType(PrivTy); in emitReductionFunction()
5522 CGF.getContext().getAsVariableArrayType((*IPriv)->getType())) in emitReduction()
8186 auto *VAT = Context.getAsVariableArrayType(Ty); in generateInfoForComponentList()
H A DCGCall.cpp2845 getContext().getAsVariableArrayType(OTy)) { in EmitFunctionProlog()
H A DCGStmtOpenMP.cpp311 while (const VariableArrayType *VAT = C.getAsVariableArrayType(Ty)) { in getTypeSize()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTContext.h2710 const VariableArrayType *getAsVariableArrayType(QualType T) const { in getAsVariableArrayType() function
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp2916 getASTContext().getAsVariableArrayType(ElementTy); in mangleArrayType()
H A DASTContext.cpp10510 const VariableArrayType* LVAT = getAsVariableArrayType(LHS); in mergeTypes()
10511 const VariableArrayType* RVAT = getAsVariableArrayType(RHS); in mergeTypes()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp3290 if (const auto *VAT = Ctx.getAsVariableArrayType(Ty)) in EquivalentArrayTypes()
3301 const auto *OldVAT = Ctx.getAsVariableArrayType(Old); in EquivalentArrayTypes()
3302 const auto *NewVAT = Ctx.getAsVariableArrayType(New); in EquivalentArrayTypes()
8494 const VariableArrayType *VAT = Context.getAsVariableArrayType(T); in CheckVariableDeclarationType()