/external/llvm/lib/Support/ |
ConstantRange.cpp | 45 assert(L.getBitWidth() == U.getBitWidth() && 56 uint32_t W = CR.getBitWidth(); 139 return contains(APInt::getSignedMaxValue(getBitWidth())) && 140 contains(APInt::getSignedMinValue(getBitWidth())); 147 return APInt(getBitWidth(), 0); 148 if (getBitWidth() == 1) { 163 return APInt::getMaxValue(getBitWidth()); 173 return APInt::getMinValue(getBitWidth()); 182 APInt SignedMax(APInt::getSignedMaxValue(getBitWidth())); [all...] |
APInt.cpp | 126 if (BitWidth == RHS.getBitWidth()) { 438 return APInt(val, getBitWidth()); 446 return APInt(val, getBitWidth()); 456 return APInt(val, getBitWidth()).clearUnusedBits(); 497 assert(bitPosition < getBitWidth() && "Bit position out of bounds!"); [all...] |
APFloat.cpp | [all...] |
/external/llvm/utils/TableGen/ |
TGValueTypes.cpp | 37 return getBitWidth(); 39 unsigned getBitWidth() const {
|
/external/llvm/include/llvm/Support/ |
ConstantRange.h | 77 /// getBitWidth - get the bit width of this ConstantRange 79 uint32_t getBitWidth() const { return Lower.getBitWidth(); }
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
BasicValueFactory.h | 102 To.getBitWidth() == From.getBitWidth()) 105 return getValue(From.getSExtValue(), To.getBitWidth(), To.isUnsigned()); 114 if (isUnsigned == From.isUnsigned() && bitwidth == From.getBitWidth()) 126 return getValue(llvm::APSInt::getMaxValue(v.getBitWidth(), v.isUnsigned())); 130 return getValue(llvm::APSInt::getMinValue(v.getBitWidth(), v.isUnsigned()));
|
/external/llvm/lib/Target/ |
TargetLoweringObjectFile.cpp | 176 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || 177 ITy->getBitWidth() == 32) && 179 if (ITy->getBitWidth() == 8) 181 if (ITy->getBitWidth() == 16) 184 assert(ITy->getBitWidth() == 32 && "Unknown width");
|
/external/llvm/include/llvm/ |
DerivedTypes.h | 60 unsigned getBitWidth() const { return getSubclassData(); } 66 return ~uint64_t(0UL) >> (64-getBitWidth()); 72 return 1ULL << (getBitWidth()-1); 411 unsigned getBitWidth() const {
|
/external/llvm/include/llvm/ADT/ |
APInt.h | 351 if (N >= getBitWidth()) 356 return APInt(N, makeArrayRef(pVal, getNumWords())).zext(getBitWidth()) 655 return APInt(getBitWidth(), VAL & RHS.VAL); 668 return APInt(getBitWidth(), VAL | RHS.VAL); [all...] |
/external/clang/lib/Lex/ |
PPExpressions.cpp | 41 unsigned getBitWidth() const { return Val.getBitWidth(); } 287 if (Result.Val.getBitWidth() > Val.getBitWidth()) { 288 Result.Val = Val.extend(Result.Val.getBitWidth()); 290 assert(Result.Val.getBitWidth() == Val.getBitWidth() && 469 PPValue RHS(LHS.getBitWidth()); 512 llvm::APSInt Res(LHS.getBitWidth()); 576 Overflow = ShAmt >= LHS.Val.getBitWidth(); [all...] |
/external/llvm/lib/VMCore/ |
ValueTypes.cpp | 87 return ITy->getBitWidth(); 89 return VTy->getBitWidth(); 204 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
|
Type.cpp | 51 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; 94 return thisPTy->getBitWidth() == thatPTy->getBitWidth(); 96 thisPTy->getBitWidth() == 64) 102 if (thatPTy->getBitWidth() == 64) 140 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth(); 141 case Type::VectorTyID: return cast<VectorType>(this)->getBitWidth(); 297 unsigned BitWidth = getBitWidth(); 302 return APInt::getAllOnesValue(getBitWidth());
|
/external/clang/lib/StaticAnalyzer/Core/ |
BasicConstraintManager.cpp | 174 if (V == llvm::APSInt::getMinValue(V.getBitWidth(), V.isUnsigned())) { 189 if (V == llvm::APSInt::getMaxValue(V.getBitWidth(), V.isUnsigned())) { 211 if (V == llvm::APSInt::getMaxValue(V.getBitWidth(), V.isUnsigned())) { 240 if (V == llvm::APSInt::getMinValue(V.getBitWidth(), V.isUnsigned())) {
|
BasicValueFactory.cpp | 183 if (Amt > V1.getBitWidth()) 201 if (Amt > V1.getBitWidth())
|
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 35 /// getBitWidth - Returns the bitwidth of the given scalar or pointer type (if 37 static unsigned getBitWidth(Type *Ty, const TargetData *TD) { 65 unsigned BitWidth = Mask.getBitWidth(); 72 KnownZero.getBitWidth() == BitWidth && 73 KnownOne.getBitWidth() == BitWidth && 697 unsigned BitWidth = getBitWidth(V->getType(), TD); 773 unsigned BitWidth = getBitWidth(V->getType(), TD); [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
ExternalFunctions.cpp | 67 switch (cast<IntegerType>(Ty)->getBitWidth()) { 116 switch (cast<IntegerType>(Ty)->getBitWidth()) { 136 switch (cast<IntegerType>(Ty)->getBitWidth()) { 227 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
|
Execution.cpp | 787 cast<IntegerType>(I.getOperand()->getType())->getBitWidth(); [all...] |
/external/clang/include/clang/AST/ |
APValue.h | 191 assert(R.getBitWidth() == I.getBitWidth() &&
|
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngineBindings.cpp | 29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); 55 return unwrap(GenValRef)->IntVal.getBitWidth();
|
ExecutionEngine.cpp | 558 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); 564 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); 570 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); 619 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); 644 if (PtrWidth != GV.IntVal.getBitWidth()) 646 assert(GV.IntVal.getBitWidth() <= 64 && "Bad pointer width"); 825 assert((IntVal.getBitWidth()+7)/8 >= StoreBytes && "Integer too small!"); 883 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!"); [all...] |
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | 154 if (FieldSize > FieldValue.getBitWidth()) 158 if (FieldSize < FieldValue.getBitWidth()) 170 BitsInPreviousByte >= FieldValue.getBitWidth(); 195 Tmp = Tmp.shl(BitsInPreviousByte - FieldValue.getBitWidth()); 239 while (FieldValue.getBitWidth() > CharWidth) { 245 FieldValue.lshr(FieldValue.getBitWidth() - CharWidth).trunc(CharWidth); 256 FieldValue = FieldValue.trunc(FieldValue.getBitWidth() - CharWidth); 259 assert(FieldValue.getBitWidth() > 0 && 261 assert(FieldValue.getBitWidth() <= CharWidth && 264 if (FieldValue.getBitWidth() < CharWidth) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 50 uint32_t BitWidth = cast<IntegerType>(V->getType())->getBitWidth(); 192 APInt Mask = APInt::getAllOnesValue(IT->getBitWidth()); 193 APInt LHSKnownOne(IT->getBitWidth(), 0); 194 APInt LHSKnownZero(IT->getBitWidth(), 0); 197 APInt RHSKnownOne(IT->getBitWidth(), 0); 198 APInt RHSKnownZero(IT->getBitWidth(), 0);
|
InstCombineCompares.cpp | 154 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 155 KnownZero.getBitWidth() == Min.getBitWidth() && 156 KnownZero.getBitWidth() == Max.getBitWidth() && 166 Min.setBit(Min.getBitWidth()-1); 167 Max.clearBit(Max.getBitWidth()-1); 178 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() & [all...] |
InstCombineAndOrXor.cpp | 272 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); 293 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); 314 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); 387 uint32_t BitWidth = Val->getType()->getBitWidth(); 423 Mask->getValue().getBitWidth()) 431 uint32_t BitWidth = cast<IntegerType>(RHS->getType())->getBitWidth(); 442 Mask->getValue().countPopulation()) == Mask->getValue().getBitWidth() 795 unsigned BigBitSize = BigCst->getType()->getBitWidth(); 796 unsigned SmallBitSize = SmallCst->getType()->getBitWidth(); [all...] |
/frameworks/compile/libbcc/lib/CodeGen/ |
CodeEmitter.cpp | 202 llvm::cast<llvm::IntegerType>(CE->getType())->getBitWidth(); 211 llvm::cast<llvm::IntegerType>(CE->getType())->getBitWidth(); 220 llvm::cast<llvm::IntegerType>(CE->getType())->getBitWidth(); 277 llvm::cast<llvm::IntegerType>(CE->getType())->getBitWidth(); 313 if (PtrWidth != Result.IntVal.getBitWidth()) 315 bccAssert(Result.IntVal.getBitWidth() <= 64 && "Bad pointer width"); 604 bccAssert(((IntVal.getBitWidth() + 7) / 8 >= StoreBytes) && [all...] |