generic-match.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. /* Generic simplify definitions.
  2. Copyright (C) 2011-2019 Free Software Foundation, Inc.
  3. Contributed by Richard Guenther <rguenther@suse.de>
  4. This file is part of GCC.
  5. GCC is free software; you can redistribute it and/or modify it under
  6. the terms of the GNU General Public License as published by the Free
  7. Software Foundation; either version 3, or (at your option) any later
  8. version.
  9. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with GCC; see the file COPYING3. If not see
  15. <http://www.gnu.org/licenses/>. */
  16. #ifndef GCC_GENERIC_MATCH_H
  17. #define GCC_GENERIC_MATCH_H
  18. /* Note the following functions are supposed to be only used from
  19. fold_unary_loc, fold_binary_loc and fold_ternary_loc respectively.
  20. They are not considered a public API. */
  21. tree generic_simplify (location_t, enum tree_code, tree, tree);
  22. tree generic_simplify (location_t, enum tree_code, tree, tree, tree);
  23. tree generic_simplify (location_t, enum tree_code, tree, tree, tree, tree);
  24. #endif /* GCC_GENERIC_MATCH_H */