Re: [PATCH GCC 6/9]Simplify control flow graph for vectorized loop

2017-02-04 Thread Jan Hubicka
> Hi, > This is the main patch improving control flow graph for vectorized loop. It > generally rewrites loop peeling stuff in vectorizer. As described in patch, > for a typical loop to be vectorized like: > >preheader: > LOOP: >heade

Re: [PATCH GCC 6/9]Simplify control flow graph for vectorized loop

2016-09-28 Thread Jeff Law
On 09/21/2016 02:52 AM, Bin.Cheng wrote: On Wed, Sep 14, 2016 at 5:43 PM, Jeff Law <l...@redhat.com> wrote: On 09/14/2016 07:21 AM, Richard Biener wrote: On Tue, Sep 6, 2016 at 8:52 PM, Bin Cheng <bin.ch...@arm.com> wrote: Hi, This is the main patch improving contro

Re: [PATCH GCC 6/9]Simplify control flow graph for vectorized loop

2016-09-21 Thread Bin.Cheng
On Wed, Sep 14, 2016 at 5:43 PM, Jeff Law <l...@redhat.com> wrote: > On 09/14/2016 07:21 AM, Richard Biener wrote: >> >> On Tue, Sep 6, 2016 at 8:52 PM, Bin Cheng <bin.ch...@arm.com> wrote: >>> >>> Hi, >>> This is the main patch improving co

Re: [PATCH GCC 6/9]Simplify control flow graph for vectorized loop

2016-09-14 Thread Jeff Law
On 09/14/2016 07:21 AM, Richard Biener wrote: On Tue, Sep 6, 2016 at 8:52 PM, Bin Cheng <bin.ch...@arm.com> wrote: Hi, This is the main patch improving control flow graph for vectorized loop. It generally rewrites loop peeling stuff in vectorizer. As described in patch, for a typica

Re: [PATCH GCC 6/9]Simplify control flow graph for vectorized loop

2016-09-14 Thread Richard Biener
On Tue, Sep 6, 2016 at 8:52 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > This is the main patch improving control flow graph for vectorized loop. It > generally rewrites loop peeling stuff in vectorizer. As described in patch, > for a typical loop to

[PATCH GCC 6/9]Simplify control flow graph for vectorized loop

2016-09-06 Thread Bin Cheng
Hi, This is the main patch improving control flow graph for vectorized loop. It generally rewrites loop peeling stuff in vectorizer. As described in patch, for a typical loop to be vectorized like: preheader: LOOP: header_bb: loop_body if (exit_loop_cond

[OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)

2012-09-14 Thread James Courtier-Dutton
Hi, I know most compilers go from AST to CFG. I am writing a decompiler, so I was wondering if anyone knew of any documents describing how best to get from CFG to AST. The decompiler project is open source. https://github.com/jcdutton/libbeauty The decompiler already contains a disassembler and

Re: [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)

2012-09-14 Thread Mike Dupont
thanks for sharing, will check this out. mike On Fri, Sep 14, 2012 at 9:05 PM, James Courtier-Dutton james.dut...@gmail.com wrote: Hi, I know most compilers go from AST to CFG. I am writing a decompiler, so I was wondering if anyone knew of any documents describing how best to get from CFG

Control Flow Graph

2006-11-15 Thread [EMAIL PROTECTED]
Hi all, i must use cfg library to build and manipulate a control flow graph. I have read more but i have not found an answer to my question: It is possible to build a cfg structure directly from a file .cfg ?? How i can building a cfg from a file?? Thanks to all, lastnote

Re: Control Flow Graph

2006-11-15 Thread Diego Novillo
[EMAIL PROTECTED] wrote on 11/15/06 06:06: Hi all, i must use cfg library to build and manipulate a control flow graph. I have read more but i have not found an answer to my question: It is possible to build a cfg structure directly from a file .cfg ?? How i can building a cfg from a file

Re: Control Flow Graph

2006-11-15 Thread albino aiello
to manipulate. Can you help me? Thanks to all, lastnote Diego Novillo ha scritto: [EMAIL PROTECTED] wrote on 11/15/06 06:06: Hi all, i must use cfg library to build and manipulate a control flow graph. I have read more but i have not found an answer to my question: It is possible to build

Re: Control Flow Graph

2006-11-15 Thread Diego Novillo
albino aiello wrote on 11/15/06 10:14: Thanks, but i want to use the .cfg file to construct directly a tree_cfg in C language using the TREE SSA libraries of gcc. There is no such thing as a tree ssa library. If you are adding a pass to GCC, then you already have the CFG at your disposal.