search for: rewritescevparams

Displaying 3 results from an estimated 3 matches for "rewritescevparams".

2012 Dec 03
1
[LLVMdev] [polly] scev codegen (first step to remove the dependence on ivcanon pass)
...P / OpenCL code and need to pass parameters to other > functions or modules. Maybe OpenMP / OpenCL codegen could separately handle the rewrite of in/out variables for the outlined functions: the scalar and vector codegen don't need to rewrite parameters. What about moving a reduced version rewriteScevParams in the general implementation of SCEV? That would make it available for other users. > 2. Speed > > The SCEVRewriter only passes once over the SCEVExpr. In your approach, > we would pass three times over the SCEV, no? It depends on how you implement it. You can do it in one swipe a...
2012 Dec 01
0
[LLVMdev] [polly] scev codegen (first step to remove the dependence on ivcanon pass)
On Fri, Nov 30, 2012, at 08:46 PM, Sebastian Pop wrote: > Hi Tobi, > > I would like to remove the SCEVRewriter code and replace it with a call > to > SCEVAddRec::apply (see attached a patch that adds just this function). > More > precisely I want to add another function called apply_map that applies a > map > (loop -> expr) on a given scev. This is the apply
2012 Nov 30
2
[LLVMdev] [polly] scev codegen (first step to remove the dependence on ivcanon pass)
Hi Tobi, I would like to remove the SCEVRewriter code and replace it with a call to SCEVAddRec::apply (see attached a patch that adds just this function). More precisely I want to add another function called apply_map that applies a map (loop -> expr) on a given scev. This is the apply function on a multi-variate polynomial. So here is an overview of how I would like the scev code generator