Displaying 6 results from an estimated 6 matches for "edgeweight".
2011 Jun 04
3
[LLVMdev] [llvm-commits] Branch Probability
...sult of Branch Probability Analysis. This is the mid-level IR pass that interprets meta-data and performs static prediction when needed.
Representation: Map of 32-bit unsigned int "edge weight" per CFG edge
Conceptually this is similar to Branch Profile:
edgeProbability(src, dest) ==
edgeWeight(src, dest)
/ (sum edgeWeight(src, succ) for succ in src.successors())
As with branch profile, these edge weights express branch probability as the ratio between a successor edge and the sum of all other sucessors originating from the same branch. They do not need to sum to a fixed value, so all...
2009 Jul 01
0
[LLVMdev] Profiling in LLVM Patch
...970-01-01 01:00:00.000000000 +0100
> +++ llvm-c7/lib/Analysis/MaximumSpanningTree.cpp 2009-06-26 16:47:01.000000000 +0200
...
> +#define WOOD_REP(M,V1,V2) \
Please use "forest" instead of "wood".
> + // compare two weighted edges
> + struct VISIBILITY_HIDDEN EdgeWeightCompare {
> + bool operator()(const ProfileInfo::EdgeWeight X,
> + const ProfileInfo::EdgeWeight Y) const {
> + if ( X.second > Y.second ) return true;
> + if ( X.second < Y.second ) return false;
> + if ( X.first.first != 0 && Y.firs...
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 Feb 10
0
Resize edge's label fontsize
...39;s label fontsize, but
the size did not change.
Did I do something wrong ?
M <- matrix(nrow=5,ncol=5,byrow=TRUE,data=mytable)
colnames(M) <- levels(pf$agent)
A <- new("graphAM", M, "directed", values = list(weight=M))
eAttrs <- list()
ew <- as.character(unlist(edgeWeights(A)))
names(ew) <- edgeNames(A, recipEdges = "distinct")
eAttrs$label <- ew
fs2 <- rep(c(72), length(ew))
names(fs2) <- edgeNames(A, recipEdges = "distinct")
eAttrs$labelfontsize <- fs2
plot(A,
attrs = list(node = list(label = "foo", fillcolor = "...
2009 Jun 24
0
Matrix vignette error in June 24 RC
...Matrix: no visible global function definition for
?edgemode?
coerce,graphNEL-TsparseMatrix: no visible global function definition
for ?nodes?
coerce,graphNEL-TsparseMatrix: no visible global function definition
for ?edgemode?
coerce,graphNEL-TsparseMatrix: no visible global function definition
for ?edgeWeights?
Logic,ltCMatrix-ltCMatrix: no visible global function definition for
?forceTriangular?
* checking Rd files ... OK
* checking Rd files against version 2 parser ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatc...
2009 Jul 01
12
[LLVMdev] Profiling in LLVM Patch
...:01.000000000 +0200
> ...
>> +#define WOOD_REP(M,V1,V2) \
>
> Please use "forest" instead of "wood".
Oh, sorry, thats a false friend, in German "forest" is "Wald".
>> + // compare two weighted edges
>> + struct VISIBILITY_HIDDEN EdgeWeightCompare {
>> + bool operator()(const ProfileInfo::EdgeWeight X,
>> + const ProfileInfo::EdgeWeight Y) const {
>> + if ( X.second > Y.second ) return true;
>> + if ( X.second < Y.second ) return false;
>> + if ( X.first.first !=...