Home
last modified time | relevance | path

Searched refs:ArraySectionExpr (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenOpenACC.cpp79 while (isa<ArraySectionExpr, ArraySubscriptExpr>(curVarExpr)) { in getOpenACCDataOperandInfo()
85 if (const auto *section = dyn_cast<ArraySectionExpr>(curVarExpr)) { in getOpenACCDataOperandInfo()
94 QualType baseTy = ArraySectionExpr::getBaseOriginalType( in getOpenACCDataOperandInfo()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DComputeDependence.h97 class ArraySectionExpr; variable
194 ExprDependence computeDependence(ArraySectionExpr *E);
H A DExpr.h7084 class ArraySectionExpr : public Expr {
7109 ArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, Expr *Stride, in ArraySectionExpr() function
7124 ArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, QualType Type, in ArraySectionExpr() function
7136 explicit ArraySectionExpr(EmptyShell Shell) in ArraySectionExpr() function
H A DRecursiveASTVisitor.h2810 DEF_TRAVERSE_STMT(ArraySectionExpr, {})
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp227 const ArraySectionExpr *AE = cast<ArraySectionExpr>(S); in reportBug()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp502 if (isa<ArraySectionExpr>(VarExpr->IgnoreParenImpCasts()) || in CheckVarIsPointerType()
547 if (!isa<ArraySectionExpr, ArraySubscriptExpr>(CurVarExpr)) { in ActOnCacheVar()
554 while (isa<ArraySectionExpr, ArraySubscriptExpr>(CurVarExpr)) { in ActOnCacheVar()
559 cast<ArraySectionExpr>(CurVarExpr)->getBase()->IgnoreParenImpCasts(); in ActOnCacheVar()
643 isa<ArraySectionExpr, ArraySubscriptExpr>(CurVarExpr)) { in ActOnVar()
651 while (isa<ArraySectionExpr, ArraySubscriptExpr>(CurVarExpr)) { in ActOnVar()
656 cast<ArraySectionExpr>(CurVarExpr)->getBase()->IgnoreParenImpCasts(); in ActOnVar()
755 QualType OriginalBaseTy = ArraySectionExpr::getBaseOriginalType(Base); in ActOnArraySectionExpr()
929 ArraySectionExpr(Base, LowerBound, Length, ArrayExprTy, VK_LValue, in ActOnArraySectionExpr()
H A DSemaOpenACCClause.cpp1816 if (isa<ArraySectionExpr>(VarExpr1)) { in areVarsEqual()
1817 auto *Expr2AS = dyn_cast<ArraySectionExpr>(VarExpr2); in areVarsEqual()
1821 auto *Expr1AS = cast<ArraySectionExpr>(VarExpr1); in areVarsEqual()
1912 if (isa<ArraySectionExpr>(VarExpr)) { in CheckReductionVar()
1914 QualType BaseTy = ArraySectionExpr::getBaseOriginalType(ASExpr); in CheckReductionVar()
H A DSemaOpenMP.cpp2212 isa<ArraySectionExpr>(Last->getAssociatedExpression()) || in isOpenMPCapturedByRef()
3924 (isa<ArraySectionExpr>( in VisitDeclRefExpr()
4100 if (!((isa<ArraySectionExpr>( in VisitMemberExpr()
5178 } else if (auto *OASE = dyn_cast_or_null<ArraySectionExpr>(RefExpr)) { in getPrivateItem()
5180 while (auto *TempOASE = dyn_cast<ArraySectionExpr>(Base)) in getPrivateItem()
5813 const auto *OASE = cast<ArraySectionExpr>(E->IgnoreParenImpCasts()); in processImplicitMapsWithDefaultMappers()
5815 ArraySectionExpr::getBaseOriginalType(OASE->getBase()); in processImplicitMapsWithDefaultMappers()
18763 ASTContext &Context, const ArraySectionExpr *OASE, bool &SingleElement, in checkOMPArraySectionConstantForReduction()
18790 while (const auto *TempOASE = dyn_cast<ArraySectionExpr>(Base)) { in checkOMPArraySectionConstantForReduction()
18998 auto *OASE = dyn_cast<ArraySectionExpr>(RefExpr->IgnoreParens()); in actOnOMPReductionKindClause()
[all …]
H A DCheckExprLifetime.cpp802 Path, cast<ArraySectionExpr>(Init)->getBase(), Visit, true); in visitLocalsRetainedByReferenceBinding()
H A DSemaChecking.cpp14725 const ArraySectionExpr *ASE = cast<ArraySectionExpr>(expr); in CheckArrayAccess()
H A DSemaExpr.cpp4903 auto *AS = cast<ArraySectionExpr>(base); in ActOnArraySubscriptExpr()
21364 << cast<ArraySectionExpr>(E)->isOMPArraySection(); in CheckPlaceholderExpr()
H A DTreeTransform.h13274 TreeTransform<Derived>::TransformArraySectionExpr(ArraySectionExpr *E) { in TransformArraySectionExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp743 if (const auto *OASE = dyn_cast<ArraySectionExpr>(E)) in emitSharedLValueUB()
801 bool AsArraySection = isa<ArraySectionExpr>(ClausesData[N].Ref); in emitAggregateType()
942 if (const auto *OASE = dyn_cast<ArraySectionExpr>(Ref)) { in getBaseDecl()
944 while (const auto *TempOASE = dyn_cast<ArraySectionExpr>(Base)) in getBaseDecl()
3559 dyn_cast<ArraySectionExpr>(E->IgnoreParenImpCasts())) { in getPointerAndSize()
6940 if (const auto *OAE = dyn_cast<ArraySectionExpr>(E)) { in getExprTypeSize()
6941 QualType BaseTy = ArraySectionExpr::getBaseOriginalType( in getExprTypeSize()
7047 const auto *OASE = dyn_cast<ArraySectionExpr>(E); in isFinalArraySectionExpression()
7063 QualType BaseQTy = ArraySectionExpr::getBaseOriginalType( in isFinalArraySectionExpression()
7300 const auto *OASE = dyn_cast<ArraySectionExpr>(AssocExpr);
[all …]
H A DCGOpenMPRuntimeGPU.cpp96 } else if (auto *OASE = dyn_cast<ArraySectionExpr>(RefExpr)) { in getPrivateItem()
98 while (const auto *TempOASE = dyn_cast<ArraySectionExpr>(Base)) in getPrivateItem()
H A DCGExpr.cpp1693 return EmitArraySectionExpr(cast<ArraySectionExpr>(E)); in EmitLValueHelper()
4691 if (auto *ASE = dyn_cast<ArraySectionExpr>(Base->IgnoreParenImpCasts())) { in emitOMPArraySectionBase()
4724 LValue CodeGenFunction::EmitArraySectionExpr(const ArraySectionExpr *E, in EmitArraySectionExpr()
4730 QualType BaseTy = ArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitArraySectionExpr()
H A DCGStmtOpenMP.cpp1317 bool isaOMPArraySectionExpr = isa<ArraySectionExpr>(IRef); in EmitOMPReductionClauseInit()
7540 while (const auto *OASE = dyn_cast<ArraySectionExpr>(Base)) in getBaseDecl()
H A DCodeGenFunction.h4398 LValue EmitArraySectionExpr(const ArraySectionExpr *E,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td75 def ArraySectionExpr : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp455 ExprDependence clang::computeDependence(ArraySectionExpr *E) { in computeDependence()
H A DStmtProfile.cpp1488 void StmtProfiler::VisitArraySectionExpr(const ArraySectionExpr *S) { in VisitArraySectionExpr()
H A DStmtPrinter.cpp1690 void StmtPrinter::VisitArraySectionExpr(ArraySectionExpr *Node) { in VisitArraySectionExpr()
H A DExpr.cpp5181 QualType ArraySectionExpr::getBaseOriginalType(const Expr *Base) { in getBaseOriginalType()
5183 while (auto *OASE = dyn_cast<ArraySectionExpr>(Base->IgnoreParens())) { in getBaseOriginalType()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp964 void ASTStmtReader::VisitArraySectionExpr(ArraySectionExpr *E) { in VisitArraySectionExpr()
966 E->ASType = Record.readEnum<ArraySectionExpr::ArraySectionType>(); in VisitArraySectionExpr()
3252 S = new (Context) ArraySectionExpr(Empty); in ReadStmtFromStream()
H A DASTWriterStmt.cpp898 void ASTStmtWriter::VisitArraySectionExpr(ArraySectionExpr *E) { in VisitArraySectionExpr()