Is there a llvm java front end that converts java source to llvm's intermediate form?

FeelTheBurns picture FeelTheBurns · May 29, 2012 · Viewed 30.3k times · Source

From what I've read, there is a llvm program that converts java bytecode to llvm's intermediate form called class2llvm. My question is, how do I access this. What front end do I have to install in order to access this.

VMkit is their implementation of a JVM, but I am looking for how to compile the java source code with llvm, not how to run it.

Answer

Ashkan picture Ashkan · Nov 29, 2012

The Java frontend translates Java bytecode (.class files) into LLVM bytecode. Take a look at this link:

https://llvm.org/svn/llvm-project/java/trunk/docs/java-frontend.txt