Lines Matching refs:buildDeclRefExpr

1518 static DeclRefExpr *buildDeclRefExpr(Sema &S, VarDecl *D, QualType Ty,  in buildDeclRefExpr()  function
1549 buildDeclRefExpr(SemaRef, VD, SemaRef.Context.VoidPtrTy, SR.getBegin()); in addTaskgroupReductionData()
1574 buildDeclRefExpr(SemaRef, VD, SemaRef.Context.VoidPtrTy, SR.getBegin()); in addTaskgroupReductionData()
1711 DVar.RefExpr = buildDeclRefExpr( in getTopDSA()
1727 DVar.RefExpr = buildDeclRefExpr( in getTopDSA()
1745 buildDeclRefExpr(SemaRef, VD, D->getType().getNonReferenceType(), in getTopDSA()
1764 buildDeclRefExpr(SemaRef, VD, D->getType().getNonReferenceType(), in getTopDSA()
2438 DeclRefExpr *VDPrivateRefExpr = buildDeclRefExpr( in isOpenMPCapturedDecl()
2833 PrivateCopies.push_back(buildDeclRefExpr( in EndOpenMPDSABlock()
4065 DeclRefExpr *DRE = buildDeclRefExpr( in visitSubCaptures()
4611 return buildDeclRefExpr(S, CD, CD->getType().getNonReferenceType(), in buildCapture()
4621 Ref = buildDeclRefExpr(S, CD, CD->getType().getNonReferenceType(), in buildCapture()
5559 return buildDeclRefExpr(Actions, VD, VD->getType(), {}); in buildDistanceFunc()
8133 buildDeclRefExpr(SemaRef, Var, in checkAndSetInit()
8929 DeclRefExpr *Ref = buildDeclRefExpr( in buildCounterVar()
8949 ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc) in buildPrivateCounterVar()
8953 return buildDeclRefExpr(SemaRef, PrivateVar, Type, DefaultLoc); in buildPrivateCounterVar()
9029 buildDeclRefExpr(*this, const_cast<VarDecl *>(Var), in ActOnOpenMPLoopInitialization()
9517 DeclRefExpr *Ref = buildDeclRefExpr(SemaRef, D, D->getType(), in checkOpenMPLoop()
9675 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9682 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
9690 IL = buildDeclRefExpr(SemaRef, ILDecl, Int32Ty, InitLoc); in checkOpenMPLoop()
9698 ST = buildDeclRefExpr(SemaRef, STDecl, StrideVType, InitLoc); in checkOpenMPLoop()
9722 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLoc); in checkOpenMPLoop()
9730 CombUB = buildDeclRefExpr(SemaRef, CombUBDecl, VType, InitLoc); in checkOpenMPLoop()
9758 buildDeclRefExpr(SemaRef, PrevLBDecl, PrevLBDecl->getType(), InitLoc); in checkOpenMPLoop()
9760 buildDeclRefExpr(SemaRef, PrevUBDecl, PrevUBDecl->getType(), InitLoc); in checkOpenMPLoop()
9769 IV = buildDeclRefExpr(SemaRef, IVDecl, RealVType, InitLoc); in checkOpenMPLoop()
10042 DeclRefExpr *CounterVar = buildDeclRefExpr( in checkOpenMPLoop()
14626 DeclRefExpr *TileIV = buildDeclRefExpr(*this, TileIndVars[I], CntTy, in ActOnOpenMPTileDirective()
14628 DeclRefExpr *FloorIV = buildDeclRefExpr(*this, FloorIndVars[I], CntTy, in ActOnOpenMPTileDirective()
14702 DeclRefExpr *FloorIV = buildDeclRefExpr(*this, FloorIndVars[I], CntTy, in ActOnOpenMPTileDirective()
14896 return buildDeclRefExpr(*this, OuterIVDecl, IVTy, OrigVarLoc); in ActOnOpenMPUnrollDirective()
14904 return buildDeclRefExpr(*this, InnerIVDecl, IVTy, OrigVarLoc); in ActOnOpenMPUnrollDirective()
17800 DeclRefExpr *VDPrivateRefExpr = buildDeclRefExpr( in ActOnOpenMPPrivateClause()
17808 Ref = buildDeclRefExpr(*this, VD, VD->getType().getNonReferenceType(), in ActOnOpenMPPrivateClause()
18045 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc); in ActOnOpenMPFirstprivateClause()
18065 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, RefExpr->getType(), in ActOnOpenMPFirstprivateClause()
18079 DeclRefExpr *VDPrivateRefExpr = buildDeclRefExpr( in ActOnOpenMPFirstprivateClause()
18090 Ref = buildDeclRefExpr(*this, VD, VD->getType().getNonReferenceType(), in ActOnOpenMPFirstprivateClause()
18240 buildDeclRefExpr(*this, SrcVD, Type.getUnqualifiedType(), ELoc); in ActOnOpenMPLastprivateClause()
18244 DeclRefExpr *PseudoDstExpr = buildDeclRefExpr(*this, DstVD, Type, ELoc); in ActOnOpenMPLastprivateClause()
19147 DeclRefExpr *LHSDRE = buildDeclRefExpr(S, LHSVD, Type, ELoc); in actOnOMPReductionKindClause()
19148 DeclRefExpr *RHSDRE = buildDeclRefExpr(S, RHSVD, Type, ELoc); in actOnOMPReductionKindClause()
19283 DeclRefExpr *PrivateDRE = buildDeclRefExpr(S, PrivateVD, PrivateTy, ELoc); in actOnOMPReductionKindClause()
19368 TempArrayRes = buildDeclRefExpr(S, TempArrayVD, PrivateTy, ELoc); in actOnOMPReductionKindClause()
19381 TempArrayRes = buildDeclRefExpr(S, TempArrayVD, ArrayTy, ELoc); in actOnOMPReductionKindClause()
19686 DeclRefExpr *PrivateRef = buildDeclRefExpr(*this, Private, Type, ELoc); in ActOnOpenMPLinearClause()
19715 DeclRefExpr *InitRef = buildDeclRefExpr(*this, Init, Type, ELoc); in ActOnOpenMPLinearClause()
19743 buildDeclRefExpr(*this, SaveVar, StepExpr->getType(), StepLoc); in ActOnOpenMPLinearClause()
19822 buildDeclRefExpr(SemaRef, cast<VarDecl>(DE->getDecl()), in FinishOpenMPLinearClause()
20007 DeclRefExpr *PseudoSrcExpr = buildDeclRefExpr( in ActOnOpenMPCopyinClause()
20013 buildDeclRefExpr(*this, DstVD, ElemType, DE->getExprLoc()); in ActOnOpenMPCopyinClause()
20120 DeclRefExpr *PseudoSrcExpr = buildDeclRefExpr(*this, SrcVD, Type, ELoc); in ActOnOpenMPCopyprivateClause()
20124 DeclRefExpr *PseudoDstExpr = buildDeclRefExpr(*this, DstVD, Type, ELoc); in ActOnOpenMPCopyprivateClause()
21913 ::buildDeclRefExpr(*this, OmpInParm, ReductionType, D->getLocation()); in ActOnOpenMPDeclareReductionCombinerStart()
21915 ::buildDeclRefExpr(*this, OmpOutParm, ReductionType, D->getLocation()); in ActOnOpenMPDeclareReductionCombinerStart()
21973 ::buildDeclRefExpr(*this, OmpOrigParm, ReductionType, D->getLocation()); in ActOnOpenMPDeclareReductionInitializerStart()
21975 ::buildDeclRefExpr(*this, OmpPrivParm, ReductionType, D->getLocation()); in ActOnOpenMPDeclareReductionInitializerStart()
22144 Expr *E = buildDeclRefExpr(*this, VD, MapperType, StartLoc); in ActOnOpenMPDeclareMapperDirectiveVarDecl()
22847 DeclRefExpr *VDPrivateRefExpr = buildDeclRefExpr( in ActOnOpenMPUseDevicePtrClause()
22853 DeclRefExpr *VDInitRefExpr = buildDeclRefExpr( in ActOnOpenMPUseDevicePtrClause()