This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inserting function calls
- From: Diego Novillo <dnovillo at redhat dot com>
- To: jean-christophe dot beyler at ulp dot u-strasbg dot fr
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 30 Aug 2006 14:51:29 -0400
- Subject: Re: Inserting function calls
- References: <20060830204453.w12lyvok0844c8gs@webmail.u-strasbg.fr>
jean-christophe.beyler@ulp.u-strasbg.fr wrote on 08/30/06 14:44:
> Does anyone have any ideas on to how I can modify my function and get it
> to insert the functions correctly ?
>
Browse through omp-low.c. In particular create_omp_child_function and
expand_omp_parallel. The new function needs to be added to the call
graph and queued for processing (cgraph_add_new_function).