#include "llvm/ADT/ArrayRef.h"#include "llvm/Support/MathExtras.h"#include <cassert>#include <climits>#include <cstring>#include <string>Go to the source code of this file.
Classes | |
| class | llvm::APInt |
| APInt - This class represents arbitrary precision constant integral values. More... | |
| struct | llvm::APInt::ms |
| Magic data for optimising signed division by a constant. More... | |
| struct | llvm::APInt::mu |
| Magic data for optimising unsigned division by a constant. More... | |
Namespaces | |
| namespace | llvm |
| namespace | llvm::APIntOps |
Typedefs | |
| typedef uint64_t | llvm::integerPart |
Functions | |
| bool | llvm::operator== (uint64_t V1, const APInt &V2) |
| bool | llvm::operator!= (uint64_t V1, const APInt &V2) |
| std::ostream & | llvm::operator<< (std::ostream &OS, const APInt &I) |
| APInt | llvm::APIntOps::smin (const APInt &A, const APInt &B) |
| Determine the smaller of two APInts considered to be signed. | |
| APInt | llvm::APIntOps::smax (const APInt &A, const APInt &B) |
| Determine the larger of two APInts considered to be signed. | |
| APInt | llvm::APIntOps::umin (const APInt &A, const APInt &B) |
| Determine the smaller of two APInts considered to be signed. | |
| APInt | llvm::APIntOps::umax (const APInt &A, const APInt &B) |
| Determine the larger of two APInts considered to be unsigned. | |
| bool | llvm::APIntOps::isIntN (unsigned N, const APInt &APIVal) |
| Check if the specified APInt has a N-bits unsigned integer value. | |
| bool | llvm::APIntOps::isSignedIntN (unsigned N, const APInt &APIVal) |
| Check if the specified APInt has a N-bits signed integer value. | |
| bool | llvm::APIntOps::isMask (unsigned numBits, const APInt &APIVal) |
| bool | llvm::APIntOps::isShiftedMask (unsigned numBits, const APInt &APIVal) |
| APInt | llvm::APIntOps::byteSwap (const APInt &APIVal) |
| unsigned | llvm::APIntOps::logBase2 (const APInt &APIVal) |
| APInt | llvm::APIntOps::GreatestCommonDivisor (const APInt &Val1, const APInt &Val2) |
| GreatestCommonDivisor - This function returns the greatest common divisor of the two APInt values using Euclid's algorithm. | |
| double | llvm::APIntOps::RoundAPIntToDouble (const APInt &APIVal) |
| Treats the APInt as an unsigned value for conversion purposes. | |
| double | llvm::APIntOps::RoundSignedAPIntToDouble (const APInt &APIVal) |
| Treats the APInt as a signed value for conversion purposes. | |
| float | llvm::APIntOps::RoundAPIntToFloat (const APInt &APIVal) |
| Converts the given APInt to a float vlalue. | |
| float | llvm::APIntOps::RoundSignedAPIntToFloat (const APInt &APIVal) |
| Treast the APInt as a signed value for conversion purposes. | |
| APInt | llvm::APIntOps::RoundDoubleToAPInt (double Double, unsigned width) |
| RoundDoubleToAPInt - This function convert a double value to an APInt value. | |
| APInt | llvm::APIntOps::RoundFloatToAPInt (float Float, unsigned width) |
| RoundFloatToAPInt - Converts a float value into an APInt value. | |
| APInt | llvm::APIntOps::ashr (const APInt &LHS, unsigned shiftAmt) |
| Arithmetic right-shift the APInt by shiftAmt. | |
| APInt | llvm::APIntOps::lshr (const APInt &LHS, unsigned shiftAmt) |
| Logical right-shift the APInt by shiftAmt. | |
| APInt | llvm::APIntOps::shl (const APInt &LHS, unsigned shiftAmt) |
| Left-shift the APInt by shiftAmt. | |
| APInt | llvm::APIntOps::sdiv (const APInt &LHS, const APInt &RHS) |
| Signed divide APInt LHS by APInt RHS. | |
| APInt | llvm::APIntOps::udiv (const APInt &LHS, const APInt &RHS) |
| Unsigned divide APInt LHS by APInt RHS. | |
| APInt | llvm::APIntOps::srem (const APInt &LHS, const APInt &RHS) |
| Signed remainder operation on APInt. | |
| APInt | llvm::APIntOps::urem (const APInt &LHS, const APInt &RHS) |
| Unsigned remainder operation on APInt. | |
| APInt | llvm::APIntOps::mul (const APInt &LHS, const APInt &RHS) |
| Performs multiplication on APInt values. | |
| APInt | llvm::APIntOps::add (const APInt &LHS, const APInt &RHS) |
| Performs addition on APInt values. | |
| APInt | llvm::APIntOps::sub (const APInt &LHS, const APInt &RHS) |
| Performs subtraction on APInt values. | |
| APInt | llvm::APIntOps::And (const APInt &LHS, const APInt &RHS) |
| Performs bitwise AND operation on APInt LHS and APInt RHS. | |
| APInt | llvm::APIntOps::Or (const APInt &LHS, const APInt &RHS) |
| Performs bitwise OR operation on APInt LHS and APInt RHS. | |
| APInt | llvm::APIntOps::Xor (const APInt &LHS, const APInt &RHS) |
| Performs bitwise XOR operation on APInt. | |
| APInt | llvm::APIntOps::Not (const APInt &APIVal) |
| Performs a bitwise complement operation on APInt. | |
Variables | |
| const unsigned int | llvm::host_char_bit = 8 |
| const unsigned int | llvm::integerPartWidth |
1.6.1