Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Generated automatically by the program `genmatch' from
- a IL pattern matching and simplification description. */
- #include "gimple-match-head.c"
- static bool
- gimple_simplify (code_helper *res_code, tree *res_ops,
- gimple_seq *seq, tree (*valueize)(tree),
- code_helper code, tree type, tree op0)
- {
- switch (code.get_rep())
- {
- default:;
- }
- return false;
- }
- static bool
- gimple_simplify (code_helper *res_code, tree *res_ops,
- gimple_seq *seq, tree (*valueize)(tree),
- code_helper code, tree type, tree op0, tree op1)
- {
- switch (code.get_rep())
- {
- case PLUS_EXPR:
- {
- {
- /* #line 5 "foo.pd" */
- tree captures[2] ATTRIBUTE_UNUSED = {};
- captures[0] = op0;
- captures[1] = op1;
- if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern foo.pd:5, %s:%d\n", __FILE__, __LINE__);
- *res_code = op;
- res_ops[0] = captures[0];
- res_ops[1] = captures[1];
- gimple_resimplify2 (seq, res_code, type, res_ops, valueize);
- return true;
- }
- break;
- }
- default:;
- }
- return false;
- }
- static bool
- gimple_simplify (code_helper *res_code, tree *res_ops,
- gimple_seq *seq, tree (*valueize)(tree),
- code_helper code, tree type, tree op0, tree op1, tree op2)
- {
- switch (code.get_rep())
- {
- default:;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement