Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] Automatic Vectorization"
2010 Jan 04
0
[LLVMdev] Automatic Vectorization
On Thu, Dec 17, 2009 at 7:09 AM, Renato Golin <rengolin at systemcall.org> wrote:
>
> I believe that would be a FunctionPass and registered in the
> LoopDependencyAnalysis "runOnLoop()", so it can run when such pass is
> called by the PassManager. Or should it be a completely separate pass
> (VectorizationPass?) so we can control it from a separate command-line
>
2012 Mar 15
2
[LLVMdev] Problem with LoopDependenceAnalysis
Hi,
I am using LLVM for implementing LoopFission pass.
I am using LoopPass.
I know that for checking circular dependency in loop I have to use
LoopDependenceAnalysis
This is what i want to do.
for(int i = 0; i< n ; i++){
s1 : a[i] = a[i] + x[i];
s2 : x[i] = x[i+1] + i*2 ;
}
/**there is no dependence from s2 to s1/
so after distribution(it
2012 Mar 20
1
[LLVMdev] Problem with LoopDependenceAnalysis
Shanmuhka wrote:
> I looked at the sanjoys patch for SIV Test. And i figured out that this is exactly what i need.
> as the comments said, check if subscript A can possibly have the same value as B in analyseSIV(A,B)
> but i didn't get How to use this information ?
>
> lets just say in the above program
> When i use depends function it shows the dependency from load of x to
2009 Dec 16
0
[LLVMdev] Help adding the Bullet physics sdk benchmark to the LLVM test suite?
Hello, Erwin
> Although most of this is plain portable C++ perhaps LLVM can auto-vectorize
> some of this?
Well, I doubt so, unfortunately - LLVM does not have any autopar these days
> There is a little bit of hand optimized x86 SSE code. This is only enabled
> on 32bit Windows and Mac OSX Intel builds.
Ok. What's about Linux builds? Are there any other implementations
e.g.
2009 Dec 16
6
[LLVMdev] Help adding the Bullet physics sdk benchmark to the LLVM test suite?
Hi Anton,
Thanks a lot for offering help.
Bullet uses basic linear algebra with 4-way vectors, quaternion and
matrices.
Although most of this is plain portable C++ perhaps LLVM can auto-vectorize
some of this?
There is a little bit of hand optimized x86 SSE code. This is only enabled
on 32bit Windows and Mac OSX Intel builds.
>> Should I just use the 2.75 release?
If you are interested,
2009 Nov 29
1
[LLVMdev] Does LLVM have the pass that do loop dependence analysis ?
Hi, I'm surporiseing that the loop carried dependence analysis is not exsited ;
This problem can't be resolved in the future ?
2012 Mar 15
2
[LLVMdev] Problem with LoopDependenceAnalysis
Shanmukha Rao wrote:
> I am using LLVM for implementing LoopFission pass.
> I am using LoopPass.
> I know that for checking circular dependency in loop I have to use LoopDependenceAnalysis
>
> This is what i want to do.
> for(int i = 0; i< n ; i++){
> s1 : a[i] = a[i] + x[i];
> s2 : x[i] = x[i+1] + i*2 ;
> }
>
>
2012 Mar 15
0
[LLVMdev] Problem with LoopDependenceAnalysis
On Thu, 15 Mar 2012 09:57:00 -0700
Preston Briggs <preston.briggs at gmail.com> wrote:
> Shanmukha Rao wrote:
> > I am using LLVM for implementing LoopFission pass.
> > I am using LoopPass.
> > I know that for checking circular dependency in loop I have to use
> > LoopDependenceAnalysis
> >
> > This is what i want to do.
> > for(int i =
2012 Dec 13
2
[LLVMdev] LoopPass doFinalization() called multiple times per program?
I'm wondering if the documentation for LoopPass (
http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass) is misleading or
incorrect (or if I'm just missing something.) The documentation states:
"The doFinalization method ... is called when the pass framework has
finished calling
runOnLoop<http://llvm.org/docs/WritingAnLLVMPass.html#runOnLoop> for
every loop in the program being
2010 Jul 13
4
[LLVMdev] LoopInterchange Pass
Hi,
I developed a Loop Interchange pass. Please take a look.
I have not incorporate data dependence analysis check. I can insert it when the LoopDependenceAnalysis is available.
Thank you
Satya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100713/654d5fd5/attachment.html>
--------------
2012 Dec 17
3
[LLVMdev] LoopPass doFinalization() called multiple times per program?
On Sun, Dec 16, 2012 at 7:23 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Stephen,
>
>
> On 13/12/12 18:58, Stephen McGruer wrote:
>
>> I'm wondering if the documentation for LoopPass
>> (http://llvm.org/docs/**WritingAnLLVMPass.html#**LoopPass<http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass>)
>> is misleading or
>> incorrect (or
2012 Dec 16
0
[LLVMdev] LoopPass doFinalization() called multiple times per program?
Hi Stephen,
On 13/12/12 18:58, Stephen McGruer wrote:
> I'm wondering if the documentation for LoopPass
> (http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass) is misleading or
> incorrect (or if I'm just missing something.) The documentation states:
>
> "The doFinalization method ... is called when the pass framework has finished
> calling runOnLoop
2012 Dec 17
0
[LLVMdev] LoopPass doFinalization() called multiple times per program?
Hi Chandler,
On 17/12/12 13:47, Chandler Carruth wrote:
> On Sun, Dec 16, 2012 at 7:23 AM, Duncan Sands <baldrick at free.fr
> <mailto:baldrick at free.fr>> wrote:
>
> Hi Stephen,
>
>
> On 13/12/12 18:58, Stephen McGruer wrote:
>
> I'm wondering if the documentation for LoopPass
>
2010 Jul 14
0
[LLVMdev] LoopInterchange Pass
Hi Satya,
On Tue, Jul 13, 2010 at 12:06 PM, Satya Jandhayala <
satya_jandhayala at yahoo.com> wrote:
> Hi,
>
> I developed a Loop Interchange pass. Please take a look.
> I have not incorporate data dependence analysis check. I can insert it when
> the LoopDependenceAnalysis is available.
>
Have you tried using include/llvm/Analysis/LoopDependenceAnalysis.h ?
Please
2012 Jul 23
1
[LLVMdev] llvm::LoopPass
Hi Edvard, _ZTIN4llvm8LoopPassE is "typeinfo for llvm::LoopPass". LLVM is
built without typeinfo, so you will need to build your pass with -fno-rtti.
Ciao, Duncan.
> I'm trying to implement LoopPass.
> Here is simple code :
>
> class LoopParser: public llvm::LoopPass
> {
> public:
> static char ID;
>
> public:
> virtual
2011 Sep 12
1
[LLVMdev] IVUsers (LoopPass) analysis in a ModulePass?
Hi Tim,
> From: Tim Creech <tcreech at umd.edu>
> Subject: [LLVMdev] IVUsers (LoopPass) analysis in a ModulePass?
> Date: September 1, 2011 11:46:28 AM PDT
> To: llvmdev at cs.uiuc.edu
>
> Hi all,
> I have a loadable ModulePass which does transformations, and I would like to
> use IVUsers analysis within it. I noticed when I try to do this (via
> the usual
2011 Jan 06
2
[LLVMdev] Identify Loops from within FunctionPass, or possible to intermix different types of Passes?
LLVMers,
I have a traversal plan which needs to visit certain types of Functions.
For each instruction in such functions, I will need to know:
1. is it located inside a loop
2. if yes, what level of loop nest it is currently in.
So on the highest level, it should be a FunctionPass. However, in order
to identify loops and loop-nest levels, it should also be a LoopPass.
Is there a reasonably
2012 Jul 05
3
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
Hello;
I wrote this simple loop pass to collect the number of instructions in each
loop of the program. The code is as follows-
#define DEBUG_TYPE "loopinst"
#include "llvm/Pass.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Instructions.h"
#include
2012 Jul 23
0
[LLVMdev] llvm::LoopPass
Hello .
I'm trying to implement LoopPass.
Here is simple code :
class LoopParser: public llvm::LoopPass
{
public:
static char ID;
public:
virtual void getAnalysisUsage(llvm::AnalysisUsage &AU) const
{
AU.addRequiredID(llvm::LoopSimplifyID);
AU.addPreservedID(llvm::LoopSimplifyID);
AU.addRequired<llvm::LoopInfo>();
}
2011 Feb 28
2
[LLVMdev] LoopInfo of a basic block
On 2/28/11 4:43 PM, Devang Patel wrote:
>
> On Feb 28, 2011, at 2:35 PM, Naznin Fauzia wrote:
>
>> Hi all,
>>
>> How Can I get the Loops around an Instruction?
>>
>> I know I can get the basic block of an instruction using
>> inst.getParent() which returns a BasicBlock*. Now I want to use the
>> getLoopFor(BasicBlock) method of the class