LCOV - code coverage report
Current view: top level - gcc - hsa-builtins.def (source / functions) Hit Total Coverage
Test: gcc.info Lines: 5 5 100.0 %
Date: 2020-03-28 11:57:23 Functions: 0 0 -
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* This file contains the definitions and documentation for the
       2                 :            :    Offloading and Multi Processing builtins used in the GNU compiler.
       3                 :            :    Copyright (C) 2005-2020 Free Software Foundation, Inc.
       4                 :            : 
       5                 :            : This file is part of GCC.
       6                 :            : 
       7                 :            : GCC is free software; you can redistribute it and/or modify it under
       8                 :            : the terms of the GNU General Public License as published by the Free
       9                 :            : Software Foundation; either version 3, or (at your option) any later
      10                 :            : version.
      11                 :            : 
      12                 :            : GCC is distributed in the hope that it will be useful, but WITHOUT ANY
      13                 :            : WARRANTY; without even the implied warranty of MERCHANTABILITY or
      14                 :            : FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
      15                 :            : for more details.
      16                 :            : 
      17                 :            : You should have received a copy of the GNU General Public License
      18                 :            : along with GCC; see the file COPYING3.  If not see
      19                 :            : <http://www.gnu.org/licenses/>.  */
      20                 :            : 
      21                 :            : /* Before including this file, you should define a macro:
      22                 :            : 
      23                 :            :      DEF_HSA_BUILTIN (ENUM, NAME, TYPE, ATTRS)
      24                 :            : 
      25                 :            :    See builtins.def for details.  */
      26                 :            : 
      27                 :            : /* The reason why they aren't in gcc/builtins.def is that the Fortran front end
      28                 :            :    doesn't source those.  */
      29                 :            : 
      30                 :     170845 : DEF_HSA_BUILTIN (BUILT_IN_HSA_WORKGROUPID, "hsa_workgroupid",
      31                 :            :                  BT_FN_UINT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)
      32                 :     170845 : DEF_HSA_BUILTIN (BUILT_IN_HSA_WORKITEMID, "hsa_workitemid",
      33                 :            :                  BT_FN_UINT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)
      34                 :     170845 : DEF_HSA_BUILTIN (BUILT_IN_HSA_WORKITEMABSID, "hsa_workitemabsid",
      35                 :            :                  BT_FN_UINT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)
      36                 :     170845 : DEF_HSA_BUILTIN (BUILT_IN_HSA_GRIDSIZE, "hsa_gridsize",
      37                 :            :                  BT_FN_UINT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)
      38                 :     170845 : DEF_HSA_BUILTIN (BUILT_IN_HSA_CURRENTWORKGROUPSIZE, "hsa_currentworkgroupsize",
      39                 :            :                  BT_FN_UINT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)

Generated by: LCOV version 1.0

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 --enable-host-shared. GCC test suite is run with the built compiler.