LLVM 19.0.0git
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 <cmath>

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