search for: barriernoop

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

2012 Oct 17
1
[LLVMdev] please advise on PassManager
...ust the always-inliner. There is no extension point offered which would not fall into this inliner's CGSCC pass manager, because we cannot even express such an extension point today. I've almost finished an interim[1] fix to this which will take the following form: 1) Introduce a new 'BarrierNoop' module pass which has no effect other than to go into the optimization pipeline, and terminate any of the implicitly nested pass managers in place. This will even be useful on the 'opt' commandline, for example to build two independent CGSCC pass managers. 2) Teach the -O0 extension p...
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
2012 Oct 17
0
[LLVMdev] please advise on PassManager
On Oct 17, 2012, at 7:34 AM, Kostya Serebryany <kcc at google.com> wrote: > Hello, > > I've recently changed AddressSanitizer (asan) compiler pass from ModulePass to FunctionPass and it could a bit of mayhem. > > The problem is that asan FunctionPass instruments a function foo, then foo gets inlined into bar, then bar gets instrumented > and thus the code of foo
2012 Oct 17
2
[LLVMdev] please advise on PassManager
Hello, I've recently changed AddressSanitizer (asan) compiler pass from ModulePass to FunctionPass and it could a bit of mayhem. The problem is that asan FunctionPass instruments a function foo, then foo gets inlined into bar, then bar gets instrumented and thus the code of foo gets instrumented twice (which causes run-time crash). This happens only at -O0; at -O1 we get the correct order of