search for: parizi

Displaying 20 results from an estimated 48 matches for "parizi".

2011 Sep 06
2
[LLVMdev] Fwd: LLVM IR Branchs
Ok! I do understand. Thanks by help! 2011/9/5 Justin Holewinski <justin.holewinski at gmail.com> > On Mon, Sep 5, 2011 at 8:37 PM, Rafael Baldiati Parizi < > parizi.computacao at gmail.com> wrote: > >> Yes, that's how I'm doing now ... create a new block where the execution >> flow will continue after the shift, following the basics of basic blocks. >> But, I want to find a way to reduce the number of block of m...
2011 Sep 14
0
[LLVMdev] Fwd: LLVM IR Branchs
...= load i32* %n_addr, align 4 %2 = and i32 %1, 1 * %3* = icmp eq i32 %2, 0 ..... br label %new_block new_block: %4 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([10 x i8]* @.str1, i32 0, i32 0), i32 *%4*) nounwind ... How to solve this? 2011/9/5 Rafael Baldiati Parizi <parizi.computacao at gmail.com> > Ok! I do understand. > Thanks by help! > > > 2011/9/5 Justin Holewinski <justin.holewinski at gmail.com> > >> On Mon, Sep 5, 2011 at 8:37 PM, Rafael Baldiati Parizi < >> parizi.computacao at gmail.com> wrote: >&...
2011 Sep 06
5
[LLVMdev] Fwd: LLVM IR Branchs
...see if them are equals. Then, I would a instruction like if Value1 != Value2, error without create a new block, continuing the execution in the same block, forcing the LLI to execute this. 2011/9/5 Eli Friedman <eli.friedman at gmail.com> > On Mon, Sep 5, 2011 at 4:47 PM, Rafael Baldiati Parizi > <parizi.computacao at gmail.com> wrote: > > Hello, > > I would know how can I make a branch in llvm ir without a label of > > destination? > > For example: > > br i1 %1, label %bb, NO LABEL HERE > > What are you trying to do? > > -Eli > --...
2011 Sep 06
2
[LLVMdev] Fwd: LLVM IR Branchs
Yes, that's how I'm doing now ... create a new block where the execution flow will continue after the shift, following the basics of basic blocks. But, I want to find a way to reduce the number of block of my code. 2011/9/5 Nick Lewycky <nicholas at mxc.ca> > Rafael Baldiati Parizi wrote: > >> I have two values and I want see if them are equals. Then, I would a >> instruction like >> if Value1 != Value2, error >> without create a new block, continuing the execution in the same block, >> forcing the LLI to execute this. >> > > You c...
2011 Sep 14
1
[LLVMdev] Fwd: LLVM IR Branchs
Sorry, %3 instead of %4. 2011/9/14 Rafael Baldiati Parizi <parizi.computacao at gmail.com> > Hello, > I created a new block for execution to continue, but I got the case in > which a statement defined in a block is used in another, not dominate all > uses. > For example: > > entry: > %n_addr = alloca i32, align 4 >...
2011 Sep 06
0
[LLVMdev] Fwd: LLVM IR Branchs
On Mon, Sep 5, 2011 at 8:37 PM, Rafael Baldiati Parizi < parizi.computacao at gmail.com> wrote: > Yes, that's how I'm doing now ... create a new block where the execution > flow will continue after the shift, following the basics of basic blocks. > But, I want to find a way to reduce the number of block of my code. Why do you...
2012 Jun 12
1
[LLVMdev] output -stats to file.txt
...===-------------------------------------------------------------------------=== > **** > > ** ** > > 1 cgscc-passmgr - Maximum CGSCCPassMgr iterations on one SCC**** > > 3 reassociate - Number of insts reassociated**** > > ** ** > > ** ** > > *From:* Rafael Parizi [mailto:parizi.computacao at gmail.com] > *Sent:* Tuesday, June 12, 2012 1:27 PM > *To:* Villmow, Micah > *Cc:* llvmdev at cs.uiuc.edu > *Subject:* Re: [LLVMdev] output -stats to file.txt**** > > ** ** > > Yes, I've tried and it did not work **** > > On Tue, Jun 12...
2012 Jun 12
2
[LLVMdev] output -stats to file.txt
...ork On Tue, Jun 12, 2012 at 4:03 PM, Villmow, Micah <Micah.Villmow at amd.com>wrote: > Have you tried "opt -stats bitecode.bc > test.txt"?**** > > ** ** > > *From:* llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] *On > Behalf Of *Rafael Parizi > *Sent:* Tuesday, June 12, 2012 11:36 AM > *To:* llvmdev at cs.uiuc.edu > *Subject:* [LLVMdev] output -stats to file.txt**** > > ** ** > > Hi!**** > > I'm estimating the number of basic blocks of the a program using "opt > -stats bitecode.bc"**** >...
2011 Sep 06
0
[LLVMdev] Fwd: LLVM IR Branchs
Rafael Baldiati Parizi wrote: > I have two values and I want see if them are equals. Then, I would a > instruction like > if Value1 != Value2, error > without create a new block, continuing the execution in the same block, > forcing the LLI to execute this. You can not. The definition of a "basic blo...
2012 Feb 24
2
[LLVMdev] Generate Executable to Mips
...psel hello.bc -o hello.s mips-linux-gnu-gcc hello.s -o hello -mips32 -EL You can also generate object code with this command: llc -march=mipsel hello.bc -o hello.o -filetype=obj Then run the linker: mips-linux-gnu-gcc hello.o -o hello -mips32 -EL On Thu, Feb 23, 2012 at 4:18 PM, Rafael BP <parizi.computacao at gmail.com> wrote: > This is true? > clang/llvm cannot produce mips object code or executable (yet). > from: > http://old.nabble.com/How-to-get-MIPS-from-clang-%2B-llvm---td32822926.html > > > On Thu, Feb 23, 2012 at 8:37 PM, Rafael BP <parizi.computacao at g...
2012 Jun 12
0
[LLVMdev] output -stats to file.txt
...-------------------------------------=== ... Statistics Collected ... ===-------------------------------------------------------------------------=== 1 cgscc-passmgr - Maximum CGSCCPassMgr iterations on one SCC 3 reassociate - Number of insts reassociated From: Rafael Parizi [mailto:parizi.computacao at gmail.com] Sent: Tuesday, June 12, 2012 1:27 PM To: Villmow, Micah Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] output -stats to file.txt Yes, I've tried and it did not work On Tue, Jun 12, 2012 at 4:03 PM, Villmow, Micah <Micah.Villmow at amd.com<mailto...
2012 Feb 27
0
[LLVMdev] Generate Executable to Mips
...gcc hello.s -o hello -mips32 -EL > > You can also generate object code with this command: > > llc -march=mipsel hello.bc -o hello.o -filetype=obj > > Then run the linker: > mips-linux-gnu-gcc hello.o -o hello -mips32 -EL > > On Thu, Feb 23, 2012 at 4:18 PM, Rafael BP <parizi.computacao at gmail.com> > wrote: > > This is true? > > clang/llvm cannot produce mips object code or executable (yet). > > from: > > > http://old.nabble.com/How-to-get-MIPS-from-clang-%2B-llvm---td32822926.html > > > > > > On Thu, Feb 23, 2012 at...
2012 Feb 28
3
[LLVMdev] Generate Executable to Mips
...-EL > > You can also generate object code with this command: > > llc -march=mipsel hello.bc -o hello.o -filetype=obj > > Then run the linker: > mips-linux-gnu-gcc hello.o -o hello -mips32 -EL > > On Thu, Feb 23, 2012 at 4:18 PM, Rafael BP > <parizi.computacao at gmail.com <mailto:parizi.computacao at gmail.com>> > wrote: > > This is true? > > clang/llvm cannot produce mips object code or executable (yet). > > from: > > > http://old.nabble.com/How-to-get-MIPS-from-clang-%2B-llvm---...
2012 Feb 23
2
[LLVMdev] Generate Executable to Mips
Hi, How can I generate executable to mips with llvm-gcc. I'm using Ilvm-2.9, X86PC and the following commands: llvm-gcc -emit-llvm hello.c -c -o hello.bc (OK) llc -march=mips hello.bc -o hello.s (OK) gcc hello.s -o hello (does not work). Thanks, -- *Rafael Parizi* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120223/f011ec3b/attachment.html>
2011 Oct 06
2
[LLVMdev] How to create arguments CallInst
...iti->getType()*>(para); <--------------------------* para->setName("test"); varg_list.push_back(para); } return varg_list; } How can I make this cast?? 2011/10/6 John Criswell <criswell at illinois.edu> > On 10/6/11 11:48 AM, Rafael Baldiati Parizi wrote: > > Hello, > I need create a CallInst to this function > > define i32 @function(i32 %n, i8 %m){ ... } > > I now how get argument's type but I do not know how to create arguments > that meet these types. > For example, if the argument is long, accurate pass...
2011 Sep 05
3
[LLVMdev] Fwd: LLVM IR Branchs
Hello, I would know how can I make a branch in llvm ir without a label of destination? For example: br i1 %1, label %bb, *NO LABEL HERE* * * Thanks! -- *Rafael Parizi* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110905/5be7271c/attachment.html>
2012 Feb 24
0
[LLVMdev] Generate Executable to Mips
This is true? *clang*/*llvm* *cannot* produce *mips* object *code* or executable (yet). from: http://old.nabble.com/How-to-get-MIPS-from-clang-%2B-llvm---td32822926.html On Thu, Feb 23, 2012 at 8:37 PM, Rafael BP <parizi.computacao at gmail.com>wrote: > Hi, > How can I generate executable to mips with llvm-gcc. > I'm using Ilvm-2.9, X86PC and the following commands: > > llvm-gcc -emit-llvm hello.c -c -o hello.bc (OK) > llc -march=mips hello.bc -o hello.s (OK) > > gcc hello.s -o hell...
2011 Sep 06
0
[LLVMdev] Fwd: LLVM IR Branchs
On Mon, Sep 5, 2011 at 5:13 PM, Rafael Baldiati Parizi <parizi.computacao at gmail.com> wrote: > I have two values and I want see if them are equals. Then, I would a > instruction like > if Value1 != Value2, error > without create a new block, continuing the execution in the same block, > forcing the LLI to execute this. You can...
2012 Feb 28
0
[LLVMdev] Generate Executable to Mips
...;> >> You can also generate object code with this command: >> >> llc -march=mipsel hello.bc  -o hello.o -filetype=obj >> >> Then run the linker: >> mips-linux-gnu-gcc hello.o -o hello -mips32 -EL >> >> On Thu, Feb 23, 2012 at 4:18 PM, Rafael BP <parizi.computacao at gmail.com> >> wrote: >> > This is true? >> > clang/llvm cannot produce mips object code or executable (yet). >> > from: >> > >> > http://old.nabble.com/How-to-get-MIPS-from-clang-%2B-llvm---td32822926.html >> > >> &g...
2011 Oct 06
0
[LLVMdev] How to create arguments CallInst
On 10/6/11 12:40 PM, Rafael Baldiati Parizi wrote: > virtual std::vector<Value *> getESetArgumentosFunc(Function *F){ > std::vector<Value *> varg_list; > varg_list.clear(); > for(Function::arg_iterator arg_iti = F->getArgumentList().begin(), > arg_ite = F->getArgumentList().end(); arg_iti != arg_ite; ++arg_i...