You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1KB

  1. /* Support routines for dead store elimination.
  2. Copyright (C) 2019-2020 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3, or (at your option)
  7. any later version.
  8. GCC is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifndef GCC_TREE_SSA_DSE_H
  16. #define GCC_TREE_SSA_DSE_H
  17. /* Return value from dse_classify_store */
  18. enum dse_store_status
  19. {
  20. DSE_STORE_LIVE,
  21. DSE_STORE_MAYBE_PARTIAL_DEAD,
  22. DSE_STORE_DEAD
  23. };
  24. dse_store_status dse_classify_store (ao_ref *, gimple *, bool, sbitmap,
  25. bool * = NULL, tree = NULL);
  26. void delete_dead_or_redundant_assignment (gimple_stmt_iterator *, const char *,
  27. bitmap = NULL);
  28. #endif /* GCC_TREE_SSA_DSE_H */