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)
- {
- 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)
- {
- if (code == TRUNC_MOD_EXPR)
- {
- {
- {
- if (integer_onep (op1))
- {
- /* simplify 0 */
- {
- tree captures[6] ATTRIBUTE_UNUSED = { };
- captures[0] = op0;
- /* #line 3 "test.pd" */
- res_ops[0] = build_zero_cst (type);
- *res_code = TREE_CODE (res_ops[0]);
- return true;
- }
- }
- }
- }
- }
- 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)
- {
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement