Advertisement
Guest User

Untitled

a guest
May 15th, 2015
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.32 KB | None | 0 0
  1. /* Generated automatically by the program `genmatch' from
  2.    a IL pattern matching and simplification description.  */
  3.  
  4. #include "gimple-match-head.c"
  5.  
  6. static bool
  7. gimple_simplify (code_helper *res_code, tree *res_ops,
  8.                  gimple_seq *seq, tree (*valueize)(tree),
  9.                  code_helper code, tree type, tree op0)
  10. {
  11. switch (code.get_rep())
  12. {
  13. default:;
  14. }
  15. return false;
  16. }
  17.  
  18. static bool
  19. gimple_simplify (code_helper *res_code, tree *res_ops,
  20.                  gimple_seq *seq, tree (*valueize)(tree),
  21.                  code_helper code, tree type, tree op0, tree op1)
  22. {
  23. switch (code.get_rep())
  24. {
  25. case PLUS_EXPR:
  26. {
  27. {
  28. /* #line 5 "foo.pd" */
  29. tree captures[2] ATTRIBUTE_UNUSED = {};
  30. captures[0] = op0;
  31. captures[1] = op1;
  32. if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern foo.pd:5, %s:%d\n", __FILE__, __LINE__);
  33. *res_code = op;
  34.   res_ops[0] = captures[0];
  35.   res_ops[1] = captures[1];
  36. gimple_resimplify2 (seq, res_code, type, res_ops, valueize);
  37. return true;
  38. }
  39. break;
  40. }
  41. default:;
  42. }
  43. return false;
  44. }
  45.  
  46. static bool
  47. gimple_simplify (code_helper *res_code, tree *res_ops,
  48.                  gimple_seq *seq, tree (*valueize)(tree),
  49.                  code_helper code, tree type, tree op0, tree op1, tree op2)
  50. {
  51. switch (code.get_rep())
  52. {
  53. default:;
  54. }
  55. return false;
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement