Displaying 20 results from an estimated 4000 matches similar to: "Using VMKit to convert Java Bytecode to LLVM IR"
2019 Jan 28
2
[RFC] Support embedding bitcodes in LLD with LTO
Hi everybody!
I'm Josef and I'm working at Oracle Labs on Sulong [1,2], the LLVM IR
execution engine in GraalVM [3]. In addition to executing bare bitcode
files, Sulong also accepts ELF files with embedded bitcode sections.
Therefore, it would be great if LLD in (Full)LTO mode would support
embedding bitcode sections to the resulting object file. Is that
something that would be
2016 May 13
3
Access to dynamic execution information.
Hi
Does LLVM dynamically run the program to obtain profiling information like
branch weight? if so, can we access the information regarding this run like
the number of instructions that have been executed dynamically between two
specific points of the program?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Jan 30
4
Sulong
Hi everyone,
we started a new open source project Sulong:
https://github.com/graalvm/sulong.
Sulong is a LLVM IR interpreter with JIT compilation running on top of the
JVM.
By using the Truffle framework, it implements speculative optimizations
such as inlining of function pointer calls through AST rewriting.
One area of our research is to provide alternative ways of executing LLVM
bitcode that
2018 Aug 25
3
PATypeHolder, refineAbstractTypeTo(), addTypeName not found
I am following the code of the project
https://llvm.org/svn/llvm-project/java/trunk/lib/Compiler/Resolver.cpp,
But some class/function of it is not present in my source code due to
replacement of this function in newer llvm verion. Can someone please
suggest me the alternative approach of these function in latest llvm
version. Here are those classes and functions :
1) PATypeHolder
2)
2019 Jan 31
3
[RFC] Support embedding bitcodes in LLD with LTO
Thanks for your response!
On 30/01/2019 20:18, Rui Ueyama wrote:
> Hi Josef,
>
> Let me clarify my understanding. Do you want to keep original bitcode
> files in the output executable when doing LTO, so that the resulting
> executable contains both compiled bitcode (which is in native machine
> instructions) and original bitcode files?
Exactly! Kind of analogous to what
2011 Sep 20
1
[LLVMdev] [VMKit] OpenJDK Port
On Tue, Aug 16, 2011 at 1:45 PM, Nicolas Geoffray
<nicolas.geoffray at gmail.com> wrote:
>> Supporting OpenJDK is very interesting indeed, as full 1.6 support is
>> important to us. How intense of a project would undertaking this be?
>> And is this something you could semi-mentor on if I were to undertake
>> it? :).
>
> Yes, no problem. I'd be happy to help
2018 Aug 14
2
Error: ‘class llvm::PassManager<llvm::Module>’ has no member named ‘add’
Hi Philip,
I also tried that including file:
#include "llvm/IR/LegacyPassManager.h"
but error remain same. Please help.
On Tue, Aug 14, 2018, 2:58 AM Philip Pfaffe <philip.pfaffe at gmail.com> wrote:
> Hi Ratnesh,
>
> the PassManager used in that example has moved into the legacy namespace:
> http://llvm.org/doxygen/classllvm_1_1legacy_1_1PassManager.html
>
>
2018 Jul 31
2
LLJVM make error
Hi fellow devs,
I was looking for converting LLVM IR to JavaBytecode by using lljvm
project of https://github.com/davidar/lljvm
They don't seem to compile, once i run *make* in the root directory it give
me the error :
cd include && make all
make[1]: Entering directory `/home/rtiwari1/llvm_new/lljvm/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving
2018 Aug 01
2
LLJVM make error
That source file was removed from LLVM in r232397 on March 16, 2015.
It looks like lljvm hasn't been updated in a long time. LLVM's C++ APIs are not stable, so there is no expectation that a project built against LLVM's C++ API in 2015 would build or reasonably function against LLVM trunk.
The project probably works against LLVM 3.6.2 which was (I believe) the last LLVM release to
2011 Aug 15
1
[LLVMdev] [VMKit] 2.9 or ToT? Java version/features?
Hi Nicolas,
Reviving old thread of sorts... thank you very much for your earlier
response--I apologize for not responding to tell you how very helpful
your information was! Didn't come back because you gave me everything
I needed at the time :).
Anyway:
On Fri, May 13, 2011 at 2:00 PM, nicolas geoffray
<nicolas.geoffray at gmail.com> wrote:
> On Fri, May 13, 2011 at 7:30 PM, Will
2019 Jan 31
2
[RFC] Support embedding bitcodes in LLD with LTO
On Thu, Jan 31, 2019 at 11:05 AM Rui Ueyama via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> That feature is probably too specific to your project. Most projects that
> use LTO are using LTO just because it generates better code. Your project
> is special as your program itself can also interpret LLVM bitcode, but
> that's not the case for most other programs.
>
I
2018 Aug 24
3
OpaqueType:: get()
I have code that uses OpaqueType::get(), it was used to be in
llvm/IR/DerivedType.h , but it is removed now. What should I use for it
replacement.
Also, it is using #include <llvm/Bytecode/WriteBytecodePass.h> , but I do
not found any WriteBytecodePass.h in my source code. Please tell me, what
should I use in replacement of these.
Thanks& Regards,
Ratnesh Tiwari
-------------- next
2013 Mar 18
2
[LLVMdev] [vmkit]Errors when compiling vmkit
Hi,
I see that now vmkit2 contains the last revisions of the project, so I
follow these instructions to compile vmkit :
http://vmkit2.gforge.inria.fr/start.php
I download and compile LLVM without errors. I have tested with and without
optimizations but this is the same for the errors.
My configuration for LLVM is just : ./configure; make
Apparently we can build vmkit with OpenJDK instead of GNU
2013 Mar 19
0
[LLVMdev] [vmkit]Errors when compiling vmkit
Hi Julien,
Due to some new commits, openjdk build is broken for the moment.
We are fixing this.
You can temporarily use the following commit to try VMKit with OpenJDK
implementation.
d9bf3794d66a116999f8f16d0799fba6fe5bd822
just call the following command in your vmkit directory:
git checkout d9bf3794d66a116999f8f16d0799fba6fe5bd822
Harris Bakiras
On 03/18/2013 10:12 AM, Julien Pagès
2018 Aug 13
2
Error: ‘class llvm::PassManager<llvm::Module>’ has no member named ‘add’
Hi, I am begineer to llvm, implementing a main.cpp from
https://github.com/davidar/lljvm/blob/master/backend/main.cpp
A) : When I am declaring a command:
* PassManager PM*
* PM.add(new DataLayout td)*
It shows error:
>
*error: missing template arguments before ‘PM’*
* PassManager PM;*
^
>*main_test.cpp:48:2: error: ‘PM’ was not declared in this scope*
*
2013 Jul 31
1
[LLVMdev] error on compiling vmkit
Hi all,
After "BUILD SUCCESSFUL" Message on compiling VMkit.
after the make starts compiling mmtk-vmkit.jar
In verbose mode the following command errors out:
/home/usr/vmkit/Release+Asserts/bin/vmjc
-load=/home/usr/vmkit/Release+Asserts/lib/MMTKRuntime.so
-load=/home/usr/vmkit/Release+Asserts/lib/MMTKMagic.so -LowerMagic
/home/usr/vmkit/mmtk/java/Release+Asserts/mmtk-vmkit.jar
2013 Jun 07
1
[LLVMdev] Error on compiling VMkit
Hi all,
After "BUILD SUCCESSFUL" Message on compiling VMkit.
The make starts compiling mmtk-vmkit.jar The following command errors out:
Compiling 'mmtk-vmkit.jar'
/vmkit/Release+Asserts/bin/vmjc
-load=/vmkit/Release+Asserts/lib/MMTKRuntime.so
-load=/vmkit/Release+Asserts/lib/MMTKMagic.so -LowerMagic
/vmkit/mmtk/java/Release+Asserts/mmtk-vmkit.jar -disable-exceptions
2008 Nov 14
1
[LLVMdev] vmkit, jvm, newbie bytecode translation + jit question
Greetings,
I am searching for an alternative to sun's java implementation - one
that is not under gpl..
I've been reading the vmkit code for JNI.. And I notice that it is
not completely filled out yet... That's fine though, I see there is
filled in function like most of the non implemented functions..
Couple of questions:
Is the entire llvm required for java/cli vmkit to run?
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
Hi all,
OpenJDK8 jdk8u-dev[1] is just able to work after compiled with LLVM
3.9.1 for X86:
$
./build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image/bin/java
-version
openjdk version "1.8.0-internal-debug"
OpenJDK Runtime Environment (build
1.8.0-internal-debug-xiangzhai_2018_09_09_21_08-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00-debug, mixed mode)
$ strings
2011 May 13
2
[LLVMdev] [VMKit] 2.9 or ToT? Java version/features?
Hi all,
I'm interested in using VMKit rather extensively in a project of mine.
I was hoping to get feedback on a few vmkit-related questions from
those more familiar:
--Is there a 'best' version to use? I'd be inclined to use the 2.9
release since it's a stationary target, but curious if I should try to
follow ToT. Is there a recommended best practice?
--What features of