Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
a18f61f8
Commit
a18f61f8
authored
Jun 13, 2004
by
Diego Novillo
Committed by
Diego Novillo
Jun 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-sra.c (tree_sra): Update documentation.
From-SVN: r83064
parent
cdaa9fc4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
gcc/ChangeLog
+4
-0
gcc/tree-sra.c
+8
-10
No files found.
gcc/ChangeLog
View file @
a18f61f8
2004-06-13 Diego Novillo <dnovillo@redhat.com>
* tree-sra.c (tree_sra): Update documentation.
2004-06-13 Joseph S. Myers <jsm@polyomino.org.uk>
2004-06-13 Joseph S. Myers <jsm@polyomino.org.uk>
* c-typeck.c (comptypes, tagged_types_tu_compatible_p,
* c-typeck.c (comptypes, tagged_types_tu_compatible_p,
...
...
gcc/tree-sra.c
View file @
a18f61f8
...
@@ -1130,16 +1130,14 @@ dump_sra_map (FILE *f)
...
@@ -1130,16 +1130,14 @@ dump_sra_map (FILE *f)
re-writes non-aliased structure references into scalar temporaries. The
re-writes non-aliased structure references into scalar temporaries. The
goal is to expose some/all structures to the scalar optimizers.
goal is to expose some/all structures to the scalar optimizers.
FNDECL is the function to process.
Scalarization proceeds in two main phases. First, every structure
referenced in the program that complies with can_be_scalarized_p is
VARS_TO_RENAME_P is a pointer to the set of variables that need to be
marked for scalarization (find_candidates_for_sra).
renamed into SSA after this pass is done. These are going to be all the
new scalars created by the SRA process. Notice that since this pass
Second, a mapping between structure fields and scalar temporaries so
creates new variables, the bitmap representing all the variables in the
that every time a particular field of a particular structure is
program will be re-sized here.
referenced in the code, we replace it with its corresponding scalar
temporary (scalarize_structures).
PHASE indicates which dump file from the DUMP_FILES array to use when
dumping debugging information.
TODO
TODO
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment