• Home
  • Raw
  • Download

Lines Matching +defs:C +defs:ULE +defs:S +defs:D

132   explicit DSAStackTy(Sema &S) : Stack(1), SemaRef(S) {}  in DSAStackTy()
151 void addCriticalWithHint(OMPCriticalDirective *D, llvm::APSInt Hint) { in addCriticalWithHint()
255 bool isThreadPrivate(VarDecl *D) { in isThreadPrivate()
371 void addDoacrossDependClause(OMPDependClause *C, OperatorOffsetTy &OpsOffs) { in addDoacrossDependClause()
393 static ValueDecl *getCanonicalDecl(ValueDecl *D) { in getCanonicalDecl()
408 ValueDecl *D) { in getDSA()
516 Expr *DSAStackTy::addUniqueAligned(ValueDecl *D, Expr *NewDE) { in addUniqueAligned()
531 void DSAStackTy::addLoopControlVariable(ValueDecl *D, VarDecl *Capture) { in addLoopControlVariable()
538 DSAStackTy::LCDeclInfo DSAStackTy::isLoopControlVariable(ValueDecl *D) { in isLoopControlVariable()
545 DSAStackTy::LCDeclInfo DSAStackTy::isParentLoopControlVariable(ValueDecl *D) { in isParentLoopControlVariable()
564 void DSAStackTy::addDSA(ValueDecl *D, Expr *E, OpenMPClauseKind A, in addDSA()
597 bool DSAStackTy::isOpenMPLocal(VarDecl *D, StackTy::reverse_iterator Iter) { in isOpenMPLocal()
634 static DeclRefExpr *buildDeclRefExpr(Sema &S, VarDecl *D, QualType Ty, in buildDeclRefExpr()
644 DSAStackTy::DSAVarData DSAStackTy::getTopDSA(ValueDecl *D, bool FromParent) { in getTopDSA()
708 D, [](OpenMPClauseKind C) -> bool { return C == OMPC_firstprivate; }, in getTopDSA()
735 DSAStackTy::DSAVarData DSAStackTy::getImplicitDSA(ValueDecl *D, in getImplicitDSA()
747 DSAStackTy::hasDSA(ValueDecl *D, in hasDSA()
768 ValueDecl *D, const llvm::function_ref<bool(OpenMPClauseKind)> &CPred, in hasInnermostDSA()
789 ValueDecl *D, const llvm::function_ref<bool(OpenMPClauseKind)> &CPred, in hasExplicitDSA()
842 bool Sema::IsOpenMPCapturedByRef(ValueDecl *D, unsigned Level) { in IsOpenMPCapturedByRef()
980 VarDecl *Sema::IsOpenMPCapturedDecl(ValueDecl *D) { in IsOpenMPCapturedDecl()
1026 bool Sema::isOpenMPPrivateDecl(ValueDecl *D, unsigned Level) { in isOpenMPPrivateDecl()
1032 bool Sema::isOpenMPTargetCapturedDecl(ValueDecl *D, unsigned Level) { in isOpenMPTargetCapturedDecl()
1065 if (auto D = dyn_cast_or_null<OMPExecutableDirective>(CurDirective)) { in EndOpenMPDSABlock() local
1066 for (auto *C : D->clauses()) { in EndOpenMPDSABlock() local
1121 explicit VarDeclFilterCCC(Sema &S) : SemaRef(S) {} in VarDeclFilterCCC()
1138 explicit VarOrFuncDeclFilterCCC(Sema &S) : SemaRef(S) {} in VarOrFuncDeclFilterCCC()
1280 if (OMPThreadPrivateDecl *D = CheckOMPThreadPrivateDecl(Loc, VarList)) { in ActOnOpenMPThreadprivateDirective() local
1305 bool VisitStmt(const Stmt *S) { in VisitStmt()
1388 OMPThreadPrivateDecl *D = nullptr; in CheckOMPThreadPrivateDecl() local
1398 const ValueDecl *D, DSAStackTy::DSAVarData DVar, in ReportOriginalDSA()
1494 VD, [](OpenMPClauseKind C) -> bool { return C == OMPC_reduction; }, in VisitDeclRefExpr()
1533 FD, [](OpenMPClauseKind C) -> bool { return C == OMPC_reduction; }, in VisitMemberExpr()
1555 void VisitOMPExecutableDirective(OMPExecutableDirective *S) { in VisitOMPExecutableDirective()
1556 for (auto *C : S->clauses()) { in VisitOMPExecutableDirective() local
1566 void VisitStmt(Stmt *S) { in VisitStmt()
1567 for (auto *C : S->children()) { in VisitStmt() local
1579 DSAAttrChecker(DSAStackTy *S, Sema &SemaRef, CapturedStmt *CS) in DSAAttrChecker()
1723 static OMPCapturedExprDecl *buildCaptureDecl(Sema &S, IdentifierInfo *Id, in buildCaptureDecl()
1727 ASTContext &C = S.getASTContext(); in buildCaptureDecl() local
1752 static DeclRefExpr *buildCapture(Sema &S, ValueDecl *D, Expr *CaptureExpr, in buildCapture()
1764 static ExprResult buildCapture(Sema &S, Expr *CaptureExpr, DeclRefExpr *&Ref) { in buildCapture()
1782 StmtResult Sema::ActOnOpenMPRegionEnd(StmtResult S, in ActOnOpenMPRegionEnd()
1811 if (auto *C = OMPClauseWithPreInit::get(Clause)) { in ActOnOpenMPRegionEnd() local
1813 for (auto *D : DS->decls()) in ActOnOpenMPRegionEnd() local
1817 if (auto *C = OMPClauseWithPostUpdate::get(Clause)) { in ActOnOpenMPRegionEnd() local
1846 for (auto *C : LCs) { in ActOnOpenMPRegionEnd() local
3297 static bool checkIfClauses(Sema &S, OpenMPDirectiveKind Kind, in checkIfClauses()
3305 for (const auto *C : Clauses) { in checkIfClauses() local
4108 bool OpenMPIterationSpaceChecker::CheckInit(Stmt *S, bool EmitDiags) { in CheckInit()
4210 bool OpenMPIterationSpaceChecker::CheckCond(Expr *S) { in CheckCond()
4296 bool OpenMPIterationSpaceChecker::CheckInc(Expr *S) { in CheckInc()
4392 Scope *S, const bool LimitedType, in BuildNumIterations()
4448 auto &C = SemaRef.Context; in BuildNumIterations() local
4488 Scope *S, Expr *Cond, in BuildPreCond()
4589 if (auto *D = ISC.GetLoopDecl()) { in ActOnOpenMPLoopInitialization() local
4610 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA, in CheckOpenMPIterationSpace()
4763 BuildCounterInit(Sema &SemaRef, Scope *S, SourceLocation Loc, ExprResult VarRef, in BuildCounterInit()
4786 BuildCounterUpdate(Sema &SemaRef, Scope *S, SourceLocation Loc, in BuildCounterUpdate()
4862 auto &C = SemaRef.Context; in WidenIterationCount() local
4908 static Expr *buildPostUpdate(Sema &S, ArrayRef<Expr *> PostUpdates) { in buildPostUpdate()
5032 auto &C = SemaRef.Context; in CheckOpenMPLoop() local
5429 static bool checkSimdlenSafelenValues(Sema &S, const Expr *Simdlen, in checkSimdlenSafelenValues()
5475 for (auto C : Clauses) { in ActOnOpenMPSimdDirective() local
5529 for (auto C : Clauses) { in ActOnOpenMPForDirective() local
5566 for (auto C : Clauses) { in ActOnOpenMPForSimdDirective() local
5609 if (auto C = dyn_cast_or_null<CompoundStmt>(BaseStmt)) { in ActOnOpenMPSectionsDirective() local
5610 auto S = C->children(); in ActOnOpenMPSectionsDirective() local
5707 for (auto *C : Clauses) { in ActOnOpenMPCriticalDirective() local
5734 if (auto *C = Pair.first->getSingleClause<OMPHintClause>()) { in ActOnOpenMPCriticalDirective() local
5783 for (auto C : Clauses) { in ActOnOpenMPParallelForDirective() local
5825 for (auto C : Clauses) { in ActOnOpenMPParallelForSimdDirective() local
5868 if (auto C = dyn_cast_or_null<CompoundStmt>(BaseStmt)) { in ActOnOpenMPParallelSectionsDirective() local
5869 auto S = C->children(); in ActOnOpenMPParallelSectionsDirective() local
5961 for (auto *C : Clauses) { in ActOnOpenMPOrderedDirective() local
6175 bool OpenMPAtomicUpdateChecker::checkStatement(Stmt *S, unsigned DiagId, in checkStatement()
6281 for (auto *C : Clauses) { in ActOnOpenMPAtomicDirective() local
6717 auto S = AStmt->IgnoreContainers(/*IgnoreCaptured*/ true); in ActOnOpenMPTargetDirective() local
6801 for (auto C : Clauses) { in ActOnOpenMPTargetParallelForDirective() local
6886 for (auto *C : Clauses) { in ActOnOpenMPTargetUpdateDirective() local
6961 static bool checkGrainsizeNumTasksClauses(Sema &S, in checkGrainsizeNumTasksClauses()
6965 for (auto *C : Clauses) { in checkGrainsizeNumTasksClauses() local
7040 for (auto C : Clauses) { in ActOnOpenMPTaskLoopSimdDirective() local
7215 for (auto C : Clauses) { in ActOnOpenMPTargetParallelForSimdDirective() local
7380 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in PerformOpenMPImplicitIntegerConversion()
7384 SemaDiagnosticBuilder diagnoseIncomplete(Sema &S, SourceLocation Loc, in PerformOpenMPImplicitIntegerConversion()
7388 SemaDiagnosticBuilder diagnoseExplicitConv(Sema &S, SourceLocation Loc, in PerformOpenMPImplicitIntegerConversion()
7393 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in PerformOpenMPImplicitIntegerConversion()
7398 SemaDiagnosticBuilder diagnoseAmbiguous(Sema &S, SourceLocation Loc, in PerformOpenMPImplicitIntegerConversion()
7402 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in PerformOpenMPImplicitIntegerConversion()
7627 auto S = Exclude.begin(), E = Exclude.end(); in getListOfPossibleValues() local
7776 static bool checkScheduleModifiers(Sema &S, OpenMPScheduleClauseModifier M1, in checkScheduleModifiers()
8143 getPrivateItem(Sema &S, Expr *&RefExpr, SourceLocation &ELoc, in getPrivateItem()
8218 ValueDecl *D = Res.first; in ActOnOpenMPPrivateClause() local
8360 ValueDecl *D = Res.first; in ActOnOpenMPFirstprivateClause() local
8453 D, [](OpenMPClauseKind C) -> bool { return C == OMPC_reduction; }, in ActOnOpenMPFirstprivateClause()
8484 D, [](OpenMPClauseKind C) -> bool { return C == OMPC_private; }, in ActOnOpenMPFirstprivateClause()
8495 D, [](OpenMPClauseKind C) -> bool { return C == OMPC_reduction; }, in ActOnOpenMPFirstprivateClause()
8645 ValueDecl *D = Res.first; in ActOnOpenMPLastprivateClause() local
8794 ValueDecl *D = Res.first; in ActOnOpenMPSharedClause() local
8851 bool VisitStmt(Stmt *S) { in VisitStmt()
8858 explicit DSARefChecker(DSAStackTy *S) : Stack(S) {} in DSARefChecker()
8890 for (auto *D : Set) { in filterLookupForUDR() local
8900 Scope *S, CXXScopeSpec &ReductionIdScopeSpec, in buildDeclareReductionRef()
8910 auto *D = Lookup.getRepresentativeDecl(); in buildDeclareReductionRef() local
8920 } else if (auto *ULE = in buildDeclareReductionRef() local
8924 for(auto *D : ULE->decls()) { in buildDeclareReductionRef() local
8934 filterLookupForUDR<bool>(Lookups, [](ValueDecl *D) -> bool { in buildDeclareReductionRef()
8952 Lookups, [&SemaRef, Ty](ValueDecl *D) -> ValueDecl * { in buildDeclareReductionRef()
8960 Lookups, [&SemaRef, Ty, Loc](ValueDecl *D) -> ValueDecl * { in buildDeclareReductionRef()
9126 ValueDecl *D = Res.first; in ActOnOpenMPReductionClause() local
9556 bool Sema::CheckOpenMPLinearDecl(ValueDecl *D, SourceLocation ELoc, in CheckOpenMPLinearDecl()
9629 ValueDecl *D = Res.first; in ActOnOpenMPLinearClause() local
9740 Scope *S, DSAStackTy *Stack) { in FinishOpenMPLinearClause()
9763 ValueDecl *D = Res.first; in FinishOpenMPLinearClause() local
9842 ValueDecl *D = Res.first; in ActOnOpenMPAlignedClause() local
9933 Decl *D = DE->getDecl(); in ActOnOpenMPCopyinClause() local
10017 ValueDecl *D = Res.first; in ActOnOpenMPCopyprivateClause() local
10213 ValueDecl *D = Res.first; in ActOnOpenMPDependClause() local
10270 auto *C = OMPDependClause::Create(Context, StartLoc, LParenLoc, EndLoc, in ActOnOpenMPDependClause() local
11091 Scope *S, DeclContext *DC, DeclarationName Name, in ActOnOpenMPDeclareReductionDirectiveStart()
11123 if (auto *D = PrevDecl->getPrevDeclInScope()) in ActOnOpenMPDeclareReductionDirectiveStart() local
11172 void Sema::ActOnOpenMPDeclareReductionCombinerStart(Scope *S, Decl *D) { in ActOnOpenMPDeclareReductionCombinerStart()
11213 void Sema::ActOnOpenMPDeclareReductionCombinerEnd(Decl *D, Expr *Combiner) { in ActOnOpenMPDeclareReductionCombinerEnd()
11227 void Sema::ActOnOpenMPDeclareReductionInitializerStart(Scope *S, Decl *D) { in ActOnOpenMPDeclareReductionInitializerStart()
11267 void Sema::ActOnOpenMPDeclareReductionInitializerEnd(Decl *D, in ActOnOpenMPDeclareReductionInitializerEnd()
11283 Scope *S, DeclGroupPtrTy DeclReductions, bool IsValid) { in ActOnOpenMPDeclareReductionDirectiveEnd()
11284 for (auto *D : DeclReductions.get()) { in ActOnOpenMPDeclareReductionDirectiveEnd() local
11537 Sema &SemaRef, Decl *D) { in checkDeclInTargetContext()
11616 void Sema::checkDeclIsAllowedInOpenMPTarget(Expr *E, Decl *D) { in checkDeclIsAllowedInOpenMPTarget()
11703 ValueDecl *D = Res.first; in ActOnOpenMPUseDevicePtrClause() local
11739 ValueDecl *D = Res.first; in ActOnOpenMPIsDevicePtrClause() local