GCC Middle and Back End API Reference
genflags.c File Reference

Functions

static void max_operand_1 (rtx)
static int num_operands (rtx)
static void gen_proto (rtx)
static void gen_macro (const char *, int, int)
static void gen_insn (int, rtx)
static void max_operand_1 ()
static int num_operands ()
static void gen_macro ()
static void gen_proto ()
static void gen_insn ()
int main ()

Variables

static struct obstack obstack
static int max_id_len
static int max_opno

Function Documentation

static void gen_insn ( int  ,
rtx   
)
static
static void gen_insn ( )
static
static void gen_macro ( const char *  ,
int  ,
int   
)
static

Referenced by gen_proto().

static void gen_macro ( )
static
Print out a wrapper macro for a function which corrects the number
   of arguments it takes.  Any missing arguments are assumed to be at
   the end.   
static void gen_proto ( rtx  )
static

Referenced by main().

static void gen_proto ( )
static
Print out prototype information for a generator function.  If the
   insn pattern has been elided, print out a dummy generator that
   does nothing.   

References gen_macro(), max_id_len, maybe_eval_c_test(), and num_operands().

static void max_operand_1 ( rtx  )
static

Referenced by max_operand_1(), and num_operands().

static void max_operand_1 ( )
static
Count the number of match_operand's found.   

References len, max_operand_1(), and max_opno.

static int num_operands ( rtx  )
static

Referenced by gen_proto().

static int num_operands ( )
static

References len, max_operand_1(), and max_opno.


Variable Documentation

int max_id_len
static
Max size of names encountered.   

Referenced by gen_insn(), and gen_proto().

int max_opno
static
Max operand encountered in a scan over some insn.   

Referenced by max_operand_1(), and num_operands().

struct obstack obstack
static
@verbatim Generate from machine description:
  • some flags HAVE_... saying which simple standard instructions are available for this machine. Copyright (C) 1987-2013 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/.

Obstack to remember insns with.   

Referenced by gen_insn(), and main().