search for: initializenoopinserterpass

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

2015 Sep 27
2
Registering a MachineFunctionPass
Dear all, I wrote a machine function pass to run with llc. But I get this error while building: "/home/erdem/llvm/lib/CodeGen/CodeGen.cpp:80: error: undefined reference to 'llvm::initializeNoopInserterPass(llvm::PassRegistry&)'" NoopInserter is the name of my pass. I already added this line to InitializePasses.h: "void initializeNoopInserterPass(PassRegistry&);". Can anyone tell me what the problem is? Thanks in advance,Erdem Derebasoglu -------------- next par...
2015 Oct 04
2
How to add NOP?
...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 error: > "/home/erdem/llvm/lib/CodeGen/CodeGen.cpp:80: error: undefined reference > to 'llvm::initializeNoopInserterPass(llvm::PassRegistry&). > I need to modify Passes.h, InitializePasses.h, and Codegen.cpp files to > register my pass, right? > > Erdem > ------------------------------ > From: erdemderebasoglu at hotmail.com > To: vlknkls at gmail.com; llvm-dev at lists.llvm.org > Subject:...
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?
...gt; 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 error: > "/home/erdem/llvm/lib/CodeGen/CodeGen.cpp:80: error: undefined reference > to 'llvm::initializeNoopInserterPass(llvm::PassRegistry&). > I need to modify Passes.h, InitializePasses.h, and Codegen.cpp files to > register my pass, right? > > Erdem > ------------------------------ > From: erdemderebasoglu at hotmail.com > To: vlknkls at gmail.com; llvm-dev at lists.llvm.org > Subject:...