LCOV - code coverage report
Current view: top level - gcc - tree-ssa-loop-manip.h (source / functions) Coverage Total Hit
Test: gcc.info Lines: 100.0 % 3 3
Test Date: 2024-04-20 14:03:02 Functions: - 0 0
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : /* Header file for High-level loop manipulation functions.
       2                 :             :    Copyright (C) 2013-2024 Free Software Foundation, Inc.
       3                 :             : 
       4                 :             : This file is part of GCC.
       5                 :             : 
       6                 :             : GCC is free software; you can redistribute it and/or modify it under
       7                 :             : the terms of the GNU General Public License as published by the Free
       8                 :             : Software Foundation; either version 3, or (at your option) any later
       9                 :             : version.
      10                 :             : 
      11                 :             : GCC is distributed in the hope that it will be useful, but WITHOUT ANY
      12                 :             : WARRANTY; without even the implied warranty of MERCHANTABILITY or
      13                 :             : FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
      14                 :             :  for more details.
      15                 :             : 
      16                 :             : You should have received a copy of the GNU General Public License
      17                 :             : along with GCC; see the file COPYING3.  If not see
      18                 :             : <http://www.gnu.org/licenses/>.  */
      19                 :             : 
      20                 :             : #ifndef GCC_TREE_SSA_LOOP_MANIP_H
      21                 :             : #define GCC_TREE_SSA_LOOP_MANIP_H
      22                 :             : 
      23                 :             : typedef void (*transform_callback)(class loop *, void *);
      24                 :             : 
      25                 :             : extern void create_iv (tree, tree_code, tree, tree, class loop *,
      26                 :             :                        gimple_stmt_iterator *, bool, tree *, tree *);
      27                 :             : extern void rewrite_into_loop_closed_ssa (bitmap, unsigned);
      28                 :             : extern void verify_loop_closed_ssa (bool, class loop * = NULL);
      29                 :             : 
      30                 :             : inline void
      31                 :        1873 : checking_verify_loop_closed_ssa (bool verify_ssa_p, class loop *loop = NULL)
      32                 :             : {
      33                 :        1873 :   if (flag_checking)
      34                 :        1873 :     verify_loop_closed_ssa (verify_ssa_p, loop);
      35                 :             : }
      36                 :             : 
      37                 :             : extern basic_block split_loop_exit_edge (edge, bool = false);
      38                 :             : extern basic_block ip_end_pos (class loop *);
      39                 :             : extern basic_block ip_normal_pos (class loop *);
      40                 :             : extern void standard_iv_increment_position (class loop *,
      41                 :             :                                             gimple_stmt_iterator *, bool *);
      42                 :             : extern bool
      43                 :             : gimple_duplicate_loop_body_to_header_edge (class loop *, edge, unsigned int,
      44                 :             :                                            sbitmap, edge, vec<edge> *, int);
      45                 :             : extern bool can_unroll_loop_p (class loop *loop, unsigned factor,
      46                 :             :                                class tree_niter_desc *niter);
      47                 :             : extern gcov_type niter_for_unrolled_loop (class loop *, unsigned);
      48                 :             : extern void tree_transform_and_unroll_loop (class loop *, unsigned,
      49                 :             :                                             tree_niter_desc *,
      50                 :             :                                             transform_callback, void *);
      51                 :             : extern void tree_unroll_loop (class loop *, unsigned, tree_niter_desc *);
      52                 :             : extern tree canonicalize_loop_ivs (class loop *, tree *, bool);
      53                 :             : extern unsigned int loop_invariant_motion_in_fun (function *, bool);
      54                 :             : 
      55                 :             : 
      56                 :             : #endif /* GCC_TREE_SSA_LOOP_MANIP_H */
        

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.