Displaying 7 results from an estimated 7 matches for "linus_wind".
2009 Jun 30
0
[LLVMdev] Limitations of Alias Analysis?
On Mon, Jun 29, 2009 at 7:40 PM, Wenzhi Tao<linus_wind at zju.edu.cn> wrote:
> The result of -aa-eval:
>
> MayAlias: %struct.Location* %0, %struct.Location* %1
> MayAlias: %struct.Location* %0, %struct.Location* %2
> MayAlias: %struct.Location* %1, %struct.Location* %2
I'm getting NoAlias with the given steps; ar...
2009 Jun 30
2
[LLVMdev] Limitations of Alias Analysis?
Hi,
Thanks for your advice. I have tried this way:
opt -mem2reg test.bc -o mem2reg.bc
llvm-dis mem2reg.bc
opt -functionattrs -basicaa -aa-eval -print-all-alias-modref-info
mem2reg.bc
The content of main() in mem2reg.ll:
define i32 @main() nounwind {
entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%0 = call %struct.Location* @getNewLocation(i32 0, i32
2008 Dec 25
2
[LLVMdev] Questions on Parallelism and Data Dependence Analysis
Hi, I have two questions about llvm, and expect your reply very much.
1. Is there any plan of llvm to support Thread-Level Parallelism by using OpenMP, MPI, pthread or llvm-defined directives?
If automatic parallelism exploring is very hard, what is the key problem? We can't get the precise data dependence
information at compile-time?
2. Can I use the functions provided by llvm to
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
2009 Apr 14
0
[LLVMdev] Problem on running "hello world" pass on VS2008
Hello
> Could you help me to solve this problem? Thanks.
Plugins are not supported on systems without dynamic linking (e.g.
windows).
Well, how to add new pass on windows? generate .lib which is linked with opt? I have tried this way.
But, It doesn't work, either.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Sep 14
1
[LLVMdev] How to split module?
Hi, all.
My question is about how to split one module into N modules(N >= 2)?
For example, given the following code:
#src.c#
int main()
{
//......//
func1();
func2();
//......//
return 0;
}
void func1()
{
//......//
}
void func2()
{
//......//
}
func1() has no dependence with func2(), so they can perform parallel
execution. And I have to split src.c into src1.c
2009 Jun 29
4
[LLVMdev] Limitations of Alias Analysis?
Hi, all
According to the document "LLVM Alias Analysis Infrastructure", I
evaluated the AA performance by using the paramenters '-basicaa -ds-aa
-anders-aa'. The source code 'test.c' is listed as follow:
//------------=== Source code ===------------//
#include<stdlib.h>
typedef struct
{
int x;
int y;
} Location;
Location* getNewLocation(int x, int y)
{