This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r205691 - in /branches/openacc-1_0-branch: Chan...


Author: iusmanov
Date: Thu Dec  5 07:41:50 2013
New Revision: 205691

URL: http://gcc.gnu.org/viewcvs?rev=205691&root=gcc&view=rev
Log:
05-12-2013 Ilmir Usmanov <i.usmanov@samsung.com>
        Gimplify LOOP directive and its clauses

        * gcc/gimple-oacc.h
        (gimple_acc_loop_set_clauses, gimple_acc_loop_clauses,
        gimple_acc_loop_set_pre_body, gimple_acc_loop_pre_body,
        gimple_acc_loop_set_collapse, gimple_acc_loop_collapse,
        gimple_acc_loop_set_index, gimple_acc_loop_index,
        gimple_acc_loop_set_initial, gimple_acc_loop_initial,
        gimple_acc_loop_set_final, gimple_acc_loop_final,
        gimple_acc_loop_set_incr, gimple_acc_loop_incr,
        gimple_acc_loop_set_cond, gimple_acc_loop_cond):
        New functions
        (gimple_build_acc_loop): Change signature
        * gcc/gimple-oacc.c: Likewise
        (gimple_build_acc_loop): Add loop-specific data:
        collapse, iter, pre_body
        * gcc/gimple-pretty-print.c(dump_gimple_acc_loop):
        New function
        (pp_gimple_stmt_1): Change behaviour in ACC LOOP
        * gcc/gimplify.c(GAVD_SEEN, GAVD_REDUCTION): 
        New gimplify variable data
        (ART_LOOP): New region type
        (acc_add_variable): New function
        (gimplify_acc_loop): Gimplify ACC LOOP directive,
        its clauses and the for loop
        (gimplify_expr): Gimplify ACC LOOP
        * gcc/testsuite/gfortran.dg/gacc/_loop-tree.f95:
        New test
                


Added:
    branches/openacc-1_0-branch/gcc/testsuite/gfortran.dg/gacc/_loop-tree.f95
Modified:
    branches/openacc-1_0-branch/ChangeLog.ACC
    branches/openacc-1_0-branch/gcc/gimple-oacc.c
    branches/openacc-1_0-branch/gcc/gimple-oacc.h
    branches/openacc-1_0-branch/gcc/gimple-pretty-print.c
    branches/openacc-1_0-branch/gcc/gimplify.c
    branches/openacc-1_0-branch/gcc/tree-pretty-print.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]