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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [builtins.h] - Blame information for rev 768

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

Line No. Rev Author Line
1 684 jeremybenn
/* Expand builtin functions.
2
   Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3
   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4
   Free Software Foundation, Inc.
5
 
6
This file is part of GCC.
7
 
8
GCC is free software; you can redistribute it and/or modify it under
9
the terms of the GNU General Public License as published by the Free
10
Software Foundation; either version 3, or (at your option) any later
11
version.
12
 
13
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14
WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
16
for more details.
17
 
18
You should have received a copy of the GNU General Public License
19
along with GCC; see the file COPYING3.  If not see
20
<http://www.gnu.org/licenses/>.  */
21
 
22
#ifndef GCC_BUILTINS_H
23
#define GCC_BUILTINS_H
24
 
25
/* Target-dependent globals.  */
26
struct target_builtins {
27
  /* For each register that may be used for calling a function, this
28
     gives a mode used to copy the register's value.  VOIDmode indicates
29
     the register is not used for calling a function.  If the machine
30
     has register windows, this gives only the outbound registers.
31
     INCOMING_REGNO gives the corresponding inbound register.  */
32
  enum machine_mode x_apply_args_mode[FIRST_PSEUDO_REGISTER];
33
 
34
  /* For each register that may be used for returning values, this gives
35
     a mode used to copy the register's value.  VOIDmode indicates the
36
     register is not used for returning values.  If the machine has
37
     register windows, this gives only the outbound registers.
38
     INCOMING_REGNO gives the corresponding inbound register.  */
39
  enum machine_mode x_apply_result_mode[FIRST_PSEUDO_REGISTER];
40
};
41
 
42
extern GTY(()) struct target_builtins default_target_builtins;
43
#if SWITCHABLE_TARGET
44
extern struct target_builtins *this_target_builtins;
45
#else
46
#define this_target_builtins (&default_target_builtins)
47
#endif
48
 
49
#endif

powered by: WebSVN 2.1.0

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