Displaying 20 results from an estimated 500000 matches similar to: "[LLVMdev] Hello"
2010 Oct 15
2
[LLVMdev] how to get MachineBasicBlock of a BasicBlock
Hello, we can get BasicBlock from MachineBasicBlock through MachineBasicBlock::getBasicBlock() function, but how can I get MachineBasicBlock of a BasicBlock?
Thank you!
2010 Oct 15
0
[LLVMdev] how to get MachineBasicBlock of a BasicBlock
I don't think you can.
The BasicBlock is a member of MachineBasicBlock. It is not inherited,
so it cannot be cast. The number of the MachineBasicBlock is not the
same as any BasicBlock values. So
MachineFunction::getMachineBasicBlock( BasicBlock::{get the number} )
cannot work. I do not see much in the basic block which can identify
it.
So you can search for it.
typedef struct findBlock {
2010 Oct 15
1
[LLVMdev] how to get MachineBasicBlock of a BasicBlock
Also note: there may be multiple MachineBasicBlock's for a single
BasicBlock.
- David M
On Fri, Oct 15, 2010 at 4:59 AM, Jeff Kunkel <jdkunk3 at gmail.com> wrote:
> I don't think you can.
>
> The BasicBlock is a member of MachineBasicBlock. It is not inherited,
> so it cannot be cast. The number of the MachineBasicBlock is not the
> same as any BasicBlock values.
2010 Jun 24
0
[LLVMdev] Hello World
2010/6/24 Félix Cloutier <felixcca at yahoo.ca>:
> Hello everyone,
>
> I've been watching LLVM since about a year now, and I thought it was finally time I'd do something with it. So I've got my hands dirty with a cool project (who knows? maybe I'll end up releasing it), but since I'm fairly new to the whole thing, there are still a number of things I'm not
2012 Feb 11
1
[LLVMdev] Hello + Noobish question
Hi everyone!
I recently subscribed your mailing list, as I find the LLVM project
interesting. I've read the document known as "Compiler hacker's
introduction to LLV"[1], and I've learnt about LLVM-IR.
I was wondering about the impact of such a representation on mixing code
from different languages.
Suppose we have a huge library X written in language LX, which we would be
2009 Apr 13
0
[LLVMdev] Problem on running "hello world" pass on VS2008
Hello, everyone!
Recently, I build llvm project for Visual Studio 2008 using cmake successfulley.
I modify the project LLVMHello of the entire solution to generate LLVMHello.dll instead of LLVMHello.lib without other changes.
Then, the flowing commands is executed:
opt -load LLVMHello.dll --help
But, I can't find the information string for hello pass.
opt -load LLVMHello.dll
2010 Jun 24
1
[LLVMdev] Hello World
Felix,
It really depends on what you are doing with the JIT.
In my case, I have a scripting language that has a limited set of base data types. I wanted to be able to trivially interface to new C++ methods and classes, so I'm interfacing to C++ classes by creating external definitions much like the way Kaleidoscope accesses external C functions. I only have to deal with a few types so I can
2010 Jun 24
4
[LLVMdev] Hello World
Hello everyone,
I've been watching LLVM since about a year now, and I thought it was finally time I'd do something with it. So I've got my hands dirty with a cool project (who knows? maybe I'll end up releasing it), but since I'm fairly new to the whole thing, there are still a number of things I'm not too sure about.
First, the way we create instructions confuses me a
2007 May 29
2
[LLVMdev] (no subject)
Hi everyone,
Llvm-gcc compiles the programs into bytecodes with some optimizations. How can I get unoptimized bytecodes?
Thanks.
Regards,
-Ying
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070530/5f793e95/attachment.html>
2013 Dec 02
1
[LLVMdev] Are 7th LLVM Developer meeting's PPTs available?
Hi, everyone:
The 7th LLVM developer meeting was held at November 6-7, 2013. I
can't find more infos other than abstract. Any help?
Thanks.
Regards,
maxs
2008 May 06
1
[LLVMdev] Problem about "llc -march=msil"
Hi,
I am trying to use llvm to translate ftp.c(a file of wget-1.11.2.tar.bz2 )
to msil. But it shows errors like:
[dayin at localhost src]$ llvm-gcc -emit-llvm ftp.c -c -o ftp.bc
[dayin at localhost src]$ llc ftp.bc -march=msil -o ftp.s
Intrinsic ID = 32
llc: /home/dayin/llvm/llvm-2.2/lib/Target/MSIL/MSILWriter.cpp:802: void
<unnamed>::MSILWriter::printIntrinsicCall(const
2007 May 29
0
[LLVMdev] (no subject)
Using
llvm-gcc -emit-llvm -O0 -S blah.c
will give you blah.s that is unoptimized. I guess passing that to llvm-as
would get you an unoptimized .bc.
llvm-as -debug-pass=Arguments blah.ll says it is only doing
Pass Arguments: -domtree -etforest -verify
scott
On 5/29/07, omiga <omiga at ustc.edu> wrote:
>
> Hi everyone,
>
> Llvm-gcc compiles the programs into bytecodes with
2007 May 29
0
[LLVMdev] (no subject)
Hello.
Please use llvm-gcc4 with -O[01234] options.
You can see the example here:
http://llvm.org/docs/GettingStarted.html#tutorial4
Seung J. Lee
---- Original message ----
>Date: Wed, 30 May 2007 00:18:41 +0800
>From: "omiga" <omiga at ustc.edu>
>Subject: [LLVMdev] (no subject)
>To: "llvmdev" <llvmdev at cs.uiuc.edu>
>
> Hi everyone,
>
2007 May 29
0
[LLVMdev] (no subject)
If you use llvm-gcc3, you can make an unoptimized like this:
llvm-gcc -S hello.c -o hello.s
Seung J. Lee
---- Original message ----
>Date: Wed, 30 May 2007 00:18:41 +0800
>From: "omiga" <omiga at ustc.edu>
>Subject: [LLVMdev] (no subject)
>To: "llvmdev" <llvmdev at cs.uiuc.edu>
>
> Hi everyone,
>
> Llvm-gcc compiles the programs
2008 Jul 03
2
[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
I am not using svn and llvm version is 2.3 and llvm-gcc is 4.2.1
2008/7/3 Tanya M. Lattner <tonic at nondot.org>:
>
> > Some weeks ago i talked to someone at #LLVM and he told me that versions
> of
> > llvm and gcc aren't sycronized. But i don't know how to do this.
>
> If you are using svn, you should keep llvm and llvm-gcc both at the same
> rev number
2008 Jul 03
0
[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
> I am not using svn and llvm version is 2.3 and llvm-gcc is 4.2.1
And llvm-gcc is also from the 2.3 release? If so, I'm guessing
you have an older version of llvm or llvm-gcc in your path somewhere
and that is being used instead.
Ciao,
Duncan.
2014 Aug 28
2
[LLVMdev] how to test the correct of the llvm backend
Hi,everyone
I am a beginner for llvm , now I am writing a llvm backend,I want to know how to test the correctness of llvm backend .
Thank you
liuyu11 at ict.ac.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140828/7fab3104/attachment.html>
2010 Dec 02
2
[LLVMdev] Undefined symbol in Hello pass
The only Transforms check that fails is LLVM ::
Transforms/GVN/null-aliases-nothing.ll
Could that be related?
On Thu, Dec 2, 2010 at 2:50 PM, dalej <dalej at apple.com> wrote:
>
> On Dec 2, 2010, at 2:37 PM, Scott Ricketts wrote:
>
>> My install went fine except for some failures during make check
>> (Unexpected Failures: 92). All failures were in one of the following:
2010 Dec 02
0
[LLVMdev] Undefined symbol in Hello pass
On Dec 2, 2010, at 3:13 PM, Scott Ricketts wrote:
> The only Transforms check that fails is LLVM ::
> Transforms/GVN/null-aliases-nothing.ll
>
> Could that be related?
running "opt -basicaa -gvn -S null-aliases-nothing.ll" should produce this output, what are you seeing?
; ModuleID = 'null-aliases-nothing.ll'
%t = type { i32 }
declare void @test1f(i8*)
define
2010 Oct 06
3
[LLVMdev] Hello pass?
Hey,
Does anyone actually care about the "hello, world" pass in lib/Transforms/Hello? Is there any particular reason why it couldn't be under examples or projects, or just removed altogether?
--Owen