Searched refs:ScaledNumber (Results 1 - 4 of 4) sorted by relevance
/external/llvm/include/llvm/Support/ |
H A D | ScaledNumber.h | 1 //===- llvm/Support/ScaledNumber.h - Support for scaled numbers -*- C++ -*-===// 13 // namespace ScaledNumbers. The class ScaledNumber is useful for modelling 449 /// ScaledNumber is a number represented by digits and a scale. It uses simple 461 /// ScaledNumber is templated on the underlying integer type for digits, which 464 /// Unlike APFloat, ScaledNumber does not model architecture floating point 468 /// ScaledNumber is totally ordered. However, there is no canonical form, so 471 /// ScaledNumber(8u, 0) == ScaledNumber(4u, 1) 472 /// ScaledNumber(4u, 1) == ScaledNumber( 494 template <class DigitsT> class ScaledNumber : ScaledNumberBase { class in namespace:llvm 512 ScaledNumber() : Digits(0), Scale(0) {} function in class:llvm::ScaledNumber 514 ScaledNumber(DigitsType Digits, int16_t Scale) function in class:llvm::ScaledNumber 518 ScaledNumber(const std::pair<uint64_t, int16_t> &X) function in class:llvm::ScaledNumber [all...] |
/external/llvm/lib/Support/ |
H A D | Android.mk | 56 ScaledNumber.cpp \
|
/external/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfoImpl.cpp | 29 ScaledNumber<uint64_t> BlockMass::toScaled() const { 31 return ScaledNumber<uint64_t>(1, 0); 32 return ScaledNumber<uint64_t>(getMass() + 1, -64);
|
/external/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfoImpl.h | 25 #include "llvm/Support/ScaledNumber.h" 106 /// Convert to \a ScaledNumber. \a isFull() gives 1.0, while \a isEmpty() 108 ScaledNumber<uint64_t> toScaled() const; 171 typedef ScaledNumber<uint64_t> Scaled64; 644 /// This algorithm leverages BlockMass and ScaledNumber to maintain precision,
|
Completed in 1141 milliseconds