search for: aishofpf

Displaying 10 results from an estimated 10 matches for "aishofpf".

2010 Jul 04
2
[LLVMdev] Executing a transformed program
...: > http://llvm.org/docs/WritingAnLLVMPass.html > > I'm going to assume you're using `opt -load MyPass.so -my-pass > input.bc -o output.bc` in which case you can just run llc on output.bc > to get a .s file. > > Reid > > On Thu, Jul 1, 2010 at 8:16 PM, Alysson <aishofpf at gmail.com> wrote: > > Hi all, > > I´ve been working on a transformation pass which performs the remotion of > > some redundant instructions. > > So now it´s finished I´d like to run the optimized programs generated by > my > > pass. > > But I´ve got som...
2010 Jul 05
0
[LLVMdev] Executing a transformed program
I don't know if there is something to do with my problem, but I'm using VMKit front-end to generate the .bc files. So, after generating the example.bc, I remove some redundant instructions with my pass with opt. On Sun, Jul 4, 2010 at 8:32 PM, Alysson <aishofpf at gmail.com> wrote: > Thank you for the answer Reid. > I've been already using the format `opt -load MyPass.so -my-pass input.bc > -o output.bc`. > But my problem is to execute the .s generated file. > As long as I know, gcc compiler is capable to generate target machine cod...
2010 Jul 02
0
[LLVMdev] Executing a transformed program
...ere if you haven't found this document: http://llvm.org/docs/WritingAnLLVMPass.html I'm going to assume you're using `opt -load MyPass.so -my-pass input.bc -o output.bc` in which case you can just run llc on output.bc to get a .s file. Reid On Thu, Jul 1, 2010 at 8:16 PM, Alysson <aishofpf at gmail.com> wrote: > Hi all, > I´ve been working on a transformation pass which performs the remotion of > some redundant instructions. > So now it´s finished I´d like to run the optimized programs generated by my > pass. > But I´ve got  some problems to do this, because I di...
2010 Jul 02
2
[LLVMdev] Executing a transformed program
Hi all, I´ve been working on a transformation pass which performs the remotion of some redundant instructions. So now it´s finished I´d like to run the optimized programs generated by my pass. But I´ve got some problems to do this, because I didn´t find a way to generate assembly from the code and then call the gcc compiler to produce machine-dependent code. Please, does anybody know how to run
2009 Nov 19
1
[LLVMdev] Removing instanceof tests
Hi all, I wrote you some days ago about one project that I want to do on vmkit: I want to remove redundant instanceof tests. I am right now looking at the LLVM code that vmkit produces for java files, but I am finding it very difficult to identify the code that is produced by each instanceof. Would it be possible for you guys to give me some pointers on how to attack this problem? Should I
2010 Jul 06
2
[LLVMdev] vmkit build problems
...init.cpp:42: undefined reference to `GCAllocator::operator delete(void*)' collect2: ld returned 1 exit status make[1]: *** [/home/zoewolk/RESEARCH/vmkit/Debug/bin/vmjc] Error 1 make[1]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/tools/vmjc' On Sun, Jul 4, 2010 at 6:58 PM, Alysson <aishofpf at gmail.com> wrote: > Hi Zoe, > maybe you've already solved your problem with VMKit configuration, but here > you can find a mini-tutorial > that I've done to guide people on VMKit installation. > > http://www2.dcc.ufmg.br/laboratorios/llp/wiki/doku.php?id=afpf > &...
2010 Jul 05
0
[LLVMdev] vmkit build problems
Hi Zoe, maybe you've already solved your problem with VMKit configuration, but here you can find a mini-tutorial that I've done to guide people on VMKit installation. http://www2.dcc.ufmg.br/laboratorios/llp/wiki/doku.php?id=afpf Best regards, Alysson On Wed, Jun 30, 2010 at 1:34 PM, nicolas geoffray < nicolas.geoffray at gmail.com> wrote: > Hi Zoe, > > Unfortunately, I
2010 Jun 30
2
[LLVMdev] vmkit build problems
Hi Zoe, Unfortunately, I don't have access to a x64 machine anymore, so I can't test that architecture on vmkit. Could you install a virtual machine on your machine that is x86_32? I know it has been successfully built and ran on x86_32 on different systems. Cheers, Nicolas On Wed, Jun 30, 2010 at 7:49 AM, Zoe Wolk <zoewolk at gmail.com> wrote: > Hi again Nicolas, > >
2009 Sep 21
1
[LLVMdev] Removing redundant type checks from Java
Hi, LLVMers, I am a CS student in my final year, and I would like to use LLVM in my final course project. So, I just download LLVM and VMKit, and I have been playing with both. I can produce llvm bytecodes from java programs, and now my idea is to remove redundant type checks from the code. For instance, if we consider a program like this: if (o instanceof A) { A a = (A) o; // do
2010 Jun 21
3
[LLVMdev] Problems with eraseFromParent()
Hi LLVMers, I am working on my llvm school project optimization pass. It's relatively simple, and it tries to remove redundant bitcast instructions followed by load instructions. At first, I'm using as input a bytecode generated by a simple Java test program. I've already found the reduntant instructions by looking at it's CFG, and I also could implement the code to