Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] Qestion about running LLVM"
2004 Jun 22
0
[LLVMdev] Qestion about running LLVM
On Tue, 22 Jun 2004, Hsien-Chieh Cheng wrote:
> Hi,
>
> I'm a newbie and just installed LLVM on a Linux box. I followe
> "The LLVM Getting Started Guide" on the web and have some trouble
> on the section "An Example Using the LLVM Tool Chain". When I compile
> the simple hello.c program with "llvmgcc hello.c -o hello", the system
> complains
2004 Jun 22
0
[LLVMdev] Qestion about running LLVM
On Tue, 22 Jun 2004, Hsien-Chieh Cheng wrote:
> Hi, Chris,
Note, i'm responding to the list in case others are wondering this.
> I noticed that LLVM has only frontends to compile C/C++ source programs
> to LLVM intermediate representation (IR). Is there any frontend tool that
> can translate binary files (ex. x86 executibles) to LLVM IR? Or is it
> unlikely from engineering
2004 May 14
2
[LLVMdev] Can I disable the optimizaiton for llvmgcc?
Hi all LLVMor,
I just tried to compile a simple code and analyze the number of the basic blocks. But after compile, what I got, the bytecode is seems to be optimized bytecode. So the information of basic blocks is not what I expected. I want ot use the code as example to see how some of code optimization methods work. However, after compiling file using llvm test.c -o test, bytecode file
2003 Dec 17
3
[LLVMdev] pass position
Suppose, I have a Pass1 implemented as a subclass of Pass, with source code in
the directory of llvm source base( transform/analyze )
I can run that pass through opt on the bytecode emitted by gcc frontend
through opt tool. However, I want that Pass1 to be the part of the actual GCC
compiler. I want to know how I can position Pass1 among other passes
/optimizations/ code generations.
e.g if
2004 Nov 07
0
[LLVMdev] LLVM IR immediately from frontend
Perhaps I am missing some link. Need a bit clarification.
For the C language,
I want to access the LLVM code immediately generated by
llvmgcc(cfrontend/bin/gcc) before it undergoes any further transformation or
optimization.
1) Are there any libraries that enable me to parse C code and create the
Module instance.
2) If answer to 1) is no, then is there some other way to create Module
2004 Oct 20
5
[LLVMdev] Re: LLVM Compiler Infrastructure Tutorial
I'm CC'ing the llvm-dev list because other people are more knowledgeable
about the bytecode format/encoding than I am. Please follow-up the
replies to the list.
On Wed, Oct 20, 2004 at 11:27:53AM -0700, Yiping Fan wrote:
> We also want to extend the llvm instructions/intrinsic
> functions/types/passes to support our high-level synthesis for
> hardware. First of all, we want to
2002 Nov 17
3
[LLVMdev] Re: gdb for llvm
> I don't know how to use gdb for llvm. I follow the manual. But
> $gdb opt
> can't load opt. I got:
> "/usr/dcs/projects/cs426/jliu7/llvm/tools/Debug/opt": not in executable
> format: File format not recognized
Try one of "gdb64" or "gdb-64".
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
2005 Jul 25
2
Re: [LLVMdev] Compile a linux kernel with LLVM?
When I compiled a linux kernel, gccas was used to compile assembly code.
But gccas cannot recognize the line comment character "#" of gnu assembler,
and abort the compile with reporting a error "syntax error, unexpected $undefined".
I watch llvm/tools/gccas, but donot known how to add this function in it.
Would you give me some suggestions?
Thanks.
2005 Feb 17
5
[LLVMdev] questions about installing llvm
Actually, Misha, that won't work.
The -C option is used directly in docs/Makefile. So the change will have
to go into docs/Makefile. Either that or upgrade install to version 5.
Reid.
On Thu, 2005-02-17 at 11:33, Misha Brukman wrote:
> On Thu, Feb 17, 2005 at 01:21:20PM -0600, Feng Chen wrote:
> > llvm[1]: Installing HTML documentation
> >
2005 Jul 25
0
[LLVMdev] Compile a linux kernel with LLVM?
ymxia at nudt.edu.cn wrote:
> When I compiled a linux kernel, gccas was used to compile assembly code.
>
> But gccas cannot recognize the line comment character "#" of gnu assembler,
>
> and abort the compile with reporting a error "syntax error, unexpected $undefined".
>
> I watch llvm/tools/gccas, but donot known how to add this function in it.
>
2004 Sep 22
2
[LLVMdev] What differents between llvm-gcc and gnu
Hi,
When I compile httpd-2.0, llvmgcc reports many struct types and
macros undeclared, but gnu-gcc can compile httpd-2.0 completely.
2005 Jul 07
3
[LLVMdev] Does the gcc frontend do inlining or deadcode elimination ?
I am investigating some inlining issue, so I did
llvm-gcc aaa.c bbb.c ... nnn.c -o output
opt -inline -inline-threshold=xxx < output.bc | llc -march=c >
output_inline.c
1)
I noticed that even if I set xxx to 0 or even a very small negative
number, many functions are eliminated. I am wondering if these functions
are inlined by the frontend, or identified as deadcode.
For instance,
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 20
5
[LLVMdev] Cygwin port
Hi all,
Any news on the cygwin front? What needs to be done? Can I help?
Oleg.
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.
2005 May 05
2
[LLVMdev] Simplifying boolean expressions
On Wednesday 04 May 2005 18:34, Chris Lattner wrote:
> On Wed, 4 May 2005, Vladimir Prus wrote:
> > %tmp.aux = cast bool %tmp.24 to int
> > %tmp.x = xor int %tmp.aux, 1 ; negates tmp.24
> > %tmp.xx = cast int %tmp.x to bool
> > %tmp.y = or bool %tmp.xx, %tmp.24 ; will be always true
> > br bool %tmp.y,
2005 Feb 18
0
[LLVMdev] questions about installing llvm
On Fri, Feb 18, 2005 at 11:30:45AM -0600, Feng Chen wrote:
> However, although the configuration and installation process doesn't
> report any error/warning, the llvmc cannot work. It just says:
> Unexpected unknown exception occurred :(
>
> Do you have any clue about that?
Have you compiled and installed llvm-gcc/llvm-g++? llvmc is not a
compiler, it's just a compiler
2004 Jul 27
1
[LLVMdev] Linking to native libraries
> Yes, this is no problem. You can do something like
> this:
>
> $ llvmgcc X.c -c -o X.bc
> $ llc X.bc -o X.s
> $ gcc Y.c -o Y.o -c
> $ gcc X.s Y.o -o program
> $ ./program
Ok, fine, and what about the interpreter? It takes
100% llvm, doesn't it? Or is there some kind of import
facility (perhaps as an specially interpreted call or
as an extension to llvm which makes
2004 Apr 01
0
[LLVMdev] 134.perl
Vinay,
On Thu, Apr 01, 2004 at 02:27:53PM -0500, Vinay S. Belgaumkar wrote:
> 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.
[snip]
This error message is from LLVM, not the
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