GCC Middle and Back End API Reference
|
#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
#include "obstack.h"
#include "errors.h"
#include "read-md.h"
#include "gensupport.h"
Functions | |
static void | max_operand_1 (rtx) |
static int | num_operands (rtx) |
static void | gen_proto (rtx) |
static void | gen_insn (md_rtx_info *info) |
int | main (int argc, const char **argv) |
Variables | |
static struct obstack | obstack |
static int | max_id_len |
static int | max_opno |
|
static |
References md_rtx_info::def, error_at(), md_rtx_info::loc, max_id_len, maybe_eval_c_test(), obstack, and XSTR.
Referenced by main().
|
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 i, max_id_len, maybe_eval_c_test(), num_operands, and XSTR.
Referenced by main().
int main | ( | int | argc, |
const char ** | argv ) |
References md_rtx_info::def, FATAL_EXIT_CODE, gen_insn(), gen_proto(), GET_CODE, have_error, init_rtx_reader_args(), insn_elision, insns, obstack, progname, read_md_rtx(), and SUCCESS_EXIT_CODE.
|
static |
Count the number of match_operand's found.
References GET_CODE, GET_RTX_FORMAT, GET_RTX_LENGTH, i, MAX, max_operand_1(), max_opno, RTX_CODE, XEXP, XINT, XVECEXP, and XVECLEN.
Referenced by max_operand_1(), and num_operands().
|
static |
References i, max_operand_1(), max_opno, XVECEXP, and XVECLEN.
|
static |
Max size of names encountered.
Referenced by gen_insn(), and gen_proto().
|
static |
Max operand encountered in a scan over some insn.
Referenced by max_operand_1(), and num_operands().
|
static |
Generate from machine description: - some flags HAVE_... saying which simple standard instructions are available for this machine. Copyright (C) 1987-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/>.
Obstack to remember insns with.
Referenced by gen_insn(), and main().