Advertisement
Guest User

Untitled

a guest
Jun 19th, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.97 KB | None | 0 0
  1. static bool
  2. gimple_match_and_simplify (code_helper code, tree type, tree op0, tree op1,
  3.                tree op2, code_helper * res_code, tree * res_ops,
  4.                gimple_seq * seq, tree (*valueize) (tree))
  5. {
  6.   if (code == COMPLEX_EXPR)
  7.     {
  8.       {
  9.     tree o2 = op0;
  10.     tree t0 = NULL_TREE;
  11.     if (TREE_CODE (o2) == REALPART_EXPR)
  12.       {
  13.         t0 = TREE_OPERAND (o2, 0);
  14.         if (do_valueize (valueize, t0))
  15.           {
  16.         {
  17.           tree o3 = t0;
  18.           {
  19.             tree o4 = op1;
  20.             tree t1 = NULL_TREE;
  21.             if (TREE_CODE (o4) == IMAGPART_EXPR)
  22.               {
  23.             t1 = TREE_OPERAND (o4, 0);
  24.             if (do_valueize (valueize, t1))
  25.               {
  26.                 {
  27.                   tree o5 = t1;
  28.                   if (o5 == o3)
  29.                 {
  30.                   /* simplify 0 */
  31.                   {
  32.                     tree captures[4] = { };
  33.                     captures[0] = o3;
  34.                     res_ops[0] = captures[0];
  35.                     *res_code = TREE_CODE (res_ops[0]);
  36.                     return true;
  37.                   }
  38.                 }
  39.                 }
  40.               }
  41.               }
  42.           }
  43.         }
  44.           }
  45.       }
  46.       }
  47.     }
  48.   return false;
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement