GCC Middle and Back End API Reference
basic-block.h
Go to the documentation of this file.
1/* Define control flow data structures for the CFG.
2 Copyright (C) 1987-2025 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
9version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
19
20#ifndef GCC_BASIC_BLOCK_H
21#define GCC_BASIC_BLOCK_H
22
23#include <profile-count.h>
24
25/* Control flow edge information. */
26class GTY((user)) edge_def {
27public:
28 /* The two blocks at the ends of the edge. */
31
32 /* Instructions queued on the edge. */
37
38 /* Auxiliary info specific to a pass. */
39 void *aux;
40
41 /* Location of any goto implicit in the edge. */
42 location_t goto_locus;
43
44 /* The index number corresponding to this edge in the edge vector
45 dest->preds. */
46 unsigned int dest_idx;
47
48 int flags; /* see cfg-flags.def */
50
51 /* Return count of edge E. */
52 inline profile_count count () const;
53};
54
55/* Masks for edge.flags. */
56#define DEF_EDGE_FLAG(NAME,IDX) EDGE_##NAME = 1 << IDX ,
58#include "cfg-flags.def"
59 LAST_CFG_EDGE_FLAG /* this is only used for EDGE_ALL_FLAGS */
60};
61#undef DEF_EDGE_FLAG
62
63/* Bit mask for all edge flags. */
64#define EDGE_ALL_FLAGS ((LAST_CFG_EDGE_FLAG - 1) * 2 - 1)
65
66/* The following four flags all indicate something special about an edge.
67 Test the edge flags on EDGE_COMPLEX to detect all forms of "strange"
68 control flow transfers. */
69#define EDGE_COMPLEX \
70 (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL | EDGE_EH | EDGE_PRESERVE)
71
72struct GTY(()) rtl_bb_info {
73 /* The first insn of the block is embedded into bb->il.x. */
74 /* The last insn of the block. */
76
77 /* In CFGlayout mode points to insn notes/jumptables to be placed just before
78 and after the block. */
81};
82
83struct GTY(()) gimple_bb_info {
84 /* Sequence of statements in this block. */
86
87 /* PHI nodes for this block. */
89};
90
91/* A basic block is a sequence of instructions with only one entry and
92 only one exit. If any one of the instructions are executed, they
93 will all be executed, and in sequence from first to last.
94
95 There may be COND_EXEC instructions in the basic block. The
96 COND_EXEC *instructions* will be executed -- but if the condition
97 is false the conditionally executed *expressions* will of course
98 not be executed. We don't consider the conditionally executed
99 expression (which might have side-effects) to be in a separate
100 basic block because the program counter will always be at the same
101 location after the COND_EXEC instruction, regardless of whether the
102 condition is true or not.
103
104 Basic blocks need not start with a label nor end with a jump insn.
105 For example, a previous basic block may just "conditionally fall"
106 into the succeeding basic block, and the last basic block need not
107 end with a jump insn. Block 0 is a descendant of the entry block.
108
109 A basic block beginning with two labels cannot have notes between
110 the labels.
111
112 Data for jump tables are stored in jump_insns that occur in no
113 basic block even though these insns can follow or precede insns in
114 basic blocks. */
115
116/* Basic block information indexed by block number. */
117struct GTY((chain_next ("%h.next_bb"), chain_prev ("%h.prev_bb"))) basic_block_def {
118 /* The edges into and out of the block. */
121
122 /* Auxiliary info specific to a pass. */
123 void *GTY ((skip (""))) aux;
124
125 /* Innermost loop containing the block. */
127
128 /* The dominance and postdominance information node. */
129 struct et_node * GTY ((skip (""))) dom[2];
130
131 /* Previous and next blocks in the chain. */
134
136 struct gimple_bb_info GTY ((tag ("0"))) gimple;
137 struct {
139 struct rtl_bb_info * rtl;
140 } GTY ((tag ("1"))) x;
141 } GTY ((desc ("((%1.flags & BB_RTL) != 0)"))) il;
142
143 /* Various flags. See cfg-flags.def. */
144 int flags;
145
146 /* The index of this block. */
147 int index;
148
149 /* Expected number of executions: calculated in profile.cc. */
151};
152
153/* This ensures that struct gimple_bb_info is smaller than
154 struct rtl_bb_info, so that inlining the former into basic_block_def
155 is the better choice. */
157
158#define BB_FREQ_MAX 10000
159
160/* Masks for basic_block.flags. */
161#define DEF_BASIC_BLOCK_FLAG(NAME,IDX) BB_##NAME = 1 << IDX ,
163{
164#include "cfg-flags.def"
165 LAST_CFG_BB_FLAG /* this is only used for BB_ALL_FLAGS */
166};
167#undef DEF_BASIC_BLOCK_FLAG
168
169/* Bit mask for all basic block flags. */
170#define BB_ALL_FLAGS ((LAST_CFG_BB_FLAG - 1) * 2 - 1)
171
172/* Bit mask for all basic block flags that must be preserved. These are
173 the bit masks that are *not* cleared by clear_bb_flags. */
174#define BB_FLAGS_TO_PRESERVE \
175 (BB_DISABLE_SCHEDULE | BB_RTL | BB_NON_LOCAL_GOTO_TARGET \
176 | BB_HOT_PARTITION | BB_COLD_PARTITION)
177
178/* Dummy bitmask for convenience in the hot/cold partitioning code. */
179#define BB_UNPARTITIONED 0
180
181/* Partitions, to be used when partitioning hot and cold basic blocks into
182 separate sections. */
183#define BB_PARTITION(bb) ((bb)->flags & (BB_HOT_PARTITION|BB_COLD_PARTITION))
184#define BB_SET_PARTITION(bb, part) do { \
185 basic_block bb_ = (bb); \
186 bb_->flags = ((bb_->flags & ~(BB_HOT_PARTITION|BB_COLD_PARTITION)) \
187 | (part)); \
188} while (0)
189
190#define BB_COPY_PARTITION(dstbb, srcbb) \
191 BB_SET_PARTITION (dstbb, BB_PARTITION (srcbb))
192
193/* Defines for accessing the fields of the CFG structure for function FN. */
194#define ENTRY_BLOCK_PTR_FOR_FN(FN) ((FN)->cfg->x_entry_block_ptr)
195#define EXIT_BLOCK_PTR_FOR_FN(FN) ((FN)->cfg->x_exit_block_ptr)
196#define basic_block_info_for_fn(FN) ((FN)->cfg->x_basic_block_info)
197#define n_basic_blocks_for_fn(FN) ((FN)->cfg->x_n_basic_blocks)
198#define n_edges_for_fn(FN) ((FN)->cfg->x_n_edges)
199#define last_basic_block_for_fn(FN) ((FN)->cfg->x_last_basic_block)
200#define label_to_block_map_for_fn(FN) ((FN)->cfg->x_label_to_block_map)
201#define profile_status_for_fn(FN) ((FN)->cfg->x_profile_status)
202
203#define BASIC_BLOCK_FOR_FN(FN,N) \
204 ((*basic_block_info_for_fn (FN))[(N)])
205#define SET_BASIC_BLOCK_FOR_FN(FN,N,BB) \
206 ((*basic_block_info_for_fn (FN))[(N)] = (BB))
207
208/* For iterating over basic blocks. */
209#define FOR_BB_BETWEEN(BB, FROM, TO, DIR) \
210 for (BB = FROM; BB != TO; BB = BB->DIR)
211
212#define FOR_EACH_BB_FN(BB, FN) \
213 FOR_BB_BETWEEN (BB, (FN)->cfg->x_entry_block_ptr->next_bb, (FN)->cfg->x_exit_block_ptr, next_bb)
214
215#define FOR_EACH_BB_REVERSE_FN(BB, FN) \
216 FOR_BB_BETWEEN (BB, (FN)->cfg->x_exit_block_ptr->prev_bb, (FN)->cfg->x_entry_block_ptr, prev_bb)
217
218/* For iterating over insns in basic block. */
219#define FOR_BB_INSNS(BB, INSN) \
220 for ((INSN) = BB_HEAD (BB); \
221 (INSN) && (INSN) != NEXT_INSN (BB_END (BB)); \
222 (INSN) = NEXT_INSN (INSN))
223
224/* For iterating over insns in basic block when we might remove the
225 current insn. */
226#define FOR_BB_INSNS_SAFE(BB, INSN, CURR) \
227 for ((INSN) = BB_HEAD (BB), (CURR) = (INSN) ? NEXT_INSN ((INSN)) : NULL; \
228 (INSN) && (INSN) != NEXT_INSN (BB_END (BB)); \
229 (INSN) = (CURR), (CURR) = (INSN) ? NEXT_INSN ((INSN)) : NULL)
230
231#define FOR_BB_INSNS_REVERSE(BB, INSN) \
232 for ((INSN) = BB_END (BB); \
233 (INSN) && (INSN) != PREV_INSN (BB_HEAD (BB)); \
234 (INSN) = PREV_INSN (INSN))
235
236#define FOR_BB_INSNS_REVERSE_SAFE(BB, INSN, CURR) \
237 for ((INSN) = BB_END (BB),(CURR) = (INSN) ? PREV_INSN ((INSN)) : NULL; \
238 (INSN) && (INSN) != PREV_INSN (BB_HEAD (BB)); \
239 (INSN) = (CURR), (CURR) = (INSN) ? PREV_INSN ((INSN)) : NULL)
240
241/* Cycles through _all_ basic blocks, even the fake ones (entry and
242 exit block). */
243
244#define FOR_ALL_BB_FN(BB, FN) \
245 for (BB = ENTRY_BLOCK_PTR_FOR_FN (FN); BB; BB = BB->next_bb)
246
247
248/* Stuff for recording basic block info. */
249
250/* For now, these will be functions (so that they can include checked casts
251 to rtx_insn. Once the underlying fields are converted from rtx
252 to rtx_insn, these can be converted back to macros. */
253
254#define BB_HEAD(B) (B)->il.x.head_
255#define BB_END(B) (B)->il.x.rtl->end_
256#define BB_HEADER(B) (B)->il.x.rtl->header_
257#define BB_FOOTER(B) (B)->il.x.rtl->footer_
258
259/* Special block numbers [markers] for entry and exit.
260 Neither of them is supposed to hold actual statements. */
261#define ENTRY_BLOCK (0)
262#define EXIT_BLOCK (1)
263
264/* The two blocks that are always in the cfg. */
265#define NUM_FIXED_BLOCKS (2)
266
267/* This is the value which indicates no edge is present. */
268#define EDGE_INDEX_NO_EDGE -1
269
270/* EDGE_INDEX returns an integer index for an edge, or EDGE_INDEX_NO_EDGE
271 if there is no edge between the 2 basic blocks. */
272#define EDGE_INDEX(el, pred, succ) (find_edge_index ((el), (pred), (succ)))
273
274/* INDEX_EDGE_PRED_BB and INDEX_EDGE_SUCC_BB return a pointer to the basic
275 block which is either the pred or succ end of the indexed edge. */
276#define INDEX_EDGE_PRED_BB(el, index) ((el)->index_to_edge[(index)]->src)
277#define INDEX_EDGE_SUCC_BB(el, index) ((el)->index_to_edge[(index)]->dest)
278
279/* INDEX_EDGE returns a pointer to the edge. */
280#define INDEX_EDGE(el, index) ((el)->index_to_edge[(index)])
281
282/* Number of edges in the compressed edge list. */
283#define NUM_EDGES(el) ((el)->num_edges)
284
285/* BB is assumed to contain conditional jump. Return the fallthru edge. */
286#define FALLTHRU_EDGE(bb) (EDGE_SUCC ((bb), 0)->flags & EDGE_FALLTHRU \
287 ? EDGE_SUCC ((bb), 0) : EDGE_SUCC ((bb), 1))
288
289/* BB is assumed to contain conditional jump. Return the branch edge. */
290#define BRANCH_EDGE(bb) (EDGE_SUCC ((bb), 0)->flags & EDGE_FALLTHRU \
291 ? EDGE_SUCC ((bb), 1) : EDGE_SUCC ((bb), 0))
292
293/* Return expected execution frequency of the edge E. */
294#define EDGE_FREQUENCY(e) e->count ().to_frequency (cfun)
295
296/* Return nonzero if edge is critical. */
297#define EDGE_CRITICAL_P(e) (EDGE_COUNT ((e)->src->succs) >= 2 \
298 && EDGE_COUNT ((e)->dest->preds) >= 2)
299
300#define EDGE_COUNT(ev) vec_safe_length (ev)
301#define EDGE_I(ev,i) (*ev)[(i)]
302#define EDGE_PRED(bb,i) (*(bb)->preds)[(i)]
303#define EDGE_SUCC(bb,i) (*(bb)->succs)[(i)]
304
305/* Returns true if BB has precisely one successor. */
306
307inline bool
309{
310 return EDGE_COUNT (bb->succs) == 1;
311}
312
313/* Returns true if BB has precisely one predecessor. */
314
315inline bool
317{
318 return EDGE_COUNT (bb->preds) == 1;
319}
320
321/* Returns the single successor edge of basic block BB. Aborts if
322 BB does not have exactly one successor. */
323
324inline edge
326{
328 return EDGE_SUCC (bb, 0);
329}
330
331/* Returns the single predecessor edge of basic block BB. Aborts
332 if BB does not have exactly one predecessor. */
333
334inline edge
336{
338 return EDGE_PRED (bb, 0);
339}
340
341/* Returns the single successor block of basic block BB. Aborts
342 if BB does not have exactly one successor. */
343
344inline basic_block
346{
347 return single_succ_edge (bb)->dest;
348}
349
350/* Returns the single predecessor block of basic block BB. Aborts
351 if BB does not have exactly one predecessor.*/
352
353inline basic_block
355{
356 return single_pred_edge (bb)->src;
357}
359/* Iterator object for edges. */
360
365
366inline vec<edge, va_gc> *
368{
369 gcc_checking_assert (i.container);
370 return *i.container;
371}
372
373#define ei_start(iter) ei_start_1 (&(iter))
374#define ei_last(iter) ei_last_1 (&(iter))
375
376/* Return an iterator pointing to the start of an edge vector. */
377inline edge_iterator
379{
381
382 i.index = 0;
383 i.container = ev;
384
385 return i;
386}
387
388/* Return an iterator pointing to the last element of an edge
389 vector. */
390inline edge_iterator
392{
394
395 i.index = EDGE_COUNT (*ev) - 1;
396 i.container = ev;
397
398 return i;
399}
400
401/* Is the iterator `i' at the end of the sequence? */
402inline bool
404{
405 return (i.index == EDGE_COUNT (ei_container (i)));
406}
407
408/* Is the iterator `i' at one position before the end of the
409 sequence? */
410inline bool
412{
413 return (i.index + 1 == EDGE_COUNT (ei_container (i)));
414}
415
416/* Advance the iterator to the next element. */
417inline void
419{
421 i->index++;
422}
423
424/* Move the iterator to the previous element. */
425inline void
427{
428 gcc_checking_assert (i->index > 0);
429 i->index--;
430}
431
432/* Return the edge pointed to by the iterator `i'. */
433inline edge
435{
436 return EDGE_I (ei_container (i), i.index);
437}
438
439/* Return an edge pointed to by the iterator. Do it safely so that
440 NULL is returned when the iterator is pointing at the end of the
441 sequence. */
442inline edge
444{
445 return !ei_end_p (i) ? ei_edge (i) : NULL;
446}
447
448/* Return 1 if we should continue to iterate. Return 0 otherwise.
449 *Edge P is set to the next edge if we are to continue to iterate
450 and NULL otherwise. */
451
452inline bool
454{
455 if (!ei_end_p (ei))
456 {
457 *p = ei_edge (ei);
458 return 1;
459 }
460 else
461 {
462 *p = NULL;
463 return 0;
464 }
465}
466
467/* This macro serves as a convenient way to iterate each edge in a
468 vector of predecessor or successor edges. It must not be used when
469 an element might be removed during the traversal, otherwise
470 elements will be missed. Instead, use a for-loop like that shown
471 in the following pseudo-code:
472
473 FOR (ei = ei_start (bb->succs); (e = ei_safe_edge (ei)); )
474 {
475 IF (e != taken_edge)
476 remove_edge (e);
477 ELSE
478 ei_next (&ei);
479 }
480*/
481
482#define FOR_EACH_EDGE(EDGE,ITER,EDGE_VEC) \
483 for ((ITER) = ei_start ((EDGE_VEC)); \
484 ei_cond ((ITER), &(EDGE)); \
485 ei_next (&(ITER)))
486
487#define CLEANUP_EXPENSIVE 1 /* Do relatively expensive optimizations
488 except for edge forwarding */
489#define CLEANUP_CROSSJUMP 2 /* Do crossjumping. */
490#define CLEANUP_POST_REGSTACK 4 /* We run after reg-stack and need
491 to care REG_DEAD notes. */
492#define CLEANUP_THREADING 8 /* Do jump threading. */
493#define CLEANUP_NO_INSN_DEL 16 /* Do not try to delete trivially dead
494 insns. */
495#define CLEANUP_CFGLAYOUT 32 /* Do cleanup in cfglayout mode. */
496#define CLEANUP_CFG_CHANGED 64 /* The caller changed the CFG. */
497#define CLEANUP_NO_PARTITIONING 128 /* Do not try to fix partitions. */
498#define CLEANUP_FORCE_FAST_DCE 0x100 /* Force run_fast_dce to be called
499 at least once. */
501/* Return true if BB is in a transaction. */
502
503inline bool
505{
506 return bb->flags & BB_IN_TRANSACTION;
508
509/* Return true when one of the predecessor edges of BB is marked with EDGE_EH. */
510inline bool
512{
513 edge e;
514 edge_iterator ei;
515
516 FOR_EACH_EDGE (e, ei, bb->preds)
517 {
518 if (e->flags & EDGE_EH)
519 return true;
520 }
521 return false;
523
524/* Return true when one of the predecessor edges of BB is marked with EDGE_ABNORMAL. */
525inline bool
527{
528 edge e;
529 edge_iterator ei;
530
531 FOR_EACH_EDGE (e, ei, bb->preds)
532 {
533 if (e->flags & EDGE_ABNORMAL)
534 return true;
535 }
536 return false;
538
539/* Return the fallthru edge in EDGES if it exists, NULL otherwise. */
540inline edge
541find_fallthru_edge (vec<edge, va_gc> *edges)
542{
543 edge e;
544 edge_iterator ei;
545
546 FOR_EACH_EDGE (e, ei, edges)
547 if (e->flags & EDGE_FALLTHRU)
548 break;
549
550 return e;
551}
553/* Check tha probability is sane. */
554
555inline void
556check_probability (int prob)
557{
558 gcc_checking_assert (prob >= 0 && prob <= REG_BR_PROB_BASE);
559}
560
561/* Given PROB1 and PROB2, return PROB1*PROB2/REG_BR_PROB_BASE.
562 Used to combine BB probabilities. */
563
564inline int
565combine_probabilities (int prob1, int prob2)
566{
567 check_probability (prob1);
568 check_probability (prob2);
569 return RDIV (prob1 * prob2, REG_BR_PROB_BASE);
570}
571
572/* Apply scale factor SCALE on frequency or count FREQ. Use this
573 interface when potentially scaling up, so that SCALE is not
574 constrained to be < REG_BR_PROB_BASE. */
575
576inline gcov_type
577apply_scale (gcov_type freq, gcov_type scale)
578{
579 return RDIV (freq * scale, REG_BR_PROB_BASE);
580}
582/* Apply probability PROB on frequency or count FREQ. */
583
584inline gcov_type
585apply_probability (gcov_type freq, int prob)
586{
587 check_probability (prob);
588 return apply_scale (freq, prob);
589}
591/* Return inverse probability for PROB. */
592
593inline int
594inverse_probability (int prob1)
595{
596 check_probability (prob1);
597 return REG_BR_PROB_BASE - prob1;
598}
600/* Return true if BB has at least one abnormal outgoing edge. */
601
602inline bool
604{
605 edge e;
606 edge_iterator ei;
607
608 FOR_EACH_EDGE (e, ei, bb->succs)
609 if (e->flags & (EDGE_ABNORMAL | EDGE_EH))
610 return true;
611
612 return false;
613}
614
615/* Return true when one of the predecessor edges of BB is marked with
616 EDGE_ABNORMAL_CALL or EDGE_EH. */
617
618inline bool
620{
621 edge e;
622 edge_iterator ei;
623
624 FOR_EACH_EDGE (e, ei, bb->preds)
625 if (e->flags & (EDGE_ABNORMAL_CALL | EDGE_EH))
626 return true;
627
628 return false;
629}
630
631/* Return count of edge E. */
632inline profile_count edge_def::count () const
633{
634 return src->count.apply_probability (probability);
635}
636
637#endif /* GCC_BASIC_BLOCK_H */
bool has_abnormal_call_or_eh_pred_edge_p(basic_block bb)
Definition basic-block.h:615
#define EDGE_I(ev, i)
Definition basic-block.h:301
gcov_type apply_probability(gcov_type freq, int prob)
Definition basic-block.h:581
#define EDGE_COUNT(ev)
Definition basic-block.h:300
cfg_bb_flags
Definition basic-block.h:163
@ LAST_CFG_BB_FLAG
Definition basic-block.h:358
bool bb_has_abnormal_pred(basic_block bb)
Definition basic-block.h:522
void check_probability(int prob)
Definition basic-block.h:552
edge single_pred_edge(const_basic_block bb)
Definition basic-block.h:335
edge_iterator ei_start_1(vec< edge, va_gc > **ev)
Definition basic-block.h:378
bool bb_has_eh_pred(basic_block bb)
Definition basic-block.h:507
gcov_type apply_scale(gcov_type freq, gcov_type scale)
Definition basic-block.h:573
basic_block single_succ(const_basic_block bb)
Definition basic-block.h:345
#define EDGE_SUCC(bb, i)
Definition basic-block.h:303
edge single_succ_edge(const_basic_block bb)
Definition basic-block.h:325
vec< edge, va_gc > * ei_container(edge_iterator i)
Definition basic-block.h:367
bool single_pred_p(const_basic_block bb)
Definition basic-block.h:316
bool ei_end_p(edge_iterator i)
Definition basic-block.h:403
bool ei_cond(edge_iterator ei, edge *p)
Definition basic-block.h:453
bool single_succ_p(const_basic_block bb)
Definition basic-block.h:308
cfg_edge_flags
Definition basic-block.h:57
@ LAST_CFG_EDGE_FLAG
Definition basic-block.h:252
bool bb_in_transaction(basic_block bb)
Definition basic-block.h:500
bool ei_one_before_end_p(edge_iterator i)
Definition basic-block.h:411
bool has_abnormal_or_eh_outgoing_edge_p(basic_block bb)
Definition basic-block.h:599
int combine_probabilities(int prob1, int prob2)
Definition basic-block.h:561
edge_iterator ei_last_1(vec< edge, va_gc > **ev)
Definition basic-block.h:391
edge ei_safe_edge(edge_iterator i)
Definition basic-block.h:443
int inverse_probability(int prob1)
Definition basic-block.h:590
edge find_fallthru_edge(vec< edge, va_gc > *edges)
Definition basic-block.h:537
void ei_next(edge_iterator *i)
Definition basic-block.h:418
#define EDGE_PRED(bb, i)
Definition basic-block.h:302
#define FOR_EACH_EDGE(EDGE, ITER, EDGE_VEC)
Definition basic-block.h:482
basic_block single_pred(const_basic_block bb)
Definition basic-block.h:354
edge ei_edge(edge_iterator i)
Definition basic-block.h:434
void ei_prev(edge_iterator *i)
Definition basic-block.h:426
Definition basic-block.h:26
profile_probability probability
Definition basic-block.h:49
profile_count count() const
Definition basic-block.h:628
unsigned int dest_idx
Definition basic-block.h:46
void * aux
Definition basic-block.h:39
basic_block src
Definition basic-block.h:29
int flags
Definition basic-block.h:48
location_t goto_locus
Definition basic-block.h:42
basic_block dest
Definition basic-block.h:30
Definition cfgloop.h:120
Definition profile-count.h:149
struct basic_block_def * basic_block
Definition coretypes.h:357
class edge_def * edge
Definition coretypes.h:354
gimple * gimple_seq
Definition coretypes.h:100
const struct basic_block_def * const_basic_block
Definition coretypes.h:358
#define GTY(x)
Definition coretypes.h:41
int64_t gcov_type
Definition coretypes.h:46
static unsigned int count[debug_counter_number_of_counters]
Definition dbgcnt.cc:50
static hash_table< insn_hasher > * insns
Definition gentarget-def.cc:53
@ e
Definition graphviz.h:249
i
Definition poly-int.h:776
#define RDIV(X, Y)
Definition profile-count.h:77
#define REG_BR_PROB_BASE
Definition profile-count.h:75
Definition basic-block.h:117
basic_block prev_bb
Definition basic-block.h:132
profile_count count
Definition basic-block.h:150
struct et_node * dom[2]
Definition basic-block.h:129
vec< edge, va_gc > * preds
Definition basic-block.h:119
vec< edge, va_gc > * succs
Definition basic-block.h:120
basic_block next_bb
Definition basic-block.h:133
void * aux
Definition basic-block.h:123
union basic_block_def::basic_block_il_dependent il
int flags
Definition basic-block.h:144
class loop * loop_father
Definition basic-block.h:126
int index
Definition basic-block.h:147
Definition basic-block.h:361
unsigned index
Definition basic-block.h:362
vec< edge, va_gc > ** container
Definition basic-block.h:363
Definition et-forest.h:57
Definition basic-block.h:83
gimple_seq phi_nodes
Definition basic-block.h:88
gimple_seq seq
Definition basic-block.h:85
Definition profile-count.h:765
profile_count apply_probability(int prob) const
Definition profile-count.h:1139
Definition basic-block.h:72
rtx_insn * footer_
Definition basic-block.h:80
rtx_insn * end_
Definition basic-block.h:75
rtx_insn * header_
Definition basic-block.h:79
Definition rtl.h:546
Definition vec.h:450
#define NULL
Definition system.h:50
#define STATIC_ASSERT(X)
Definition system.h:864
#define gcc_checking_assert(EXPR)
Definition system.h:821
Definition basic-block.h:135
struct rtl_bb_info * rtl
Definition basic-block.h:139
struct gimple_bb_info gimple
Definition basic-block.h:136
rtx_insn * head_
Definition basic-block.h:138
struct basic_block_def::basic_block_il_dependent::@356332147053261037113277277177372261052000371176 x
Definition basic-block.h:33
rtx_insn * r
Definition basic-block.h:35
gimple_seq g
Definition basic-block.h:34