Home
last modified time | relevance | path

Searched refs:getSizeExpr (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDTypePrinter.cpp546 if (T->getSizeExpr()) in printVariableArrayAfter()
547 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter()
584 if (T->getSizeExpr()) in printDependentSizedArrayAfter()
585 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter()
614 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter()
615 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
677 if (T->getSizeExpr()) in printDependentVectorBefore()
678 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore()
684 if (T->getSizeExpr()) in printDependentVectorBefore()
685 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore()
[all …]
HDStmtIterator.cpp28 if (vat->getSizeExpr()) in FindVA()
HDASTStructuralEquivalence.cpp550 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent()
551 Array2->getSizeExpr())) in IsStructurallyEquivalent()
563 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent()
564 Array2->getSizeExpr())) in IsStructurallyEquivalent()
589 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent()
590 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
603 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent()
604 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
HDODRHash.cpp807 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
816 AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
884 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
HDItaniumMangle.cpp2965 if (T->getSizeExpr()) in mangleType()
2966 mangleExpression(T->getSizeExpr()); in mangleType()
2972 mangleExpression(T->getSizeExpr()); in mangleType()
3233 mangleExpression(T->getSizeExpr()); in mangleType()
3248 mangleExpression(T->getSizeExpr()); in mangleType()
HDASTContext.cpp3465 cat->getSizeExpr(), in getVariableArrayDecayedType()
3475 dat->getSizeExpr(), in getVariableArrayDecayedType()
3596 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType()
5368 CAT->getSizeExpr(), CAT->getSizeModifier(), 0); in getUnqualifiedArrayType()
5377 VAT->getSizeExpr(), in getUnqualifiedArrayType()
5384 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType()
5741 CAT->getSizeExpr(), in getAsArrayType()
5752 DSAT->getSizeExpr(), in getAsArrayType()
5759 VAT->getSizeExpr(), in getAsArrayType()
9231 Expr *E = VAT->getSizeExpr(); in mergeTypes()
[all …]
HDType.cpp902 return Ctx.getConstantArrayType(elementType, T->getSize(), T->getSizeExpr(), in VisitConstantArrayType()
915 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType()
4112 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
HDMicrosoftMangle.cpp2550 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDRecursiveASTVisitor.h970 if (T->getSizeExpr())
971 TRY_TO(TraverseStmt(const_cast<Expr*>(T->getSizeExpr())));
979 TRY_TO(TraverseStmt(T->getSizeExpr()));
984 if (T->getSizeExpr())
985 TRY_TO(TraverseStmt(T->getSizeExpr()));
994 if (T->getSizeExpr())
995 TRY_TO(TraverseStmt(T->getSizeExpr()));
1000 if (T->getSizeExpr())
1001 TRY_TO(TraverseStmt(T->getSizeExpr()));
1196 TRY_TO(TraverseStmt(TL.getSizeExpr()));
[all …]
HDTypeProperties.td110 let Read = [{ node->getSizeExpr() }];
135 let Read = [{ node->getSizeExpr() }];
148 let Read = [{ node->getSizeExpr() }];
186 let Read = [{ node->getSizeExpr() }];
216 let Read = [{ node->getSizeExpr() }];
HDASTNodeTraverser.h315 Visit(T->getSizeExpr()); in VisitVariableArrayType()
319 Visit(T->getSizeExpr()); in VisitDependentSizedArrayType()
323 Visit(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
HDType.h2959 const Expr *getSizeExpr() const {
2978 Profile(ID, Ctx, getElementType(), getSize(), getSizeExpr(),
3058 Expr *getSizeExpr() const {
3115 Expr *getSizeExpr() const {
3134 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr());
3210 Expr *getSizeExpr() const { return SizeExpr; }
3222 Profile(ID, Context, getElementType(), getSizeExpr());
3325 Expr *getSizeExpr() const { return SizeExpr; }
3340 Profile(ID, Context, getElementType(), getSizeExpr(), getVectorKind());
HDCanonicalType.h468 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
HDTypeLoc.h1509 Expr *getSizeExpr() const { in getSizeExpr() function
1553 setSizeExpr(getTypePtr()->getSizeExpr()); in initializeLocal()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDVLASizeChecker.cpp96 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaTemplateDeduction.cpp1645 = getDeducedParameterFromExpr(Info, DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1663 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch()
1665 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
1966 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1990 Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1995 S, TemplateParams, NTTP, VectorArg->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch()
2019 = getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
2045 = getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
2050 VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
3799 getDeducedParameterFromExpr(Info, DependentArrTy->getSizeExpr())) { in DeduceFromInitializerList()
[all …]
HDTreeTransform.h4827 Expr *OldSize = TL.getSizeExpr(); in TransformConstantArrayType()
4829 OldSize = const_cast<Expr*>(T->getSizeExpr()); in TransformConstantArrayType()
4841 (T->getSizeExpr() && NewSize != OldSize)) { in TransformConstantArrayType()
4904 SizeResult = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
4918 Size != T->getSizeExpr()) { in TransformVariableArrayType()
4952 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
4953 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType()
4997 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentVectorType()
5004 Size.get() != T->getSizeExpr()) { in TransformDependentVectorType()
5039 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
[all …]
HDSemaInit.cpp1856 SemaRef.Diag(VAT->getSizeExpr()->getBeginLoc(), in CheckArrayType()
1858 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType()
8424 ConstantSource->getSizeExpr(), in Perform()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
HDLiveVariables.cpp227 if (VAT->getSizeExpr()) in FindVA()
300 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
HDCFG.cpp1333 if (vat->getSizeExpr()) in FindVA()
2910 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
4005 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenFunction.cpp1083 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction()
1928 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize()
1953 llvm::Value *VlaSize = VLASizeMap[Vla->getSizeExpr()]; in getVLAElements1D()
2033 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
HDCGStmt.cpp2371 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct()
2446 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDExprEngineCXX.cpp918 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h5695 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTWriter.cpp242 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
243 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
244 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()

12