Displaying 3 results from an estimated 3 matches for "generateassemblycod".
Did you mean:
generateassemblycode
2008 Dec 08
0
[LLVMdev] Tutorial on writing Link Time Optimization Passes?
...a ModulePass. You can run any pass at any time over any
bitcode file with 'opt -mypass file.bc'. If you want to add it to the
list of passes that run when linking via libLTO or llvm-ld, you can add
it to the list in tools/llvm-ld/Optimize.cpp:Optimize and
tools/lto/LTOCodeGenerator.cpp:generateAssemblyCode.
A couple other pointers to our doxygen:
ModulePass: http://llvm.org/doxygen/classllvm_1_1ModulePass.html
CallGraph: http://llvm.org/doxygen/classllvm_1_1CallGraph.html
You can take a look at lib/Transforms/IPO/Internalize.cpp to see an
example of a link-time optimization pass that uses...
2008 Dec 08
3
[LLVMdev] Tutorial on writing Link Time Optimization Passes?
Hi,
Is there a tutorial on how to get started with writing link-time
optimization passes? The documentation at
http://www.llvm.org/docs/LinkTimeOptimization.html explains the design
of the LTO interface, but does not explain where to start writing
code. Would my pass go inside libLTO.a or is it separate from
libLTO.a? What I would like to be able to do is traverse through the
entire
2010 Apr 21
1
[LLVMdev] Performing my own pass with a single command line?
Hi John,
Are there any documents about how to add a pass into LTO?
Cheers,
Zheng
On 19 April 2010 15:11, John Criswell <criswell at uiuc.edu> wrote:
> Dear Zheng Wang,
>
> You have a few options:
>
> 1) You can add your pass to the set of passes that llvm-gcc runs when it
> optimizes code. This requires re-compiling llvm-gcc; it also means that
> your pass must be