Displaying 3 results from an estimated 3 matches for "org_docs_programmersmanu".
Did you mean:
org_docs_programmersmanual
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 --------------
2015 Jul 09
2
[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>
wrote:
> Hi,
>
> What are you trying to achieve? Inserting NOPs into LLVM IR is likely to
> be pointless, as optimisations (in the IR or SelectionDAG) will remove them
> before machine code generation. If you want to insert NOPs into the
> generated
2015 Jul 09
2
[LLVMdev] insert nop instruction
...ion 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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_docs_ProgrammersManual.html-23creating-2Dand-2Dinserting-2Dnew-2Dinstructions&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=Qp9GWIWeL3Bal7o2P67hp2QbDCZLKBcsuzuT3xzMMUo&s=GZrVdTwGMs5jykSuspIi7GRCIni6kaJDICG65OxeZMc&e=>
> > I need a clear example about...