X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Ftree-gimple.h;h=4952f725c4d549b60691c694ff10e19ac3b5f95c;hb=e27b0dbd9e62f02a99222bacf9212dd9a65e35cf;hp=0fb376694e43f5572626beda75f01b0e7996ec31;hpb=c2514472e15476dac16d57406e535ccc2ed0fa08;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/tree-gimple.h b/gcc/tree-gimple.h index 0fb376694e4..4952f725c4d 100644 --- a/gcc/tree-gimple.h +++ b/gcc/tree-gimple.h @@ -1,5 +1,5 @@ /* Functions to analyze and validate GIMPLE trees. - Copyright (C) 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. Contributed by Diego Novillo This file is part of GCC. @@ -48,9 +48,9 @@ extern bool is_gimple_reg_type (tree); /* Returns true iff T is a scalar register variable. */ extern bool is_gimple_reg (tree); /* Returns true if T is a GIMPLE temporary variable, false otherwise. */ -extern bool is_gimple_tmp_var (tree); +extern bool is_gimple_formal_tmp_var (tree); /* Returns true if T is a GIMPLE temporary register variable. */ -extern bool is_gimple_tmp_reg (tree); +extern bool is_gimple_formal_tmp_reg (tree); /* Returns true iff T is any sort of variable. */ extern bool is_gimple_variable (tree); /* Returns true iff T is a variable or an INDIRECT_REF (of a variable). */ @@ -64,10 +64,12 @@ extern bool is_gimple_lvalue (tree); extern bool is_gimple_min_invariant (tree); /* Returns true iff T is a GIMPLE rvalue. */ extern bool is_gimple_val (tree); +/* Returns true iff T is a GIMPLE asm statement input. */ +extern bool is_gimple_asm_val (tree); /* Returns true iff T is a valid rhs for a MODIFY_EXPR where the LHS is a GIMPLE temporary, a renamed user variable, or something else, respectively. */ -extern bool is_gimple_tmp_rhs (tree); +extern bool is_gimple_formal_tmp_rhs (tree); extern bool is_gimple_reg_rhs (tree); extern bool is_gimple_mem_rhs (tree); /* Returns the appropriate one of the above three predicates for the LHS @@ -79,9 +81,6 @@ extern bool is_gimple_condexpr (tree); /* Returns true iff T is a type conversion. */ extern bool is_gimple_cast (tree); -/* Returns true iff T is a valid CONSTRUCTOR element (either an rvalue or - another CONSTRUCTOR). */ -extern bool is_gimple_constructor_elt (tree); /* Returns true iff T is a variable that does not need to live in memory. */ extern bool is_gimple_non_addressable (tree t); @@ -114,18 +113,14 @@ extern void gimplify_type_sizes (tree, tree *); extern void gimplify_one_sizepos (tree *, tree *); extern void gimplify_stmt (tree *); extern void gimplify_to_stmt_list (tree *); -extern void gimplify_body (tree *, tree); +extern void gimplify_body (tree *, tree, bool); extern void push_gimplify_context (void); extern void pop_gimplify_context (tree); extern void gimplify_and_add (tree, tree *); /* Miscellaneous helpers. */ -extern tree get_base_address (tree t); extern void gimple_add_tmp_var (tree); extern tree gimple_current_bind_expr (void); -extern void gimple_push_bind_expr (tree); -extern void gimple_pop_bind_expr (void); -extern void unshare_all_trees (tree); extern tree voidify_wrapper_expr (tree, tree); extern tree gimple_build_eh_filter (tree, tree, tree); extern tree build_and_jump (tree *);