Examples of GCC plugins

2015-03-14 Thread Mikhail Maltsev
Hi, all. When I first tried to write a simple plugin for GCC, it turned out that existing docs on plugins (https://gcc.gnu.org/onlinedocs/gccint/Plugins.html#Plugins) are rather brief, so I had to refer to the GCC source code. When I grepped the source looking for one of plugin API functions, I fo

Proposal for another approach for Loop transformation with conditional in Loops.

2015-03-14 Thread Ajit Kumar Agarwal
Hello All: I am proposing the new approach to Loop transformation as given below in the example For the loops with conditional expression inside the Loops. The Loop body should be reducible control flow graph. The iteration space is partitioned into different spaces for which either the cond_exp

RE: Examples of GCC plugins

2015-03-14 Thread Aditya K
> Date: Sat, 14 Mar 2015 18:22:29 +0300 > From: malts...@gmail.com > To: gcc@gcc.gnu.org; san...@codesourcery.com > Subject: Examples of GCC plugins > > Hi, all. > > When I first tried to write a simple plugin for GCC, it turned out that > existing docs on

RE: Proposal for another approach for Loop transformation with conditional in Loops.

2015-03-14 Thread Aditya K
> From: ajit.kumar.agar...@xilinx.com > To: l...@redhat.com; richard.guent...@gmail.com; gcc@gcc.gnu.org > CC: vin...@xilinx.com; shail...@xilinx.com; vid...@xilinx.com; > nmek...@xilinx.com > Subject: Proposal for another approach for Loop transformation

RE: Proposal for another approach for Loop transformation with conditional in Loops.

2015-03-14 Thread Aditya K
> From: ajit.kumar.agar...@xilinx.com > To: l...@redhat.com; richard.guent...@gmail.com; gcc@gcc.gnu.org > CC: vin...@xilinx.com; shail...@xilinx.com; vid...@xilinx.com; > nmek...@xilinx.com > Subject: Proposal for another approach for Loop transformation

Re: Proposal for adding splay_tree_find (to find elements without updating the nodes).

2015-03-14 Thread Trevor Saunders
hi, I'm only commenting on algorithmic stuff at this point, you should make sure this doesn't regress anything in make check. This stuff only effects code using omp stuff so compiling random c++ is unlikely to test this code at all. Also please follow the style in https://gcc.gnu.org/codingconve

RE: Proposal for another approach for Loop transformation with conditional in Loops.

2015-03-14 Thread Ajit Kumar Agarwal
-Original Message- From: Aditya K [mailto:hiradi...@msn.com] Sent: Sunday, March 15, 2015 11:37 AM To: Ajit Kumar Agarwal; Jeff Law; Richard Biener; gcc@gcc.gnu.org Cc: Vinod Kathail; Shail Aditya Gupta; Vidhumouli Hunsigida; Nagaraju Mekala Subject: RE: Proposal for another approach for