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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [spu/] [spu-protos.h] - Blame information for rev 433

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

Line No. Rev Author Line
1 282 jeremybenn
/* Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2
 
3
   This file is free software; you can redistribute it and/or modify it under
4
   the terms of the GNU General Public License as published by the Free
5
   Software Foundation; either version 3 of the License, or (at your option)
6
   any later version.
7
 
8
   This file is distributed in the hope that it will be useful, but WITHOUT
9
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11
   for more details.
12
 
13
   You should have received a copy of the GNU General Public License
14
   along with GCC; see the file COPYING3.  If not see
15
   <http://www.gnu.org/licenses/>.  */
16
 
17
#ifndef _SPU_PROTOS_
18
#define _SPU_PROTOS_
19
 
20
#include "rtl.h"
21
 
22
extern void spu_cpu_cpp_builtins (struct cpp_reader * pfile);
23
extern void builtin_define_std (const char *);
24
extern void spu_optimization_options (int level, int size);
25
extern void spu_override_options (void);
26
extern void spu_c_common_override_options (void);
27
extern int valid_subreg (rtx op);
28
extern void spu_expand_extv (rtx * ops, int unsignedp);
29
extern void spu_expand_insv (rtx * ops);
30
extern int spu_expand_block_move (rtx * ops);
31
extern void spu_emit_branch_or_set (int is_set, rtx cmp, rtx * operands);
32
extern int spu_emit_vector_cond_expr (rtx, rtx, rtx, rtx, rtx, rtx);
33
extern HOST_WIDE_INT const_double_to_hwint (rtx x);
34
extern rtx hwint_to_const_double (enum machine_mode mode, HOST_WIDE_INT v);
35
extern void print_operand_address (FILE * file, register rtx addr);
36
extern void print_operand (FILE * file, rtx x, int code);
37
extern int spu_split_immediate (rtx * ops);
38
extern int spu_saved_regs_size (void);
39
extern int direct_return (void);
40
extern void spu_expand_prologue (void);
41
extern void spu_expand_epilogue (unsigned char sibcall_p);
42
extern rtx spu_return_addr (int count, rtx frame);
43
extern rtx spu_const (enum machine_mode mode, HOST_WIDE_INT val);
44
extern rtx spu_const_from_ints (enum machine_mode mode,
45
                                int a, int b, int c, int d);
46
extern struct rtx_def *spu_float_const (const char *string,
47
                                        enum machine_mode mode);
48
extern int immediate_load_p (rtx op, enum machine_mode mode);
49
extern int logical_immediate_p (rtx op, enum machine_mode mode);
50
extern int iohl_immediate_p (rtx op, enum machine_mode mode);
51
extern int arith_immediate_p (rtx op, enum machine_mode mode,
52
                              HOST_WIDE_INT low, HOST_WIDE_INT high);
53
extern bool exp2_immediate_p (rtx op, enum machine_mode mode, int low,
54
                              int high);
55
extern int spu_constant_address_p (rtx x);
56
extern int spu_legitimate_constant_p (rtx x);
57
extern int spu_initial_elimination_offset (int from, int to);
58
extern rtx spu_function_value (const_tree type, const_tree func);
59
extern rtx spu_function_arg (int cum, enum machine_mode mode, tree type,
60
                             int named);
61
extern void spu_setup_incoming_varargs (int *cum, enum machine_mode mode,
62
                                        tree type, int *pretend_size,
63
                                        int no_rtl);
64
extern void spu_conditional_register_usage (void);
65
extern int spu_expand_mov (rtx * ops, enum machine_mode mode);
66
extern int spu_split_load (rtx * ops);
67
extern int spu_split_store (rtx * ops);
68
extern int fsmbi_const_p (rtx x);
69
extern int cpat_const_p (rtx x, enum machine_mode mode);
70
extern rtx gen_cpat_const (rtx * ops);
71
extern void constant_to_array (enum machine_mode mode, rtx x,
72
                               unsigned char *arr);
73
extern rtx array_to_constant (enum machine_mode mode, const unsigned char *arr);
74
extern rtx spu_gen_exp2 (enum machine_mode mode, rtx x);
75
extern void spu_allocate_stack (rtx op0, rtx op1);
76
extern void spu_restore_stack_nonlocal (rtx op0, rtx op1);
77
extern void spu_restore_stack_block (rtx op0, rtx op1);
78
extern rtx spu_gen_subreg (enum machine_mode mode, rtx x);
79
extern int spu_safe_dma(HOST_WIDE_INT channel);
80
extern void spu_builtin_splats (rtx ops[]);
81
extern void spu_builtin_extract (rtx ops[]);
82
extern void spu_builtin_insert (rtx ops[]);
83
extern void spu_builtin_promote (rtx ops[]);
84
extern void spu_expand_sign_extend (rtx ops[]);
85
extern void spu_expand_vector_init (rtx target, rtx vals);
86
extern void spu_init_expanders (void);
87
extern void spu_split_convert (rtx *);
88
extern void spu_function_profiler (FILE *, int);
89
 
90
/* spu-c.c */
91
extern tree spu_resolve_overloaded_builtin (location_t, tree fndecl,
92
                                            void *fnargs);
93
extern rtx spu_expand_builtin (tree exp, rtx target, rtx subtarget,
94
                               enum machine_mode mode, int ignore);
95
extern rtx spu_expand_builtin (tree, rtx, rtx, enum machine_mode, int);
96
 
97
#endif

powered by: WebSVN 2.1.0

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