LLVM: lib/Support/BranchProbability.cpp File Reference (original) (raw)

Functions

BranchProbability.cpp File Reference

#include "[llvm/Support/BranchProbability.h](BranchProbability%5F8h%5Fsource.html)"
#include "llvm/Config/llvm-config.h"
#include "[llvm/Support/Debug.h](Support%5F2Debug%5F8h%5Fsource.html)"
#include "[llvm/Support/Format.h](Format%5F8h%5Fsource.html)"
#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"
#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>

uint64_t scale ( uint64_t Num, uint32_t N, uint32_t D ) static

Definition at line 72 of file BranchProbability.cpp.

References assert(), D(), N, and UINT64_MAX.

Referenced by llvm::IntelExpr::IntelExpr(), and llvm::ARMInstPrinter::printAdrLabelOperand().


Generated on for LLVM by doxygen 1.14.0