Displaying 3 results from an estimated 3 matches for "maxspantree".
2009 Jul 01
0
[LLVMdev] Profiling in LLVM Patch
...to LLVM style:
- Please make comments complete sentences, including capitalizing the first
word and trailing punctuation.
- Please format function prototypes to have the arguments following the '(',
and wrapped onto new lines as appropriate to fit in 80 columns. That is,
--
static MaxSpanTree getMaxSpanTree(Function *F, ProfileInfo *PI,
bool invert);
--
not
--
static MaxSpanTree getMaxSpanTree(
Function *F, ProfileInfo *PI, bool invert);
--
- Please no spacing after the function in a call ("assert(" not "assert (") and...
2009 Jun 29
7
[LLVMdev] Profiling in LLVM Patch
Hi all,
as proposed in
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/020396.html
I implemented the algorithm presented in [Ball94]. It only instruments
the minimal number of edges necessary for edge profiling.
The main changes introduced by this patch are:
*) a interface compatible rewrite of ProfileInfo
*) a cleanup of ProfileInfoLoader
(some functionality in ProfileInfoLoader
2009 Jul 01
12
[LLVMdev] Profiling in LLVM Patch
...lysis/MaximumSpanningTree.h 2009-06-26 16:47:01.000000000 +0200
> ...
>> +#include "llvm/Support/Streams.h"
>
> Please don't use Support/Streams.h in a header, it pollutes any translation unit
> which imports this header.
Okay.
>> + static void print(MaxSpanTree MST) {
>> + cerr<<"{";
>> + for ( MaxSpanTree::iterator ei = MST.begin(), ee = MST.end();
>> + ei!=ee; ++ei ) {
>> + cerr<<"("<<((*ei).first?(*ei).first->getName():"0")<<",";
>&...