search for: createmyprofileusingpass

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

2005 Mar 18
0
[LLVMdev] Loading ProfileInfo
...t; I'm not sure how to use it: > Pass *createProfileLoaderPass(const std::string &Filename); That is only useful if you have a PassManager object. Given that, you could do something (roughly) like this: PassManager PM; PM.add(createProfileLoaderPass("foo.llvmprof")); PM.add(createMyProfileUsingPass()); PM.run(MyModule); -Chris -- http://nondot.org/sabre/ http://llvm.cs.uiuc.edu/
2005 Mar 18
2
[LLVMdev] Loading ProfileInfo
On Wed, Mar 16, 2005 at 09:16:20PM -0600, Chris Lattner wrote: > >I am fairly new to the LLVM pass framework. My goal is to extend the > >CFGPrinter analysis pass to label the edges of the graph with their > >edge-counts from profile data. > > > >I can generate the CFGs using 'analyze', but I am having trouble > >loading the profile data. I added the