annotate gcc/reg-notes.def @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Register note definitions.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 Copyright (C) 2004-2020 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 This file is part of GCC.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 GCC is free software; you can redistribute it and/or modify it under
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 the terms of the GNU General Public License as published by the Free
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 Software Foundation; either version 3, or (at your option) any later
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 version.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 for more details.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 along with GCC; see the file COPYING3. If not see
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 <http://www.gnu.org/licenses/>. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 /* This file defines all the codes that may appear on individual
111
kono
parents: 67
diff changeset
21 EXPR_LIST, INSN_LIST and INT_LIST rtxes in the REG_NOTES chain of an insn.
kono
parents: 67
diff changeset
22 The codes are stored in the mode field of the rtx. Source files
kono
parents: 67
diff changeset
23 define DEF_REG_NOTE appropriately before including this file.
kono
parents: 67
diff changeset
24
kono
parents: 67
diff changeset
25 CFA related notes meant for RTX_FRAME_RELATED_P instructions
kono
parents: 67
diff changeset
26 should be declared with REG_CFA_NOTE macro instead of REG_NOTE. */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 /* Shorthand. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 #define REG_NOTE(NAME) DEF_REG_NOTE (REG_##NAME)
111
kono
parents: 67
diff changeset
30 #ifndef REG_CFA_NOTE
kono
parents: 67
diff changeset
31 # define REG_CFA_NOTE(NAME) REG_NOTE (NAME)
kono
parents: 67
diff changeset
32 #endif
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 /* REG_DEP_TRUE is used in scheduler dependencies lists to represent a
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 read-after-write dependency (i.e. a true data dependency). This is
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 here, not grouped with REG_DEP_ANTI and REG_DEP_OUTPUT, because some
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 passes use a literal 0 for it. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 REG_NOTE (DEP_TRUE)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 /* The value in REG dies in this insn (i.e., it is not needed past
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 this insn). If REG is set in this insn, the REG_DEAD note may,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 but need not, be omitted. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 REG_NOTE (DEAD)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 /* The REG is autoincremented or autodecremented in this insn. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 REG_NOTE (INC)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 /* Describes the insn as a whole; it says that the insn sets a
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 register to a constant value or to be equivalent to a memory
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 address. If the register is spilled to the stack then the constant
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 value should be substituted for it. The contents of the REG_EQUIV
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 is the constant value or memory address, which may be different
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 from the source of the SET although it has the same value. A
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 REG_EQUIV note may also appear on an insn which copies a register
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 parameter to a pseudo-register, if there is a memory address which
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 could be used to hold that pseudo-register throughout the function. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 REG_NOTE (EQUIV)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
58
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 /* Like REG_EQUIV except that the destination is only momentarily
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 equal to the specified rtx. Therefore, it cannot be used for
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 substitution; but it can be used for cse. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 REG_NOTE (EQUAL)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 /* The register is always nonnegative during the containing loop.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 This is used in branches so that decrement and branch instructions
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 terminating on zero can be matched. There must be an insn pattern
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
67 in the md file named `decrement_and_branch_until_zero' or else this
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 will never be added to any instructions. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 REG_NOTE (NONNEG)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
70
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
71 /* Identifies a register set in this insn and never used. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
72 REG_NOTE (UNUSED)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
73
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 /* REG_CC_SETTER and REG_CC_USER link a pair of insns that set and use
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 CC0, respectively. Normally, these are required to be consecutive
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
76 insns, but we permit putting a cc0-setting insn in the delay slot
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
77 of a branch as long as only one copy of the insn exists. In that
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
78 case, these notes point from one to the other to allow code
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
79 generation to determine what any require information and to
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
80 properly update CC_STATUS. These notes are INSN_LISTs. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
81 REG_NOTE (CC_SETTER)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
82 REG_NOTE (CC_USER)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
83
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
84 /* Points to a CODE_LABEL. Used by JUMP_INSNs to say that the CODE_LABEL
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
85 contained in the REG_LABEL_TARGET note is a possible jump target of
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
86 this insn. This note is an INSN_LIST. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
87 REG_NOTE (LABEL_TARGET)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
88
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
89 /* Points to a CODE_LABEL. Used by any insn to say that the CODE_LABEL
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
90 contained in the REG_LABEL_OPERAND note is used by the insn, but as an
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
91 operand, not as a jump target (though it may indirectly be a jump
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
92 target for a later jump insn). This note is an INSN_LIST. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
93 REG_NOTE (LABEL_OPERAND)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
94
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 /* REG_DEP_OUTPUT and REG_DEP_ANTI are used in scheduler dependencies lists
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 to represent write-after-write and write-after-read dependencies
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
97 respectively. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
98 REG_NOTE (DEP_OUTPUT)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
99 REG_NOTE (DEP_ANTI)
111
kono
parents: 67
diff changeset
100 REG_NOTE (DEP_CONTROL)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
101
111
kono
parents: 67
diff changeset
102 /* REG_BR_PROB is attached to JUMP_INSNs. It has an
kono
parents: 67
diff changeset
103 integer value (in an INT_LIST). For jumps, it is the probability
kono
parents: 67
diff changeset
104 that this is a taken branch. The integer represents a value of
kono
parents: 67
diff changeset
105 profile_probability type. Use to_reg_br_prob_note and from_reg_br_prob_note
kono
parents: 67
diff changeset
106 to extract the actual value. */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
107 REG_NOTE (BR_PROB)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
108
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
109 /* Attached to a call insn; indicates that the call is malloc-like and
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
110 that the pointer returned cannot alias anything else. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
111 REG_NOTE (NOALIAS)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
112
111
kono
parents: 67
diff changeset
113 /* REG_BR_PRED is attached to JUMP_INSNs. It contains
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
114 CONCAT of two integer value. First specifies the branch predictor
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
115 that added the note, second specifies the predicted hitrate of
111
kono
parents: 67
diff changeset
116 branch in a fixed point arithmetic based on REG_BR_PROB_BASE. */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 REG_NOTE (BR_PRED)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
118
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
119 /* Attached to insns that are RTX_FRAME_RELATED_P, but are too complex
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 for DWARF to interpret what they imply. The attached rtx is used
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
121 instead of intuition. */
111
kono
parents: 67
diff changeset
122 REG_CFA_NOTE (FRAME_RELATED_EXPR)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
123
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
124 /* Attached to insns that are RTX_FRAME_RELATED_P, but are too complex
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
125 for FRAME_RELATED_EXPR intuition. The insn's first pattern must be
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
126 a SET, and the destination must be the CFA register. The attached
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
127 rtx is an expression that defines the CFA. In the simplest case, the
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
128 rtx could be just the stack_pointer_rtx; more common would be a PLUS
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
129 with a base register and a constant offset. In the most complicated
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
130 cases, this will result in a DW_CFA_def_cfa_expression with the rtx
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
131 expression rendered in a dwarf location expression. */
111
kono
parents: 67
diff changeset
132 REG_CFA_NOTE (CFA_DEF_CFA)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
133
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
134 /* Attached to insns that are RTX_FRAME_RELATED_P, but are too complex
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
135 for FRAME_RELATED_EXPR intuition. This note adjusts the expression
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
136 from which the CFA is computed. The attached rtx defines a new CFA
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
137 expression, relative to the old CFA expression. This rtx must be of
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
138 the form (SET new-cfa-reg (PLUS old-cfa-reg const_int)). If the note
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
139 rtx is NULL, we use the first SET of the insn. */
111
kono
parents: 67
diff changeset
140 REG_CFA_NOTE (CFA_ADJUST_CFA)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
141
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
142 /* Similar to FRAME_RELATED_EXPR, with the additional information that
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
143 this is a save to memory, i.e. will result in DW_CFA_offset or the
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
144 like. The pattern or the insn should be a simple store relative to
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
145 the CFA. */
111
kono
parents: 67
diff changeset
146 REG_CFA_NOTE (CFA_OFFSET)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
147
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
148 /* Similar to FRAME_RELATED_EXPR, with the additional information that this
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
149 is a save to a register, i.e. will result in DW_CFA_register. The insn
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
150 or the pattern should be simple reg-reg move. */
111
kono
parents: 67
diff changeset
151 REG_CFA_NOTE (CFA_REGISTER)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
152
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
153 /* Attached to insns that are RTX_FRAME_RELATED_P, but are too complex
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
154 for FRAME_RELATED_EXPR intuition. This is a save to memory, i.e. will
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
155 result in a DW_CFA_expression. The pattern or the insn should be a
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
156 store of a register to an arbitrary (non-validated) memory address. */
111
kono
parents: 67
diff changeset
157 REG_CFA_NOTE (CFA_EXPRESSION)
kono
parents: 67
diff changeset
158
kono
parents: 67
diff changeset
159 /* Attached to insns that are RTX_FRAME_RELATED_P, but are too complex
kono
parents: 67
diff changeset
160 for FRAME_RELATED_EXPR intuition. The DWARF expression computes the value of
kono
parents: 67
diff changeset
161 the given register. */
kono
parents: 67
diff changeset
162 REG_CFA_NOTE (CFA_VAL_EXPRESSION)
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
163
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
164 /* Attached to insns that are RTX_FRAME_RELATED_P, with the information
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
165 that this is a restore operation, i.e. will result in DW_CFA_restore
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
166 or the like. Either the attached rtx, or the destination of the insn's
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
167 first pattern is the register to be restored. */
111
kono
parents: 67
diff changeset
168 REG_CFA_NOTE (CFA_RESTORE)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
169
111
kono
parents: 67
diff changeset
170 /* Attached to insns that are RTX_FRAME_RELATED_P, marks insn that sets
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
171 vDRAP from DRAP. If vDRAP is a register, vdrap_reg is initalized
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
172 to the argument, if it is a MEM, it is ignored. */
111
kono
parents: 67
diff changeset
173 REG_CFA_NOTE (CFA_SET_VDRAP)
kono
parents: 67
diff changeset
174
kono
parents: 67
diff changeset
175 /* Attached to insns that are RTX_FRAME_RELATED_P, indicating a window
kono
parents: 67
diff changeset
176 save operation, i.e. will result in a DW_CFA_GNU_window_save.
kono
parents: 67
diff changeset
177 The argument is ignored. */
kono
parents: 67
diff changeset
178 REG_CFA_NOTE (CFA_WINDOW_SAVE)
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
179
111
kono
parents: 67
diff changeset
180 /* Attached to insns that are RTX_FRAME_RELATED_P, marks the insn as
kono
parents: 67
diff changeset
181 requiring that all queued information should be flushed *before* insn,
kono
parents: 67
diff changeset
182 regardless of what is visible in the rtl. The argument is ignored.
kono
parents: 67
diff changeset
183 This is normally used for a call instruction which is not exposed to
kono
parents: 67
diff changeset
184 the rest of the compiler as a CALL_INSN. */
kono
parents: 67
diff changeset
185 REG_CFA_NOTE (CFA_FLUSH_QUEUE)
kono
parents: 67
diff changeset
186
kono
parents: 67
diff changeset
187 /* Attached to insns that are RTX_FRAME_RELATED_P, toggling the mangling status
kono
parents: 67
diff changeset
188 of return address. Currently it's only used by AArch64. The argument is
kono
parents: 67
diff changeset
189 ignored. */
kono
parents: 67
diff changeset
190 REG_CFA_NOTE (CFA_TOGGLE_RA_MANGLE)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
191
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
192 /* Indicates what exception region an INSN belongs in. This is used
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
193 to indicate what region to which a call may throw. REGION 0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
194 indicates that a call cannot throw at all. REGION -1 indicates
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
195 that it cannot throw, nor will it execute a non-local goto. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
196 REG_NOTE (EH_REGION)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
197
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
198 /* Used by haifa-sched to save NOTE_INSN notes across scheduling. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
199 REG_NOTE (SAVE_NOTE)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
200
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
201 /* Indicates that a call does not return. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
202 REG_NOTE (NORETURN)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
203
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
204 /* Indicates that an indirect jump is a non-local goto instead of a
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
205 computed goto. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
206 REG_NOTE (NON_LOCAL_GOTO)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
207
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
208 /* This kind of note is generated at each to `setjmp', and similar
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
209 functions that can return twice. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
210 REG_NOTE (SETJMP)
111
kono
parents: 67
diff changeset
211
kono
parents: 67
diff changeset
212 /* This kind of note is generated at each transactional memory
kono
parents: 67
diff changeset
213 builtin, to indicate we need to generate transaction restart
kono
parents: 67
diff changeset
214 edges for this insn. */
kono
parents: 67
diff changeset
215 REG_NOTE (TM)
kono
parents: 67
diff changeset
216
kono
parents: 67
diff changeset
217 /* Indicates the cumulative offset of the stack pointer accounting
kono
parents: 67
diff changeset
218 for pushed arguments. This will only be generated when
kono
parents: 67
diff changeset
219 ACCUMULATE_OUTGOING_ARGS is false. */
kono
parents: 67
diff changeset
220 REG_NOTE (ARGS_SIZE)
kono
parents: 67
diff changeset
221
kono
parents: 67
diff changeset
222 /* Used for communication between IRA and caller-save.c, indicates
kono
parents: 67
diff changeset
223 that the return value of a call can be used to reinitialize a
kono
parents: 67
diff changeset
224 pseudo reg. */
kono
parents: 67
diff changeset
225 REG_NOTE (RETURNED)
kono
parents: 67
diff changeset
226
kono
parents: 67
diff changeset
227 /* Indicates the instruction is a stack check probe that should not
kono
parents: 67
diff changeset
228 be combined with other stack adjustments. */
kono
parents: 67
diff changeset
229 REG_NOTE (STACK_CHECK)
kono
parents: 67
diff changeset
230
kono
parents: 67
diff changeset
231 /* Used to mark a call with the function decl called by the call.
kono
parents: 67
diff changeset
232 The decl might not be available in the call due to splitting of the call
kono
parents: 67
diff changeset
233 insn. This note is a SYMBOL_REF. */
kono
parents: 67
diff changeset
234 REG_NOTE (CALL_DECL)
kono
parents: 67
diff changeset
235
kono
parents: 67
diff changeset
236 /* Indicate that a call should not be verified for control-flow consistency.
kono
parents: 67
diff changeset
237 The target address of the call is assumed as a valid address and no check
kono
parents: 67
diff changeset
238 to validate a branch to the target address is needed. The call is marked
kono
parents: 67
diff changeset
239 when a called function has a 'notrack' attribute. This note is used by the
kono
parents: 67
diff changeset
240 compiler when the option -fcf-protection=branch is specified. */
kono
parents: 67
diff changeset
241 REG_NOTE (CALL_NOCF_CHECK)
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
242
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
243 /* The values passed to callee, for debuginfo purposes. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
244 REG_NOTE (CALL_ARG_LOCATION)