OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [treelang/] [treetree.h] - Diff between revs 38 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 154
/*  TREELANG Compiler definitions for interfacing to treetree.c
/*  TREELANG Compiler definitions for interfacing to treetree.c
    (compiler back end interface).
    (compiler back end interface).
 
 
    Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003,
    Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003,
    2004, 2005, 2007 Free Software Foundation, Inc.
    2004, 2005, 2007 Free Software Foundation, Inc.
 
 
    This program is free software; you can redistribute it and/or modify it
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the
    under the terms of the GNU General Public License as published by the
    Free Software Foundation; either version 3, or (at your option) any
    Free Software Foundation; either version 3, or (at your option) any
    later version.
    later version.
 
 
    This program is distributed in the hope that it will be useful,
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    GNU General Public License for more details.
 
 
    You should have received a copy of the GNU General Public License
    You should have received a copy of the GNU General Public License
    along with this program; see the file COPYING3.  If not see
    along with this program; see the file COPYING3.  If not see
    <http://www.gnu.org/licenses/>.
    <http://www.gnu.org/licenses/>.
 
 
    In other words, you are welcome to use, share and improve this program.
    In other words, you are welcome to use, share and improve this program.
    You are forbidden to forbid anyone else to use, share and improve
    You are forbidden to forbid anyone else to use, share and improve
    what you give them.   Help stamp out software-hoarding!
    what you give them.   Help stamp out software-hoarding!
 
 
    ---------------------------------------------------------------------------
    ---------------------------------------------------------------------------
 
 
    Written by Tim Josling 1999, 2000, 2001, based in part on other
    Written by Tim Josling 1999, 2000, 2001, based in part on other
    parts of the GCC compiler.  */
    parts of the GCC compiler.  */
 
 
tree tree_code_init_parameters (void);
tree tree_code_init_parameters (void);
tree tree_code_add_parameter (tree list, tree proto_exp, tree exp);
tree tree_code_add_parameter (tree list, tree proto_exp, tree exp);
tree tree_code_get_integer_value (unsigned char *chars, unsigned int length);
tree tree_code_get_integer_value (unsigned char *chars, unsigned int length);
void tree_code_generate_return (tree type, tree exp);
void tree_code_generate_return (tree type, tree exp);
void tree_ggc_storage_always_used  (void *m);
void tree_ggc_storage_always_used  (void *m);
tree tree_code_get_expression (unsigned int exp_type, tree type, tree op1,
tree tree_code_get_expression (unsigned int exp_type, tree type, tree op1,
                               tree op2, tree op3, location_t loc);
                               tree op2, tree op3, location_t loc);
tree tree_code_get_numeric_type (unsigned int size1, unsigned int sign1);
tree tree_code_get_numeric_type (unsigned int size1, unsigned int sign1);
void tree_code_create_function_initial (tree prev_saved,
void tree_code_create_function_initial (tree prev_saved,
                                        location_t loc);
                                        location_t loc);
void tree_code_create_function_wrapup (location_t loc);
void tree_code_create_function_wrapup (location_t loc);
tree tree_code_create_function_prototype (unsigned char* chars,
tree tree_code_create_function_prototype (unsigned char* chars,
                                          unsigned int storage_class,
                                          unsigned int storage_class,
                                          unsigned int ret_type,
                                          unsigned int ret_type,
                                          struct prod_token_parm_item* parms,
                                          struct prod_token_parm_item* parms,
                                          location_t loc);
                                          location_t loc);
tree tree_code_create_variable (unsigned int storage_class,
tree tree_code_create_variable (unsigned int storage_class,
                                unsigned char* chars,
                                unsigned char* chars,
                                unsigned int length,
                                unsigned int length,
                                unsigned int expression_type,
                                unsigned int expression_type,
                                tree init,
                                tree init,
                                location_t loc);
                                location_t loc);
void tree_code_output_expression_statement (tree code,
void tree_code_output_expression_statement (tree code,
                                            location_t loc);
                                            location_t loc);
void tree_code_if_start (tree exp, location_t loc);
void tree_code_if_start (tree exp, location_t loc);
void tree_code_if_else (location_t loc);
void tree_code_if_else (location_t loc);
void tree_code_if_end (location_t loc);
void tree_code_if_end (location_t loc);
tree tree_code_get_type (int type_num);
tree tree_code_get_type (int type_num);
void treelang_init_decl_processing (void);
void treelang_init_decl_processing (void);
void treelang_finish (void);
void treelang_finish (void);
bool treelang_init (void);
bool treelang_init (void);
unsigned int treelang_init_options (unsigned int, const char **);
unsigned int treelang_init_options (unsigned int, const char **);
int treelang_handle_option (size_t scode, const char *arg, int value);
int treelang_handle_option (size_t scode, const char *arg, int value);
void treelang_parse_file (int debug_flag);
void treelang_parse_file (int debug_flag);
void push_var_level (void);
void push_var_level (void);
void pop_var_level (void);
void pop_var_level (void);
const char* get_string (const char *s, size_t l);
const char* get_string (const char *s, size_t l);
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.