search for: lljvm

Displaying 13 results from an estimated 13 matches for "lljvm".

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...
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 re...
2016 Mar 27
0
is LLJVM alive?
Hi fellow devs, I was looking for a way to run C on the JVM and i found LLJVM which apparently does exactly that! Howevere,unfortunately it seems dead on the main david's git https://github.com/davidar/lljvm as well as the slightly newer one https://github.com/hyc/lljvm. They don't seem to compile, once i run make in the root directory it give me the error : "...
2009 Nov 24
2
[LLVMdev] JVM Backend
...o, several instructions are emulated by method calls due to deficiencies in the JVM instruction set (e.g. lack of unsigned arithmetic), so performance could also be improved in this area (although the JVM should inline the calls when it feels it necessary). In order to link and run the output, the LLJVM[1] runtime is required, which is essentially a compatibility layer allowing things such as pointers to be used (emulated) within the JVM. Jasmin[2] is also required to assemble the output code. In order to transform LLVM IR to a class file and run it, the following process is required: llc -march...
2009 Nov 30
1
[LLVMdev] JVM Backend
...eople will be > happy to apply as a patch, but for now it'll be more nuisance than > help. I hope I didn't give the impression that I was pushing to get this commited - I'm quite happy to keep it as a separate project. I've cleaned up the code a bit and released it as part of LLJVM[1], so any fixes to the problems people have highlighted in this thread will be pushed to the repository listed on that page as I get to them. [1] http://da.vidr.cc/projects/lljvm/ -- David Roberts http://da.vidr.cc/ On Mon, Nov 30, 2009 at 19:39, Renato Golin <rengolin at systemcall.org&gt...
2016 Jul 19
5
A "Java Backend"
...al platform, to enable LLVM to compile programs to Java Bytecode (.class) and Java Archive files (.jar). This could be useful in situations where we need to compile a program for a platform still not natively supported by LLVM. I don't know if it exists already, I've heard about this "LLJVM" but I don't think it does the same thing as my idea. What do you think?
2009 Nov 25
0
[LLVMdev] JVM Backend
...ovide some sort of "feature" test? So, we might be sure that the stuff won't be broken due to e.g. some API change, etc. Now we have a powerful FileCheck facility, so, you might just have a one .ll file and check for the JVM code emitted. > In order to link and run the output, the LLJVM[1] runtime is required, Can this be documented somehow? E.g. in a readme file in the backend dir, etc? It will be nice if this library be somehow integrated into LLVM as well. The current big question is: how you're planning to deal with arbitrary precision stuff which might come from LLVM IR....
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*...
2009 Nov 26
2
[LLVMdev] JVM Backend
...; sure that the stuff won't be broken due to e.g. some API change, etc. > Now we have a powerful FileCheck facility, so, you might just have a > one .ll file and check for the JVM code emitted. Additional patch attached, is this suitable? >> In order to link and run the output, the LLJVM[1] runtime is required, > Can this be documented somehow? E.g. in a readme file in the backend > dir, etc? I can do that. > The current big question is: how you're planning to deal with > arbitrary precision stuff which might come from LLVM IR. I should be able to implement that. W...
2009 Nov 30
0
[LLVMdev] JVM Backend
2009/11/30 David Roberts <d at vidr.cc>: >> Nobody is asking for perfection, just completeness. > I'd just like to point out that I don't have a great deal of > experience in compiler development - I just thought that this would be > an interesting project to try. I realise that it isn't complete in > it's current state. Hi David and Jon, After reading
2018 Aug 14
2
Error: ‘class llvm::PassManager<llvm::Module>’ has no member named ‘add’
...xygen/classllvm_1_1legacy_1_1PassManager.html > > Cheers, > Philip > > On Mon, Aug 13, 2018 at 8:49 PM Ratnesh Tiwari via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> 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;* >&...
2009 Nov 30
2
[LLVMdev] JVM Backend
>> > So it will stack overflow on tail calls >> >> At the moment, yes. But then again, so does java. > > Sure but a lot of people like me are using LLVM precisely because it offers > these wonderful features. As long as your JVM backend does not handle these > features correctly its utility is greatly diminished. The issue is that current JVMs don't provide
2016 Jul 19
3
A "Java Backend"
...LLVM to compile programs to Java Bytecode (.class) and Java Archive files (.jar). This could be useful in situations where we need to compile a program for a platform still not natively supported by LLVM. >> >> I don't know if it exists already, I've heard about this "LLJVM" but I don't think it does the same thing as my idea. >> What do you think? > > I think that it will be difficult. Java bytecode is intrinsically designed to be memory safe, whereas LLVM IR is not. There is no equivalent of inttoptr or ptrtoint in Java bytecode and the...