aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-operands.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2006-11-30 16:30:01 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2006-11-30 15:30:01 +0000
commit456cde303058f8e7a01ff00e12bddba44a1bac75 (patch)
treeb063e9194250c0c9d4b41caadabed3f1f5175e80 /gcc/tree-ssa-operands.h
parentc6b1b49b1ecf3ef95fcdf98c2ed41edefd4c8991 (diff)
downloadgcc-456cde303058f8e7a01ff00e12bddba44a1bac75.zip
gcc-456cde303058f8e7a01ff00e12bddba44a1bac75.tar.gz
gcc-456cde303058f8e7a01ff00e12bddba44a1bac75.tar.bz2
tree-ssa-operands.h (struct ssa_operands): New.
* 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. From-SVN: r119363
Diffstat (limited to 'gcc/tree-ssa-operands.h')
-rw-r--r--gcc/tree-ssa-operands.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/tree-ssa-operands.h b/gcc/tree-ssa-operands.h
index daf2dce..aecbcdc 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