search for: loopwrapinfopass

Displaying 4 results from an estimated 4 matches for "loopwrapinfopass".

2018 Apr 23
2
Conditional analysis before inliner
...esent. instcombine can convert the loop into a single builtin ie. void bar() { __builtin_wide_compute(); } When the inliner runs on foo(), we want bar() to already have the transformation to reflect the cost of the inlining decision more accurately. I do see that scalar evolution is a lazy but loopwrapinfopass is not. Is there a way to run these two analysis passes conditionally before inlining? Thanks, Stan On Fri, Apr 20, 2018 at 1:55 PM, Friedman, Eli <efriedma at codeaurora.org> wrote: > On 4/19/2018 1:57 PM, Anom LLVM via llvm-dev wrote: > >> Hi, >> >> I have p...
2018 Apr 20
0
Conditional analysis before inliner
On 4/19/2018 1:57 PM, Anom LLVM via llvm-dev wrote: > Hi, > > I have pass phase ordering question. > > I am interested in performing a transformation that matches several > LLVM IR instructions and converts them to a single builtin. This sort > of transformation must occur prior to inlining because inlining needs > to analyze cost of the builtin. However, the LLVM IR
2018 Apr 23
0
Conditional analysis before inliner
...ngle builtin ie. > > void bar() { >   __builtin_wide_compute(); > } > > When the inliner runs on foo(), we want bar() to already have the > transformation to reflect the cost of the inlining decision more > accurately. > > I do see that scalar evolution is a lazy but loopwrapinfopass is not. > Is there a way to run these two analysis passes conditionally before > inlining? > > Thanks, > > Stan > > > > > > > On Fri, Apr 20, 2018 at 1:55 PM, Friedman, Eli > <efriedma at codeaurora.org <mailto:efriedma at codeaurora.org>> wr...
2018 Apr 19
2
Conditional analysis before inliner
Hi, I have pass phase ordering question. I am interested in performing a transformation that matches several LLVM IR instructions and converts them to a single builtin. This sort of transformation must occur prior to inlining because inlining needs to analyze cost of the builtin. However, the LLVM IR -> builtin transformation requires scalar evolution which typically doesn't run until