similar to: [LLVMdev] llvm-gcc

Displaying 20 results from an estimated 40000 matches similar to: "[LLVMdev] llvm-gcc"

2008 Jun 16
0
[LLVMdev] llvm-gcc
Hi, I'm new to LLVM. I need a confirmation about a little understanding about the LLVM When we use llvm-gcc without using -C, llvm tools and optimizations are not used at all. By the way, Does llvmc works on the bitcode format? Therefore, all optimizations of LLVM is on bitcode format described in LLVM Language Reference Manual ? Thanks for clarification.
2008 Jun 26
2
[LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10
On 20/06/2008, at 3:22 PM, Chris Lattner wrote: > > On Jun 16, 2008, at 2:12 PM, heguojin at ict.ac.cn wrote: > >> Has anyone succeded ? > > This sounds like the sparc backed doesn't have inline asm support, > which isn't a surprise. I'd suggest disabling bootstrapping. That was going to be my guess (PR1557 I think it is). If I get some spare cycles in the
2008 Jul 06
0
[LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10
Thanks. I wonder if we could use .bc file generated by X-86 llvm-gcc to feed SPARC llvm in some cases. -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Nathan Keynes Sent: Thursday, June 26, 2008 5:18 AM To: LLVM Developers Mailing List Subject: Re: [LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10 On 20/06/2008, at 3:22
2008 Jun 16
0
[LLVMdev] llvm-gcc
Hello, > When we use llvm-gcc without using –C, llvm tools and optimizations > are not used at all. llvm-gcc uses standard LLVM codegenerators. LLVM optimization passes are enabled via -O1, -O2, -O3 options > By the way, Does llvmc works on the bitcode format? Yes, it should. > Therefore, all optimizations of LLVM is on bitcode format described in > LLVM Language Reference
2008 Dec 09
0
[LLVMdev] llvmc now supports Clang
Greetings everybody! In my quest to attract more users to llvmc, I've added support for compilation via the Clang front-end (previously, only llvm-gcc was supported). This is enabled with the '-clang' switch; basically, you can now just alias 'ccc' to 'llvmc -clang' and get the same functionality. Examples: Compile via Clang: $ llvmc -clang test.c
2010 Feb 25
0
[LLVMdev] Programmatic compilation of C++ file into bitcode
Hi Trevor, > I'm building a static analysis tool on top of LLVM. It needs to take > in a C++ source file and have LLVM translate it into bitcode. In other > words, it basically needs to do this: > > llvmc hello.cpp -emit-llvm -O0 -S -g behind the scenes it's actually llvm-gcc that is generating the bitcode. > Except that instead of writing the bitcode to a file, it
2010 Jan 05
1
[LLVMdev] bug
[spark at oxygen llvm]$ llvmc -clang ~/a.c /home2/yjhuang/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../x86_64-unknown-linux-gnu/bin/ld: warning: cannot find entry symbol mit-llvm-bc; defaulting to 00000000004003c0 llc: bitcode didn't read correctly. Reason: Bitcode stream should be a multiple of 4 bytes in length 出现error,加-v选项,发现是clang -x c -emit-llvm-bc /home2/spark/a.c -o
2011 Feb 03
0
[LLVMdev] Bitcode not portable from linux to solaris?
To answer my own question. The problem is that Solaris ships with very old tools, and llvmc was generating assembler that worked with a fresh (gcc-4.5) compile & install. I had them handy, just further down the path. Hopefully anyone with the same problem can find this in the archive. Thanks everyone. On Mon, Jan 31, 2011 at 10:56 AM, Lally Singh <lally.singh at gmail.com> wrote:
2010 Feb 25
2
[LLVMdev] Programmatic compilation of C++ file into bitcode
I'm building a static analysis tool on top of LLVM. It needs to take in a C++ source file and have LLVM translate it into bitcode. In other words, it basically needs to do this: llvmc hello.cpp -emit-llvm -O0 -S -g Except that instead of writing the bitcode to a file, it needs to load it into memory (presumably as an instance of Module) for further processing and analysis. So my
2010 Oct 30
0
[LLVMdev] How the LLVM tools work together
On Thu, Oct 28, 2010 at 4:41 PM, Stephen Norman <stenorman2001 at me.com> wrote: > Hi, > > I've been reading through some of the documentation and I'm a little confused. > > What I'm wondering is if someone could explain how the different tools in LLVM (llvmc, clang, llvm-gcc, llvm-ar, etc.) work together to go from the C code I create through to a running
2011 Sep 05
3
[LLVMdev] [MacOSX] make check failures
Hi, I built LLVM + Clang on Mac OS X and ran make check. I get the following result summary: Failing Tests (11): LLVM :: LLVMC/C++/dash-x.cpp LLVM :: LLVMC/C++/hello.cpp LLVM :: LLVMC/C++/just-compile.cpp LLVM :: LLVMC/C++/together.cpp LLVM :: LLVMC/C++/unknown_suffix.unk LLVM :: LLVMC/C/hello.c LLVM :: LLVMC/C/opt-test.c LLVM :: LLVMC/C/sink.c LLVM ::
2009 Mar 30
2
[LLVMdev] llvmc issues on x86_32
According to the FAQ llvmc is considered experimental/unsupported. But FWIW, here's an issue I found while trying to use it on 32 bit x86 systems. tools/llvmc/plugins/Base/Base.td hardcodes the -relocation-model=pic option into invocations of llc: def llc : Tool< [(in_language "llvm-bitcode"), (out_language "assembler"), (output_suffix "s"), (cmd_line
2011 Jan 31
4
[LLVMdev] Bitcode not portable from linux to solaris?
Hi all. I made some early experiments --- namely a llvm program that printf'd "hello world" -- that seemed to indicate that a bitcode file I generate on linux would work on my solaris box. Well, they're actually the same machine, an amd opteron sun box with a linux vm running. My generating program doesn't run on solaris, but I was hoping to generate bitcode for it from
2004 Aug 03
2
[LLVMdev] Compiler Driver Decisions
On Mon, Aug 02, 2004 at 07:23:06PM -0500, Chris Lattner wrote: > > > > 1. Name = llvmcc > > > > > > Why not 'llvmc' "llvm compiler"? What does the extra C mean? > > > > I dunno. Perhaps cause Misha liked it. But, you do have a point there. LLVMCC = LLVM Compiler Collection, a la GCC After all, it's going to be the
2004 Aug 03
0
[LLVMdev] Compiler Driver Decisions
On Mon, 2 Aug 2004, Misha Brukman wrote: > On Mon, Aug 02, 2004 at 07:23:06PM -0500, Chris Lattner wrote: > > > > > 1. Name = llvmcc > > > > > > > > Why not 'llvmc' "llvm compiler"? What does the extra C mean? > > > > > > I dunno. Perhaps cause Misha liked it. But, you do have a point there. > > LLVMCC = LLVM
2008 May 14
1
[LLVMdev] test/LLVMC should be guarded by a check for llvm-gcc/llvm-g++
Hi, I'm currenly working with clang, so I don't have any llvm-gcc installed (I used to have the 4.2 release version, but that broke a lot of tests). A number of tests (test/CFrontend and test/C++Frontend for example) won't run if you don't have llvm-gcc installed, which is good. However, the test/LLVMC tests do run, but fail. These tests test the llvmc2 compiler driver, but they
2007 Aug 24
0
[LLVMdev] llvmc doesn't work for compilation nor linking
On Aug 24, 2007, at 1:52 PM, Holger Schurig wrote: > Is llvmc meant for compilation? > I'm not sure what the status of llvmc is (is anyone working on it?), but I don't believe it was ready for real use or was finished. If you would like to work on it, patches are welcomed! Thanks, Tanya > $ llvmc -c a.c -o a.o > /usr/src/llvm/dist/etc/llvm/c:55: Error: Expecting output
2010 Jan 05
1
[LLVMdev] Clang "warning: cannot find entry symbol mit-llvm-bc"
Hi, I am new to Clang. There is a warning when I use clang $llvmc -clang test.c "./bin/ld: warning: cannot find entry symbol mit-llvm-bc; defaulting to 00000000004003c0 llc: bitcode didn't read correctly." When I use lli to execute the test.bc as $lli test. bc The error message is "lli: error loading program 'test.bc': Bitcode stream should be a
2008 Jun 16
2
[LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10
Has anyone succeded ? I got the following error message ------------- /project//g/cslp/llvm_sparc/front_end/obj/./gcc/xgcc -B/project//g/cslp/llvm_sparc/front_end/obj/./gcc/ -B/project//cslp/llvm_sparc/front_end/obj/../install/sparc-sun-solaris2.10/bin/ -B/project//cslp/llvm_sparc/front_end/obj/../install/sparc-sun-solaris2.10/lib/ -isystem
2008 Jun 20
0
[LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10
On Jun 16, 2008, at 2:12 PM, heguojin at ict.ac.cn wrote: > Has anyone succeded ? This sounds like the sparc backed doesn't have inline asm support, which isn't a surprise. I'd suggest disabling bootstrapping. -Chris