Lines Matching refs:buildDeclRefExpr
1416 static DeclRefExpr *buildDeclRefExpr(Sema &S, VarDecl *D, QualType Ty, in buildDeclRefExpr() function
1448 buildDeclRefExpr(SemaRef, VD, SemaRef.Context.VoidPtrTy, SR.getBegin()); in addTaskgroupReductionData()
1474 buildDeclRefExpr(SemaRef, VD, SemaRef.Context.VoidPtrTy, SR.getBegin()); in addTaskgroupReductionData()
1612 DVar.RefExpr = buildDeclRefExpr( in getTopDSA()
1628 DVar.RefExpr = buildDeclRefExpr( in getTopDSA()
1647 buildDeclRefExpr(SemaRef, VD, D->getType().getNonReferenceType(), in getTopDSA()
1666 buildDeclRefExpr(SemaRef, VD, D->getType().getNonReferenceType(), in getTopDSA()
2647 PrivateCopies.push_back(buildDeclRefExpr( in EndOpenMPDSABlock()
3841 DeclRefExpr *DRE = buildDeclRefExpr( in visitSubCaptures()
4338 return buildDeclRefExpr(S, CD, CD->getType().getNonReferenceType(), in buildCapture()
4348 Ref = buildDeclRefExpr(S, CD, CD->getType().getNonReferenceType(), in buildCapture()
5264 return buildDeclRefExpr(Actions, VD, VD->getType(), {}); in buildDistanceFunc()
7603 buildDeclRefExpr(SemaRef, Var, in checkAndSetInit()
8395 DeclRefExpr *Ref = buildDeclRefExpr( in buildCounterVar()
8415 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
8419 return buildDeclRefExpr(SemaRef, PrivateVar, Type, DefaultLoc); in buildPrivateCounterVar()
8497 buildDeclRefExpr(*this, const_cast<VarDecl *>(Var), in ActOnOpenMPLoopInitialization()
8987 DeclRefExpr *Ref = buildDeclRefExpr(SemaRef, D, D->getType(), in checkOpenMPLoop()
9144 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9151 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
9159 IL = buildDeclRefExpr(SemaRef, ILDecl, Int32Ty, InitLoc); in checkOpenMPLoop()
9167 ST = buildDeclRefExpr(SemaRef, STDecl, StrideVType, InitLoc); in checkOpenMPLoop()
9191 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLoc); in checkOpenMPLoop()
9199 CombUB = buildDeclRefExpr(SemaRef, CombUBDecl, VType, InitLoc); in checkOpenMPLoop()
9227 buildDeclRefExpr(SemaRef, PrevLBDecl, PrevLBDecl->getType(), InitLoc); in checkOpenMPLoop()
9229 buildDeclRefExpr(SemaRef, PrevUBDecl, PrevUBDecl->getType(), InitLoc); in checkOpenMPLoop()
9238 IV = buildDeclRefExpr(SemaRef, IVDecl, RealVType, InitLoc); in checkOpenMPLoop()
9509 DeclRefExpr *CounterVar = buildDeclRefExpr( in checkOpenMPLoop()
12713 DeclRefExpr *TileIV = buildDeclRefExpr(*this, TileIndVars[I], CntTy, in ActOnOpenMPTileDirective()
12715 DeclRefExpr *FloorIV = buildDeclRefExpr(*this, FloorIndVars[I], CntTy, in ActOnOpenMPTileDirective()
12789 DeclRefExpr *FloorIV = buildDeclRefExpr(*this, FloorIndVars[I], CntTy, in ActOnOpenMPTileDirective()
12982 return buildDeclRefExpr(*this, OuterIVDecl, IVTy, OrigVarLoc); in ActOnOpenMPUnrollDirective()
12990 return buildDeclRefExpr(*this, InnerIVDecl, IVTy, OrigVarLoc); in ActOnOpenMPUnrollDirective()
15719 DeclRefExpr *VDPrivateRefExpr = buildDeclRefExpr( in ActOnOpenMPPrivateClause()
15980 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc); in ActOnOpenMPFirstprivateClause()
16000 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, RefExpr->getType(), in ActOnOpenMPFirstprivateClause()
16014 DeclRefExpr *VDPrivateRefExpr = buildDeclRefExpr( in ActOnOpenMPFirstprivateClause()
16169 buildDeclRefExpr(*this, SrcVD, Type.getUnqualifiedType(), ELoc); in ActOnOpenMPLastprivateClause()
16173 DeclRefExpr *PseudoDstExpr = buildDeclRefExpr(*this, DstVD, Type, ELoc); in ActOnOpenMPLastprivateClause()
17076 DeclRefExpr *LHSDRE = buildDeclRefExpr(S, LHSVD, Type, ELoc); in actOnOMPReductionKindClause()
17077 DeclRefExpr *RHSDRE = buildDeclRefExpr(S, RHSVD, Type, ELoc); in actOnOMPReductionKindClause()
17213 DeclRefExpr *PrivateDRE = buildDeclRefExpr(S, PrivateVD, PrivateTy, ELoc); in actOnOMPReductionKindClause()
17298 TempArrayRes = buildDeclRefExpr(S, TempArrayVD, PrivateTy, ELoc); in actOnOMPReductionKindClause()
17311 TempArrayRes = buildDeclRefExpr(S, TempArrayVD, ArrayTy, ELoc); in actOnOMPReductionKindClause()
17617 DeclRefExpr *PrivateRef = buildDeclRefExpr(*this, Private, Type, ELoc); in ActOnOpenMPLinearClause()
17646 DeclRefExpr *InitRef = buildDeclRefExpr(*this, Init, Type, ELoc); in ActOnOpenMPLinearClause()
17674 buildDeclRefExpr(*this, SaveVar, StepExpr->getType(), StepLoc); in ActOnOpenMPLinearClause()
17753 buildDeclRefExpr(SemaRef, cast<VarDecl>(DE->getDecl()), in FinishOpenMPLinearClause()
17940 DeclRefExpr *PseudoSrcExpr = buildDeclRefExpr( in ActOnOpenMPCopyinClause()
17946 buildDeclRefExpr(*this, DstVD, ElemType, DE->getExprLoc()); in ActOnOpenMPCopyinClause()
18054 DeclRefExpr *PseudoSrcExpr = buildDeclRefExpr(*this, SrcVD, Type, ELoc); in ActOnOpenMPCopyprivateClause()
18058 DeclRefExpr *PseudoDstExpr = buildDeclRefExpr(*this, DstVD, Type, ELoc); in ActOnOpenMPCopyprivateClause()
19804 ::buildDeclRefExpr(*this, OmpInParm, ReductionType, D->getLocation()); in ActOnOpenMPDeclareReductionCombinerStart()
19806 ::buildDeclRefExpr(*this, OmpOutParm, ReductionType, D->getLocation()); in ActOnOpenMPDeclareReductionCombinerStart()
19864 ::buildDeclRefExpr(*this, OmpOrigParm, ReductionType, D->getLocation()); in ActOnOpenMPDeclareReductionInitializerStart()
19866 ::buildDeclRefExpr(*this, OmpPrivParm, ReductionType, D->getLocation()); in ActOnOpenMPDeclareReductionInitializerStart()
20035 Expr *E = buildDeclRefExpr(*this, VD, MapperType, StartLoc); in ActOnOpenMPDeclareMapperDirectiveVarDecl()
20715 DeclRefExpr *VDPrivateRefExpr = buildDeclRefExpr( in ActOnOpenMPUseDevicePtrClause()
20721 DeclRefExpr *VDInitRefExpr = buildDeclRefExpr( in ActOnOpenMPUseDevicePtrClause()