search for: marj

Displaying 5 results from an estimated 5 matches for "marj".

Did you mean: mar
2015 Jul 09
2
[LLVMdev] insert nop instruction
...t; should probably be trying to insert them at a very late stage of the > backend instead. Different IR's based on MachineInstr and MCInst are > used in these later stages. > > *From:*llvmdev-bounces at cs.uiuc.edu > [mailto:llvmdev-bounces at cs.uiuc.edu] *On Behalf Of *Zahra Marj > *Sent:* 09 July 2015 12:33 > *To:* David Chisnall > *Cc:* LLVM Developers Mailing List > *Subject:* Re: [LLVMdev] insert nop instruction > > My pass runs after optimization passes. > > On Thu, Jul 9, 2015 at 1:11 PM, David Chisnall > <David.Chisnall at cl.cam.ac.uk...
2015 Jul 09
2
[LLVMdev] insert nop instruction
...IR or SelectionDAG) will remove them > before machine code generation. If you want to insert NOPs into the > generated machine code, then this will not help you (you could insert > inline assembly containing nops into the IR). > > David > > > On 9 Jul 2015, at 09:25, Zahra Marj <zahrafatehimarj at gmail.com> wrote: > > > > Hi. > > I need to write a function pass that insert nop instruction in function. > Examples of these instructions are: %nop = add i1 0, 0 or %nop = alloca i1, > i1 0. This link couldn't help me: > http://llvm.org/doc...
2015 Jul 09
4
[LLVMdev] insert nop instruction
Hi. I need to write a function pass that insert nop instruction in function. Examples of these instructions are: %nop = add i1 0, 0 or %nop = alloca i1, i1 0. This link couldn't help me: http://llvm.org/docs/ProgrammersManual.html#creating-and-inserting-new-instructions I need a clear example about inserting new instruction. Anyone can help me? Thanks. -------------- next part --------------
2014 Oct 05
2
[LLVMdev] extending LLVM - basic block reordering
​Hi. I want to change order of code basic blocks in memory. I visited " http://llvm.org/docs/ExtendingLLVM.html" page and it advised me to ask it before any effort. What parts of LLVM help me and how? I am a newbie on LLVM. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Feb 13
2
[LLVMdev] module functions
Hi. I would like to move first function of module to end. To do this, I remove function from module, then I insert it with getOrInsertFunction() method. It worked. But there is a problem: I can't see body of function (basic blocks). In other words, function basic blocks don't move. To solve, I store function basic blocks before remove it. and after function insertion, I want to insert