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

Data Structures

struct  optab_def_d
struct  pattern_d

Typedefs

typedef enum optab_tag optab
typedef struct optab_def_d optab_def
typedef struct pattern_d pattern

Enumerations

enum  optab_tag { unknown_optab, NUM_OPTABS }

Functions

static bool match_pattern ()
static void gen_insn ()
static int pattern_cmp ()
static int optab_kind_cmp ()
static int optab_rcode_cmp ()
static bool handle_arg ()
static FILE * open_outfile ()
int main ()

Variables

static const char *const rtx_upname []
static optab_def optabs []
static vec< patternpatterns
static const char * header_file_name = "init-opinit.h"
static const char * source_file_name = "init-opinit.c"

Typedef Documentation

typedef enum optab_tag optab
typedef struct optab_def_d optab_def
typedef struct pattern_d pattern
Vector in which to collect insns that match.   

Enumeration Type Documentation

enum optab_tag
Enumerator:
unknown_optab 
NUM_OPTABS 

Function Documentation

static void gen_insn ( )
static
static bool handle_arg ( )
static

References header_file_name, and source_file_name.

Referenced by main().

static bool match_pattern ( )
static

References pattern_d::m1, pattern_d::m2, and strlen().

Referenced by gen_insn().

static FILE* open_outfile ( )
static

References errno, and fatal().

Referenced by main().

static int optab_kind_cmp ( )
static

References optab_def_d::kind, and optab_def_d::op.

Referenced by main().

static int optab_rcode_cmp ( )
static

References optab_def_d::rcode.

Referenced by main().

static int pattern_cmp ( )
static

References pattern_d::sort_num.

Referenced by main().


Variable Documentation

const char* header_file_name = "init-opinit.h"
static

Referenced by handle_arg(), and main().

optab_def optabs[]
static
Initial value:
{
{ "unknown_optab", NULL, NS, ZS, NS, unknown_optab, UNKNOWN, UNKNOWN, 0 },
#include "optabs.def"
}
vec<pattern> patterns
static

Referenced by process_decls().

const char* const rtx_upname[]
static
Initial value:
{
#include "rtl.def"
}

Referenced by main().

const char* source_file_name = "init-opinit.c"
static

Referenced by handle_arg(), and main().