/freebsd-10-stable/contrib/llvm/lib/Support/ |
H A D | ConstantRange.cpp | 46 assert(Lower.getBitWidth() == Upper.getBitWidth() && 57 uint32_t W = CR.getBitWidth(); 140 return contains(APInt::getSignedMaxValue(getBitWidth())) && 141 contains(APInt::getSignedMinValue(getBitWidth())); 148 APInt Size(getBitWidth()+1, 0); 149 Size.setBit(getBitWidth()); 154 return (Upper - Lower).zext(getBitWidth()+1); 162 return APInt::getMaxValue(getBitWidth()); 171 return APInt::getMinValue(getBitWidth()); [all...] |
H A D | APInt.cpp | 127 if (BitWidth == RHS.getBitWidth()) { 439 return APInt(val, getBitWidth()); 447 return APInt(val, getBitWidth()); 457 return APInt(val, getBitWidth()).clearUnusedBits(); 1399 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); 1403 t = signedMin + (d.lshr(d.getBitWidth() - 1)); 1405 p = d.getBitWidth() - 1; // initialize p 1429 mag.s = p - d.getBitWidth(); // resulting shift 1445 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); 1446 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); [all...] |
H A D | StringRef.cpp | 436 if (BitWidth < Result.getBitWidth()) 437 BitWidth = Result.getBitWidth(); // don't shrink the result 438 else if (BitWidth > Result.getBitWidth())
|
/freebsd-10-stable/contrib/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 269 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned()) 273 if (I1.getBitWidth() > I2.getBitWidth()) 274 return isSameValue(I1, I2.extend(I1.getBitWidth())); 275 else if (I2.getBitWidth() > I1.getBitWidth()) 276 return isSameValue(I1.extend(I2.getBitWidth()), I2);
|
H A D | APInt.h | 543 assert(NewLen >= V.getBitWidth() && "Can't splat to smaller bit width!"); 546 for (unsigned I = V.getBitWidth(); I < NewLen; I <<= 1) 555 if (I1.getBitWidth() == I2.getBitWidth()) 558 if (I1.getBitWidth() > I2.getBitWidth()) 559 return I1 == I2.zext(I1.getBitWidth()); 561 return I1.zext(I2.getBitWidth()) == I2; 765 return APInt(getBitWidth(), VAL & RHS.VAL); 780 return APInt(getBitWidth(), VA [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | APSIntType.h | 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 30 uint32_t getBitWidth() const { return BitWidth; } function in class:clang::ento::APSIntType
|
/freebsd-10-stable/contrib/llvm/utils/TableGen/ |
H A D | TGValueTypes.cpp | 56 return getBitWidth(); 58 unsigned getBitWidth() const { function in class:__anon3892::ExtendedIntegerType
|
/freebsd-10-stable/contrib/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 180 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || 181 ITy->getBitWidth() == 32) && 183 if (ITy->getBitWidth() == 8) 185 if (ITy->getBitWidth() == 16) 188 assert(ITy->getBitWidth() == 32 && "Unknown width");
|
/freebsd-10-stable/contrib/llvm/include/llvm/Support/ |
H A D | ConstantRange.h | 85 /// getBitWidth - get the bit width of this ConstantRange 87 uint32_t getBitWidth() const { return Lower.getBitWidth(); } function in class:llvm::ConstantRange
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 42 unsigned getBitWidth() const { return Val.getBitWidth(); } function in class:__anon3321::PPValue 313 if (Result.Val.getBitWidth() > Val.getBitWidth()) { 314 Result.Val = Val.extend(Result.Val.getBitWidth()); 316 assert(Result.Val.getBitWidth() == Val.getBitWidth() && 495 PPValue RHS(LHS.getBitWidth()); 538 llvm::APSInt Res(LHS.getBitWidth()); 602 Overflow = ShAmt >= LHS.Val.getBitWidth(); [all...] |
/freebsd-10-stable/contrib/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 61 unsigned getBitWidth() const { return getSubclassData(); } function in class:llvm::IntegerType 67 return ~uint64_t(0UL) >> (64-getBitWidth()); 73 return 1ULL << (getBitWidth()-1); 412 unsigned getBitWidth() const { function in class:llvm::VectorType
|
H A D | Operator.h | 445 assert(Offset.getBitWidth() == 461 Offset += APInt(Offset.getBitWidth(), 467 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth()); 468 Offset += Index * APInt(Offset.getBitWidth(),
|
H A D | MDBuilder.h | 83 assert(Lo.getBitWidth() == Hi.getBitWidth() && "Mismatched bitwidths!"); 89 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
|
/freebsd-10-stable/contrib/llvm/lib/IR/ |
H A D | Type.cpp | 59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; 79 return thisPTy->getBitWidth() == thatPTy->getBitWidth(); 81 thisPTy->getBitWidth() == 64) 87 if (thatPTy->getBitWidth() == 64) 126 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth(); 127 case Type::VectorTyID: return cast<VectorType>(this)->getBitWidth(); 179 return cast<IntegerType>(this)->getBitWidth(); 329 unsigned BitWidth = getBitWidth(); 334 return APInt::getAllOnesValue(getBitWidth()); [all...] |
H A D | ValueTypes.cpp | 99 return ITy->getBitWidth(); 101 return VTy->getBitWidth(); 255 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth()); 280 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
|
H A D | ConstantFold.cpp | 140 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() && 200 (cast<IntegerType>(C->getType())->getBitWidth() & 7) == 0 && 202 unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8; 298 cast<IntegerType>(CE->getOperand(0)->getType())->getBitWidth(); 592 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); 661 uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth(); 668 uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth(); 674 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); 684 (cast<IntegerType>(V->getType())->getBitWidth() [all...] |
/freebsd-10-stable/contrib/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 38 /// getBitWidth - Returns the bitwidth of the given scalar or pointer type (if 40 static unsigned getBitWidth(Type *Ty, const DataLayout *TD) { function 57 unsigned BitWidth = KnownZero.getBitWidth(); 75 unsigned BitWidth = KnownZero.getBitWidth(); 137 unsigned BitWidth = KnownZero.getBitWidth(); 196 unsigned BitWidth = KnownZero.getBitWidth(); 233 unsigned BitWidth = KnownZero.getBitWidth(); 242 KnownZero.getBitWidth() == BitWidth && 243 KnownOne.getBitWidth() == BitWidth && 266 APInt Elt(KnownZero.getBitWidth(), [all...] |
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/ |
H A D | MemoryBuiltins.h | 182 return SizeOffset.first.getBitWidth() > 1; 186 return SizeOffset.second.getBitWidth() > 1;
|
H A D | PtrUseVisitor.h | 210 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | BasicValueFactory.cpp | 180 if (Amt > V1.getBitWidth()) 198 if (Amt > V1.getBitWidth())
|
H A D | SimpleConstraintManager.cpp | 237 if (ComparisonType.getBitWidth() == WraparoundType.getBitWidth() &&
|
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 180 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 181 KnownZero.getBitWidth() == Min.getBitWidth() && 182 KnownZero.getBitWidth() == Max.getBitWidth() && 192 Min.setBit(Min.getBitWidth()-1); 193 Max.clearBit(Max.getBitWidth()-1); 204 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() [all...] |
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 67 switch (cast<IntegerType>(Ty)->getBitWidth()) { 117 switch (cast<IntegerType>(Ty)->getBitWidth()) { 137 switch (cast<IntegerType>(Ty)->getBitWidth()) { 228 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 163 if (FieldSize > FieldValue.getBitWidth()) 167 if (FieldSize < FieldValue.getBitWidth()) 179 BitsInPreviousByte >= FieldValue.getBitWidth(); 204 Tmp = Tmp.shl(BitsInPreviousByte - FieldValue.getBitWidth()); 248 while (FieldValue.getBitWidth() > CharWidth) { 254 FieldValue.lshr(FieldValue.getBitWidth() - CharWidth).trunc(CharWidth); 265 FieldValue = FieldValue.trunc(FieldValue.getBitWidth() - CharWidth); 268 assert(FieldValue.getBitWidth() > 0 && 270 assert(FieldValue.getBitWidth() <= CharWidth && 273 if (FieldValue.getBitWidth() < CharWidt [all...] |
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 964 if (ITy->getBitWidth() % 8 != 0 || 965 ITy->getBitWidth() / 8 > (EndOffset - B->beginOffset())) 1268 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8); 1280 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); 1300 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index)); 1333 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); 1375 APInt Int8PtrOffset(Offset.getBitWidth(), 0); 1382 APInt GEPOffset(Offset.getBitWidth(), 0); 1457 if (NewITy->getBitWidth() >= OldITy->getBitWidth()) [all...] |