similar to: [LLVMdev] How to access llvm Types from the codegen?

Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] How to access llvm Types from the codegen?"

2007 Jul 26
0
[LLVMdev] How to access llvm Types from the codegen?
Code generator shouldn't introspect the LLVM type at all, except to get the size of the type. Anything needed should be encoded by the front-end. In the short term, please focus on getting parity with what we already have. This means x86-64 will be wrong, but it already is. As a second step we can then worry about x86-64-specific param attributes that should be added to handle
2007 Aug 03
4
[LLVMdev] How to access llvm Types from the codegen?
On 27/07/07, Evan Cheng <evan.cheng at apple.com> wrote: > Code generator shouldn't introspect the LLVM type at all, except to > get the size of the type. Anything needed should be encoded by the > front-end. In the short term, please focus on getting parity with > what we already have. This means x86-64 will be wrong, but it > already is. As a second step we can then
2007 Aug 03
0
[LLVMdev] How to access llvm Types from the codegen?
On Fri, 3 Aug 2007, Rafael Espindola wrote: > Sorry for the delay. I am back from a vacation and have been busy > catching up.... Welcome back :) > That is why I need the types (just for the size). This is necessary to > implement both the current behavior and the correct ABI. Right. > consider the llvm code > --------------------------------------- > %struct.s = type {
2009 May 26
4
[LLVMdev] CVS binutils includes support for plugins, can use the llvm plugin.
For some time now the gold linker has support for plugins and llvm has a plugin for it. Unfortunately, it was still not possible to do fully transparent LTO on linux because ar had no support for plugins and a library created with llvm files in it would have no symbol table and would be rejected by gold. Today support for plugins has been committed to BFD. That is the file format abstraction
2007 Aug 03
0
[LLVMdev] How to access llvm Types from the codegen?
> I propose that structures that are passed on registers should be slip > into many DAG level arguments (for now this would be all structs) and > the DAG should contain copies instead of loads. The nice thing about > this proposal is that for structures that are passed on the stack, the > DAG doesn't need to know the size. All that we need to add to add to > the DAG is a flag
2008 Jul 23
6
[LLVMdev] New llvm-gcc bootstrap failure
My nightly tester on x86_64-unknown-linux-gnu failed to bootstrap llvm-gcc today: Comparing stages 2 and 3 Bootstrap comparison failure! ./build/read-rtl.o differs The updates since the last bootstrap (24 hours before): went from revision 53904 to revision 53950. Ciao, Duncan.
2007 Nov 02
4
[LLVMdev] llvm-gcc bootsrtap on ARM
Hello, I am trying to bootstrap on ARM linux EABI using a qemu chroot to better test my changes on at least one more architecture. I am using the following configure line: ../gcc/configure --prefix=/home/espindola/install/ --program-prefix=llvm- --enable-languages=c --disable-shared --disable-multilib --enable-llvm=/home/espindola/build --enable-checking arm-linux-gnueabi The bootstrap fails
2008 Aug 22
0
[LLVMdev] New llvm-gcc bootstrap failure
2008/7/23 Duncan Sands <baldrick at free.fr>: > My nightly tester on x86_64-unknown-linux-gnu failed > to bootstrap llvm-gcc today: > > Comparing stages 2 and 3 > Bootstrap comparison failure! > ./build/read-rtl.o differs I am having the same problem. It was "introduced" by revision 54811, so it looks like a memory corruption problem. Investigating. > The
2009 Sep 17
2
[LLVMdev] Where should I put libLLVMgold.so??
Yes,it's indeedly the correct one,and new ld can also support -plugin option,I don't know the reason of the trouble, 2009/9/17 Rafael Espindola <espindola at google.com> > > llvm-gcc -use-gold-plugin a.a b.o -o hello > > > > which is similar with the example in the document,it tells me that > > libLLVMgold.so can not be found ,but I truly put it in the
2007 Jul 16
2
[LLVMdev] Problem compiling llvm-gcc
> I encountered the same error and the nice people from the llvm > irc-channel suggested the attached patch. It enables compiling llvm-gcc > for me, but i have not yet done any further testing and i also have no > idea if this is the right way to fix the problem. Nice. I will give it a try. I was trying to reduce a test case, but it is a bit hard. I have a cpp that crashes cc1plus,
2009 Sep 17
2
[LLVMdev] Where should I put libLLVMgold.so??
Hi,all I'm using ubuntu8.04 and I'm installing gold-plugin along with the document of that, After I built the binutils and LLVM with plugin enabling,and I also replace ld with ld-new which supports plugin,I tried to compile a hello world program by this: llvm-gcc -use-gold-plugin a.a b.o -o hello which is similar with the example in the document,it tells me that libLLVMgold.so can not
2009 Jan 20
0
[LLVMdev] linux build problem
On Jan 20, 2009, at 12:45 AM, Török Edwin wrote: > On 2009-01-20 08:01, Bill Wendling wrote: >> I'll need some more information than this. I don't have a Linux box, >> so I can't tell. Do you have a .i file? How is autoconf being >> confused? What does config.log say about it? >> >> > I've seen this failure on my nightly builder too (SVN r62521),
2007 Sep 29
3
[LLVMdev] struct as a function argument
Hi everybody! I recently started using llvm in a project on inferring additional information about pointers based on their types, casts, etc. The following simple example is giving me a headache :): typedef struct { int a; short b, c; int d, e, f; } foo; void bar(foo f) { short s; s = f.b; } int main(void) { foo p; bar(p); } Because llvm doesn't allow structures and arrays
2008 Jan 21
2
[LLVMdev] LLVM build freezes in scratchbox, ARM target
Hi, I am new to LLVM and have been trying to get it working on scratchbox (ARM target). When I try to build llvm-2.1, the build freezes with the following output.. /scratchbox/compilers/arm-softfloat-linux-gcc-3.4.4-cs-2005q3-2-glibc-2.3.6/bin/sbox-arm-softfloat-linux-gnu-nm: 'libgcc/./_dvmd_lnx_s.o': No such file mv -f libgcc/./_dvmd_lnx.visT libgcc/./_dvmd_lnx.vis
2007 Nov 02
0
[LLVMdev] llvm-gcc bootsrtap on ARM
Rafael, Remember that the qemu <= 0.9.0 can misexecute code compiled by LLVM. I think you should test using qemu CVS. Lauro 2007/11/2, Rafael Espindola <espindola at google.com>: > Hello, > > I am trying to bootstrap on ARM linux EABI using a qemu chroot to > better test my changes on at least one more architecture. > > I am using the following configure line: >
2008 Jan 21
0
[LLVMdev] LLVM build freezes in scratchbox, ARM target
On 21/01/2008, Arvind Ayyangar <arvind.ayyangar at gmail.com> wrote: > Hi, > I am new to LLVM and have been trying to get it working on > scratchbox (ARM target). When I try to build llvm-2.1, the build > freezes with the following output.. > I have build llvm inside scratchbox sometime ago. More recently Lauro pointed out that one should use a patched qemu. Not sure
2008 May 30
1
[LLVMdev] implementing PIC for linux x86-64
I have been playing a bit with LLVM again and it looks like the current major missing feature on Linux x86-64 is PIC. Is anyone working on it? If not, I would like to do so. I have the ABI documentation (http://www.x86-64.org/documentation/abi.pdf), but would be glad if someone had some LLVM specific pointers. For example, from the targets that do have support for PIC, which one is the one to be
2008 Jun 19
2
[LLVMdev] [llvm-gcc][patch] Use LDFLAGS from configure
The attached patch permits setting the LDFLAGS variable in the call to configure. This is the behavior of configure on gcc trunk. Not sure why llvm-gcc is different. This is necessary for building llvm-gcc in cases where some libraries are in strange places: CPPFLAGS="-I/foo/include" LDFLAGS="-L/foo/lib" configure .... Cheers, -- Rafael Avila de Espindola Google Ireland
2008 Jun 19
2
[LLVMdev] [llvm-gcc][patch] Use LDFLAGS from configure
> Makes sense to me. If you built with and without LDFLAGS enabled > should probably just commit it - or do you need someone to commit for > you? I can commit it. I was just not sure if this was an intentional difference. I am running a bootstrap without a LDFLAGS. Will commit if it pass. > -eric > _______________________________________________ > LLVM Developers mailing list
2009 Jan 20
4
[LLVMdev] linux build problem
On 2009-01-20 08:01, Bill Wendling wrote: > On Jan 19, 2009, at 5:34 PM, John Regehr wrote: > > >> Since yesterday I've been getting the error below when building llvm- >> gcc >> on Ubuntu Hardy on x86. For some reason, several instances of >> autoconf >> are getting confused and failing to detect a stdlib.h. >> >> John >>