similar to: [LLVMdev] Options in OPT

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Options in OPT"

2009 Jun 30
2
[LLVMdev] Generatin code for an ARM-LINUX machine
Thanks Misha, However, I could not find the crosstool. Could you please check the name of the script? Regards, Juan Carlos On Mon, Jun 29, 2009 at 5:23 PM, Misha Brukman <brukman at gmail.com> wrote: > I have not used llvmc to build ARM binaries, but llvm-gcc does work.There's > a script to build llvm-gcc x86 -> ARM cross-compiler in > llvm/utils/crosstool/ARM/ . >
2009 Jun 25
2
[LLVMdev] Problems with lli and hello.c
Hello, I just install the new newest version of LLVM. When I ran the hello.c example I got the below message. Somebody has an idea what is wrong? The problem is just with lli, the other commands worked as I expected. ********************** :~/LLVM/my-test$ lli hello.bc Tried to execute an unknown external function: i32 (i8*)* puts 0 lli 0x0861fab8 Stack dump: 0. Program arguments: lli
2009 Jul 01
3
[LLVMdev] Generatin code for an ARM-LINUX machine
Hello Misha, I used the snapshots for the latest stable version (70786), and I followed the instructions inside of README file (very clear!!!) However, when I ran the hello program, I get an unrecognized option message. Bellow are the details. ============================================ jcmartin78 at jcmartin78-laptop:~/LLVM/my-test$ llvmc hello.c as: unrecognized option '-meabi=4'
2009 Jun 19
2
[LLVMdev] Problems creating a pass
Hello, Following the tutorial for writing a pass, I found the next problem. ***************************** :~/llvm/test$ opt -load ../llvm/Debug/lib/mypass.so -mypass < hello.bc > /dev/null opt: Pass.cpp:151: void<unnamed>::PassRegistrar::RegisterPass(const llvm::PassInfo&): Assertion `Inserted && "Pass registered multiple times!"' failed. Aborted
2009 Jun 29
2
[LLVMdev] Generatin code for an ARM-LINUX machine
I am using the below configuration: ./configure --with-llvmgccdir=/home/jcmartin78/LLVM/llvm-gcc4.2 --prefix=/home/jcmartin78/local --enable-optimized=1 --enable-debug-runtime --enable-jit --enable-targets=arm --target=arm When I use LLVMC to compile a simple program I get this: $ llvmc hello.c llc: error auto-selecting target for module 'No available targets are compatible with this
2009 Jun 30
2
[LLVMdev] Generatin code for an ARM-LINUX machine
Thanks John, I just realized that I am not working on the same "branch" of LLVM. Looking the latest or the newest version I saw the folder with the script, but I did not see a README file. I ran the script, and I get: ********** chown: cannot access `/usr/local/codesourcery': No such file or directory ********** Therefore my question is if the script depends on others folders (or
2009 Jun 25
0
[LLVMdev] Problems with lli and hello.c
Jello Juan, The interpreter is quite useless in its current state. Try using a JIT compiler for you computer from the lli command and it should work. --Sam > >From: Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com> >To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> >Sent: Thursday, June 25, 2009 1:04:17 PM >Subject: [LLVMdev] Problems with lli
2009 Jul 06
2
[LLVMdev] Address Space
Hello, Looking the Language Reference, there is something called "addrspace". It can be used to allocate a global variable into a specific area (always that the target supports it). How I can modify the ARM back-end in order to support at least two memory sections for Global Variables in the BSS section. My idea is to split the uninitialized global variables in two sections and to
2009 Jun 30
0
[LLVMdev] Generatin code for an ARM-LINUX machine
llvm/utils/crosstool/ARM/build-install-linux.sh On Tue, Jun 30, 2009 at 11:18 AM, Juan Carlos Martinez Santos < juanc.martinez.santos at gmail.com> wrote: > Thanks Misha, > > However, I could not find the crosstool. Could you please check the name of > the script? > > Regards, > > Juan Carlos > > -------------- next part -------------- An HTML attachment was
2009 Jul 01
0
[LLVMdev] Generatin code for an ARM-LINUX machine
On Wed, Jul 1, 2009 at 12:01 PM, Juan Carlos Martinez Santos<juanc.martinez.santos at gmail.com> wrote: >  as -meabi=4 -o /tmp/ccYxnIEs.o /tmp/ccy6iYri.s > as: unrecognized option '-meabi=4' [snip] > Any idea what could be wrong? It's probably not finding the right assembler (i.e. using the x86-64 as instead of the arm as). -Eli
2009 Sep 01
4
[LLVMdev] A simulation tool
Hello everybody, I am looking for a tool (in Linux or Windows) that allow me to get performance measures like cycle execution, cache accesses, etc. for an x86 architecture. I want to estimate the performance overhead due to the modification that I do using LLVM. Any suggestion is welcome. Thanks in advance, -- Juan Carlos -------------- next part -------------- An HTML attachment was
2009 Jun 19
0
[LLVMdev] Problems creating a pass
Did you try changing the name from Hello to MyHello or something like that? I seem to remember having a similar problem. My tutorial code names the struct MyHello and then registers it as follows: RegisterPass<MyHello> X("myhello", "My Hello World Pass"); You will likely need to change the Makefile as well. Scott On Fri, Jun 19, 2009 at 11:15 AM, Juan Carlos Martinez
2009 Jun 29
0
[LLVMdev] Generatin code for an ARM-LINUX machine
I have not used llvmc to build ARM binaries, but llvm-gcc does work.There's a script to build llvm-gcc x86 -> ARM cross-compiler in llvm/utils/crosstool/ARM/ . 2009/6/29 Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com> > I am using the below configuration: > > ./configure --with-llvmgccdir=/home/jcmartin78/LLVM/llvm-gcc4.2 >
2009 Sep 01
0
[LLVMdev] A simulation tool
You mean 'cachegrind'? http://valgrind.org/info/tools.html#cachegrind I don't know any public tool better than this (but someone please tell me if I am misinformed). - Daniel On Tue, Sep 1, 2009 at 2:42 PM, Juan Carlos Martinez Santos<juanc.martinez.santos at gmail.com> wrote: > Hello everybody, > > I am looking for a tool (in Linux or Windows) that allow me to get
2009 Jul 06
0
[LLVMdev] Address Space
On Mon, Jul 6, 2009 at 11:43 AM, Juan Carlos Martinez Santos<juanc.martinez.santos at gmail.com> wrote: > Looking the Language Reference, there is something called "addrspace". It > can be used to allocate a global variable into a specific area (always that > the target supports it). How I can modify the ARM back-end in order to > support at least two memory sections
2009 Sep 23
1
[LLVMdev] Extending LLVM: Adding instructions, intrinsics, types, etc.
Hello all, I am trying to add a new type; however, I found the information in the web site out of date. The modification was: 2008-12-11 12:23:24 -0600. I am interested in the below files: 1. llvm/lib/AsmReader/Lexer.l: add ability to parse in the type from text assembly 2. llvm/lib/AsmReader/llvmAsmParser.y: add a token for that type I could not find them. Could someone tell me what
2009 Jul 01
0
[LLVMdev] Generatin code for an ARM-LINUX machine
2009/6/30 Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com> > Thanks John, > > I just realized that I am not working on the same "branch" of LLVM. Looking > the latest or the newest version I saw the folder with the script, but I did > not see a README file. > > I ran the script, and I get: > > ********** > chown: cannot access
2009 Jun 18
3
[LLVMdev] Unknown pseudo-op with -march=arm
wow... Tell me, what cross compiler can I use for ARM if I am working in a i686-Linux machine? At the same time, how I can simulate it? But the way, If I deleted the unknown pseudo-op and change section .rodata definition, I can use my stone age cross compiler. I am just wondering why it works without them. Thanks in advance. On Thu, Jun 18, 2009 at 4:26 PM, Anton Korobeynikov <anton at
2009 Jun 24
1
[LLVMdev] Internal passes in LLVMC
Hello, When I run llvm-gcc -emit-llvm hello.c -c -o hello.bc... what are the (default) passes that the driver is using? Where I can information about it? I want to examinate what are the sequences of passes that LLVM runs in each process. Thanks in advance, -- Juan Carlos -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Dec 23
1
[LLVMdev] Mergin .bc files
Hello, Two questions: 1. How I can merge a project with several (.bc) files just in one (.bc) file? 2. Is there a more efficient way to do the below procedure (and get the .bc files)? llvm-gcc -static -O3 -emit-llvm aes.c -c -o aes.bc llvm-gcc -static -O3 -emit-llvm aesxam.c -c -o aesxam.bc llvm-ld aes.bc aesxam.bc -o rijndael_llvm -- Juan Carlos -------------- next part -------------- An