HomeSort by relevance Sort by last modified time
    Searched defs:APInt (Results 1 - 4 of 4) sorted by null

  /external/clang/test/SemaCXX/
unused.cpp 5 class APInt {
8 class APSInt : public APInt {
15 APInt::operator=(RHS);
  /external/llvm/include/llvm/ADT/
APInt.h 1 //===-- llvm/ADT/APInt.h - For Arbitrary Precision Integer -----*- C++ -*--===//
46 // APInt Class
51 /// APInt is a functional replacement for common case unsigned integer type like
54 /// than 64-bits of precision. APInt provides a variety of arithmetic operators
63 /// * All binary operators must be on APInt instances of the same bit width.
75 class APInt {
76 unsigned BitWidth; ///< The number of bits in this APInt.
85 /// This enum is used to hold the constants we needed for APInt.
98 APInt(uint64_t *val, unsigned bits) : BitWidth(bits), pVal(val) {}
100 /// \brief Determine if this APInt just has one word to store value
    [all...]
  /external/llvm/lib/Support/
APInt.cpp 1 //===-- APInt.cpp - Implement APInt class ---------------------------------===//
15 #define DEBUG_TYPE "apint"
16 #include "llvm/ADT/APInt.h"
35 assert(result && "APInt memory allocation fails!");
44 assert(result && "APInt memory allocation fails!");
76 void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) {
84 void APInt::initSlowCase(const APInt& that) {
89 void APInt::initFromArray(ArrayRef<uint64_t> bigVal)
    [all...]
  /external/llvm/include/llvm/Support/
IntegersSubset.h 28 // The IntItem is a wrapper for APInt.
33 // 3. Currently we can interpret IntItem both as ConstantInt and as APInt.
35 // non-updated passes. And it allows to use APInt interface for new methods.
36 // 4. IntItem can be easily replaced with APInt.
38 // The set of macros that allows to propagate APInt operators to the IntItem.
41 bool operator op (const APInt& RHS) const { \
47 APInt res = op(getAPIntValue()); \
53 IntItem operator op (const APInt& RHS) const { \
54 APInt res = getAPIntValue() op RHS; \
60 IntItem& operator op (const APInt& RHS) {
    [all...]

Completed in 68 milliseconds