Lines Matching refs:ToExpr

531       Expr *FromExpr, *ToExpr;  member
564 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr), in DiffNode()
605 void SetNode(Expr *FromExpr, Expr *ToExpr) { in SetNode() argument
607 FlatTree[CurrentNode].ToExpr = ToExpr; in SetNode()
702 void GetNode(Expr *&FromExpr, Expr *&ToExpr) { in GetNode() argument
704 ToExpr = FlatTree[ReadNode].ToExpr; in GetNode()
1047 Expr *FromExpr = nullptr, *ToExpr = nullptr; in DiffNonTypes() local
1057 ToExpr, ToInt, ToValueDecl); in DiffNonTypes()
1064 Tree.SetNode(FromExpr, ToExpr); in DiffNonTypes()
1065 Tree.SetDefault(FromIter.isEnd() && FromExpr, ToIter.isEnd() && ToExpr); in DiffNonTypes()
1070 if (ToExpr) in DiffNonTypes()
1071 HasToInt = GetInt(Context, ToIter, ToExpr, ToInt, in DiffNonTypes()
1083 Tree.SetSame(IsEqualExpr(Context, FromExpr, ToExpr) || in DiffNonTypes()
1095 if (!HasToInt && ToExpr) in DiffNonTypes()
1096 HasToInt = GetInt(Context, ToIter, ToExpr, ToInt, in DiffNonTypes()
1112 if (!HasToValueDecl && ToExpr) in DiffNonTypes()
1113 ToValueDecl = GetValueDecl(ToIter, ToExpr); in DiffNonTypes()
1118 NeedsAddressOf(ToValueDecl, ToExpr, ToDefaultNonTypeDecl); in DiffNonTypes()
1376 static bool IsEqualExpr(ASTContext &Context, Expr *FromExpr, Expr *ToExpr) { in IsEqualExpr() argument
1377 if (FromExpr == ToExpr) in IsEqualExpr()
1380 if (!FromExpr || !ToExpr) in IsEqualExpr()
1384 *ToDRE = dyn_cast<DeclRefExpr>(ToExpr->IgnoreParens()); in IsEqualExpr()
1394 !ToExpr->EvaluateAsRValue(ToResult, Context)) { in IsEqualExpr()
1397 ToExpr->Profile(ToID, Context, true); in IsEqualExpr()
1451 Expr *FromExpr, *ToExpr; in TreeToString() local
1452 Tree.GetNode(FromExpr, ToExpr); in TreeToString()
1453 PrintExpr(FromExpr, ToExpr, Tree.FromNullPtr(), Tree.ToNullPtr(), in TreeToString()
1466 Expr *FromExpr, *ToExpr; in TreeToString() local
1468 Tree.GetNode(FromExpr, ToExpr); in TreeToString()
1471 FromExpr, ToExpr, Tree.FromDefault(), Tree.ToDefault(), in TreeToString()
1607 void PrintExpr(const Expr *FromExpr, const Expr *ToExpr, bool FromNullPtr, in PrintExpr() argument
1609 assert((FromExpr || ToExpr) && in PrintExpr()
1625 PrintExpr(ToExpr, ToNullPtr); in PrintExpr()
1681 Expr *ToExpr, bool FromDefault, bool ToDefault, bool Same) { in PrintAPSInt() argument
1694 PrintAPSInt(ToInt, ToExpr, IsValidToInt); in PrintAPSInt()