diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-07-31 02:36:05 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-07-31 02:36:05 +0000 |
commit | a37d995a09265e780d0276f8cd815f9eb32803d0 (patch) | |
tree | ff97c8b97685d9425ed35805eed260edf4091ba2 /gcc/tree-data-ref.c | |
parent | ae5b9860344c370d465e943db14e67f5b49bf173 (diff) | |
download | gcc-a37d995a09265e780d0276f8cd815f9eb32803d0.zip gcc-a37d995a09265e780d0276f8cd815f9eb32803d0.tar.gz gcc-a37d995a09265e780d0276f8cd815f9eb32803d0.tar.bz2 |
tree-data-ref.c (debug_data_references): New.
2009-07-30 Sebastian Pop <sebastian.pop@amd.com>
* tree-data-ref.c (debug_data_references): New.
(debug_data_reference): New.
* tree-data-ref.h (debug_data_references): Declared.
(debug_data_reference): Declared.
From-SVN: r150296
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r-- | gcc/tree-data-ref.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index 9e811da..2e515bf 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -157,6 +157,14 @@ dump_data_references (FILE *file, VEC (data_reference_p, heap) *datarefs) dump_data_reference (file, dr); } +/* Dump into STDERR all the data references from DATAREFS. */ + +void +debug_data_references (VEC (data_reference_p, heap) *datarefs) +{ + dump_data_references (stderr, datarefs); +} + /* Dump to STDERR all the dependence relations from DDRS. */ void @@ -178,6 +186,14 @@ dump_data_dependence_relations (FILE *file, dump_data_dependence_relation (file, ddr); } +/* Print to STDERR the data_reference DR. */ + +void +debug_data_reference (struct data_reference *dr) +{ + dump_data_reference (stderr, dr); +} + /* Dump function for a DATA_REFERENCE structure. */ void |