Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] Location of the x86 JIT compiler tool"
2004 Apr 05
2
[LLVMdev] Jello
Ok, my spec95 installation is completely different, so I'll try and
figure out what options are needed for each benchmark separately by
looking at the code that creates the makefiles.
Meanwhile, I had another question - is there a way in llvm to look at
the SSA form of a program and then modify the SSA, and then recompile
this modified SSA ? If so, is there any documentation regarding
2004 Aug 08
3
[LLVMdev] API on JIT, code snippets
Hi all,
I think there is still too few docs/samples for those,
who'd like to write JIT-based interpreters.
Today, the real examples to learn from are rather:
- lli.cpp
- ModuleMaker.cpp
- Stacker
which is still unfortunatelly not that much
about JITing :(
Well, what I am going to sell:
What about very small JIT-based example similar
to ModuleMaker?
I mean example, where, say, two
2004 Aug 04
3
[LLVMdev] Compiler Driver Decisions
On Wed, 2004-08-04 at 07:38, Misha Brukman wrote:
> On Wed, Aug 04, 2004 at 01:17:24AM -0500, Chris Lattner wrote:
> > On Tue, 3 Aug 2004, Reid Spencer wrote:
> > > I'm not thrilled with llvm-gen because it has overtones of "code
> > > generation" (which actually isn't far from the truth). But, it
> > > conjures up the wrong kind of tool ..
2003 Sep 08
2
[LLVMdev] recompilation
LLVM,
When we recompile, is it possible to "make" only one of the tools, or at
least relink only the tools whose object files have changed?
Thanks
Dave
2005 May 05
2
[LLVMdev] Scheme + LLVM JIT
On May 5, Misha Brukman wrote:
> Maybe we can use you for a testimonial... :)
Certainly.
> > Tail Call Elimination:
> >
> > I've read over the "Random llvm notes", and see that you guys have
> > though about this already.
> >
> > However, the note dates from last year, so I am wondering if there is
> > an implementation in the works.
2004 Jun 23
4
[LLVMdev] weird issue with mem2reg, should have guessed
On Wed, 23 Jun 2004, Patrick Meredith wrote:
> What's different about code that's been mem2reg'd from straight front end
> code, or anything that mem2reg hasn't been run on? PHINODES!
Yup, front-ends generally don't produce SSA form. :)
> It appears to be crashing when I try to cast a Value* that's really a
> BB* (from the PHInode operands) to a User*,
2004 Dec 31
0
[LLVMdev] Primer with LLVM
On Fri, Dec 31, 2004 at 02:30:00PM +0100, Francisco Puentes wrote:
> Now I have other problem: I have a Module and I need generate a
> iostream (memory) with native x86 code (maybe elf/coff) to be executed
> later (into the guest process space, without fork!!). I studied llc
> and lli, but they don't help me much. Any idea? Are there any guy
> working in some like that?
In
2004 Aug 04
0
[LLVMdev] Compiler Driver Decisions
On Wed, Aug 04, 2004 at 08:19:58AM -0700, Reid Spencer wrote:
> How about something along the notion of "build or construct" as in we
> have two primary tools in llvm:
>
> llvm-build - builds programs to be run
llvm-build or llvm-driver are both kinda long but at least they make
sense...
As an aside, llava and llama are both taken, llvmize? llvminator?
llvm-emerge a la
2004 Oct 07
2
[LLVMdev] problem with lli (llvm 1.3)
Hi,
I am working with llvm 1.3 on a sparcv9 machine. I have successfully built
llvm and llvm-gcc frontend. I can run many tools including llvmgcc,
llvm-dis, and llc. After using /opt/SUNWspro/bin/cc to assemble .s file
into a program binary, I can run the binary correctly as well.
I am interested in the JIT compiler (lli). When I directly run the
LLVM bytecode using interpretation ("lli
2005 Jan 08
3
[LLVMdev] Primer with LLVM
> >>> Would be great if we append into the documentation several "patters"
> >>> to show how perform with LLVM. It would accelerate the learn curve for
> >>> beginners like me, avoiding basic errors and mistakes. If I reach a
> >>> good level with LLVM I can make these.
> >>
> >> I'm not sure if I understand what you
2004 Dec 23
3
[LLVMdev] A first!
I compiled a simple "hello world!" C program on FreeBSD, transfered the
a.out.bc file to Windows, and executed it with an lli.exe that I built
with Visual Studio. It worked!
2005 Mar 01
3
[LLVMdev] question about gccld and external libraries
hi,
I'm really new to llvm. I've successfully bootstrapped llvm-14 on my
system and am able to successfully compile c code to llvm.
the problem is now that gccld is complaining that it can't find the
libraries, like "c" or "crtend". [1]
all is fine, if I just use intrinsified functions like printf and
friends, but I want to use the clock_gettime function and
2005 Jan 08
0
[LLVMdev] Primer with LLVM
On Sat, Jan 08, 2005 at 06:16:47PM +0100, Francisco Puentes wrote:
> I have points 0-4 working, but I am confused about point 5 and maybe 6.
[snip and reorder]
> (5) Generate native (x86) code from generated module
The JIT currently is built to generate native code for a given module, a
function-at-a-time. That means that first, main() is generated, and
anything main() calls is not. As
2004 Jun 23
0
[LLVMdev] weird issue with mem2reg, should have guessed
What's different about code that's been mem2reg'd from straight front end
code, or anything that mem2reg hasn't been run on? PHINODES! It appears to
be crashing when I try to cast a Value* that's really a BB* (from the
PHInode operands) to a User*, insteresting since I am dyn_casting. I just
caught this on cerr though (printing out what the Value* was each time).
Let me
2004 Apr 01
3
[LLVMdev] 134.perl
Hi Chris,
It did compile when I gave that option. But it gives me an error
when I try to run the executable on an Intel machine.
-----
1513158 is not prime.
Exception handler needed, but not enabled. Recompile program with
-enable-correct-eh-support.
lli[0x8429bb4]
lli[0x8429dc0]
/lib/libc.so.6[0x40128c18]
/lib/libc.so.6(abort+0x161)[0x40129cb5]
[0x403da922]
../../../i386: line 4: 27606
2004 Dec 31
4
[LLVMdev] Primer with LLVM
Hi again, and thanks (Reid) for your fast response:
Yes, it works!!! Only changing the order of libraries in the Makefile.
Nowaday I have my software with the capability of compile assembly, bytecode
(from buffer and file) and link them with a set of libraries. It seems to
work perfectly (I don't generate code yet).
My real aim is to have a process (host) with execute several no-jit
2004 Jun 23
3
[LLVMdev] weird issue with mem2reg
On Wed, Jun 23, 2004 at 03:50:09PM -0500, Patrick Meredith wrote:
> MetaSplit is an anlysis I just finished writing. It doesn't alter
> anything, all it does is build a set of "program instructions". For
> some reason even though if I run it with any other combination of
> passes I've found, anytime I run it with mem2reg I get a seg fault in
> dyn_cast!
2005 Oct 01
2
[fwd] Re: [LLVMdev] Hash Bang
Karl, I think you meant to cc the llvmdev list on this.
Thank you for a more detailed explanation, it's much clearer to me now.
I agree that making the execution of .bc files more transparent would
make it more useable as a stand-alone binary format on Unix-like systems
and adding programmable support to changing the #! line would prevent
much of user error involved in modifying the run
2004 Aug 04
2
[LLVMdev] Compiler Driver Decisions
On Wed, 2004-08-04 at 08:51, Misha Brukman wrote:
> llvm-build or llvm-driver are both kinda long but at least they make
> sense...
Yeah, that's my sense too.
>
> As an aside, llava and llama are both taken, llvmize? llvminator?
> llvm-emerge a la gentoo?
Uh. No?
>
> > llvm-run - runs programs built by llvm-build
>
> Wait, is llvm-run the same as lli?
2005 May 05
2
[LLVMdev] Scheme + LLVM JIT
On Thu, 5 May 2005, Misha Brukman wrote:
> On Thu, May 05, 2005 at 03:46:58AM -0400, Alexander Friedman wrote:
>> On May 5, Misha Brukman wrote:
>>> To the best of my knowledge, this has not been done and no one has
>>> announced their intent to work on it, so if you are interested,
>>> you'd be more than welcome to do so.
>>
>> My C++ knowledge