Displaying 9 results from an estimated 9 matches for "loaderinterface".
2009 Jun 04
1
[LLVMdev] Get Analysis from PassManager
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I try to write a tool that uses the PassManager to load profiling
information for a module like this:
...
ModulePass *LoaderPass = createProfileLoaderPass();
PassMgr.add(LoaderPass);
PassMgr.run(*M);
...
I can verify that the pass was run, but how to I get to the ProfileInfo
implemented by that pass?
I tried
...
ProfileInfo PI =
2010 Apr 11
0
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
...pr 11, 2010, at 9:13 AM, ambika wrote:
>
>
> From: ambika <ambika at cse.iitb.ac.in>
> Date: April 8, 2010 9:10:25 AM PDT
> To: llvmdev at cs.uiuc.edu
> Subject: [LLVMdev] Can someone help me with error while i make my own pass
>
>
> Hi,
>
> I have added LoaderInterface pass in llvm code and then I invoke this
> pass in other pass. Iget the following error:
>
> llvm[0]: Linking Release Loadable Module MyDfg.so
> /usr/bin/ld: /home/ambika/llvm_3/llvm-obj/lib/ss-fs/Release/MyDfg.o:
> relocation R_386_GOTOFF against undefined symbol `(anonymous
>...
2010 Apr 11
2
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
-------------- next part --------------
An embedded message was scrubbed...
From: ambika <ambika at cse.iitb.ac.in>
Subject: [LLVMdev] Can someone help me with error while i make my own pass
Date: Thu, 08 Apr 2010 21:40:25 +0530
Size: 4901
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100411/33876147/attachment.eml>
2010 Apr 12
1
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
...itb.ac.in>>
>> *Date: *April 8, 2010 9:10:25 AM PDT
>> *To: *llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu>
>> *Subject: **[LLVMdev] Can someone help me with error while i make my
>> own pass*
>>
>>
>> Hi,
>>
>> I have added LoaderInterface pass in llvm code and then I invoke this
>> pass in other pass. Iget the following error:
>>
>> llvm[0]: Linking Release Loadable Module MyDfg.so
>> /usr/bin/ld: /home/ambika/llvm_3/llvm-obj/lib/ss-fs/Release/MyDfg.o:
>> relocation R_386_GOTOFF against undefined symbol...
2010 Apr 08
0
[LLVMdev] Can someone help me with error while i make my own pass
Hi,
I have added LoaderInterface pass in llvm code and then I invoke this
pass in other pass. Iget the following error:
llvm[0]: Linking Release Loadable Module MyDfg.so
/usr/bin/ld: /home/ambika/llvm_3/llvm-obj/lib/ss-fs/Release/MyDfg.o:
relocation R_386_GOTOFF against undefined symbol `(anonymous
namespace)::LoaderInterface:...
2009 Jul 14
0
[LLVMdev] Profiling in LLVM Patch Followup 1
...anges (or
the profile information is of a different type).
> Index: tools/llvm-prof/llvm-prof.cpp
> ===================================================================
> --- tools/llvm-prof/llvm-prof.cpp (revision 74697)
> +++ tools/llvm-prof/llvm-prof.cpp (working copy)
> + class LoaderInterface : public ModulePass {
> + ProfileInfo *PI;
I renamed this class, and moved the main printing functionality to its
run method. This avoids the member state.
> class ProfileAnnotator : public AssemblyAnnotationWriter {
> - std::map<const Function *, unsigned> &FuncFreqs...
2009 Jul 02
1
[LLVMdev] Profiling in LLVM Patch Followup 1
Hi,
this is the first in a series of patches to cleanup and improve the LLVM Profiling Infrastructure.
First and foremost this patch removes duplicate functionality from ProfileInfoLoader and ProfileInfo:
The ProfileInfoLoader performed not only the loading of the profile information but also some synthesis of block and function execution counts from edge profiling information. Since the
2009 Jul 22
4
[LLVMdev] Profiling in LLVM Patch Followup 1
...ion is of a different type).
>
>> Index: tools/llvm-prof/llvm-prof.cpp
>> ===================================================================
>> --- tools/llvm-prof/llvm-prof.cpp (revision 74697)
>> +++ tools/llvm-prof/llvm-prof.cpp (working copy)
>
>> + class LoaderInterface : public ModulePass {
>> + ProfileInfo *PI;
>
> I renamed this class, and moved the main printing functionality to its
> run method. This avoids the member state.
>
>> class ProfileAnnotator : public AssemblyAnnotationWriter {
>> - std::map<const Function...
2009 Jul 01
12
[LLVMdev] Profiling in LLVM Patch
Hi Daniel,
Daniel Dunbar wrote:
> Hi Andreas,
>
> First, thanks again for undertaking this work and submitting it back. There is a
> lot of good stuff here and it would be great to see it get back into the tree.
Thanks for taking the time to review this, I know its a huge patch. I still have a few questions on how you would like this patch to be re-factored and split up.
> [...]