Displaying 4 results from an estimated 4 matches for "libllvmsimplepass".
2018 Jan 14
2
Integrating llvm pass with pass manager
I have taken SimplePass and added in Transform directory, “libLLVMSimplePass.a” is built but I can not see this pass in opt —help. I don’t even see the name of pass while registering it in the example.
> On Jan 13, 2018, at 7:35 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote:
>
> On 13 Jan 2018, at 03:45, Craig Topper via llvm-dev <llvm-dev at...
2018 Jan 15
0
Integrating llvm pass with pass manager
On 14 Jan 2018, at 00:14, sangeeta chowdhary <sangitachowdhary at gmail.com> wrote:
>
> I have taken SimplePass and added in Transform directory, “libLLVMSimplePass.a” is built but I can not see this pass in opt —help. I don’t even see the name of pass while registering it in the example.
The SimplePass example is intended to be built out of tree, so I’ve no idea what happens if you try building it in tree. I wouldn’t expect to see it in the opt --help outpu...
2018 Jan 13
0
Integrating llvm pass with pass manager
On 13 Jan 2018, at 03:45, Craig Topper via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> I’m not sure what the correct way to do this is. I think your plugin needs to do something to tell clang/llvm when to run the pass. I’ll try to look later when I’m back at a computer.
You need to use RegisterStandardPasses to add it to the default pipeline automatically. You can find an
2018 Jan 13
2
Integrating llvm pass with pass manager
Clang doesn’t support adding passes from the command line the way opt does.
Opt has special parsing in opt.cpp for this that clang doesn’t have.
I’m not sure what the correct way to do this is. I think your plugin needs
to do something to tell clang/llvm when to run the pass. I’ll try to look
later when I’m back at a computer.
On Fri, Jan 12, 2018 at 7:00 PM 陳韋任 via llvm-dev <llvm-dev at