search for: goparaju

Displaying 16 results from an estimated 16 matches for "goparaju".

2010 Apr 18
2
[LLVMdev] Creating a Return Instruction.
Hi all, I have to create a return instruction in a function. The function is of type -- void * func (void *) . So i have to create a return instruction for the function that should return a void pointer. But actually the function will not return anything useful . it will be something like -- return void * null. The problem i am facing is to create a return instruction the Create function
2010 Apr 26
2
[LLVMdev] Creating a GEP instruction.
Hi, I'm trying to create a GEP (inbounds) instruction . I was looking at the createinboundsGEP method . I didnt get the inputiterator part. My question how do i create a GEP instruction and what do i pass for the input iterator arguments. Thanks, Rohith. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Apr 26
0
[LLVMdev] Creating a GEP instruction.
On Sun, Apr 25, 2010 at 5:15 PM, Rohith Goparaju <rgoparaj at umail.iu.edu> wrote: >  Hi, > >    I'm trying to create a GEP (inbounds) instruction . I was looking at the > createinboundsGEP method . I didnt get the inputiterator part. My question > how do i create a GEP instruction and what do i pass for the input iterato...
2010 Apr 26
1
[LLVMdev] Creating a GEP instruction.
...createInBoundsGEP which takes the base pointer and the index value and a name. When i try passing '0' as the index im running into problems. Thanks, Rohith. On Sun, Apr 25, 2010 at 10:27 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Sun, Apr 25, 2010 at 5:15 PM, Rohith Goparaju <rgoparaj at umail.iu.edu> > wrote: > > Hi, > > > > I'm trying to create a GEP (inbounds) instruction . I was looking at > the > > createinboundsGEP method . I didnt get the inputiterator part. My > question > > how do i create a GEP instruction...
2010 May 02
0
[LLVMdev] Unreachable Executed error.
Run the verifier pass after your pass. The bitcode readers and writers assume that the IR is well-formed, which yours may not be. Reid On Sun, May 2, 2010 at 1:08 AM, Rohith Goparaju <rgoparaj at umail.iu.edu> wrote: > Hi, > >   I've written a pass that basically does some code transformations to > enable parallel execution. After the transformation llvm runs BitCode Writer > pass , which is aborting with Unreachable Executed error.  What does this >...
2010 Apr 19
0
[LLVMdev] Free Variables In a Loop.
Rohith Goparaju wrote: > Hi , > > I'm working on a project in which i need to find out all free > variables in a loop. I need to find all variables used inside a loop > and that are not declared(allocated) in the loop. I'm confused about > what symbol tables to use to get hold of su...
2010 May 02
2
[LLVMdev] Unreachable Executed error.
Hi, I've written a pass that basically does some code transformations to enable parallel execution. After the transformation llvm runs BitCode Writer pass , which is aborting with Unreachable Executed error. What does this error generally mean?. Any pointers on how to go about debugging this. Thanks, Rohith. -------------- next part -------------- An HTML attachment was scrubbed...
2010 Apr 18
2
[LLVMdev] Free Variables In a Loop.
Hi , I'm working on a project in which i need to find out all free variables in a loop. I need to find all variables used inside a loop and that are not declared(allocated) in the loop. I'm confused about what symbol tables to use to get hold of such variables. Thanks, Rohith. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Mar 26
0
[LLVMdev] CFG Manipulation is LLVM
...cally set up. Similarly, the list of uses of "variables" (aka instructions) is maintained automatically. Ciao, Duncan. PS: Please reply to the list rather than me personally. I've CC'd the list. > > Thanks, > Rohith. > > On Thu, Mar 18, 2010 at 4:55 PM, Rohith Goparaju <rgoparaj at umail.iu.edu > <mailto:rgoparaj at umail.iu.edu>> wrote: > > Thanks Duncan...That was helpful. > > > On Thu, Mar 18, 2010 at 4:54 AM, Duncan Sands <baldrick at free.fr > <mailto:baldrick at free.fr>> wrote: > > Hi...
2010 Mar 17
3
[LLVMdev] CFG Manipulation is LLVM
Hi, Is there any API within llvm that provides methods to access the CFG and do some manipulations on the CFG. Thanks, Rohith. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100317/5536c443/attachment.html>
2010 Mar 01
1
[LLVMdev] Regarding Dependence Analysis
Hi , I'm using llvm for a project im currently working on. I got a couple of questions . Is Dependence Analysis supported and/or implemented within llvm?. Does llvm perform peephole optimizations before genrating the bytecode . Thanks, Rohith. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Apr 05
1
[LLVMdev] Moving Instructions.
Hi, Is there a way in which i can move an instruction from one basicblock to another?.(without giving the instruction a new name). I'm actually trying to move the body of a given loop into a new function. If i would be able to move basicblocks's that would be ideal. So is there a way to move a basicblock into a function?. Thanks, Rohith. -------------- next part -------------- An HTML
2010 Apr 19
1
[LLVMdev] Free Variables In a Loop.
...e can use LoopInfo pass to check whether the basic block containing that definition instruction belongs to the loop in question. Is there a method that returns the defining instruction? Thanks, Adarsh On Mon, Apr 19, 2010 at 10:05 AM, John Criswell <criswell at uiuc.edu> wrote: > Rohith Goparaju wrote: > > Hi , > > > > I'm working on a project in which i need to find out all free > > variables in a loop. I need to find all variables used inside a loop > > and that are not declared(allocated) in the loop. I'm confused about > > what symbol tabl...
2010 Sep 20
1
[LLVMdev] AliasAnalysis Doubt.
Hi All, I'm trying to use the inbuilt AliasAnalysis function for one of my projects. Im trying to find out if a pair of load and store alias each other. It would be helpful if somebody could point out the right way to do this. Example : %13 = load i32* %12, align 4 store i32 30, i32* %4, align 4 So in the above example i'm trying to find out if
2010 Apr 20
2
[LLVMdev] Number of Bytes a GetElementPtr .
Hi, I have the value of a getelementptr instruction. How can i find how many bytes it is accessing from the base address. I need this to call the alias method. Thanks, Rohith. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100419/566a7019/attachment.html>
2010 Sep 12
1
[LLVMdev] 'opt' command Errors.
Hi, My pass compiles fine with Gmake,but when i run it with 'opt' it was initially breaking with the following error message : "Error opening '../../../Release/lib/ReusePass.so': ../../../Release/lib/ReusePass.so: undefined symbol: _ZNK4llvm4Pass5printERSoPKNS_6ModuleE -load request ignored. opt: Unknown command line argument '-ReusePass'." Then i