diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-30 15:30:01 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-30 15:30:01 +0000 |
commit | fcbe34ba10c3df60343730e8454446db3a1f28ec (patch) | |
tree | b063e9194250c0c9d4b41caadabed3f1f5175e80 /gcc/tree-ssa-operands.h | |
parent | 4957645dcb9d4a3b980a487c3b33f93cb378a326 (diff) | |
download | gcc-fcbe34ba10c3df60343730e8454446db3a1f28ec.tar.gz |
* tree-ssa-operands.h (struct ssa_operands): New.
* tree-flow-inline.h (gimple_ssa_operands): New function.
* tree-flow.h: (struct gimple_df): Add ssa_operands.
* Makefile.in: Remove gt-tree-ssa-operands.h
* tree-ssa-operands.c: Do not include gt-tree-ssa-operands.h
(free_defs, free_uses, free_vuses, free_maydefs, free_mustdefs,
operand_memory, operand_memory_index, ops_active): Remove statics.
(ALLOC_OPTYPE): Update.
(operand_build_sort_virtual): Update.
(ssa_operands_active): Update.
(init_ssa_operands): Update.
(fini_ssa_operands): Update.
(ssa_operand_alloc): Update.
(INITIALIZE_USE): Update.
(finalize_ssa_use_ops): Update.
(finalize_ssa_v_may_def_ops): Update.
(finalize_ssa_vuse_ops): Update.
(finalize_ssa_v_must_def_ops): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119363 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-operands.h')
-rw-r--r-- | gcc/tree-ssa-operands.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/tree-ssa-operands.h b/gcc/tree-ssa-operands.h index daf2dce05f7..aecbcdc314d 100644 --- a/gcc/tree-ssa-operands.h +++ b/gcc/tree-ssa-operands.h @@ -88,6 +88,19 @@ struct ssa_operand_memory_d GTY((chain_next("%h.next"))) char mem[SSA_OPERAND_MEMORY_SIZE]; }; +/* Per-function operand caches. */ +struct ssa_operands GTY(()) { + struct ssa_operand_memory_d *operand_memory; + unsigned operand_memory_index; + + bool ops_active; + + struct def_optype_d * GTY ((skip (""))) free_defs; + struct use_optype_d * GTY ((skip (""))) free_uses; + struct vuse_optype_d * GTY ((skip (""))) free_vuses; + struct maydef_optype_d * GTY ((skip (""))) free_maydefs; + struct mustdef_optype_d * GTY ((skip (""))) free_mustdefs; +}; /* This represents the operand cache for a stmt. */ struct stmt_operands_d |