search for: rahul3527

Displaying 7 results from an estimated 7 matches for "rahul3527".

2013 Mar 15
2
[LLVMdev] Dependence Analysis on Machine code
Hi, I am trying to do dependence analysis (loop dependences) on machine code. But, scalar evolution doesn't work as expected (like at IR level - opt pass). I am not getting enough clue as to how to proceed.. One naive way of getting the dependence information can be - Do dependence analysis at IR level and attach the information as meta data. And then use this information at machine code
2013 Mar 18
0
[LLVMdev] Dependence Analysis on Machine code
On Mar 15, 2013, at 3:18 AM, rahul <rahul3527 at gmail.com> wrote: > > Hi, > > I am trying to do dependence analysis (loop dependences) on machine code. > But, scalar evolution doesn't work as expected (like at IR level - opt pass). > I am not getting enough clue as to how to proceed.. > > One naive way of ge...
2013 Mar 14
0
[LLVMdev] Get underlying object for Machine level memory operation
...an use the GetUnderlyingObjects function (notice the S at the end of the name) to collect zero or more underlying objects. This method is similar to GetUnderlyingObject except that it can look through phi and select instructions and return multiple objects. On Mar 14, 2013, at 4:15 AM, rahul <rahul3527 at gmail.com> wrote: > Hi, > > I am writing a pass that works at machine level and runs as last pass in llc (just before converting llvm specific machine instructions into target specific instructions) > In this pass I am trying to get underlying object for memory operations. &gt...
2013 Mar 14
2
[LLVMdev] Get underlying object for Machine level memory operation
Hi, I am writing a pass that works at machine level and runs as last pass in llc (just before converting llvm specific machine instructions into target specific instructions) In this pass I am trying to get underlying object for memory operations. It turns out that due to various optimizations on machine instructions, the memory operand in the operation is not always getelementptr (for e.g., it
2013 Mar 15
0
[LLVMdev] Problems about developing LLVM pass on windows visual studio
...--------- > An HTML attachment was scrubbed... > URL: < > http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20130315/1dc06576/attachment-0001.html > > > > ------------------------------ > > Message: 9 > Date: Fri, 15 Mar 2013 09:19:22 +0530 > From: Rahul <rahul3527 at gmail.com> > To: Nadav Rotem <nrotem at apple.com> > Cc: Dev <llvmdev at cs.uiuc.edu> > Subject: Re: [LLVMdev] Get underlying object for Machine level memory > operation > Message-ID: > <CAPTz28BWGjhhTu2wKMNNZPrbJaZZkORuwEieGNWSRSVqt= > b6vQ...
2012 Oct 25
1
[LLVMdev] How to get Function object in LLVM Pass
I am writing a llvm pass which inserts some code in a function. In code generation, I want to insert code for a function call. But for this, I need to get function object from list of functions available with Module. When I try to get the function object by specifying function name, it returns null. I suppose this happens because clang removes function prototypes if the function is not called in
2013 Mar 11
0
[LLVMdev] AESOP autoparallelizing compiler
Hi Timothy, Today I happened to download the code and do some experiments. I actually wanted to see how you handle inter-procedure alias analysis. So, I set inline threshold to zero and tried out following example =============================================== #define N 1024 void func(double *A, double *B) { int i; for (i=1; i<N-2; i++) { B[i] = A[i] + i*3; } } void func1(double