GCC Middle and Back End API Reference
genattr-common.cc File Reference
#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
#include "errors.h"
#include "read-md.h"
#include "gensupport.h"
Include dependency graph for genattr-common.cc:

Functions

static void write_upcase (const char *str)
 
static void gen_attr (md_rtx_info *info)
 
int main (int argc, const char **argv)
 

Function Documentation

◆ gen_attr()

static void gen_attr ( md_rtx_info * info)
static

References md_rtx_info::def, scan_comma_elt(), write_upcase(), and XSTR.

Referenced by main().

◆ main()

int main ( int argc,
const char ** argv )

◆ write_upcase()

static void write_upcase ( const char * str)
static
Generate attribute information shared between driver and core compilers (insn-attr-common.h) from machine description. Split out of genattr.cc. Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.

Referenced by gen_attr().