search for: opttool

Displaying 2 results from an estimated 2 matches for "opttool".

Did you mean: objtool
2014 Feb 11
11
[LLVMdev] Proposal: split tools/opt/opt.cpp to OptTool and a smaller main()
...ge :-) A lot of cl::opt definitions are duplicated between different tools and have to be kept in sync for consistency. What I'd like to see is most of opt's functionality moving outside of opt.cpp to make it reusable in other tools. For example, this could be encapsulated in a class named OptTool, or just a namespace with a bunch of utility functions, as well as cl::opt definitions. Such a transition can be done in steps: the first step would be to create this OptTool within tools/opt. This would immediately enable building custom opt-based tools by linking in the code from tools/opt, leav...
2014 Feb 14
2
[LLVMdev] Proposal: split tools/opt/opt.cpp to OptTool and a smaller main()
On Thu, Feb 13, 2014 at 3:51 PM, Sean Silva <silvas at purdue.edu> wrote: > I thought that opt was supposed to basically be a way to run a PassManager > over some IR? Seems like the new PM should standardize the appropriate > things and have them be a natural part of its API. FWIW, it will. I don't want to try to sequence these things though. -------------- next part