diff options
author | Tobias Burnus <burnus@net-b.de> | 2013-10-24 18:25:44 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2013-10-24 18:25:44 +0200 |
commit | 8170608bfc488f0dde37b332776e59c912244366 (patch) | |
tree | ddaa06506f828f6ab35f493e688951e5b042fbdf /gcc/doc/generic.texi | |
parent | a079f50a721208e94d23fee77ad77322ad1b74a8 (diff) | |
download | gcc-8170608bfc488f0dde37b332776e59c912244366.zip gcc-8170608bfc488f0dde37b332776e59c912244366.tar.gz gcc-8170608bfc488f0dde37b332776e59c912244366.tar.bz2 |
re PR other/33426 (Support of #pragma ivdep)
2013-08-24 Tobias Burnus <burnus@net-b.de>
PR other/33426
* c-pragma.c (init_pragma) Add #pragma ivdep handling.
* c-pragma.h (pragma_kind): Add PRAGMA_IVDEP.
PR other/33426
* c-parser.c (c_parser_pragma, c_parser_for_statement):
Handle PRAGMA_IVDEP.
(c_parser_statement_after_labels): Update call.
PR other/33426
* tree-cfg.c (replace_loop_annotate): New function.
(execute_build_cfg): Call it.
* gimplify.c (gimple_boolify, gimplify_expr): Handle
* ANNOTATE_EXPR.
* internal-fn.c (expand_ANNOTATE): New function.
* internal-fn.def (ANNOTATE): Define as new internal function.
* tree-core.h (tree_node_kind): Add annot_expr_ivdep_kind.
* tree-pretty-print.c (dump_generic_node): Handle ANNOTATE_EXPR.
* tree.def (ANNOTATE_EXPR): New DEFTREECODE.
* doc/extend.texi (Pragmas): Document #pragma ivdep.
* doc/generic.texi (Expressions): Document ANNOTATE_EXPR.
PR other/33426
* testsuite/gcc.dg/ivdep.c: New.
* testsuite/gcc.dg/vect/vect-ivdep-1.c: New.
From-SVN: r204021
Diffstat (limited to 'gcc/doc/generic.texi')
-rw-r--r-- | gcc/doc/generic.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi index ccecd6e8..75c4745 100644 --- a/gcc/doc/generic.texi +++ b/gcc/doc/generic.texi @@ -1279,6 +1279,7 @@ the byte offset of the field, but should not be used directly; call @tindex SAVE_EXPR @tindex TARGET_EXPR @tindex VA_ARG_EXPR +@tindex ANNOTATE_EXPR @table @code @item NEGATE_EXPR @@ -1692,8 +1693,13 @@ mechanism. It represents expressions like @code{va_arg (ap, type)}. Its @code{TREE_TYPE} yields the tree representation for @code{type} and its sole argument yields the representation for @code{ap}. +@item ANNOTATE_EXPR +This node is used to attach markers to an expression. The first operand +is the annotated expression, the second is an @code{INTEGER_CST} with +a value from @code{enum annot_expr_kind}. @end table + @node Vectors @subsection Vectors @tindex VEC_LSHIFT_EXPR |