LLVM API Documentation

MathExtras.h File Reference

#include "llvm/Support/DataTypes.h"
#include "llvm/System/IncludeFile.h"

Include dependency graph for MathExtras.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm

Functions

unsigned llvm::Hi_32 (uint64_t Value)
unsigned llvm::Lo_32 (uint64_t Value)
bool llvm::isInt8 (int Value)
bool llvm::isUInt8 (int Value)
bool llvm::isInt16 (int Value)
bool llvm::isUInt16 (int Value)
bool llvm::isInt32 (int64_t Value)
bool llvm::isUInt32 (int64_t Value)
const bool llvm::isMask_32 (unsigned Value)
const bool llvm::isMask_64 (uint64_t Value)
const bool llvm::isShiftedMask_32 (unsigned Value)
const bool llvm::isShiftedMask_64 (uint64_t Value)
bool llvm::isPowerOf2_32 (unsigned Value)
bool llvm::isPowerOf2_64 (uint64_t Value)
unsigned short llvm::ByteSwap_16 (unsigned short Value)
unsigned llvm::ByteSwap_32 (unsigned Value)
uint64_t llvm::ByteSwap_64 (uint64_t Value)
unsigned llvm::CountLeadingZeros_32 (unsigned Value)
unsigned llvm::CountLeadingZeros_64 (uint64_t Value)
unsigned llvm::CountTrailingZeros_32 (unsigned Value)
unsigned llvm::CountTrailingZeros_64 (uint64_t Value)
unsigned llvm::CountPopulation_32 (unsigned Value)
unsigned llvm::CountPopulation_64 (uint64_t Value)
unsigned llvm::Log2_32 (unsigned Value)
unsigned llvm::Log2_64 (uint64_t Value)
unsigned llvm::Log2_32_Ceil (unsigned Value)
unsigned llvm::Log2_64_Ceil (uint64_t Value)
double llvm::BitsToDouble (uint64_t Bits)
float llvm::BitsToFloat (uint32_t Bits)
uint64_t llvm::DoubleToBits (double Double)
uint32_t llvm::FloatToBits (float Float)
int llvm::IsNAN (float f)
int llvm::IsNAN (double d)
int llvm::IsInf (float f)
int llvm::IsInf (double d)