search for: aot

Displaying 20 results from an estimated 105 matches for "aot".

Did you mean: act
2005 Nov 28
2
[LLVMdev] Help setting up a llvm project
...ve successfully created a number of libraries but gcjx uses a number of sub directories for its source and I'd like the .o files for all of them to become one library. I can't seem to find a way to do that llvm seems to want all sources in one directory. If I do something like SOURCES += aot/aotclass.cc aot/aotfactory.cc aot/mangle.cc I get the follwing error GC heuristics: --param ggc-min-expand=81 --param ggc-min-heapsize=95905 aot/aotclass.cc:301: fatal error: opening dependency file /media/WDC_Combo/home/memmel/GTK2.7/Qspin/Developer/Source/Languages/Core/Source/core/lib/compiler/...
2005 Nov 28
0
[LLVMdev] Help setting up a llvm project
...but gcjx uses a > number of sub directories for its source and I'd like the .o files for > all of them to become one library. > > I can't seem to find a way to do that llvm seems to want all sources > in one directory. > > If I do something like > > SOURCES += aot/aotclass.cc aot/aotfactory.cc aot/mangle.cc > > I get the follwing error > GC heuristics: --param ggc-min-expand=81 --param ggc-min-heapsize=95905 > aot/aotclass.cc:301: fatal error: opening dependency file > /media/WDC_Combo/home/memmel/GTK2.7/Qspin/Developer/Source/Languages/Core/...
2010 Jul 16
1
[LLVMdev] java front-end
...r files - I thought all of its code-generation capabilities were very closely tied to the VM itself. I'll look into this. The motivation behind this project is to be able to get both the small size and fast startup times of Avian, along with the speed of llvm-generated code. Currently, to do aot compilation, Avian runs its (completely non-optimizing, but blazingly fast) JIT over all the methods in the selected classpath, and stores these methods in a bootimage, which it links statically with the main Avian executable. All I want to do is use the llvm code generation in place of the Avian...
2010 Jul 16
0
[LLVMdev] java front-end
Hi Joshua, > I'm trying to use the Java front-end (which, based on svn commits, appears > to be three-years-dead), > I'm trying to use llvm as a replacement aot compiler I'm not acquainted with the Avian JVM, but haven't you considered using VMkit llvm project, it contains .class/.jar to llvm compiler, also JIT compiler(native code compiler) and aot compiler. And it's not three years-old Regards, Minas On Fri, Jul 16, 2010 at 9:41 PM, Josh...
2014 Mar 07
2
[LLVMdev] Running VMKit's AOT Java Compiler
Hi, I'm new to VMKit and I'm trying to use its AOT Java compiler but I'm immediately getting an error message which I don't understand. Everything was compiler as suggested in the Getting Started tutorial, using GNU Classpath. I try to run: llcj ../../tools/trainer/Release+Asserts/HelloWorld.class and get the following output: C...
2010 Aug 02
0
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
On Mon, Jul 19, 2010 at 7:40 PM, Minas Abrahamyan <minas.subs at gmail.com> wrote: > Trying to build AOT version of vmkit java, > building for that classpath glibj.zip: > > $ cd vmkit/tools/vmjc/libvmjc > $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1 > > has eventually, after 50 minutes, brought: > <<< > llvm[0]: Compiling glibj.zip to llvm &g...
2010 Jul 19
2
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
Hi, Trying to build AOT version of vmkit java, building for that classpath glibj.zip: $ cd vmkit/tools/vmjc/libvmjc $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1 has eventually, after 50 minutes, brought: <<< llvm[0]: Compiling glibj.zip to llvm llvm[0]: Optimizing glibj.zip llvm[0]: C...
2010 Jul 16
3
[LLVMdev] java front-end
...ld errors. In that time did llvm change from building with exception handling and rtti to building without? I remember reading somewhere that llvm code should use dyn_cast instead of dynamic_cast. Do these need to be changed here? A little background: I'm trying to use llvm as a replacement aot compiler for the Avian JVM (see oss.readytalk.com). I figured I may be able to complete the java front end, and sufficiently parameterize it to be used with Avian (which will essentially just provide runtime services like GC and exception handling). Sincerely, Joshua Here is the output of the bu...
2016 Jul 03
2
Status of stack walking in LLVM on Win64?
...language to 64-bit native, and this has posed a few interesting challenges. The most pressing issue for me now is that stack walking is very different on Win64. It is not immediately clear to me if LLVM (3.8 or ToT) is in a position to enable reliable stack walks. Please note I'm using purely AoT compilation here with a custom linker/binary image emitter. I can sort of hack things up in JITted code using a manual process to populate data for RtlAddFunctionTable but I'm ultimately not interested in JIT code generation. I've managed to intercept data destined for the .pdata and .xda...
2012 Jun 28
0
[LLVMdev] A common runtime environment / object model for AOT compiled languages?
...le with this runtime environment, but I'm going to declare those out of scope for the moment, to prevent the discussion from ranging too far afield. At the same time, you'd probably want a few core types (like String) to be standardized. This runtime environment would be mainly targeted at AOT (Ahead Of Time) compiled languages. That is the primary distinguishing feature compared to something like the JVM or CLR. Given that brief description, my questions to the forum are: - Is something like this technically feasible? Or is it too ambitious? - Is this something that people would...
2010 Aug 04
0
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
...is this a bug in LLVM? Can you reduce that to a small > test case and file a bug? > Nicolas > 2010/8/2 Allan Tong <actong88 at gmail.com> >> >> On Mon, Jul 19, 2010 at 7:40 PM, Minas Abrahamyan <minas.subs at gmail.com> >> wrote: >> > Trying to build AOT version of vmkit java, >> > building for that classpath glibj.zip: >> > >> > $ cd vmkit/tools/vmjc/libvmjc >> > $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1 >> > >> > has eventually, after 50 minutes, brought: >>...
2014 Sep 09
2
[LLVMdev] VMKit is retired (but you can help if you want!)
...hing), I haven't found any time to install vmkit and make the > tests. But we will proceed step by step to understand the problem. In > parallel, I'm also writing a documentation to describe the internals > of VMKit, it will be useful for you and other people interested by the > AOT. > > 2014-09-02 18:13 GMT+02:00 Brian Faull <bfaull at cog-e.com>: > > Hi Gaël, > > > > So as not to get too far into the "weeds" -- let's start with minimal > configuration, then `vmjc` (.class -> .bc), then `llc` (.bc -> asm) to make > sure...
2010 Aug 04
1
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
On Tue, Aug 3, 2010 at 6:50 PM, Allan Tong <actong88 at gmail.com> wrote: > Is the pointer->i32->pointer case a valid use case?  It seems like > such instances would be errors in the user's code, and that it may not > be so bad that LLVM will error on them. It's not usually useful, but it shouldn't be an error; please file. -Eli
2014 Apr 06
2
[LLVMdev] Using StartJnjvmWithJIT from jnjvm.cpp in VMKit
Hi Does anybody use *StartJnjvmWithJIT* from jvjvm.cpp in VMKit? Becuase , I am looking to use without JIT when we are running the Java byte code. My concern is StartJnjvmWithJIT getting three argument *int argc, char** argv, char* mainClass* - why we need to pass *argv and mainclass* arguments here? please help me on this. Regards Sri. -------------- next part -------------- An
2010 Aug 03
2
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
Hi Allan, Thanks for the fix! So is this a bug in LLVM? Can you reduce that to a small test case and file a bug? Nicolas 2010/8/2 Allan Tong <actong88 at gmail.com> > On Mon, Jul 19, 2010 at 7:40 PM, Minas Abrahamyan <minas.subs at gmail.com> > wrote: > > Trying to build AOT version of vmkit java, > > building for that classpath glibj.zip: > > > > $ cd vmkit/tools/vmjc/libvmjc > > $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1 > > > > has eventually, after 50 minutes, brought: > > <<< > >...
2016 Jul 06
2
Status of stack walking in LLVM on Win64?
Can we accept the patch which makes this work? There is a patch in the bug report for the MCJIT case. I'm confused why AOT and MCJIT case would be different but without it the information isn't registered. On Wed, Jul 6, 2016 at 9:07 AM, Reid Kleckner via llvm-dev <llvm-dev at lists.llvm.org> wrote: > If you want an AOT linker and you don't want to use link.exe, you can use > LLD. At this point it...
2010 Sep 28
1
[LLVMdev] [VMKit-2.7] libvmjc.so building problem
.../glibj.zip --with-llvmgcc --with-gc=mmtk and then use `make ENABLE_OPTIMIZED=1' to build it (I follow the instructions in this page: http://vmkit.llvm.org/use_mmtk.html) After it's done, `j3' works properly. Then I follow these instructions to enable AOT compilation: http://vmkit.llvm.org/use_aot.html * cd tools/vmjc/libvmjc * make ENABLE_OPTIMIZED=1 REQUIRES_FRAME_POINTER=1 And an error is occurred: ============================================================ llvm[0]: Compiling glibj.zip to llvm llvm[0]: Optimizing glibj.zip Instruction does...
2016 Jul 03
2
Status of stack walking in LLVM on Win64?
...ed a few interesting challenges. The most pressing issue for me >> now is that stack walking is very different on Win64. It is not immediately >> clear to me if LLVM (3.8 or ToT) is in a position to enable reliable stack >> walks. >> >> Please note I'm using purely AoT compilation here with a custom >> linker/binary image emitter. I can sort of hack things up in JITted code >> using a manual process to populate data for RtlAddFunctionTable but I'm >> ultimately not interested in JIT code generation. >> >> >> I've manage...
2013 Dec 18
2
[LLVMdev] Trying to use patchpoint in MCJIT
Ok I see. Of course, at runtime, it's enough for dynamic linking or for deoptimization. However, wmkit acts both as a jit and as an aot. For the aot, it means that I can not use patchpoint and that I should have two different compilation strategy. It's not so difficult, but in this case, I can not use patchpoints to generate gc's stackmap for the aot (basically, I think that I could use a patchpoint to generate a safepoint...
2010 Jul 20
0
[LLVMdev] Fwd: Building VMKit
...> Hi Nicolas, > > I plan on using the Avian GC (which is a precise, generational collector). > OK - Great! > Eventually, I'd like to fully integrate all of the runtime services Avian > provides - even integrating the existing Avian JIT compiler, to allow for > partially-AOT builds. > > Avian does indeed have it's own class library, but I would be very > surprised if VMKit could compile with them - they are sufficiently > conformant for many applications, but far from a complete implementation. VMKit does not need for the libraries to be complete, jus...