similar to: [LLVMdev] llvm-gcc

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] llvm-gcc"

2011 Apr 19
2
[LLVMdev] llvm-gcc
On 4/19/11 4:37 PM, Anton Korobeynikov wrote: >> llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc >> it shows to me i should install llvm-gcc4.5 >> when i have installed llvm-gcc 4.5 i get all the times a wrong bc file >> as output, because when i try to execute it with lli it says to me >> invalid signature. > There is no llvm-gcc 4.5. Report this bug to Ubuntu,
2011 Apr 22
0
[LLVMdev] llvm-gcc
>>  i would like to add the value of  the size od a basic bloc to this >>> global variable >>> how to convert the size of a basic bloc to integer? >> >> Size = number of LLVM IR instructions there? If yes, just grab the >> number, convert it to ConstantIn and use as an initializer / store to >> variable. >> > > There's a typo in the
2011 Apr 19
0
[LLVMdev] llvm-gcc
> llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc > it shows to me i should install llvm-gcc4.5 > when i have installed llvm-gcc 4.5 i get all the times a wrong bc file > as output, because when i try to execute it with lli it says to me > invalid signature. There is no llvm-gcc 4.5. Report this bug to Ubuntu, because it seems they hacked the stuff somehow. >  i would like to add
2011 Apr 25
0
[LLVMdev] llvm-gcc
Hi Nabila, > 1- I have installed llvm-gcc 4.2 and llvm 2.8 with the synaptic > package manager(ubuntu 10.10) > every time i do this commande: > llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc > it shows to me i should install llvm-gcc4.5 > when i have installed llvm-gcc 4.5 i get all the times a wrong bc file > as output, because when i try to execute it with lli it says to me
2011 May 20
3
[LLVMdev] convert a char * to a value
Hi all, Please i need help, I have a method that takes 2 arguments with type char *: void branchPredict(char *b1, char *b2){ --- -- } i'm supposed to add this method, in an IR basic bloc: to add it into a basic bloc i do: //i: is the basic bloc std::vector<Value*> void_43_params; Constant* tbname = ConstantArray::get(M.getContext(),i->getNameStr() , true); Constant* pbname =
2011 Apr 25
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
2011/4/25 Duncan Sands <baldrick at free.fr> > Hi Nabila, > > > i would like insert a fucntion call at the end of each basic bloc > > you can't, because only terminators are allowed at the end of a basic > block. > However you can try to insert the call before the terminator. > Yes, i mean before the termininator, My problem is how to call a method suppose
2011 Apr 25
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
hi all, i would like insert a fucntion call at the end of each basic bloc the fucntion i have defined and declared at the begining of the module ie i have written a pass derived from a module pass virtual bool runOnModule(Module & M){ // i declared the fucntion and defined it for (Module::iterator a = M.begin(), b = M.end(); a != b; for (Function::iterator i = a->begin(), e =
2011 Apr 25
0
[LLVMdev] inserting a fucntion call at the end of basic bloc
Hi Nabila, > i would like insert a fucntion call at the end of each basic bloc you can't, because only terminators are allowed at the end of a basic block. However you can try to insert the call before the terminator. ... > i tried to see an example with the demo, i saw that it instead of calling the > function, it repeats all the instruction that are existing in the function >
2011 Apr 25
0
[LLVMdev] inserting a fucntion call at the end of basic bloc
Hi Nabila, > My problem is how to call a method > suppose this fucntion > void A(int x) > { > x=x+1; > > } > > should i define this function and declare it at the beginig of the module and > create for it a basic bloc? you can just declare the function (i.e. no need to give it a body), and call it. You can then link with an object file that defines it. This is
2011 May 20
0
[LLVMdev] convert a char * to a value
On 5/20/11 5:46 PM, Nabila ABDESSAIED wrote: > Hi all, > > Please i need help, I have a method that takes 2 arguments with type > char *: > void branchPredict(char *b1, char *b2){ > --- > -- > } > i'm supposed to add this method, in an IR basic bloc: > to add it into a basic bloc i do: The problem is that you are passing arrays to the function instead of
2011 Apr 26
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
I have defined the fucntion in another object file and linked it to the in fact the fucntion is : void consume(int , int * ); std::vector<Value*> int32_16_params; int32_16_params.push_back(inValue);//inValue is ConstantInt* inValue int32_16_params.push_back(gvar_int32_y); CallInst* int32_16 = CallInst::Create(func_consume, int32_16_params.begin(), int32_16_params.end(), "",
2008 May 09
0
[LLVMdev] Vector code
Hi Evan, Please note that I'm not trying to compile from C code, I try to generate functions at run-time directly. I want to keep it target-independent too, so I can't use intrinsics either. Cheers, -Nicolas -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Evan Cheng Sent: Thursday, 08 May, 2008 23:31 To: LLVM
2008 May 08
0
[LLVMdev] Vector code
Hi Matthijs, Yes, I've turned off the link-time optimizations (otherwise it just propagates my constant vectors and immediate prints the result). :-) Here's essentially what I try to generate: void add(float z[4], float x[4], float y[4]) { z[0] = x[0] + y[0]; z[1] = x[1] + y[1]; z[2] = x[2] + y[2]; z[3] = x[3] + y[3]; } And here's part of the output from the online
2008 May 08
2
[LLVMdev] Vector code
llvm does not automatically vectorize your scalar code (as least for now). You have to write gcc generic vector code or use vector builtins. Evan On May 8, 2008, at 1:46 PM, Nicolas Capens wrote: > Hi Matthijs, > > Yes, I've turned off the link-time optimizations (otherwise it just > propagates my constant vectors and immediate prints the result). :-) > > Here's
2010 Dec 01
2
Lattice dotplots
Dear, I have a dataset with 4 subjects (see ID in example), and 4 treatment (see TRT in example) which are tested on 2 locations and in 3 blocs. By using Lattice dotplot, I made a graph that shows the raw data per location and per bloc. In that graph, I would like to have a reference line per bloc that refers to the first treatment (T1). However, I can not find how to do that. I can make
2001 Nov 26
1
EXT3 crash: ext3_free_blocks: bit already cleared
I had a failure over the weekend of my ext3 filesystems. Hardware: Dell 2550 (dual PIII 1 Ghz, 1GB ram, Acenic GigE card) Software: linux-2.4.14 ext3-2.4-0.9.15-2414 Trond's NFS patches (pathconf, tune,read,rpc_blk) The filesystem is RAID0 using LVM (1.0.1-rc4). The disks are connected using fiber channel (qlogic 2200, qlax00-4.27beta). I was generating high load on my nfs
2004 Sep 22
1
layout for xyplot
Dear all, I tried to use layout argument in xyplot to get one panel per page. I have a dataframe named 'data' with the following variables: x, y = coords, sub, bloc = 2-level factors, etat = 5-level factor, I did : > lset(theme = col.whitebg()) > xyplot(y ~ x | bloc*sub , data=data, groups=etat, + layout=c(0,1,4), + main="Etat des plantes dans chaque
2011 Apr 26
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
2011/4/26 Duncan Sands <baldrick at free.fr> > Hi Nabila, > > > Now when i tried this pass an error says: >> Wrong type for attribute noalias >> tail call void @consume(i32 noalias 3, i32* @y) nounwind >> > > noalias is only for arguments of pointer type. You probably meant it to > be on the second argument rather than the first. I suggest you
2007 Aug 04
2
multiple nls - next fit even after convergence problem
Hello R-gurus, I'm trying to adjust different growth curves to a rather extensive dataset. I wrote up a function to go through all of them, but am encountering a problem : among the more than 1000 curves I have, obviously for some of them I encounter conversion problems. I'd like for my function to keep going to the next curve and store the fact that for curve number X I had a convergence
2011 Apr 26
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
2011/4/26 Duncan Sands <baldrick at free.fr> > Hi Nabila, > > Now when i tried this pass an error says: >> Wrong type for attribute noalias >> tail call void @consume(i32 noalias 3, i32* @y) nounwind >> >> >> noalias is only for arguments of pointer type. You probably meant it >> to >> be on the second argument