Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] Operand name missing"
2011 Jul 01
0
[LLVMdev] Operand name missing
On Fri, Jul 1, 2011 at 12:35 AM, ankur deshwal <a.s.deshwal at gmail.com> wrote:
> Hi,
>
> I was trying to use the following code in a if condition
> I->getOperand(0)->hasName()
>
> where I is an instruction with following condition already true -
> I->getOpcode() == Instruction::Call
>
> When I compiled a C code with llvm-2.9, I see a function call with
2013 Feb 22
1
[LLVMdev] llvm-ar llvm-link
Hi Ahmad,
Yes, merging works good.
However, my problem is like this - I have a C library which consists of
1000's of functions spread through various files. The functions do not have
dependency amoung each other. I want to link only relavant files( files
which have functions called from my application). Since ar has a global
symbol table, I believe it should be faster to look for a symol in
2013 Jan 23
3
[LLVMdev] OpenCL SPIR/NVPTX code generation
Hi Guy,
Thanks a lot for the clarification.
I tried using the triple for SPIR as
$ clang -x cl -fno-builtin -emit-llvm -c -Xclang -triple -Xclang
spir-unknown-unknown Simple_Kernel.cl
However I get the following error.
error: unknown target triple 'spir-unknown-unknown', please use -triple or
-arch
I also tried with triple nvptx-unknown-unknown
clang -x cl -fno-builtin -emit-llvm -S
2013 Feb 21
0
[LLVMdev] llvm-ar llvm-link
Hi Ankur,
Why do you need archive in this case? The other way of doing this is to merge all bitcode files into single file:
$ clang -c -emit-llvm abc.c -o abc.bc
$ clang -c -emit-llvm bcd.c -o bcd.bc
llvm-link bcd.bc abc.bc -o merged.bc
Cheers,
Ahmad
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of ankur deshwal
Sent: 21 February 2013 17:54
To:
2012 Jun 06
2
[LLVMdev] llvm-dev 2012 meet videos
On Wed, Jun 6, 2012 at 3:09 AM, Joey Gouly <joel.gouly at gmail.com> wrote:
> There are plans to upload, when Chandler has the time. The YouTube account
> is LLVMProject.
>
Should get them up this week. Sorry I didn't even remember to do it after
they were posted!
> Joey
> On Jun 6, 2012 8:45 AM, "ankur deshwal" <a.s.deshwal at gmail.com> wrote:
>
2012 Jun 06
2
[LLVMdev] llvm-dev 2012 meet videos
Hi,
I am unable to download videos from the site
http://llvm.org/devmtg/2012-04-12/.
The response I always get is
Proxy request sent, awaiting response... 503 Service Unavailable
2012-06-06 12:00:14 ERROR 503: Service Unavailable.
If possible, please share the videos on other medium ( youtube etc.)
too. This will spare LLVM web server from heavy traffic due to video
downloads too.
Thanks and
2013 Feb 21
2
[LLVMdev] llvm-ar llvm-link
Hi,
I tried to build an llvm archive and link it against an llvm bc file.
However, it fails. Following is the procedure I followed ( abc.c is file
which calls a function whose definition is present in bcd.c)
$ clang -c -emit-llvm abc.c
$ clang -c -emit-llvm bcd.c
$ llvm-ar cr bsd.ar bcd.o
$ llvm-link abc.o bsd.ar
llvm-link: bsd.ar:1:2: error: expected integer
!<arch>
^
llvm-link:
2013 Jan 24
1
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
Hello everyone,
Thanks a lot for the help.
-target nvptx worked great with llvm-3.2. However it gives error with
-target spir.
LLVM/Clang trunk although works good for both options ( probably because
spir is still work in progress ).
Thanks again.
- Ankur
On Thu, Jan 24, 2013 at 12:43 PM, Benyei, Guy <guy.benyei at intel.com> wrote:
> Hi Jordan,****
>
> You’re right, and
2012 Jun 06
0
[LLVMdev] llvm-dev 2012 meet videos
There are plans to upload, when Chandler has the time. The YouTube account
is LLVMProject.
Joey
On Jun 6, 2012 8:45 AM, "ankur deshwal" <a.s.deshwal at gmail.com> wrote:
> Hi,
>
> I am unable to download videos from the site
>
> http://llvm.org/devmtg/2012-04-12/.
>
> The response I always get is
>
> Proxy request sent, awaiting response... 503 Service
2011 Jul 01
2
[LLVMdev] LLVM Instr from MachineInstr
Hi,
Is there any way to get a pointer to the LLVM Instr from which a
particular MachineInstr is generated ?
Although I understand it goes through many optimization after a LLVM
instruction is converted to SDAG node, so maintaining such a mapping
will be hard. Still is the mapping stored some where which can give
some sane results at least in case of -O0?
Thanks and regards,
Ankur
2011 Jul 01
0
[LLVMdev] LLVM Instr from MachineInstr
Hi Ankur,
For a MachineBasicBlock you can call getBasicBlock() to find the IR level BasicBlock from which it was generated (if there isn't a one, it will return NULL). I don't know of a way to get a finer granularity than that, though.
-Jim
On Jul 1, 2011, at 1:06 AM, ankur deshwal wrote:
> Hi,
>
> Is there any way to get a pointer to the LLVM Instr from which a
>
2012 Jun 07
0
[LLVMdev] llvm-dev 2012 meet videos
The videos are OK now. Except the video of "Autovectorization with
LLVM" that have a little mistake with "_" and "-" in the filenames.
Thank you.
2012/6/6 Chandler Carruth <chandlerc at google.com>:
> On Wed, Jun 6, 2012 at 3:09 AM, Joey Gouly <joel.gouly at gmail.com> wrote:
>>
>> There are plans to upload, when Chandler has the time.
2012 May 24
2
[LLVMdev] LTO for smaller memory footprint for Clang
Hi all,
I was trying to use LTO facility of LLVM to reduce the footprint of
Clang itself. I build the ld-gold and LLVMgold.so as described at [1]
and then set the environment as described too. However, had to add the
path for plugin manually as Clang was not able pass it to ld
automatically. Following is the setting I used before starting to
build (small foot Clang.
CXX=clang++ -flto
2013 Jan 23
2
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
On Jan 23, 2013, at 4:04 , "Benyei, Guy" <guy.benyei at intel.com> wrote:
> Hi Ankur,
> Since you use –Xclang, the clang executable passes multiple triples to “clang -cc1”. You can see that if you add the -v option. I’m sure there is someone here who can explain it better than I…
> Anyhow, I think you better use clang -cc1. Make sure -cc1 is the first command line option
2013 Jan 24
0
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
Hi Jordan,
You're right, and the driver -target option works perfectly with the SPIR triples.
Thanks
Guy Benyei
[email_signature_guy_new2]
From: Jordan Rose [mailto:jordan_rose at apple.com]
Sent: Wednesday, January 23, 2013 19:47
To: Benyei, Guy
Cc: ankur deshwal; cfe-dev at cs.uiuc.edu; llvmdev at cs.uiuc.edu
Subject: Re: [cfe-dev] OpenCL SPIR/NVPTX code generation
On Jan 23, 2013, at
2011 Jun 21
1
[LLVMdev] AsmPrinter directory
Hi,
While trying to debug a linking problem related to AsmPrinter, I found
following lines in {srcdir}/configure file.
if test -f ${srcdir}/lib/Target/${target_to_build}/*AsmPrinter.cpp ; then
LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build)
$LLVM_ENUM_ASM_PRINTERS";
It looks like the AsmPrinters are enumerated only if *AsmPrinter.cpp
file is present in
2013 Feb 04
1
[LLVMdev] Problem with PTX assembly printing (NVPTX backend)
Hi Nikolaos,
Following commands work great for me.
$ clang -S -emit-llvm -target nvptx -x cl -include clc/clctypes.h
../data-types/scalar.cl
$ llc -mcpu=sm_30 scalar.s
You can follow Justin's blog [1]. It helped me a lot to understand where to
start.
[1] http://jholewinski.org/blog/llvm-3-0-ptx-backend/
Best,
Ankur
On Mon, Feb 4, 2013 at 11:40 PM, Justin Holewinski <
justin.holewinski
2011 Dec 02
5
[LLVMdev] [llvm-commits] [PATCH] BasicBlock Autovectorization Pass
On 11/23/2011 05:52 PM, Hal Finkel wrote:
> On Mon, 2011-11-21 at 21:22 -0600, Hal Finkel wrote:
>> > On Mon, 2011-11-21 at 11:55 -0600, Hal Finkel wrote:
>>> > > Tobias,
>>> > >
>>> > > I've attached an updated patch. It contains a few bug fixes and many
>>> > > (refactoring and coding-convention) changes inspired
2011 Jun 09
1
[LLVMdev] Traverse SelectionDAG in gdb
Hi,
I am some difficulty in traversing and quering about selectionDAG.
One great way of doing it is through Dot as described in the docs. However,
in my case the llvm source code is installed on a remote linux machine and I
am accessing it through a Windows PC. So the "popping out" of graphs is not
possible. Is there a way that I can dump the output of viewGraph() in a file
and run dot
2011 Jul 27
1
[LLVMdev] LexicalScope Debug Info - Line Number
Hi,
I need to find out the line no info for each lexical block in the code
being compiled with llc. The docs mention metadata format for debug
info for lexical block is
!3 = metadata !{
i32, ;; Tag = 11 + LLVMDebugVersion
(DW_TAG_lexical_block)
metadata, ;; Reference to context descriptor
i32, ;; Line