Lines Matching refs:FromExpr
443 /// FromExpr, ToExpr - The expression arguments.
444 Expr *FromExpr, *ToExpr;
470 FromType(), ToType(), FromExpr(0), ToExpr(0), FromTD(0), ToTD(0),
507 /// SetNode - Set FromExpr and ToExpr of the current node.
508 void SetNode(Expr *FromExpr, Expr *ToExpr) {
509 FlatTree[CurrentNode].FromExpr = FromExpr;
595 /// GetNode - Gets the FromExpr and ToExpr.
596 void GetNode(Expr *&FromExpr, Expr *&ToExpr) {
597 FromExpr = FlatTree[ReadNode].FromExpr;
875 Expr *FromExpr = 0, *ToExpr = 0;
901 GetExpr(FromIter, DefaultNTTPD, FromExpr);
911 Tree.SetNode(FromExpr, ToExpr);
912 Tree.SetDefault(FromIter.isEnd() && FromExpr,
914 if ((FromExpr && FromExpr->getType()->isIntegerType()) ||
916 HasFromInt = FromExpr;
918 if (FromExpr) {
922 if (FromIter.isEnd() && FromExpr
928 FromExpr = FromIter.getDesugar().getAsExpr();
929 FromInt = FromExpr->EvaluateKnownConstInt(Context);
935 FromInt = FromExpr->EvaluateKnownConstInt(Context);
960 Tree.SetSame(IsEqualExpr(Context, ParamWidth, FromExpr, ToExpr));
964 if (!HasFromInt && FromExpr) {
965 FromInt = FromExpr->EvaluateKnownConstInt(Context);
978 if (!HasFromValueDecl && FromExpr) {
979 DeclRefExpr *DRE = cast<DeclRefExpr>(FromExpr);
1134 Expr *FromExpr, Expr *ToExpr) {
1135 if (FromExpr == ToExpr)
1138 if (!FromExpr || !ToExpr)
1141 FromExpr = FromExpr->IgnoreParens();
1144 DeclRefExpr *FromDRE = dyn_cast<DeclRefExpr>(FromExpr),
1154 if (!FromExpr->EvaluateAsRValue(FromResult, Context) ||
1208 Expr *FromExpr, *ToExpr;
1209 Tree.GetNode(FromExpr, ToExpr);
1210 PrintExpr(FromExpr, ToExpr, Tree.FromDefault(), Tree.ToDefault(),
1223 Expr *FromExpr, *ToExpr;
1225 Tree.GetNode(FromExpr, ToExpr);
1228 FromExpr, ToExpr, Tree.FromDefault(), Tree.ToDefault(),
1362 void PrintExpr(const Expr *FromExpr, const Expr *ToExpr,
1364 assert((FromExpr || ToExpr) &&
1367 PrintExpr(FromExpr);
1371 PrintExpr(FromExpr);
1376 PrintExpr(FromExpr);
1430 bool IsValidFromInt, bool IsValidToInt, Expr *FromExpr,
1439 PrintAPSInt(FromInt, FromExpr, IsValidFromInt);
1442 PrintAPSInt(FromInt, FromExpr, IsValidFromInt);