summaryrefslogtreecommitdiff
path: root/gcc/graphite-scop-detection.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde@tbsaunde.org>2015-09-20 00:52:59 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-09-20 00:52:59 +0000
commit355fe0884b8097c32e859f0df57c83bde0c6bd26 (patch)
treeaadb7908b4b80ecaf7e744ca1ae42a59a12b07ea /gcc/graphite-scop-detection.c
parente4f2a3e4588bbc3691b452d8a2c520e8196b0ef3 (diff)
downloadgcc-355fe0884b8097c32e859f0df57c83bde0c6bd26.tar.gz
switch from gimple to gimple*
This renames the gimple_statement_base struct to gimple removes the typedef of gimple_statement_base * to gimple, and then adjusts all of the places that use the type. gcc/ChangeLog: 2015-09-19 Trevor Saunders <tbsaunde@tbsaunde.org> * coretypes.h (gimple): Change typedef to be a forward declaration. * gimple.h (gimple_statement_base): rename to gimple. * (all functions and types using gimple): Adjust. * *.[ch]: Likewise. gcc/cp/ChangeLog: 2015-09-19 Trevor Saunders <tbsaunde@tbsaunde.org> * cp-gimplify.c (gimplify_must_not_throw_expr): Adjust. From-SVN: r227941
Diffstat (limited to 'gcc/graphite-scop-detection.c')
-rw-r--r--gcc/graphite-scop-detection.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c
index 3ac56dedd04..7c0dc21b01b 100644
--- a/gcc/graphite-scop-detection.c
+++ b/gcc/graphite-scop-detection.c
@@ -288,7 +288,7 @@ graphite_can_represent_expr (basic_block scop_entry, loop_p loop,
static bool
stmt_has_simple_data_refs_p (loop_p outermost_loop ATTRIBUTE_UNUSED,
- gimple stmt)
+ gimple *stmt)
{
data_reference_p dr;
int j;
@@ -338,7 +338,7 @@ stmt_has_simple_data_refs_p (loop_p outermost_loop ATTRIBUTE_UNUSED,
static bool
stmt_simple_for_scop_p (basic_block scop_entry, loop_p outermost_loop,
- gimple stmt, basic_block bb)
+ gimple *stmt, basic_block bb)
{
loop_p loop = bb->loop_father;
@@ -450,7 +450,7 @@ stmt_simple_for_scop_p (basic_block scop_entry, loop_p outermost_loop,
scop should end before this statement. The evaluation is limited using
OUTERMOST_LOOP as outermost loop that may change. */
-static gimple
+static gimple *
harmful_stmt_in_bb (basic_block scop_entry, loop_p outer_loop, basic_block bb)
{
gimple_stmt_iterator gsi;
@@ -523,7 +523,7 @@ scopdet_basic_block_info (basic_block bb, loop_p outermost_loop,
{
loop_p loop = bb->loop_father;
struct scopdet_info result;
- gimple stmt;
+ gimple *stmt;
/* XXX: ENTRY_BLOCK_PTR could be optimized in later steps. */
basic_block entry_block = ENTRY_BLOCK_PTR_FOR_FN (cfun);
@@ -1208,7 +1208,7 @@ same_close_phi_node (gphi *p1, gphi *p2)
static void
remove_duplicate_close_phi (gphi *phi, gphi_iterator *gsi)
{
- gimple use_stmt;
+ gimple *use_stmt;
use_operand_p use_p;
imm_use_iterator imm_iter;
tree res = gimple_phi_result (phi);