| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | TypePrinter.cpp | 554 if (T->getSizeExpr()) in printVariableArrayAfter() 555 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter() 592 if (T->getSizeExpr()) in printDependentSizedArrayAfter() 593 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter() 622 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter() 623 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter() 703 if (T->getSizeExpr()) in printDependentVectorBefore() 704 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore() 710 if (T->getSizeExpr()) in printDependentVectorBefore() 719 if (T->getSizeExpr()) in printDependentVectorBefore() [all …]
|
| H A D | StmtIterator.cpp | 28 if (vat->getSizeExpr()) in FindVA()
|
| H A D | ASTStructuralEquivalence.cpp | 772 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent() 773 Array2->getSizeExpr())) in IsStructurallyEquivalent() 785 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent() 786 Array2->getSizeExpr())) in IsStructurallyEquivalent() 811 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent() 812 Vec2->getSizeExpr())) in IsStructurallyEquivalent() 825 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent() 826 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
|
| H A D | ODRHash.cpp | 807 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 816 AddStmt(T->getSizeExpr()); in VisitVariableArrayType() 884 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
| H A D | ASTContext.cpp | 3575 cat->getSizeExpr(), in getVariableArrayDecayedType() 3585 dat->getSizeExpr(), in getVariableArrayDecayedType() 3706 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType() 5771 VAT->getSizeExpr(), in getUnqualifiedArrayType() 5778 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType() 6138 CAT->getSizeExpr(), in getAsArrayType() 6149 DSAT->getSizeExpr(), in getAsArrayType() 6156 VAT->getSizeExpr(), in getAsArrayType() 9884 Expr *E = VAT->getSizeExpr(); in mergeTypes() 9908 LCAT->getSizeExpr(), in mergeTypes() [all …]
|
| H A D | ItaniumMangle.cpp | 3308 if (T->getSizeExpr()) in mangleType() 3309 mangleExpression(T->getSizeExpr()); in mangleType() 3318 if (T->getSizeExpr()) in mangleType() 3319 mangleExpression(T->getSizeExpr()); in mangleType() 3689 mangleExpression(T->getSizeExpr()); in mangleType() 3704 mangleExpression(T->getSizeExpr()); in mangleType()
|
| H A D | Type.cpp | 957 return Ctx.getConstantArrayType(elementType, T->getSize(), T->getSizeExpr(), in VisitConstantArrayType() 970 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType() 4342 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | RecursiveASTVisitor.h | 916 if (T->getSizeExpr()) 925 TRY_TO(TraverseStmt(T->getSizeExpr())); 930 if (T->getSizeExpr()) 931 TRY_TO(TraverseStmt(T->getSizeExpr())); 940 if (T->getSizeExpr()) 941 TRY_TO(TraverseStmt(T->getSizeExpr())); 946 if (T->getSizeExpr()) 947 TRY_TO(TraverseStmt(T->getSizeExpr())); 1164 TRY_TO(TraverseStmt(TL.getSizeExpr())); 1196 if (TL.getTypePtr()->getSizeExpr()) [all …]
|
| H A D | TypeProperties.td | 110 let Read = [{ node->getSizeExpr() }]; 135 let Read = [{ node->getSizeExpr() }]; 148 let Read = [{ node->getSizeExpr() }]; 186 let Read = [{ node->getSizeExpr() }]; 216 let Read = [{ node->getSizeExpr() }];
|
| H A D | ASTNodeTraverser.h | 359 Visit(T->getSizeExpr()); in VisitVariableArrayType() 363 Visit(T->getSizeExpr()); in VisitDependentSizedArrayType() 367 Visit(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
| H A D | Type.h | 2947 const Expr *getSizeExpr() const { 2966 Profile(ID, Ctx, getElementType(), getSize(), getSizeExpr(), 3046 Expr *getSizeExpr() const { 3103 Expr *getSizeExpr() const { 3122 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 3198 Expr *getSizeExpr() const { return SizeExpr; } 3210 Profile(ID, Context, getElementType(), getSizeExpr()); 3315 Expr *getSizeExpr() const { return SizeExpr; } 3330 Profile(ID, Context, getElementType(), getSizeExpr(), getVectorKind());
|
| H A D | CanonicalType.h | 470 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
| H A D | TypeLoc.h | 1509 Expr *getSizeExpr() const { in getSizeExpr() function 1553 setSizeExpr(getTypePtr()->getSizeExpr()); in initializeLocal()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | LiveVariables.cpp | 179 if (VAT->getSizeExpr()) in FindVA() 252 AddLiveExpr(val.liveExprs, LV.ESetFact, VA->getSizeExpr()); in Visit()
|
| H A D | CFG.cpp | 1331 if (vat->getSizeExpr()) in FindVA() 2860 if (CFGBlock *NewBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr() 2936 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr() 4036 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 1767 = getDeducedParameterFromExpr(Info, DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1785 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch() 1787 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 2025 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2049 Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2054 S, TemplateParams, NTTP, VectorArg->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch() 2078 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2104 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2109 VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 3998 getDeducedParameterFromExpr(Info, DependentArrTy->getSizeExpr())) { in DeduceFromInitializerList() [all …]
|
| H A D | TreeTransform.h | 5125 Expr *OldSize = TL.getSizeExpr(); in TransformConstantArrayType() 5127 OldSize = const_cast<Expr*>(T->getSizeExpr()); in TransformConstantArrayType() 5139 (T->getSizeExpr() && NewSize != OldSize)) { in TransformConstantArrayType() 5202 SizeResult = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType() 5216 Size != T->getSizeExpr()) { in TransformVariableArrayType() 5250 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType() 5251 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType() 5302 Size.get() != T->getSizeExpr()) { in TransformDependentVectorType() 5345 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType() 11885 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | VLASizeChecker.cpp | 84 const Expr *SizeE = VLA->getSizeExpr(); in checkVLA()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1138 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction() 2095 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 2120 llvm::Value *VlaSize = VLASizeMap[Vla->getSizeExpr()]; in getVLAElements1D() 2202 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
| H A D | CGStmt.cpp | 2789 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
|
| H A D | CGStmtOpenMP.cpp | 333 llvm::Value *Val = VLASizeMap[VAT->getSizeExpr()]; in GenerateOpenMPCapturedVars() 562 VLASizes.try_emplace(Args[Cnt], VAT->getSizeExpr(), ExprArg); in emitOutlinedFunctionPrologue() 3381 ->getSizeExpr()), in emitScanBasedDirectiveDecls()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCXX.cpp | 1018 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 1352 Builder.markExprChild(L.getSizeExpr(), syntax::NodeRole::Size); in WalkUpFromArrayTypeLoc()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 244 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc() 245 if (TL.getSizeExpr()) in VisitArrayTypeLoc() 246 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 6519 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
|