LLVM  9.0.0svn
Functions
BranchProbability.cpp File Reference
#include "llvm/Support/BranchProbability.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
Include dependency graph for BranchProbability.cpp:

Go to the source code of this file.

Functions

template<uint32_t ConstD>
static uint64_t scale (uint64_t Num, uint32_t N, uint32_t D)
 

Function Documentation

◆ scale()

template<uint32_t ConstD>
static uint64_t scale ( uint64_t  Num,
uint32_t  N,
uint32_t  D 
)
static