Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Limitations of Alias Analysis?"
2009 Jun 29
0
[LLVMdev] Limitations of Alias Analysis?
On 2009-06-29 11:16, Wenzhi Tao wrote:
> 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:
> [...]
> The whole process:
>
> llvm-gcc -emit-llvm -O0 -c test.c -o test.bc
>
> opt
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
2009 Sep 22
1
matching pairs regardless of order,multiple matches
Dear Jim and Henrique,
thank you both for your help. I have done this but run into another problem:
?
In the example?below "loc1,loc2" occurs in the (now correct, thanks to your advice) "list" twice. ?
?
trips=("loc1,loc2","loc2,loc3")
?
DF$listoftrips=("loc1,loc2", "loc1,loc3", "loc2,loc3","loc1,loc2").
?
I?am
2009 Sep 18
3
matching pairs regardless of order
Dear list,
?
I am using match() to match pairs of locations, e.g. trip="loc1,loc2" from a list of such pairs, e.g. list=("loc1,loc2", "loc1,loc3", "loc2,loc3","loc2,loc1").
?
In this example match() will match "trip" with the first element of "list", but not the 4th, because the order is reversed.
?
How can I get a match with
2007 Sep 21
1
Help create a loopto conduct multiple pairwise operations
#Hello,
#I have three data frames, X,Y and Z with two columns each and different
numbers of rows.
# creation of data frame X
X.alleles <- c(1,5,6,7,8)
X.Freq <- c(0.35, 0.15, 0.05 , 0.10, 0.35)
Loc1 <- cbind( X.alleles,X.Freq)
X <- data.frame(Loc1)
#creation of data frame Y
Y.alleles <- c(1,4,6,8)
Y.Freq <- c(0.35, 0.35, 0.10, 0.20 )
2011 Jan 20
1
Problems with ecodist
Dear Dr.Goslee and anyone may intrested in matrix manipulate,
I am using your ecodist to do mantel and partial mantel test, I have
locality data and shape variation data, and the two distance matrixs are
given as belowings. When I run the analysis, it is always report that the
matrix is not square, but I didn't know what's wrong with my data. Would you
please help me on this. I am quite
2007 Sep 19
0
Create a loop to conduct multiple pairwise binary operations Retry
#Hello,
# Sorry, my last letter contained an error this code should work
#I have three data frames, X,Y and Z with two columns each and different
numbers of rows.
# creation of data frame X
X.alleles <- c(1,5,6,7,8)
X.Freq <- c(0.35, 0.15, 0.05 , 0.10, 0.35)
Loc1 <- cbind( X.alleles,X.Freq)
X <- data.frame(Loc1)
#creation of data frame Y
Y.alleles
2007 Sep 27
2
create data frame(s) from a list with different numbers of rows
# Hello,
# I have a list with 6 categories and with different numbers of rows.
# I would like to change each of them into a unique data frame in order to
match
# values with other data frames and perform some calculations.
# Or I could make each category or list element have the same number of rows
and create one large data.frame.
# below is a creation of a sample list
# I apologize for the
2010 Nov 05
3
table with values as dots in increasing sizes
I was just thinking of a way to present data and if it is possible in R.
I have a data frame that looks as follows (this is just mockup data).
df
location,"species1","species2","species3","species4","species5"
"loc1",0.44,0.28,0.37,-0.24,0.41
"loc2",0.54,0.62,0.34,0.52,0.71
"loc3",-0.33,0.75,-0.34,0.48,0.61
location
2010 Feb 12
1
Need help on boxplot panel chart
Hi there:
I am new to R and creating a boxplot panel chart to show a test result.
I have four output variables (OV1, OV2, OV3, OV4) reflecting effects of the
variation of three status parameters (SP1, SP2, SP3) on them at three
different locations (Loc1, Loc2, Loc3). My plan is that displaying ONE OV
change with ONE SP over three Loc in each boxplot (i.e., Loc is X axis and
OV value is Y axis).
2009 Jul 15
0
Fwd: DLLs
Thanks for your help with this problem about dynamic linked libraries.
I thought I had it solved, but apparently not.
Below is a small piece of Pascal code that I compile into a library.
When I load the library using dyn.load R becomes very unstable.
The Mac GUI crashes in all kinds of situations --even moving a window
can sometimes crash it.
Running from the command line (I thought the
2007 Aug 30
2
How to multiply all dataframe rows by another dataframe's columns
Hello,
I have two data frames, X and Y, with two columns each and different numbers
of rows.
# creation of data frame X
Loc1.alleles <- c(1,5,6,7,8)
Loc1.Freq <- c(0.35, 0.15, 0.05, 0.10, 0.35)
Loc1 <- cbind( Loc1.alleles,Loc1.Freq)
X <- data.frame(Loc1)
#creation of data frame Y
Loc2.alleles <- c(1,4,6,8)
Loc2.Freq <- c(0.35, 0.35,
2012 Apr 11
3
[LLVMdev] Incorrect result in LLVM Alias Analysis
I have used the follwing command,
opt -load LLVComMan.so -ComMan -memdep -tbaa -mem2reg maptest.ll -S
What option other than -mem2reg should be included in this case to get the
right results? Does the order in which I specify the optimizations to be run
make a difference?
Duncan Sands wrote:
>
> Hi Adarsh,
>
>> I want to check if the values a and b in the program alias.
2009 Jun 29
0
[LLVMdev] Limitations of Alias Analysis?
Hi,
> llvm-gcc -emit-llvm -O0 -c test.c -o test.bc
try compiling with optimization.
Ciao,
Duncan.
2008 Feb 20
2
Shorewall vpn and Messenger
I have installed the shorewall frontend with pptpd tunnelling server.
All works fine except only one thing:
When the outside users connect to my centos server to shorewall over
pptpd vpn tunneling then the client computer can''t login to live
messenger, but the customer can connect perfectly with skype, use mail,
internet etc... all of this program installed in their outside
computers.
2012 Apr 06
0
[LLVMdev] Incorrect result in LLVM Alias Analysis
Hi Adarsh,
> I want to check if the values a and b in the program alias.
>
> int main() {
> int *a,*b;
> a=(int *)malloc(sizeof(int));
> b=(int *)malloc(sizeof(int));
> *a=10;
> *b=8;
> return 0;
> }
>
> I use the below code for this (getAnalysisUsage method has been defined)
>
> AliasAnalysis::Location loc1=AliasAnalysis::Location(k1); //a
>
2005 Jan 24
2
Migrate rules from iptables to shorewall - SNAT
Hi all,
I''m using Shorewall since one year (1.4, then 2.0)
I''m trying to migrate a linux firewall from iptables rules to shorewall.
The firewall has three zones
- net internet
- loc1 lan
- loc2 second lan
I have a lot of rules like this, to SNAT the ip addresses of some
computers on loc1 (192.168.16.0/24) when they connect to loc2 (10.0.0.0/8)
iptables -v -t nat -I
2012 Apr 06
5
[LLVMdev] Incorrect result in LLVM Alias Analysis
I want to check if the values a and b in the program alias.
int main() {
int *a,*b;
a=(int *)malloc(sizeof(int));
b=(int *)malloc(sizeof(int));
*a=10;
*b=8;
return 0;
}
I use the below code for this (getAnalysisUsage method has been defined)
AliasAnalysis::Location loc1=AliasAnalysis::Location(k1); //a
AliasAnalysis::Location loc2=AliasAnalysis::Location(k2); //b
AliasAnalysis::AliasResult
2008 Jan 09
0
formating ftable
Hi all,
I am using ftable and xtabs to get total counts of species per location per hight category (understory, midstory and overstory). i can save the data in almost the format i would like it to be - but not quite. Here it is an example of what i get:
x - is a dataframe with the following columns: LocationID, Species, PercentCover, Category
where Category tells if the Species belongs to
2008 Jan 10
0
formatting ftable
Hi all, I am using ftable and xtabs to get total counts of species per location per hight category (understory, midstory and overstory). i can save the data in almost the format i would like it to be - but not quite. Here it is an example of what i get: x - is a dataframe with the following columns: LocationID, Species, PercentCover, Categorywhere Category tells if the Species belongs to