|
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"
Data Structures | |
| struct | pattern_info |
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) |
| static const char * | narrowest_uint_type (unsigned int limit) |
| int | main (int argc, const char **argv) |
Variables | |
| static const char *const | rtx_upname [] |
| static vec< pattern_info > | 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-2026 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 pattern_info::cond, md_rtx_info::def, find_optab(), gen_insn(), get_c_test(), maybe_eval_c_test(), patterns, and XSTR.
|
static |
References handle_arg(), header_file_name, and source_file_name.
|
static |
Declare the maybe_code_for_* function for ONAME, and provide an inline definition of the asserting code_for_* wrapper.
References overloaded_name::arg_types, handle_overloaded_code_for(), i, and overloaded_name::name.
|
static |
Declare the maybe_gen_* function for ONAME, and provide an inline definition of the asserting gen_* wrapper.
References overloaded_name::arg_types, overloaded_name::first_instance, get_pattern_stats(), handle_overloaded_gen(), HOST_WIDE_INT_1U, i, overloaded_name::name, overloaded_instance::next, and XVEC.
| int main | ( | int | argc, |
| const char ** | argv ) |
References CMP_NAME, pattern_info::cond, md_rtx_info::def, fatal(), FATAL_EXIT_CODE, gen_insn(), GET_CODE, hash_map< KeyId, Value, Traits >::get_or_insert(), md_reader::get_overloads(), handle_arg(), handle_overloaded_code_for(), handle_overloaded_gen(), header_file_name, i, init_rtx_reader_args_cb(), main(), optab_pattern::name, narrowest_uint_type(), 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 |
Return the name of the narrowest unsigned integer type that is guaranteed to hold every value below LIMIT. The generated file is compiled for the host, which need not be the machine that runs this generator, so use the ranges that ISO C requires rather than the ones this machine happens to provide. GCC hosts have at least 32-bit ints, which cover every vec index.
References narrowest_uint_type().
Referenced by main(), and narrowest_uint_type().
|
static |
References errno, fatal(), fopen, and open_outfile().
Referenced by main(), and open_outfile().
|
static |
References a, b, and optab_kind_cmp().
Referenced by main(), and optab_kind_cmp().
|
static |
References a, b, and optab_rcode_cmp().
Referenced by main(), and optab_rcode_cmp().
|
static |
References a, b, and pattern_cmp().
Referenced by main(), and pattern_cmp().
|
static |
Referenced by handle_arg(), and main().
|
static |
Vector in which to collect insns that match.
Referenced by gen_insn(), and main().
|
static |
Referenced by main().
|
static |
Referenced by handle_arg(), and main().