search for: classllvm_1_1callgraph

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

2008 Dec 08
0
[LLVMdev] Tutorial on writing Link Time Optimization Passes?
...ing 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 the CallGraph. Nick Diego Huang wrote: > Hi, > > Is there a tutorial on how to get started with writing link-time > optimization passes? The documentation a...
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