Lines Matching refs:FromExpr
601 void SetExpressionDiff(Expr *FromExpr, Expr *ToExpr, bool FromDefault, in SetExpressionDiff() argument
605 FlatTree[CurrentNode].FromArgInfo.ArgExpr = FromExpr; in SetExpressionDiff()
622 Expr *FromExpr, Expr *ToExpr, bool FromDefault, in SetIntegerDiff() argument
632 FlatTree[CurrentNode].FromArgInfo.ArgExpr = FromExpr; in SetIntegerDiff()
639 bool FromNullPtr, bool ToNullPtr, Expr *FromExpr, in SetDeclarationDiff() argument
649 FlatTree[CurrentNode].FromArgInfo.ArgExpr = FromExpr; in SetDeclarationDiff()
656 Expr *FromExpr, const llvm::APSInt &ToInt, bool IsValidToInt, in SetFromDeclarationAndToIntegerDiff() argument
663 FlatTree[CurrentNode].FromArgInfo.ArgExpr = FromExpr; in SetFromDeclarationAndToIntegerDiff()
673 Expr *FromExpr, ValueDecl *ToValueDecl, bool ToAddressOf, in SetFromIntegerAndToDeclarationDiff() argument
680 FlatTree[CurrentNode].FromArgInfo.ArgExpr = FromExpr; in SetFromIntegerAndToDeclarationDiff()
763 void GetExpressionDiff(Expr *&FromExpr, Expr *&ToExpr) { in GetExpressionDiff() argument
765 FromExpr = FlatTree[ReadNode].FromArgInfo.ArgExpr; in GetExpressionDiff()
778 Expr *&FromExpr, Expr *&ToExpr) { in GetIntegerDiff() argument
786 FromExpr = FlatTree[ReadNode].FromArgInfo.ArgExpr; in GetIntegerDiff()
792 bool &FromNullPtr, bool &ToNullPtr, Expr *&FromExpr, in GetDeclarationDiff() argument
801 FromExpr = FlatTree[ReadNode].FromArgInfo.ArgExpr; in GetDeclarationDiff()
807 Expr *&FromExpr, llvm::APSInt &ToInt, bool &IsValidToInt, in GetFromDeclarationAndToIntegerDiff() argument
814 FromExpr = FlatTree[ReadNode].FromArgInfo.ArgExpr; in GetFromDeclarationAndToIntegerDiff()
823 Expr *&FromExpr, ValueDecl *&ToValueDecl, bool &ToAddressOf, in GetFromIntegerAndToDeclarationDiff() argument
830 FromExpr = FlatTree[ReadNode].FromArgInfo.ArgExpr; in GetFromIntegerAndToDeclarationDiff()
1206 Expr *FromExpr = nullptr, *ToExpr = nullptr; in DiffNonTypes() local
1214 FromIntType, FromNullPtr, FromExpr, FromValueDecl, NeedFromAddressOf); in DiffNonTypes()
1220 (FromExpr || FromValueDecl || HasFromInt || FromNullPtr); in DiffNonTypes()
1229 FromValueDecl, NeedFromAddressOf, FromNullPtr, FromExpr, ToInt, in DiffNonTypes()
1238 FromInt, HasFromInt, FromIntType, FromExpr, ToValueDecl, in DiffNonTypes()
1246 ToIntType, FromExpr, ToExpr, FromDefault, ToDefault); in DiffNonTypes()
1256 NeedToAddressOf, FromNullPtr, ToNullPtr, FromExpr, in DiffNonTypes()
1267 assert((FromExpr || ToExpr) && "Both template arguments cannot be empty."); in DiffNonTypes()
1268 Tree.SetExpressionDiff(FromExpr, ToExpr, FromDefault, ToDefault); in DiffNonTypes()
1269 Tree.SetSame(IsEqualExpr(Context, FromExpr, ToExpr)); in DiffNonTypes()
1400 static bool IsEqualExpr(ASTContext &Context, Expr *FromExpr, Expr *ToExpr) { in IsEqualExpr() argument
1401 if (FromExpr == ToExpr) in IsEqualExpr()
1404 if (!FromExpr || !ToExpr) in IsEqualExpr()
1408 FromExpr->Profile(FromID, Context, true); in IsEqualExpr()
1438 Expr *FromExpr, *ToExpr; in TreeToString() local
1439 Tree.GetExpressionDiff(FromExpr, ToExpr); in TreeToString()
1440 PrintExpr(FromExpr, ToExpr, Tree.FromDefault(), Tree.ToDefault(), in TreeToString()
1453 Expr *FromExpr, *ToExpr; in TreeToString() local
1457 FromIntType, ToIntType, FromExpr, ToExpr); in TreeToString()
1459 ToIntType, FromExpr, ToExpr, Tree.FromDefault(), in TreeToString()
1467 Expr *FromExpr, *ToExpr; in TreeToString() local
1469 ToAddressOf, FromNullPtr, ToNullPtr, FromExpr, in TreeToString()
1472 FromNullPtr, ToNullPtr, FromExpr, ToExpr, in TreeToString()
1480 Expr *FromExpr; in TreeToString() local
1486 FromValueDecl, FromAddressOf, FromNullPtr, FromExpr, ToInt, in TreeToString()
1490 FromExpr, Tree.FromDefault(), ToInt, ToIntType, in TreeToString()
1498 Expr *FromExpr; in TreeToString() local
1504 FromInt, IsValidFromInt, FromIntType, FromExpr, ToValueDecl, in TreeToString()
1507 PrintIntegerAndValueDecl(FromInt, FromIntType, FromExpr, in TreeToString()
1639 void PrintExpr(const Expr *FromExpr, const Expr *ToExpr, bool FromDefault, in PrintExpr() argument
1641 assert((FromExpr || ToExpr) && in PrintExpr()
1644 PrintExpr(FromExpr); in PrintExpr()
1648 PrintExpr(FromExpr); in PrintExpr()
1653 PrintExpr(FromExpr); in PrintExpr()
1709 QualType ToIntType, Expr *FromExpr, Expr *ToExpr, in PrintAPSInt() argument
1728 PrintAPSInt(FromInt, FromExpr, IsValidFromInt, FromIntType, PrintType); in PrintAPSInt()
1731 PrintAPSInt(FromInt, FromExpr, IsValidFromInt, FromIntType, PrintType); in PrintAPSInt()
1823 bool ToNullPtr, Expr *FromExpr, Expr *ToExpr, in PrintValueDecl() argument
1829 PrintValueDecl(FromValueDecl, FromAddressOf, FromExpr, FromNullPtr); in PrintValueDecl()
1833 PrintValueDecl(FromValueDecl, FromAddressOf, FromExpr, FromNullPtr); in PrintValueDecl()
1838 PrintValueDecl(FromValueDecl, FromAddressOf, FromExpr, FromNullPtr); in PrintValueDecl()