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

             Branch data     Line data    Source code
       1                 :             : /* Communication between the Local Register Allocator (LRA) and
       2                 :             :    the rest of the compiler.
       3                 :             :    Copyright (C) 2010-2024 Free Software Foundation, Inc.
       4                 :             :    Contributed by Vladimir Makarov <vmakarov@redhat.com>.
       5                 :             : 
       6                 :             : This file is part of GCC.
       7                 :             : 
       8                 :             : GCC is free software; you can redistribute it and/or modify it under
       9                 :             : the terms of the GNU General Public License as published by the Free
      10                 :             : Software Foundation; either version 3, or (at your option) any later
      11                 :             : version.
      12                 :             : 
      13                 :             : GCC is distributed in the hope that it will be useful, but WITHOUT ANY
      14                 :             : WARRANTY; without even the implied warranty of MERCHANTABILITY or
      15                 :             : FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
      16                 :             : for more details.
      17                 :             : 
      18                 :             : You should have received a copy of the GNU General Public License
      19                 :             : along with GCC; see the file COPYING3.  If not see
      20                 :             : <http://www.gnu.org/licenses/>.    */
      21                 :             : 
      22                 :             : #ifndef GCC_LRA_H
      23                 :             : #define GCC_LRA_H
      24                 :             : 
      25                 :             : extern bool lra_simple_p;
      26                 :             : 
      27                 :             : /* Return the allocno reg class of REGNO.  If it is a reload pseudo,
      28                 :             :    the pseudo should finally get hard register of the allocno
      29                 :             :    class.  */
      30                 :             : inline enum reg_class
      31                 :   196926356 : lra_get_allocno_class (int regno)
      32                 :             : {
      33                 :   196926356 :   resize_reg_info ();
      34                 :   196926356 :   return reg_allocno_class (regno);
      35                 :             : }
      36                 :             : 
      37                 :             : extern rtx lra_eliminate_regs (rtx, machine_mode, rtx);
      38                 :             : extern void lra (FILE *, int);
      39                 :             : extern void lra_init_once (void);
      40                 :             : extern void lra_finish_once (void);
      41                 :             : 
      42                 :             : #endif /* GCC_LRA_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.