GCC Middle and Back End API Reference
|
Data Structures | |
struct | rtx_definition |
Macros | |
#define | CONST_DOUBLE_FORMAT "" |
#define | DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) { #ENUM, NAME, FORMAT }, |
#define | NUM_RTX_CODE ARRAY_SIZE (defs) |
Functions | |
static const char * | type_from_format () |
static const char * | accessor_from_format () |
static int | special_format () |
static int | special_rtx () |
static int | excluded_rtx () |
static void | find_formats () |
static void | genmacro () |
static void | gendef () |
static void | genlegend () |
static void | genheader () |
int | main () |
Variables | |
static struct rtx_definition | defs [] |
static const char * | formats [NUM_RTX_CODE] |
#define CONST_DOUBLE_FORMAT "" |
rtl.def needs CONST_DOUBLE_FORMAT, but we don't care what CONST_DOUBLE_FORMAT is because we're not going to be generating anything for CONST_DOUBLE anyway.
#define NUM_RTX_CODE ARRAY_SIZE (defs) |
Referenced by cmp_c_test(), excluded_rtx(), maybe_both_true_2(), and valid_predicate_name_p().
|
static |
Decode a format letter into the proper accessor function.
|
static |
Return nonzero if the RTL code given by index IDX is one that we should generate no macro for at all (because gen_rtx_FOO is never used or cannot have the obvious interface).
References NUM_RTX_CODE.
|
static |
Place a list of all format specifiers we use into the array FORMAT.
|
static |
Generate the code for the function to generate RTL whose format is FORMAT.
Start by writing the definition of the function name and the types of the arguments.
Now write out the body of the function itself, which allocates the memory and initializes it.
|
static |
Generate the text of the header file we make, genrtl.h.
|
static |
Generate the documentation header for files we write.
|
static |
Generate macros to generate RTL of code IDX using the functions we write.
We write a macro that defines gen_rtx_RTLCODE to be an equivalent to gen_rtx_fmt_FORMAT where FORMAT is the RTX_FORMAT of RTLCODE.
Don't define a macro for this code.
int main | ( | ) |
This is the main program.
|
static |
Return nonzero if we should ignore FMT, an RTL format, when making the list of formats we write routines to create.
|
static |
Return nonzero if the RTL code given by index IDX is one that we should generate a gen_rtx_raw_FOO macro for, not gen_rtx_FOO (because gen_rtx_FOO is a wrapper in emit-rtl.c).
|
static |
Decode a format letter into a C type string.
References gcc_unreachable.
|
static |
|
static |