OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [insn-notes.def] - Blame information for rev 645

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

Line No. Rev Author Line
1 38 julius
/* Insn note definitions.
2
   Copyright (C) 2004, 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 under
7
the terms of the GNU General Public License as published by the Free
8
Software Foundation; either version 3, or (at your option) any later
9
version.
10
 
11
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12
WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14
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
.  */
19
 
20
/* This file defines all the codes that may appear in the
21
   NOTE_LINE_NUMBER field of a NOTE insn for kinds of notes that are
22
   not line numbers.  Source files define DEF_INSN_NOTE appropriately
23
   before including this file.
24
 
25
   We are slowly removing the concept of insn-chain notes from the
26
   compiler.  Adding new codes to this file is STRONGLY DISCOURAGED.
27
   If you think you need one, look for other ways to express what you
28
   mean, such as register notes or bits in the basic-block structure.  */
29
 
30
/* Shorthand.  */
31
#define INSN_NOTE(NAME) DEF_INSN_NOTE (NOTE_INSN_##NAME)
32
 
33
/* This note is used to get rid of an insn when it isn't safe to patch
34
   the insn out of the chain.  */
35
INSN_NOTE (DELETED)
36
 
37
/* Generated in place of user-declared labels when they are deleted.  */
38
INSN_NOTE (DELETED_LABEL)
39
 
40
/* These are used to mark the beginning and end of a lexical block.
41
   See NOTE_BLOCK and reorder_blocks.  */
42
INSN_NOTE (BLOCK_BEG)
43
INSN_NOTE (BLOCK_END)
44
 
45
/* These mark the extremes of a loop.  */
46
INSN_NOTE (LOOP_BEG)
47
INSN_NOTE (LOOP_END)
48
 
49
/* This note indicates the start of the real body of the function,
50
   i.e. the point just after all of the parms have been moved into
51
   their homes, etc.  */
52
INSN_NOTE (FUNCTION_BEG)
53
 
54
/* This kind of note is generated at the end of the function body,
55
   just before the return insn or return label.  In an optimizing
56
   compilation it is deleted by the first jump optimization, after
57
   enabling that optimizer to determine whether control can fall
58
   off the end of the function body without a return statement.  */
59
INSN_NOTE (FUNCTION_END)
60
 
61
/* This marks the point immediately after the last prologue insn.  */
62
INSN_NOTE (PROLOGUE_END)
63
 
64
/* This marks the point immediately prior to the first epilogue insn.  */
65
INSN_NOTE (EPILOGUE_BEG)
66
 
67
/* These note where exception handling regions begin and end.
68
   Uses NOTE_EH_HANDLER to identify the region in question.  */
69
INSN_NOTE (EH_REGION_BEG)
70
INSN_NOTE (EH_REGION_END)
71
 
72
/* Generated whenever a duplicate line number note is output.
73
   For example, one is output after the end of an inline function,
74
   in order to prevent the line containing the inline call from
75
   being counted twice in gcov.  */
76
INSN_NOTE (REPEATED_LINE_NUMBER)
77
 
78
/* The location of a variable.  */
79
INSN_NOTE (VAR_LOCATION)
80
 
81
/* Record the expected value of a register at a location.  Uses
82
   NOTE_EXPECTED_VALUE; stored as (eq (reg) (const_int)).  */
83
INSN_NOTE (EXPECTED_VALUE)
84
 
85
/* Record the struct for the following basic block.  Uses
86
   NOTE_BASIC_BLOCK.  FIXME: Redundant with the basic block pointer
87
   now included in every insn.  */
88
INSN_NOTE (BASIC_BLOCK)
89
 
90
/* Mark the inflection point in the instruction stream where we switch
91
   between hot and cold text sections.  */
92
INSN_NOTE (SWITCH_TEXT_SECTIONS)
93
 
94
#undef INSN_NOTE

powered by: WebSVN 2.1.0

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