search for: isedgehot

Displaying 1 result from an estimated 1 matches for "isedgehot".

2011 Jun 04
3
[LLVMdev] [llvm-commits] Branch Probability
...to make use of branch probability. Since we don't want to expose floating point values, except for generating diagnostic output, and we don't want to expose edge weights, because they have no independent meaning, we need a richer API. Example: BasicBlock *getHotSucc(BasicBlock *BB); bool isEdgeHot(BasicBlock *pred, BasicBlock *succ); The API will be implemented entirely using fixed point arithmetic. Example: class BranchProbability { friend BranchProbabilityInfo; unsigned numerator; unsigned denominator; BranchProbability(...); // no public ctor ... }; class BranchProbabili...