Lines Matching refs:ValueDecl

88   using DeclSAMapTy = llvm::SmallDenseMap<const ValueDecl *, DSAInfo, 8>;
89 using AlignedMapTy = llvm::SmallDenseMap<const ValueDecl *, const Expr *, 8>;
92 llvm::SmallDenseMap<const ValueDecl *, LCDeclInfo, 8>;
100 llvm::DenseMap<const ValueDecl *, MappedExprComponentTy>;
118 llvm::SmallDenseMap<const ValueDecl *, ReductionData, 4>;
176 DSAVarData getDSA(iterator &Iter, ValueDecl *D) const;
286 const Expr *addUniqueAligned(const ValueDecl *D, const Expr *NewDE);
289 void addLoopControlVariable(const ValueDecl *D, VarDecl *Capture);
294 const LCDeclInfo isLoopControlVariable(const ValueDecl *D) const;
299 const LCDeclInfo isParentLoopControlVariable(const ValueDecl *D) const;
302 const ValueDecl *getParentLoopControlVariable(unsigned I) const;
305 void addDSA(const ValueDecl *D, const Expr *E, OpenMPClauseKind A,
310 void addTaskgroupReductionData(const ValueDecl *D, SourceRange SR,
314 void addTaskgroupReductionData(const ValueDecl *D, SourceRange SR,
319 getTopMostTaskgroupReductionData(const ValueDecl *D, SourceRange &SR,
325 getTopMostTaskgroupReductionData(const ValueDecl *D, SourceRange &SR,
337 bool isTaskgroupReductionRef(const ValueDecl *VD, unsigned Level) const { in isTaskgroupReductionRef()
345 const DSAVarData getTopDSA(ValueDecl *D, bool FromParent);
347 const DSAVarData getImplicitDSA(ValueDecl *D, bool FromParent) const;
352 hasDSA(ValueDecl *D, const llvm::function_ref<bool(OpenMPClauseKind)> CPred,
359 hasInnermostDSA(ValueDecl *D,
366 bool hasExplicitDSA(const ValueDecl *D,
572 const ValueDecl *VD, bool CurrentRegionOnly, in checkMappableExprComponentListsForDecl()
604 const ValueDecl *VD, unsigned Level, in checkMappableExprComponentListsForDeclAtLevel()
630 const ValueDecl *VD, in addMappableExpressionComponents()
709 static const ValueDecl *getCanonicalDecl(const ValueDecl *D) { in getCanonicalDecl()
726 static ValueDecl *getCanonicalDecl(ValueDecl *D) { in getCanonicalDecl()
727 return const_cast<ValueDecl *>( in getCanonicalDecl()
728 getCanonicalDecl(const_cast<const ValueDecl *>(D))); in getCanonicalDecl()
732 ValueDecl *D) const { in getDSA()
840 const Expr *DSAStackTy::addUniqueAligned(const ValueDecl *D, in addUniqueAligned()
855 void DSAStackTy::addLoopControlVariable(const ValueDecl *D, VarDecl *Capture) { in addLoopControlVariable()
864 DSAStackTy::isLoopControlVariable(const ValueDecl *D) const { in isLoopControlVariable()
875 DSAStackTy::isParentLoopControlVariable(const ValueDecl *D) const { in isParentLoopControlVariable()
886 const ValueDecl *DSAStackTy::getParentLoopControlVariable(unsigned I) const { in getParentLoopControlVariable()
898 void DSAStackTy::addDSA(const ValueDecl *D, const Expr *E, OpenMPClauseKind A, in addDSA()
964 void DSAStackTy::addTaskgroupReductionData(const ValueDecl *D, SourceRange SR, in addTaskgroupReductionData()
987 void DSAStackTy::addTaskgroupReductionData(const ValueDecl *D, SourceRange SR, in addTaskgroupReductionData()
1011 const ValueDecl *D, SourceRange &SR, BinaryOperatorKind &BOK, in getTopMostTaskgroupReductionData()
1040 const ValueDecl *D, SourceRange &SR, const Expr *&ReductionRef, in getTopMostTaskgroupReductionData()
1106 static bool rejectConstNotMutableType(Sema &SemaRef, const ValueDecl *D, in rejectConstNotMutableType()
1132 const DSAStackTy::DSAVarData DSAStackTy::getTopDSA(ValueDecl *D, in getTopDSA()
1272 const DSAStackTy::DSAVarData DSAStackTy::getImplicitDSA(ValueDecl *D, in getImplicitDSA()
1287 DSAStackTy::hasDSA(ValueDecl *D, in hasDSA()
1310 ValueDecl *D, const llvm::function_ref<bool(OpenMPClauseKind)> CPred, in hasInnermostDSA()
1328 const ValueDecl *D, const llvm::function_ref<bool(OpenMPClauseKind)> CPred, in hasExplicitDSA()
1397 bool Sema::isOpenMPCapturedByRef(const ValueDecl *D, unsigned Level) const { in isOpenMPCapturedByRef()
1404 D = cast<ValueDecl>(D->getCanonicalDecl()); in isOpenMPCapturedByRef()
1568 VarDecl *Sema::isOpenMPCapturedDecl(ValueDecl *D) { in isOpenMPCapturedDecl()
1672 bool Sema::isOpenMPPrivateDecl(const ValueDecl *D, unsigned Level) const { in isOpenMPPrivateDecl()
1700 void Sema::setOpenMPCaptureKind(FieldDecl *FD, const ValueDecl *D, in setOpenMPCaptureKind()
1738 bool Sema::isOpenMPTargetCapturedDecl(const ValueDecl *D, in isOpenMPTargetCapturedDecl()
2130 const ValueDecl *D, in reportOriginalDsa()
2195 llvm::SmallDenseSet<const ValueDecl *, 4> ImplicitDeclarations;
2402 const auto *VD = cast<ValueDecl>( in VisitMemberExpr()
2857 static DeclRefExpr *buildCapture(Sema &S, ValueDecl *D, Expr *CaptureExpr, in buildCapture()
3967 ValueDecl *LCDecl = nullptr;
4001 ValueDecl *getLoopDecl() const { return LCDecl; } in getLoopDecl()
4046 bool setLCDeclAndLB(ValueDecl *NewLCDecl, Expr *NewDeclRefExpr, Expr *NewLB);
4064 bool OpenMPIterationSpaceChecker::setLCDeclAndLB(ValueDecl *NewLCDecl, in setLCDeclAndLB()
4246 static const ValueDecl *getInitLCDecl(const Expr *E) { in getInitLCDecl()
4724 if (ValueDecl *D = ISC.getLoopDecl()) { in ActOnOpenMPLoopInitialization()
4798 if (ValueDecl *LCDecl = ISC.getLoopDecl()) { in checkOpenMPIterationSpace()
9751 static std::pair<ValueDecl *, bool>
9828 ValueDecl *D = Res.first; in ActOnOpenMPPrivateClause()
9989 ValueDecl *D = Res.first; in ActOnOpenMPFirstprivateClause()
10259 ValueDecl *D = Res.first; in ActOnOpenMPLastprivateClause()
10412 ValueDecl *D = Res.first; in ActOnOpenMPSharedClause()
10483 ValueDecl *Field = nullptr;
10487 TransformExprToCaptures(Sema &SemaRef, ValueDecl *FieldDecl) in TransformExprToCaptures()
10504 const llvm::function_ref<T(ValueDecl *)> Gen) { in filterLookupForUDR()
10507 if (T Res = Gen(cast<ValueDecl>(D))) in filterLookupForUDR()
10624 filterLookupForUDR<bool>(Lookups, [](ValueDecl *D) { in buildDeclareReductionRef()
10673 if (auto *VD = filterLookupForUDR<ValueDecl *>( in buildDeclareReductionRef()
10674 Lookups, [&SemaRef, Ty](ValueDecl *D) -> ValueDecl * { in buildDeclareReductionRef()
10681 if (auto *VD = filterLookupForUDR<ValueDecl *>( in buildDeclareReductionRef()
10682 Lookups, [&SemaRef, Ty, Loc](ValueDecl *D) -> ValueDecl * { in buildDeclareReductionRef()
10962 ValueDecl *D = Res.first; in actOnOMPReductionKindClause()
11527 bool Sema::CheckOpenMPLinearDecl(const ValueDecl *D, SourceLocation ELoc, in CheckOpenMPLinearDecl()
11591 ValueDecl *D = Res.first; in ActOnOpenMPLinearClause()
11725 ValueDecl *D = Res.first; in FinishOpenMPLinearClause()
11810 ValueDecl *D = Res.first; in ActOnOpenMPAlignedClause()
11985 ValueDecl *D = Res.first; in ActOnOpenMPCopyprivateClause()
12180 ValueDecl *D = Res.first; in ActOnOpenMPDependClause()
12197 const ValueDecl *VD = in ActOnOpenMPDependClause()
12638 Sema &SemaRef, DSAStackTy *DSAS, const ValueDecl *VD, const Expr *E, in checkMapConflicts()
12887 SmallVector<ValueDecl *, 16> VarBaseDeclarations;
12944 ValueDecl *CurDeclaration = nullptr; in checkMappableExpressionList()
13644 cast<ValueDecl>(ND)); in ActOnOpenMPDeclareTargetName()
13673 ValueDecl *VD) { in checkValueDeclInTarget()
13710 if (auto *VD = dyn_cast<ValueDecl>(D)) { in checkDeclIsAllowedInOpenMPTarget()
13782 ValueDecl *D = Res.first; in ActOnOpenMPUseDevicePtrClause()
13864 ValueDecl *D = Res.first; in ActOnOpenMPIsDevicePtrClause()