search for: baldiati

Displaying 20 results from an estimated 23 matches for "baldiati".

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 blo...
2011 Sep 06
5
[LLVMdev] Fwd: LLVM IR Branchs
...d 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. 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 &gt...
2011 Sep 14
0
[LLVMdev] Fwd: LLVM IR Branchs
...nd %1 = 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
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. >> > &gt...
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...
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 "ba...
2011 Oct 06
2
[LLVMdev] How to create arguments CallInst
...lt;* arg_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, accurat...
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>
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. Yo...
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;...
2011 Sep 06
0
[LLVMdev] Fwd: LLVM IR Branchs
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 30
2
[LLVMdev] New entry Block
Hi, I'd like to know if is possible to create a new entry block and a branch to old entry block? How can i make this? Thanks -- *Rafael Parizi* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110930/a7c133f9/attachment.html>
2011 Sep 30
0
[LLVMdev] New entry Block
On Fri, Sep 30, 2011 at 12:40 PM, Rafael Baldiati Parizi <parizi.computacao at gmail.com> wrote: > Hi, > I'd like to know if is possible to create a new entry block and a branch to > old entry block? > How can i make this? Try BasicBlock::splitBasicBlock. -Eli
2011 Oct 06
0
[LLVMdev] How to create arguments CallInst
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 C...
2011 Oct 06
2
[LLVMdev] How to create arguments CallInst
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 CallInst an integer argument, however, if a Char, Char must pass an argument. How to get the type of the argument of the function definition and create the
2011 Sep 06
0
[LLVMdev] Fwd: LLVM IR Branchs
On Mon, Sep 5, 2011 at 5:25 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > 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...
2012 Jan 06
2
[LLVMdev] How to duplicate a CallInst
Hi, I have the following piece of code: %34 = fptosi float %33 to i32 %35 = call i32 @function(i32 %34) nounwind I would like of know how can I duplicate the statement %35 ? , as follows: %34 = fptosi float %33 to i32 %35 = call i32 @function(i32 %34) nounwind *%36 = **call i32 @function(i32 %34) nounwind* * * i.e, two instructions exactly equal. Using clone, results in badref. Moreover, how
2011 Oct 06
0
[LLVMdev] MIPS 32bit code generation
...nas) 12. Re: TableGen and Greenspun (David A. Greene) 13. Re: svnsync of llvm tree (David A. Greene) 14. Re: svnsync of llvm tree (Jeff Fifield) 15. Re: LLVM and VHDL simulation (Jianzhou Zhao) 16. Re: TableGen and Greenspun (David A. Greene) 17. How to create arguments CallInst (Rafael Baldiati Parizi) 18. Re: How to create arguments CallInst (John Criswell) ---------------------------------------------------------------------- Message: 1 Date: Wed, 05 Oct 2011 17:10:36 -0500 From: greened at obbligato.org (David A. Greene) Subject: Re: [LLVMdev] LLVM IR is a compiler IR To: Joachim...
2011 Nov 22
1
[LLVMdev] LLVM native code and GDB -> Segmentation Fault
But the error is related to a conversion between llvm and gcc in "gcc-program.s -o program"? I need to use GDB to make an extraction of the information generated by GDB. For other programs, the process that wrote the first post worked perfectly, except for some. That this is the problem, for the compilation is the need to inform the -lm to link math libraries. It could be related to