LLVM API Documentation

Static Public Member Functions | Static Public Attributes
llvm::ScaledNumberBase Class Reference

#include <ScaledNumber.h>

Inheritance diagram for llvm::ScaledNumberBase:
Inheritance graph
[legend]
Collaboration diagram for llvm::ScaledNumberBase:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static void dump (uint64_t D, int16_t E, int Width)
static raw_ostreamprint (raw_ostream &OS, uint64_t D, int16_t E, int Width, unsigned Precision)
static std::string toString (uint64_t D, int16_t E, int Width, unsigned Precision)
static int countLeadingZeros32 (uint32_t N)
static int countLeadingZeros64 (uint64_t N)
static uint64_t getHalf (uint64_t N)
static std::pair< uint64_t, boolsplitSigned (int64_t N)
static int64_t joinSigned (uint64_t U, bool IsNeg)

Static Public Attributes

static const int DefaultPrecision = 10

Detailed Description

Definition at line 421 of file ScaledNumber.h.


Member Function Documentation

static int llvm::ScaledNumberBase::countLeadingZeros32 ( uint32_t  N) [inline, static]

Definition at line 430 of file ScaledNumber.h.

References llvm::countLeadingZeros().

static int llvm::ScaledNumberBase::countLeadingZeros64 ( uint64_t  N) [inline, static]

Definition at line 431 of file ScaledNumber.h.

References llvm::countLeadingZeros().

Referenced by toStringAPFloat().

void ScaledNumberBase::dump ( uint64_t  D,
int16_t  E,
int  Width 
) [static]

Definition at line 319 of file ScaledNumber.cpp.

References llvm::dbgs().

static uint64_t llvm::ScaledNumberBase::getHalf ( uint64_t  N) [inline, static]

Definition at line 432 of file ScaledNumber.h.

static int64_t llvm::ScaledNumberBase::joinSigned ( uint64_t  U,
bool  IsNeg 
) [inline, static]
raw_ostream & ScaledNumberBase::print ( raw_ostream OS,
uint64_t  D,
int16_t  E,
int  Width,
unsigned  Precision 
) [static]

Definition at line 314 of file ScaledNumber.cpp.

static std::pair<uint64_t, bool> llvm::ScaledNumberBase::splitSigned ( int64_t  N) [inline, static]
std::string ScaledNumberBase::toString ( uint64_t  D,
int16_t  E,
int  Width,
unsigned  Precision 
) [static]

Member Data Documentation

Definition at line 423 of file ScaledNumber.h.


The documentation for this class was generated from the following files: