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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [score/] [score-protos.h] - Blame information for rev 841

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* score-protos.h for Sunplus S+CORE processor
2
   Copyright (C) 2005, 2007 Free Software Foundation, Inc.
3
 
4
   This file is part of GCC.
5
 
6
   GCC is free software; you can redistribute it and/or modify it
7
   under the terms of the GNU General Public License as published
8
   by the Free Software Foundation; either version 3, or (at your
9
   option) any later version.
10
 
11
   GCC is distributed in the hope that it will be useful, but WITHOUT
12
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
14
   License for more details.
15
 
16
   You should have received a copy of the GNU General Public License
17
   along with GCC; see the file COPYING3.  If not see
18
   <http://www.gnu.org/licenses/>.  */
19
 
20
#ifndef __SCORE_PROTOS_H__
21
#define __SCORE_PROTOS_H__
22
 
23
extern enum reg_class score_char_to_class[];
24
 
25
void score_override_options (void);
26
 
27
void score_init_expanders (void);
28
 
29
int score_hard_regno_mode_ok (unsigned int, enum machine_mode);
30
 
31
int score_reg_class (int regno);
32
 
33
enum reg_class score_preferred_reload_class (rtx x, enum reg_class class);
34
 
35
enum reg_class score_secondary_reload_class (enum reg_class class,
36
                                             enum machine_mode mode, rtx x);
37
 
38
int score_const_ok_for_letter_p (HOST_WIDE_INT value, char c);
39
 
40
int score_extra_constraint (rtx op, char c);
41
 
42
rtx score_return_addr (int count, rtx frame);
43
 
44
HOST_WIDE_INT score_initial_elimination_offset (int from, int to);
45
 
46
rtx score_function_arg (const CUMULATIVE_ARGS *cum, enum machine_mode mode,
47
                        tree type, int named);
48
 
49
int score_arg_partial_nregs (const CUMULATIVE_ARGS *cum,
50
                             enum machine_mode mode, tree type, int named);
51
 
52
void score_init_cumulative_args (CUMULATIVE_ARGS *cum,
53
                                 tree fntype, rtx libname);
54
 
55
void score_function_arg_advance (CUMULATIVE_ARGS *cum, enum machine_mode mode,
56
                                 tree type, int named);
57
 
58
rtx score_function_value (tree valtype, tree func, enum machine_mode mode);
59
 
60
rtx score_va_arg (tree va_list, tree type);
61
 
62
void score_initialize_trampoline (rtx ADDR, rtx FUNC, rtx CHAIN);
63
 
64
int score_address_p (enum machine_mode mode, rtx x, int strict);
65
 
66
int score_legitimize_address (rtx *xloc);
67
 
68
int score_regno_mode_ok_for_base_p (int regno, int strict);
69
 
70
int score_register_move_cost (enum machine_mode mode, enum reg_class to,
71
                              enum reg_class from);
72
 
73
void score_declare_object (FILE *stream, const char *name,
74
                           const char *directive, const char *fmt, ...);
75
 
76
void score_declare_object_name (FILE *stream, const char *name, tree decl);
77
 
78
int score_output_external (FILE *file, tree decl, const char *name);
79
 
80
void score_print_operand (FILE *file, rtx op, int letter);
81
 
82
void score_print_operand_address (FILE *file, rtx addr);
83
 
84
#ifdef RTX_CODE
85
enum machine_mode score_select_cc_mode (enum rtx_code op, rtx x, rtx y);
86
#endif
87
 
88
#include "score-mdaux.h"
89
 
90
#endif /* __SCORE_PROTOS_H__  */
91
 

powered by: WebSVN 2.1.0

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