llvm.org GIT mirror llvm / 2ecdd72
Fix class description. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135948 91177308-0d34-0410-b5e6-96231b3b80d8 Jakub Staszak 9 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
None //===- BranchProbability.h - Branch Probability Analysis --------*- C++ -*-===//
0 //===- BranchProbability.h - Branch Probability Wrapper ---------*- C++ -*-===//
11 //
22 // The LLVM Compiler Infrastructure
33 //
3333
3434 uint32_t getNumerator() const { return N; }
3535 uint32_t getDenominator() const { return D; }
36
36
3737 // Return (1 - Probability).
3838 BranchProbability getCompl() {
3939 return BranchProbability(D - N, D);