search for: classllvm_1_1targetpassconfig

Displaying 4 results from an estimated 4 matches for "classllvm_1_1targetpassconfig".

2015 Oct 04
2
How to add NOP?
Hi Erdem, Since it is a target specific pass, you should put your pass inside the target's folder (e.g. lib/Target/X86/) and declare your pass in Target.h. Then you need to modify the target's TargetPassConfig ( http://llvm.org/docs/doxygen/html/classllvm_1_1TargetPassConfig.html) to enable your pass. You can check out the existing MachineFunction passes (e.g. X86ExpandPseudo.cpp) to get an idea. Volkan On Sat, Oct 3, 2015 at 7:21 AM Erdem Derebaşoğlu < erdemderebasoglu at hotmail.com> wrote: > I wrote the pass but when I try to build LLVM, I get this erro...
2014 Jul 14
3
[LLVMdev] Register Machine Pass
It's not being executed. I'm both trying to print via outs() and add info via STATISTIC, neither is occurring. On Mon, Jul 14, 2014 at 12:22 PM, Justin Holewinski <jholewinski at nvidia.com> wrote: > On Mon, 2014-07-14 at 08:31 -0700, Ryan Taylor wrote: > > Where is the documentation about registering a machine pass? I'm > > unable to find it. > > >
2015 Sep 17
2
How to add NOP?
This seems to be what I am looking for. That was very helpful. Thank you. Erdem From: vlknkls at gmail.com Date: Wed, 16 Sep 2015 16:25:29 +0000 Subject: Re: [llvm-dev] How to add NOP? To: erdemderebasoglu at hotmail.com; llvm-dev at lists.llvm.org Use MachineInstr::memoperands() function to get memory operands then you can get the address space by using MachineMemOperand::getAddrSpace(). Volkan
2015 Oct 11
2
How to add NOP?
...s.llvm.org > > Hi Erdem, > > Since it is a target specific pass, you should put your pass inside the > target's folder (e.g. lib/Target/X86/) and declare your pass in Target.h. > Then you need to modify the target's TargetPassConfig ( > http://llvm.org/docs/doxygen/html/classllvm_1_1TargetPassConfig.html) to > enable your pass. > > You can check out the existing MachineFunction passes > (e.g. X86ExpandPseudo.cpp) to get an idea. > > Volkan > > On Sat, Oct 3, 2015 at 7:21 AM Erdem Derebaşoğlu < > erdemderebasoglu at hotmail.com> wrote: > > I wrote the pass...