GCC Middle and Back End API Reference
Main Page
Namespaces
Data Structures
Files
File List
Globals
hooks.h
Go to the documentation of this file.
1
/* General-purpose hooks.
2
Copyright (C) 2002-2013 Free Software Foundation, Inc.
3
4
This program is free software; you can redistribute it and/or modify it
5
under the terms of the GNU General Public License as published by the
6
Free Software Foundation; either version 3, or (at your option) any
7
later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program; see the file COPYING3. If not see
16
<http://www.gnu.org/licenses/>.
17
18
In other words, you are welcome to use, share and improve this program.
19
You are forbidden to forbid anyone else to use, share and improve
20
what you give them. Help stamp out software-hoarding! */
21
22
#ifndef GCC_HOOKS_H
23
#define GCC_HOOKS_H
24
25
#include "
machmode.h
"
26
27
extern
bool
hook_bool_void_false
(
void
);
28
extern
bool
hook_bool_void_true
(
void
);
29
extern
bool
hook_bool_bool_false
(
bool
);
30
extern
bool
hook_bool_bool_gcc_optionsp_false
(
bool
,
struct
gcc_options *);
31
extern
bool
hook_bool_const_int_const_int_true
(
const
int
,
const
int
);
32
extern
bool
hook_bool_mode_false
(
enum
machine_mode);
33
extern
bool
hook_bool_mode_true
(
enum
machine_mode);
34
extern
bool
hook_bool_mode_const_rtx_false
(
enum
machine_mode,
const_rtx
);
35
extern
bool
hook_bool_mode_const_rtx_true
(
enum
machine_mode,
const_rtx
);
36
extern
bool
hook_bool_mode_rtx_false
(
enum
machine_mode,
rtx
);
37
extern
bool
hook_bool_mode_rtx_true
(
enum
machine_mode,
rtx
);
38
extern
bool
hook_bool_const_rtx_const_rtx_true
(
const_rtx
,
const_rtx
);
39
extern
bool
hook_bool_mode_uhwi_false
(
enum
machine_mode,
40
unsigned
HOST_WIDE_INT
);
41
extern
bool
hook_bool_tree_false
(
tree
);
42
extern
bool
hook_bool_const_tree_false
(
const_tree
);
43
extern
bool
hook_bool_tree_true
(
tree
);
44
extern
bool
hook_bool_const_tree_true
(
const_tree
);
45
extern
bool
hook_bool_gsiptr_false
(
gimple_stmt_iterator
*);
46
extern
bool
hook_bool_const_tree_hwi_hwi_const_tree_false
(
const_tree
,
47
HOST_WIDE_INT
,
48
HOST_WIDE_INT
,
49
const_tree
);
50
extern
bool
hook_bool_const_tree_hwi_hwi_const_tree_true
(
const_tree
,
51
HOST_WIDE_INT
,
52
HOST_WIDE_INT
,
53
const_tree
);
54
extern
bool
hook_bool_rtx_true
(
rtx
);
55
extern
bool
hook_bool_rtx_false
(
rtx
);
56
extern
bool
hook_bool_rtx_int_false
(
rtx
,
int
);
57
extern
bool
hook_bool_uintp_uintp_false
(
unsigned
int
*,
unsigned
int
*);
58
extern
bool
hook_bool_rtx_int_int_int_intp_bool_false
(
rtx
,
int
,
int
,
int
,
59
int
*,
bool
);
60
extern
bool
hook_bool_tree_tree_false
(
tree
,
tree
);
61
extern
bool
hook_bool_tree_tree_true
(
tree
,
tree
);
62
extern
bool
hook_bool_tree_bool_false
(
tree
,
bool
);
63
64
extern
void
hook_void_void
(
void
);
65
extern
void
hook_void_constcharptr
(
const
char
*);
66
extern
void
hook_void_rtx_int
(
rtx
,
int
);
67
extern
void
hook_void_FILEptr_constcharptr
(FILE *,
const
char
*);
68
extern
bool
hook_bool_FILEptr_rtx_false
(FILE *,
rtx
);
69
extern
void
hook_void_tree
(
tree
);
70
extern
void
hook_void_tree_treeptr
(
tree
,
tree
*);
71
extern
void
hook_void_int_int
(
int
,
int
);
72
extern
void
hook_void_gcc_optionsp
(
struct
gcc_options *);
73
74
extern
int
hook_int_uint_mode_1
(
unsigned
int
,
enum
machine_mode);
75
extern
int
hook_int_const_tree_0
(
const_tree
);
76
extern
int
hook_int_const_tree_const_tree_1
(
const_tree
,
const_tree
);
77
extern
int
hook_int_rtx_0
(
rtx
);
78
extern
int
hook_int_rtx_1
(
rtx
);
79
extern
int
hook_int_rtx_unreachable
(
rtx
);
80
extern
int
hook_int_rtx_bool_0
(
rtx
,
bool
);
81
extern
int
hook_int_rtx_mode_as_bool_0
(
rtx
,
enum
machine_mode,
addr_space_t
,
82
bool
);
83
84
extern
tree
hook_tree_const_tree_null
(
const_tree
);
85
86
extern
tree
hook_tree_tree_tree_null
(
tree
,
tree
);
87
extern
tree
hook_tree_tree_tree_tree_null
(
tree
,
tree
,
tree
);
88
extern
tree
hook_tree_tree_tree_tree_3rd_identity
(
tree
,
tree
,
tree
);
89
extern
tree
hook_tree_tree_int_treep_bool_null
(
tree
,
int
,
tree
*,
bool
);
90
91
extern
unsigned
hook_uint_void_0
(
void
);
92
93
extern
bool
default_can_output_mi_thunk_no_vcall
(
const_tree
,
HOST_WIDE_INT
,
94
HOST_WIDE_INT
,
const_tree
);
95
96
extern
rtx
hook_rtx_rtx_identity
(
rtx
);
97
extern
rtx
hook_rtx_rtx_null
(
rtx
);
98
extern
rtx
hook_rtx_tree_int_null
(
tree
,
int
);
99
100
extern
const
char
*
hook_constcharptr_void_null
(
void
);
101
extern
const
char
*
hook_constcharptr_const_tree_null
(
const_tree
);
102
extern
const
char
*
hook_constcharptr_const_rtx_null
(
const_rtx
);
103
extern
const
char
*
hook_constcharptr_const_tree_const_tree_null
(
const_tree
,
const_tree
);
104
extern
const
char
*
hook_constcharptr_int_const_tree_null
(
int
,
const_tree
);
105
extern
const
char
*
hook_constcharptr_int_const_tree_const_tree_null
(
int
,
const_tree
,
const_tree
);
106
#endif
gcc
hooks.h
Generated by
1.8.1.1