Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] TableGen Fundamentals"
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
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 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 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 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
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 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 Oct 12
3
[LLVMdev] Options in OPT
Hello,
There is an option that I don't know how to used it.
*-S*
Write output in LLVM intermediate language (instead of bitcode).
The option appears in the documentation, but I try to use it... I get the
next message:
~/test$ opt -analyze hello.ll -o hello.bc -S
opt: Unknown command line argument '-S'. Try: 'opt --help'
I also try 'opt --help'; but the option is
2012 Jan 20
1
[LLVMdev] TableGen Crash
Hi LLVMers,
I found a bug in TGParser that is causing llvm-tblgen to crash on bad
input. The reduced testcase is attached. The output follows:
$ ./llvm-tblgen --version
Low Level Virtual Machine (http://llvm.org/):
LLVM version 3.1svn
DEBUG build with assertions.
Built Jan 20 2012 (15:46:08).
Default target: x86_64-apple-darwin11.2.0
Host CPU: penryn
$ ./llvm-tblgen bug.td
0
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
2019 Sep 10
2
tablegen exponential behavior
Hi,
I implemented a pattern matching of the dot product for arm64
and it seemed to work well for the basic case, i.e.,
class mulB<SDPatternOperator ldop> :
PatFrag<(ops node:$Rn, node:$Rm, node:$offset),
(mul (ldop (add node:$Rn, node:$offset)),
(ldop (add node:$Rm, node:$offset)))>;
class mulBz<SDPatternOperator ldop> :
PatFrag<(ops node:$Rn,
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 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 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 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
2008 Oct 20
2
[LLVMdev] TableGen Hacking Help
Ok, this is really complicated. I need some TableGen experts to help here.
I need a little help doing a final bit of tblgen hacking.
I've hacked tblgen to handle patterns like this:
let AddedComplexity = 40 in {
def : Pat<(vector_shuffle (v2f64 (scalar_to_vector (loadf64 addr:$src1))),
(v2f64 (scalar_to_vector (loadf64 addr:$src2))),
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
2006 Nov 30
2
[LLVMdev] Could not find include file 'llvm/Intrinsics.td'
Hello.
I am trying to run tblgen so I typed
$ tblgen ARM.td -print-enums -class=Register
in "llvm/lib/Target/ARM"
But I got an error as follows:
Included from ARM.td:18:
Parsing ../Target.td:16: Could not find include file 'llvm/Intrinsics.td'!
As you know, the 16th line of Target.td includes "llvm/Intrinsics.td". But this cannot find Intrinsics.td, I think.
Of