search for: karhu

Displaying 12 results from an estimated 12 matches for "karhu".

2008 Nov 16
2
[LLVMdev] Move instruction
...ginal Message ----- From: "Owen Anderson" <resistor at mac.com> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Sent: Friday, November 14, 2008 11:22:32 PM GMT -06:00 US/Canada Central Subject: Re: [LLVMdev] Move instruction On Nov 14, 2008, at 9:13 PM, Karhu, Abhinav R wrote: > Hi Eli, > I want to do redundant load elimination. A simple example for that > would be > > load (a1) , r1; > --- > --- > --- > load (a2) , r2; > > Now if a1 and a2 are alias of each other and the value stored in a1 > and a2 remains the s...
2008 Nov 16
0
[LLVMdev] Move instruction
r2->replaceAllUsesWith(r1); r2->eraseFromParent(); LLVM makes it easy! ;-) --Owen On Nov 15, 2008, at 11:02 PM, Karhu, Abhinav R wrote: > Hi owen, > Can you please elaborate as to what should I do? Find all the > instruction which have r2 in it and replace all of them with r1 and > then remove the load instruction? > Thanks > Abhinav > ----- Original Message ----- > From: "Owen An...
2008 Nov 14
2
[LLVMdev] Move instruction
Hi all, Can anybody tell me how to generate a mov instruction in llvm. I found out there is a MemMove Inst but I dont think that is what I want. I want to bypass a load instruction. So i need to generate a mov instruction which will help me remove the redundant load. Thanks -- Abhinav Karhu MS Computer Science Georgia Institute of Technology
2008 Sep 29
2
[LLVMdev] Problem running program with LLVM JIT
...try: %retval = alloca int, align 4 ; <int*> [#uses=2] %tmp = alloca int, align 4 ; <int*> [#uses=2] These are the lines of code I guess which will have all the information that is causing the error. Some enlightenment on this please. -- Abhinav Karhu MS Computer Science Georgia Institute of Technology
2008 Nov 15
0
[LLVMdev] Move instruction
On Fri, Nov 14, 2008 at 2:13 PM, Karhu, Abhinav R <akarhu3 at gatech.edu> wrote: > > Hi all, > Can anybody tell me how to generate a mov instruction in llvm. I found out there is a MemMove Inst but I dont think that is what I want. > I want to bypass a load instruction. So i need to generate a mov instruction which wil...
2008 Nov 15
1
[LLVMdev] Move instruction
...essage ----- From: "Eli Friedman" <eli.friedman at gmail.com> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Sent: Friday, November 14, 2008 7:06:30 PM GMT -06:00 US/Canada Central Subject: Re: [LLVMdev] Move instruction On Fri, Nov 14, 2008 at 2:13 PM, Karhu, Abhinav R <akarhu3 at gatech.edu> wrote: > > Hi all, > Can anybody tell me how to generate a mov instruction in llvm. I found out there is a MemMove Inst but I dont think that is what I want. > I want to bypass a load instruction. So i need to generate a mov instruction which wil...
2008 Oct 30
3
[LLVMdev] Problem executing code with lli...
...also testing to see if the malloc was successful or not and it shows that malloc was successful. The part where is static memory is allocated runs fine(I am putting a print for that value). Why is the program failing in LoadValueFromMemory? Please some light on this issue. Thanks -- Abhinav Karhu MS Computer Science Georgia Institute of Technology
2008 Sep 29
1
[LLVMdev] Problem running the program
I have compiled the program using the following option. llvm-gcc --emit-llvm Hello.c -o Hel.bc I have used llvm in the past but this sort of problem is new for me. I dont know how to go about it. Thanks for the reply. -- Abhinav Karhu MS Computer Science Georgia Institute of Technology
2008 Oct 26
1
[LLVMdev] Problem executing code with lli...
...error which suddenly popped up today. Whenever I am trying to execute a piece of code using lli I get this following error. Error loading program 'sample.bc': Invalid bytecode signature: 464C457F (Vers=0, Pos=4) I dont know what to do..Please reply to this question. Please... -- Abhinav Karhu MS Computer Science Georgia Institute of Technology
2008 Sep 28
0
[LLVMdev] Problem with running the program using LLVM
...problem with running the program using LLVM JIT. I get the following error. lli: error loading program 'Hel.bc': Bitcode stream should be a multiple of 4 bytes in length. Hel.bc is the bytecode for my simple HelloWorld program. Please give me some insight into this. Thanks -- Abhinav Karhu MS Computer Science Georgia Institute of Technology
2008 Oct 22
0
[LLVMdev] Alias analysis information using Profile Pass.
Hey all, I am trying to see if we can gather alias analysis information during profiling, similar to block profiling or edge profiling info which can be gathered. Is there some way that can be achieved? A pointer on this topic would be much appreciated. Thanks -- Abhinav Karhu MS Computer Science Georgia Institute of Technology
2008 Oct 25
0
[LLVMdev] trouble generating profile_rt.so
...ile.rules. Inside Makefile.rules I found that the ifndef GCCAS GCCAS := $(LLVMToolDir)/gccas$(EXEEXT) endif And somehow this is not set is what I am guessing. Is there some option that I need to specify when I am doing gmake in the source folder? Please some advice on this issue. -- Abhinav Karhu MS Computer Science Georgia Institute of Technology