Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] Optimizing class casts away"
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
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 Jul 06
2
[LLVMdev] vmkit build problems
Thanks Alysson.
Unfortunately, those instructions don't work for me (I followed them exactly
using
a clean system) -- probably because of the recent changes
to the svn heads.
After fixing EscapeAnalysis in vmkit to use the updated
CallInst.getArgOperand interface
I hit the error below.
I was interested in using mmtk with the system (as recommended), but that
requires a llvm-gcc build (and
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
2007 Oct 26
0
2 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h test/trace
libswfdec/swfdec_as_interpret.c | 56 ++++++++++++++++++++++
libswfdec/swfdec_as_object.h | 1
test/trace/Makefile.am | 9 +++
test/trace/implements-5.swf |binary
test/trace/implements-5.swf.trace | 34 +++++++++++++
test/trace/implements-6.swf |binary
test/trace/implements-6.swf.trace | 34 +++++++++++++
test/trace/implements-7.swf |binary
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
2010 Jul 04
2
[LLVMdev] Executing a transformed program
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 code
from assembly.
So I tried to compile it with gcc to generate machine code, but there was
many problems.
Is there any way to compile and run .s files?
2010 Jul 02
0
[LLVMdev] Executing a transformed program
How are you getting LLVM to run your pass? There's plenty of
information here 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
2010 Jun 21
0
[LLVMdev] Problems with eraseFromParent()
Alysson wrote:
> 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
2015 Dec 15
0
How to efficiently share data (a dataframe) between R and Java
You can pass the entire df, example:
> data(iris)
> iris$sp = as.character(iris$Species)
> o=.jarray(lapply(iris, .jarray))
> .jcall("C",,"df",o)
df, 6 variables
[0]: double[150]
[1]: double[150]
[2]: double[150]
[3]: double[150]
[4]: int[150]
[5]: String[150]
Java code:
public class C {
static void df(Object df[]) {
int n;
2007 Oct 25
0
12 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
libswfdec/swfdec_as_internal.h | 4
libswfdec/swfdec_as_interpret.c | 44 +++++++
libswfdec/swfdec_as_object.c | 73 +++++++++----
libswfdec/swfdec_text_field_movie.c | 20 +--
libswfdec/swfdec_text_field_movie_as.c | 6 -
test/trace/Makefile.am | 45 ++++++--
test/trace/instance-of-5.swf
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 Sep 17
0
web-meetme cbEnd.php not running - error
Hey,
Ive installed web meetme and everything is working fine except no records
are being written to the cdr and participants tables, this is because the
cbEnd.php script is not running. Below is the output of the cbEnd.php when I
run in manually. I am running asterisk 1.4.20.1 and web meetme 3.1.0 and the
latest release's of PEAR,PHP and MySQL.
./cbEnd.php
PHP Strict Standards: Assigning
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
2013 Jan 10
1
[LLVMdev] LLVM Instruction to ICmpInst conversion
Hello !
I want some piece of advice regarding a LLVM pass. My particular problem is:
There is a method
bool patternDC::runOnFunction(Function &F) {
...
if ( CC->operEquiv(icmpInstrArray[i], icmpInstrArray[j]) ) {...}
...
}
having the array elements of type Instruction* :
http://llvm.org/doxygen/classllvm_1_1Instruction.html
The called method is
bool
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c test/trace
libswfdec/swfdec_as_interpret.c | 89 ++++++++++++++++++++++++-------
test/trace/Makefile.am | 9 +++
test/trace/cast-5.swf |binary
test/trace/cast-5.swf.trace | 2
test/trace/cast-6.swf |binary
test/trace/cast-6.swf.trace | 2
test/trace/cast-7.swf |binary
2012 Feb 10
0
[LLVMdev] Paulo Coutinho left a message for you...
Paulo Coutinho left a message for you...
Its sender and content will be shown only to you and you can delete it at any time. You can instantly reply to it, using the message exchange system. To find out what's in the message, just follow this link:
http://us1.badoo.com/pcmnac/in/GUikHjCbJWY/?lang_id=3&m=63&mid=4f347a7e000000000003000027ee8a5b
Some more patiently waiting folks:
2007 Apr 16
0
Branch 'as' - 3 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
libswfdec/swfdec_as_interpret.c | 108 ++++++++++++++++++++++------------------
libswfdec/swfdec_as_object.c | 97 ++++++++++++++++++++++++++++++++++-
libswfdec/swfdec_as_object.h | 13 ++++
3 files changed, 167 insertions(+), 51 deletions(-)
New commits:
diff-tree 5b8588a3f805a71549ee71acc97ce27a3845383e (from a843e801169afd960d58def92a2adf5eaf69dbfb)
Author: Benjamin Otte
2011 Jul 26
0
Cloudviews2011: Call for Papers
The deadline is approaching: July 31st!!! Please, check our latest news at http://2011.cloudviews.org
"Cloud Computing & You"
3rd Cloud Computing International Conference (CloudViews 2011)
October 17-18, 2011
Porto, Portugal
EuroCloud Portugal
2011.cloudviews.org
Recognizing the potential of the Cloud Computing paradigm for ICT evolution, the CloudViews.Org project was launched in
2011 Jul 26
0
Cloudviews2011: Call for Papers
The deadline is approaching: July 31st!!! Please, check our latest news at http://2011.cloudviews.org
"Cloud Computing & You"
3rd Cloud Computing International Conference (CloudViews 2011)
October 17-18, 2011
Porto, Portugal
EuroCloud Portugal
2011.cloudviews.org
Recognizing the potential of the Cloud Computing paradigm for ICT evolution, the CloudViews.Org project was launched in