class ScaledNumberBase
Declaration
class ScaledNumberBase { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/ScaledNumber.h:419
Member Variables
- public static const int DefaultPrecision = 10
Method Overview
- public static int countLeadingZeros32(uint32_t N)
- public static int countLeadingZeros64(uint64_t N)
- public static void dump(uint64_t D, int16_t E, int Width)
- public static uint64_t getHalf(uint64_t N)
- public static int64_t joinSigned(uint64_t U, bool IsNeg)
- public static llvm::raw_ostream & print(llvm::raw_ostream & OS, uint64_t D, int16_t E, int Width, unsigned int Precision)
- public static std::pair<uint64_t, bool> splitSigned(int64_t N)
- public static std::string toString(uint64_t D, int16_t E, int Width, unsigned int Precision)
Methods
¶static int countLeadingZeros32(uint32_t N)
static int countLeadingZeros32(uint32_t N)
Declared at: llvm/include/llvm/Support/ScaledNumber.h:428
Parameters
- uint32_t N
¶static int countLeadingZeros64(uint64_t N)
static int countLeadingZeros64(uint64_t N)
Declared at: llvm/include/llvm/Support/ScaledNumber.h:429
Parameters
- uint64_t N
¶static void dump(uint64_t D, int16_t E, int Width)
static void dump(uint64_t D, int16_t E, int Width)
Declared at: llvm/include/llvm/Support/ScaledNumber.h:423
Parameters
- uint64_t D
- int16_t E
- int Width
¶static uint64_t getHalf(uint64_t N)
static uint64_t getHalf(uint64_t N)
Declared at: llvm/include/llvm/Support/ScaledNumber.h:430
Parameters
- uint64_t N
¶static int64_t joinSigned(uint64_t U, bool IsNeg)
static int64_t joinSigned(uint64_t U, bool IsNeg)
Declared at: llvm/include/llvm/Support/ScaledNumber.h:438
Parameters
- uint64_t U
- bool IsNeg
¶static llvm::raw_ostream& print(
llvm::raw_ostream& OS,
uint64_t D,
int16_t E,
int Width,
unsigned int Precision)
static llvm::raw_ostream& print(
llvm::raw_ostream& OS,
uint64_t D,
int16_t E,
int Width,
unsigned int Precision)
Declared at: llvm/include/llvm/Support/ScaledNumber.h:424
Parameters
- llvm::raw_ostream& OS
- uint64_t D
- int16_t E
- int Width
- unsigned int Precision
¶static std::pair<uint64_t, bool> splitSigned(
int64_t N)
static std::pair<uint64_t, bool> splitSigned(
int64_t N)
Declared at: llvm/include/llvm/Support/ScaledNumber.h:432
Parameters
- int64_t N
¶static std::string toString(
uint64_t D,
int16_t E,
int Width,
unsigned int Precision)
static std::string toString(
uint64_t D,
int16_t E,
int Width,
unsigned int Precision)
Declared at: llvm/include/llvm/Support/ScaledNumber.h:426
Parameters
- uint64_t D
- int16_t E
- int Width
- unsigned int Precision