GCC Middle and Back End API Reference
|
#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
#include "errors.h"
#include "gensupport.h"
#include "rtl.def"
Macros | |
#define | DEF_RTL_EXPR(V, N, X, C) |
#define | CMP_NAME(N) |
Functions | |
static void | gen_insn (md_rtx_info *info) |
static int | pattern_cmp (const void *va, const void *vb) |
static int | optab_kind_cmp (const void *va, const void *vb) |
static int | optab_rcode_cmp (const void *va, const void *vb) |
static bool | handle_arg (const char *arg) |
static FILE * | open_outfile (const char *file_name) |
static void | handle_overloaded_code_for (FILE *file, overloaded_name *oname) |
static void | handle_overloaded_gen (FILE *file, overloaded_name *oname) |
int | main (int argc, const char **argv) |
Variables | |
static const char *const | rtx_upname [] |
static vec< optab_pattern > | patterns |
static const char * | header_file_name = "init-opinit.h" |
static const char * | source_file_name = "init-opinit.c" |
#define CMP_NAME | ( | N | ) |
#define DEF_RTL_EXPR | ( | V, | |
N, | |||
X, | |||
C ) |
Generate code to initialize optabs from machine description. Copyright (C) 1993-2024 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/>.
|
static |
References md_rtx_info::def, find_optab(), patterns, and XSTR.
Referenced by main().
|
static |
References header_file_name, and source_file_name.
Referenced by main().
|
static |
Declare the maybe_code_for_* function for ONAME, and provide an inline definition of the assserting code_for_* wrapper.
References overloaded_name::arg_types, i, and overloaded_name::name.
Referenced by main().
|
static |
Declare the maybe_gen_* function for ONAME, and provide an inline definition of the assserting gen_* wrapper.
References overloaded_name::arg_types, overloaded_name::first_instance, get_pattern_stats(), HOST_WIDE_INT_1U, i, overloaded_name::name, overloaded_instance::next, stats, and XVEC.
Referenced by main().
int main | ( | int | argc, |
const char ** | argv ) |
References CMP_NAME, md_rtx_info::def, end(), fatal(), FATAL_EXIT_CODE, gen_insn(), GET_CODE, md_reader::get_overloads(), handle_arg(), handle_overloaded_code_for(), handle_overloaded_gen(), header_file_name, i, init_rtx_reader_args_cb(), MIN, optab_pattern::name, overloaded_name::next, NULL, NUM_OPTABS, num_optabs, optab_def::op, open_outfile(), optab_kind_cmp(), optab_rcode_cmp(), optabs, pattern_cmp(), patterns, progname, qsort, optab_def::rcode, read_md_rtx(), rtx_reader_ptr, rtx_upname, optab_pattern::sort_num, source_file_name, and SUCCESS_EXIT_CODE.
|
static |
|
static |
|
static |
References a, b, and optab_def::rcode.
Referenced by main().
|
static |
References a, b, and optab_pattern::sort_num.
Referenced by main().
|
static |
Referenced by handle_arg(), and main().
|
static |
Vector in which to collect insns that match.
Referenced by gen_insn(), main(), process_decls(), and process_presence_absence_patterns().
|
static |
Referenced by main().
|
static |
Referenced by handle_arg(), and main().