Lines Matching refs:DeclRefExpr
125 SmallVector<DeclRefExpr *, 32> InnerDeclRefs;
127 SmallVector<DeclRefExpr *, 32> BlockDeclRefs;
318 Stmt *RewriteBlockDeclRefExpr(DeclRefExpr *VD);
319 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
391 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs);
405 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs,
1511 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
2020 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl()
2517 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral()
2518 DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation()); in RewriteObjCStringLiteral()
2600 DeclRefExpr *STDRE = in SynthMsgSendStretCallExpr()
2601 new (Context) DeclRefExpr(*Context, MsgSendStretFlavor, false, in SynthMsgSendStretCallExpr()
2675 new (Context) DeclRefExpr(*Context, CurMethodDef->getSelfDecl(), false, in SynthMessageExpr()
2705 DeclRefExpr *DRE = new (Context) in SynthMessageExpr()
2706 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
2766 new (Context) DeclRefExpr(*Context, CurMethodDef->getSelfDecl(), false, in SynthMessageExpr()
2797 DeclRefExpr *DRE = new (Context) in SynthMessageExpr()
2798 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
2941 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr()
3043 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr()
3553 DeclRefExpr *Exp = InnerDeclRefs[count++]; in SynthesizeBlockLiterals()
3655 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs()
3663 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs, in GetInnerBlockDeclRefExprs()
3677 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs()
3723 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall()
3830 Stmt *RewriteObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr()
3867 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage()
4350 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs) { in SynthBlockInitExpr()
4360 DeclRefExpr *Exp = InnerBlockDeclRefs[i]; in SynthBlockInitExpr()
4410 DeclRefExpr *DRE = new (Context) in SynthBlockInitExpr()
4411 DeclRefExpr(*Context, FD, false, FType, VK_PRValue, SourceLocation()); in SynthBlockInitExpr()
4417 DeclRefExpr *Arg = new (Context) DeclRefExpr( in SynthBlockInitExpr()
4431 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy, in SynthBlockInitExpr()
4446 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
4458 Arg = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
4464 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
4493 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
4587 SmallVector<DeclRefExpr *, 8> InnerBlockDeclRefs; in RewriteFunctionBodyOrGlobalInitializer()
4730 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()