diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-31 02:35:02 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-31 02:35:02 +0000 |
commit | a3e48a5b14c0500318db2e4a658849f02fa55b38 (patch) | |
tree | d0992b56502b7b00d5cc28803461c0c8ce8f98ba /gcc/tree-data-ref.c | |
parent | ce4c65f3820e0b09b5e61f215653c8913440fa17 (diff) | |
download | gcc-a3e48a5b14c0500318db2e4a658849f02fa55b38.tar.gz |
Remove unused function and field in data_reference.
2009-07-30 Sebastian Pop <sebastian.pop@amd.com>
* tree-data-ref.c (stmt_simple_memref_p: Removed.
* tree-data-ref.h (scop_p): Removed.
(struct data_reference): Remove field scop.
(DR_SCOP): Removed.
(stmt_simple_memref_p): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150295 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r-- | gcc/tree-data-ref.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index 2181f469ca0..9e811daec43 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -3334,22 +3334,6 @@ access_functions_are_affine_or_constant_p (const struct data_reference *a, return true; } -/* Return true if we can create an affine data-ref for OP in STMT. */ - -bool -stmt_simple_memref_p (struct loop *loop, gimple stmt, tree op) -{ - data_reference_p dr; - bool res = true; - - dr = create_data_ref (loop, op, stmt, true); - if (!access_functions_are_affine_or_constant_p (dr, loop)) - res = false; - - free_data_ref (dr); - return res; -} - /* Initializes an equation for an OMEGA problem using the information contained in the ACCESS_FUN. Returns true when the operation succeeded. |