diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-08 04:35:43 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-08 04:35:43 +0000 |
commit | b33d4eb4b7266604ebd053ccce1158a96ae946fa (patch) | |
tree | 68af4bfdf48fe4b2e9486fc57eab043165cd3dd5 /gcc/graphite.c | |
parent | a16e83461fb77a1c53937c84c334426732d74317 (diff) | |
download | gcc-b33d4eb4b7266604ebd053ccce1158a96ae946fa.tar.gz |
Memoize memory strides per loop.
2010-01-07 Sebastian Pop <sebastian.pop@amd.com>
* graphite-interchange.c (memory_stride_in_loop): Renamed
pdr_stride_in_loop.
(memory_strides_in_loop): Renamed memory_strides_in_loop_1.
(memory_strides_in_loop): Memoize the memory strides per loop.
(lst_interchange_profitable_p): Do not initialize to zero the memory
strides.
* graphite-poly.h (struct lst): Add a field memory_strides.
(LST_LOOP_MEMORY_STRIDES): New.
(new_lst_loop): Initialize LST_LOOP_MEMORY_STRIDES to -1.
(free_lst): Clear LST_LOOP_MEMORY_STRIDES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155725 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite.c')
0 files changed, 0 insertions, 0 deletions