OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ScaledNumber
(Results
1 - 5
of
5
) sorted by null
/external/llvm/include/llvm/Support/
ScaledNumber.h
1
//===- llvm/Support/
ScaledNumber
.h - Support for scaled numbers -*- C++ -*-===//
13
// namespace ScaledNumbers. The class
ScaledNumber
is useful for modelling
448
///
ScaledNumber
is a number represented by digits and a scale. It uses simple
460
///
ScaledNumber
is templated on the underlying integer type for digits, which
463
/// Unlike APFloat,
ScaledNumber
does not model architecture floating point
467
///
ScaledNumber
is totally ordered. However, there is no canonical form, so
470
///
ScaledNumber
(8u, 0) ==
ScaledNumber
(4u, 1)
471
///
ScaledNumber
(4u, 1) ==
ScaledNumber
(2u, 2
[
all
...]
/external/llvm/unittests/Support/
ScaledNumberTest.cpp
10
#include "llvm/Support/
ScaledNumber
.h"
536
EXPECT_EQ(
ScaledNumber
<uint32_t>(10, 0),
537
ScaledNumber
<uint32_t>(1, 3) +
ScaledNumber
<uint32_t>(1, 1));
538
EXPECT_EQ(
ScaledNumber
<uint32_t>(6, 0),
539
ScaledNumber
<uint32_t>(1, 3) -
ScaledNumber
<uint32_t>(1, 1));
540
EXPECT_EQ(
ScaledNumber
<uint32_t>(2, 3),
541
ScaledNumber
<uint32_t>(1, 3) *
ScaledNumber
<uint32_t>(1, 1))
[
all
...]
/external/llvm/lib/Support/
Android.mk
60
ScaledNumber
.cpp \
/external/llvm/lib/Analysis/
BlockFrequencyInfoImpl.cpp
24
ScaledNumber
<uint64_t> BlockMass::toScaled() const {
26
return
ScaledNumber
<uint64_t>(1, 0);
27
return
ScaledNumber
<uint64_t>(getMass() + 1, -64);
/external/llvm/include/llvm/Analysis/
BlockFrequencyInfoImpl.h
25
#include "llvm/Support/
ScaledNumber
.h"
117
/// Convert to \a
ScaledNumber
. \a isFull() gives 1.0, while \a isEmpty()
119
ScaledNumber
<uint64_t> toScaled() const;
158
typedef
ScaledNumber
<uint64_t> Scaled64;
657
/// This algorithm leverages BlockMass and
ScaledNumber
to maintain precision,
[
all
...]
Completed in 277 milliseconds