search for: hamidouch

Displaying 10 results from an estimated 10 matches for "hamidouch".

Did you mean: hamidouche
2010 Apr 19
4
[LLVMdev] Problem with the installation of llvm gcc
Hello I'm trying to install LLVM and LLVM GCC so I check out the source of llvm and llvm-gcc-4.2 from the svn I flow the instructions of this page http://llvm.org/docs/GCCFEBuildInstrs.html I did the installation of LLVM and LLVM GCC well but the problem is there is no llvm-gcc at the end of instalation !!! ?? I mean in the /usr/local/bin/ there are all the commands of llvm (lli llc llvmc
2010 Apr 19
0
[LLVMdev] Problem with the installation of llvm gcc
khaled hamidouche wrote: > Hello > > I'm trying to install LLVM and LLVM GCC > so I check out the source of llvm and llvm-gcc-4.2 from the svn > > I flow the instructions of this page > http://llvm.org/docs/GCCFEBuildInstrs.html > > I did the installation of LLVM and LLVM GCC well...
2010 Apr 21
0
[LLVMdev] determining the number of iteration of a loop
On Apr 21, 2010, at 7:31 AM, khaled hamidouche wrote: > I'm wandring to know how many times a block is executed inside a > loop ? > knowing that I can't use getSmallConstantTripCount() because the > number is unkown "for (i=0;i<N;i++) for example" In general, the number of iterations is undecidable. F...
2010 Apr 21
2
[LLVMdev] determining the number of iteration of a loop
Hello I'm wandring to know how many times a block is executed inside a loop ? knowing that I can't use getSmallConstantTripCount() because the number is unkown "for (i=0;i<N;i++) for example" I'm using a Function pass for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { if (Loop *L = LI->getLoopFor(BB)) { if (L->getHeader() ==
2010 Apr 19
0
[LLVMdev] Problem with the installation of llvm gcc
You need to manually copy the llvm-gcc front-end binaries to somewhere in your path. Alternatively, you can download the clang front-end and start using that instead. On Mon, Apr 19, 2010 at 10:58 AM, khaled hamidouche <khaledhamidouche at gmail.com> wrote: > Hello > > I'm trying to install LLVM and LLVM GCC > so I check out  the source of llvm and llvm-gcc-4.2 from the svn > > I flow the instructions of this page > http://llvm.org/docs/GCCFEBuildInstrs.html > > I did the ins...
2010 Apr 20
1
[LLVMdev] iterate over loops inside the runOnFunction
Hello I'm wandring to write a Function parser that iterates over loops inside each function and inside each loop iterates over instructions So I found a way to do the Function parser that iterates over BasicBlocks (using the runOnfunction Pass) but I no know how make it iterates over loops ? So my question is there any way to make a loop inside the runOnfunction to iterate over
2010 Apr 23
1
[LLVMdev] How to get the Operand type
Hello How to get the type of an Operand ? so for example I want to get the type of the operand(0) in this istruction %arrayidx22 = getelementptr [1000 x double]* %C, i64 0, i64 %indvar67 ; <double*> [#uses=1] I tried (II->getOperand(0))->getType() ) but this give me an adress (I think) (some think like 0x1253.. ) also I tried to get the type of the instruction with switch
2010 Apr 23
1
[LLVMdev] pass argument to a FunctionPass
Hello is there any way to pass argument to my own Function pass I mean I wrote a Function pass (like Hello) that give me somme analyzes about the code source and I need to pass somme argument to the Pass like the size of data.... I want some think like this opt -load ../../../Debug/lib/LLVMHello.so -hello2 < test.bc > /dev/null arg1 arg2 ... So how to get inside the Function pass the
2010 Apr 21
1
[LLVMdev] determining the number of iteration of a loop
...ght, in general, the number of iterations in unknown. I think Khaled is interested in a large number of cases when it is known, either as a constant or value. Eugene On Wed, Apr 21, 2010 at 10:28 PM, Trevor Harmon <Trevor.W.Harmon at nasa.gov> wrote: > On Apr 21, 2010, at 7:31 AM, khaled hamidouche wrote: > >> I'm wandring to know how many times a block is executed inside a >> loop  ? >> knowing that I can't use  getSmallConstantTripCount() because the >> number is unkown  "for (i=0;i<N;i++)  for example" > > In general, the number of ite...
2010 May 11
0
[LLVMdev] determine the basic_block inside if and else
Hello I used a functionPass to count the number of bloks ? so for each BBlock I check if it is a loop or BB ... and I'm wandring How can I determine if a BB is a conditional block (if) ?? and How can I separate between the BBs inside the if and those inside the else ?? Thank you so much K.H -------------- next part -------------- An HTML attachment was scrubbed... URL: