GCC Middle and Back End API Reference
tree-ssa-reassoc.h
Go to the documentation of this file.
1/* Reassociation for trees.
2 Copyright (C) 2020-2024 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 3, or (at your option)
9any later version.
10
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for 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_SSA_REASSOC_H
21#define GCC_SSA_REASSOC_H
22
23/* Operator, rank pair. */
25{
26 unsigned int rank;
27 unsigned int id;
29 unsigned int count;
31};
32
34{
38 bool in_p;
40 unsigned int idx, next;
41};
42
43void dump_range_entry (FILE *file, struct range_entry *r);
44void debug_range_entry (struct range_entry *r);
45void init_range_entry (struct range_entry *r, tree exp, gimple *stmt);
47
48#endif /* GCC_SSA_REASSOC_H */
union tree_node * tree
Definition coretypes.h:97
double exp(double)
poly_int< N, C > r
Definition poly-int.h:774
Definition basic-block.h:117
Definition gimple.h:221
Definition tree-ssa-reassoc.h:25
tree op
Definition tree-ssa-reassoc.h:28
unsigned int id
Definition tree-ssa-reassoc.h:27
unsigned int count
Definition tree-ssa-reassoc.h:29
unsigned int rank
Definition tree-ssa-reassoc.h:26
gimple * stmt_to_insert
Definition tree-ssa-reassoc.h:30
Definition tree-ssa-reassoc.h:34
unsigned int idx
Definition tree-ssa-reassoc.h:40
tree high
Definition tree-ssa-reassoc.h:37
tree low
Definition tree-ssa-reassoc.h:36
unsigned int next
Definition tree-ssa-reassoc.h:40
bool strict_overflow_p
Definition tree-ssa-reassoc.h:39
tree exp
Definition tree-ssa-reassoc.h:35
bool in_p
Definition tree-ssa-reassoc.h:38
bool no_side_effect_bb(basic_block bb)
Definition tree-ssa-reassoc.cc:4595
void dump_range_entry(FILE *file, struct range_entry *r)
void debug_range_entry(struct range_entry *r)
Definition tree-ssa-reassoc.cc:2526
void init_range_entry(struct range_entry *r, tree exp, gimple *stmt)
Definition tree-ssa-reassoc.cc:2538