Home | History | Annotate | Download | only in Sema

Lines Matching refs:DeclRefExpr

491   DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
813 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
1107 // Create a new DeclRefExpr to refer to the new decl.
1108 DeclRefExpr* NewDRE = DeclRefExpr::Create(
1209 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) {
1439 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
1537 const DeclRefExpr *DR = cast<DeclRefExpr>(E);
2861 const DeclRefExpr *SrcArgDRE = dyn_cast<DeclRefExpr>(SrcArg);
2865 const DeclRefExpr *CompareWithSrcDRE = dyn_cast<DeclRefExpr>(CompareWithSrc);
2903 if (const DeclRefExpr *D1 = dyn_cast_or_null<DeclRefExpr>(E1))
2904 if (const DeclRefExpr *D2 = dyn_cast_or_null<DeclRefExpr>(E2))
3005 static Expr *EvalVal(Expr *E, SmallVectorImpl<DeclRefExpr *> &refVars);
3006 static Expr *EvalAddr(Expr* E, SmallVectorImpl<DeclRefExpr *> &refVars);
3015 SmallVector<DeclRefExpr *, 8> refVars;
3043 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(stackE)) { //address of local var.
3097 static Expr *EvalAddr(Expr *E, SmallVectorImpl<DeclRefExpr *> &refVars) {
3114 DeclRefExpr *DR = cast<DeclRefExpr>(E);
3160 // valid DeclRefExpr*s. If one of them is valid, we return it.
3239 static Expr *EvalVal(Expr *E, SmallVectorImpl<DeclRefExpr *> &refVars) {
3243 // are l-values (e.g., DeclRefExpr with a pointer type).
3264 // When we hit a DeclRefExpr we are looking at code that refers to a
3267 DeclRefExpr *DR = cast<DeclRefExpr>(E);
3300 // retrieve the DeclRefExpr* for the array variable if it indeed
3367 if (DeclRefExpr* DRL = dyn_cast<DeclRefExpr>(LeftExprSansParen))
3368 if (DeclRefExpr* DRR = dyn_cast<DeclRefExpr>(RightExprSansParen))
3806 if (const DeclRefExpr *DR =
3807 dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts()))
4091 if (DeclRefExpr* R = dyn_cast<DeclRefExpr>(E)) {
4271 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
4601 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr))
4686 if (const DeclRefExprDeclRefExpr>(BaseExpr))
4801 if (DeclRefExpr *ref = dyn_cast<DeclRefExpr>(e)) {
4858 void VisitDeclRefExpr(DeclRefExpr *ref) {