Lines Matching refs:ToExpr

469       Expr *FromExpr, *ToExpr;  member
502 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr), in DiffNode()
543 void SetNode(Expr *FromExpr, Expr *ToExpr) { in SetNode() argument
545 FlatTree[CurrentNode].ToExpr = ToExpr; in SetNode()
640 void GetNode(Expr *&FromExpr, Expr *&ToExpr) { in GetNode() argument
642 ToExpr = FlatTree[ReadNode].ToExpr; in GetNode()
985 Expr *FromExpr = nullptr, *ToExpr = nullptr; in DiffNonTypes() local
995 ToExpr, ToInt, ToValueDecl); in DiffNonTypes()
1002 Tree.SetNode(FromExpr, ToExpr); in DiffNonTypes()
1003 Tree.SetDefault(FromIter.isEnd() && FromExpr, ToIter.isEnd() && ToExpr); in DiffNonTypes()
1008 if (ToExpr) in DiffNonTypes()
1009 HasToInt = GetInt(Context, ToIter, ToExpr, ToInt, in DiffNonTypes()
1021 Tree.SetSame(IsEqualExpr(Context, FromExpr, ToExpr) || in DiffNonTypes()
1033 if (!HasToInt && ToExpr) in DiffNonTypes()
1034 HasToInt = GetInt(Context, ToIter, ToExpr, ToInt, in DiffNonTypes()
1050 if (!HasToValueDecl && ToExpr) in DiffNonTypes()
1051 ToValueDecl = GetValueDecl(ToIter, ToExpr); in DiffNonTypes()
1056 NeedsAddressOf(ToValueDecl, ToExpr, ToDefaultNonTypeDecl); in DiffNonTypes()
1314 static bool IsEqualExpr(ASTContext &Context, Expr *FromExpr, Expr *ToExpr) { in IsEqualExpr() argument
1315 if (FromExpr == ToExpr) in IsEqualExpr()
1318 if (!FromExpr || !ToExpr) in IsEqualExpr()
1322 *ToDRE = dyn_cast<DeclRefExpr>(ToExpr->IgnoreParens()); in IsEqualExpr()
1332 !ToExpr->EvaluateAsRValue(ToResult, Context)) { in IsEqualExpr()
1335 ToExpr->Profile(ToID, Context, true); in IsEqualExpr()
1389 Expr *FromExpr, *ToExpr; in TreeToString() local
1390 Tree.GetNode(FromExpr, ToExpr); in TreeToString()
1391 PrintExpr(FromExpr, ToExpr, Tree.FromNullPtr(), Tree.ToNullPtr(), in TreeToString()
1404 Expr *FromExpr, *ToExpr; in TreeToString() local
1406 Tree.GetNode(FromExpr, ToExpr); in TreeToString()
1409 FromExpr, ToExpr, Tree.FromDefault(), Tree.ToDefault(), in TreeToString()
1545 void PrintExpr(const Expr *FromExpr, const Expr *ToExpr, bool FromNullPtr, in PrintExpr() argument
1547 assert((FromExpr || ToExpr) && in PrintExpr()
1563 PrintExpr(ToExpr, ToNullPtr); in PrintExpr()
1619 Expr *ToExpr, bool FromDefault, bool ToDefault, bool Same) { in PrintAPSInt() argument
1632 PrintAPSInt(ToInt, ToExpr, IsValidToInt); in PrintAPSInt()