/external/llvm/lib/Support/ |
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 return APInt(getBitWidth()+1, 0); 151 APInt Size(getBitWidth()+1, 0); 152 Size.setBit(getBitWidth()); 157 return (Upper - Lower).zext(getBitWidth()+1); 165 return APInt::getMaxValue(getBitWidth()); [all...] |
APInt.cpp | 127 if (BitWidth == RHS.getBitWidth()) { 439 return APInt(val, getBitWidth()); 447 return APInt(val, getBitWidth()); 457 return APInt(val, getBitWidth()).clearUnusedBits(); [all...] |
StringRef.cpp | 417 if (BitWidth < Result.getBitWidth()) 418 BitWidth = Result.getBitWidth(); // don't shrink the result 419 else if (BitWidth > Result.getBitWidth())
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 30 uint32_t getBitWidth() const { return BitWidth; }
|
/external/llvm/include/llvm/ADT/ |
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);
|
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); 778 return APInt(getBitWidth(), VAL | RHS.VAL) [all...] |
/external/llvm/utils/TableGen/ |
TGValueTypes.cpp | 52 return getBitWidth(); 54 unsigned getBitWidth() const {
|
/external/llvm/lib/Target/ |
TargetLoweringObjectFile.cpp | 170 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || 171 ITy->getBitWidth() == 32) && 173 if (ITy->getBitWidth() == 8) 175 if (ITy->getBitWidth() == 16) 178 assert(ITy->getBitWidth() == 32 && "Unknown width");
|
/external/llvm/include/llvm/Support/ |
ConstantRange.h | 85 /// getBitWidth - get the bit width of this ConstantRange 87 uint32_t getBitWidth() const { return Lower.getBitWidth(); }
|
IntegersSubset.h | 89 return (*this) op APInt(getAPIntValue().getBitWidth(), RHS); \ 411 APInt sz(((const APInt&)getItem(0).getLow()).getBitWidth(), 0); 426 APInt sz(((const APInt&)getItem(0).getLow()).getBitWidth(), 0); 435 APInt Offset(oldSz.getBitWidth(), idx);
|
/external/llvm/include/llvm/IR/ |
DerivedTypes.h | 61 unsigned getBitWidth() const { return getSubclassData(); } 67 return ~uint64_t(0UL) >> (64-getBitWidth()); 73 return 1ULL << (getBitWidth()-1); 412 unsigned getBitWidth() const {
|
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(),
|
MDBuilder.h | 83 assert(Lo.getBitWidth() == Hi.getBitWidth() && "Mismatched bitwidths!"); 89 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
|
/external/clang/lib/Lex/ |
PPExpressions.cpp | 42 unsigned getBitWidth() const { return Val.getBitWidth(); } 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...] |
/external/llvm/lib/IR/ |
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...] |
ValueTypes.cpp | 99 return ITy->getBitWidth(); 101 return VTy->getBitWidth(); 245 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth()); 270 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
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()) {
|
/frameworks/compile/slang/ |
slang_rs_reflection_base.cpp | 167 if (api.getBitWidth() > 32) {
|
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 37 /// getBitWidth - Returns the bitwidth of the given scalar or pointer type (if 39 static unsigned getBitWidth(Type *Ty, const DataLayout *TD) { 56 unsigned BitWidth = KnownZero.getBitWidth(); 74 unsigned BitWidth = KnownZero.getBitWidth(); 136 unsigned BitWidth = KnownZero.getBitWidth(); 195 unsigned BitWidth = KnownZero.getBitWidth(); 232 unsigned BitWidth = KnownZero.getBitWidth(); 241 KnownZero.getBitWidth() == BitWidth && 242 KnownOne.getBitWidth() == BitWidth && 265 APInt Elt(KnownZero.getBitWidth(), 0) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
BasicValueFactory.cpp | 180 if (Amt > V1.getBitWidth()) 198 if (Amt > V1.getBitWidth())
|
/external/llvm/include/llvm/Analysis/ |
MemoryBuiltins.h | 178 return SizeOffset.first.getBitWidth() > 1; 182 return SizeOffset.second.getBitWidth() > 1;
|
PtrUseVisitor.h | 210 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/external/llvm/lib/Transforms/InstCombine/ |
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...] |
/art/compiler/llvm/ |
runtime_support_builder_arm.cc | 44 ::llvm::cast<IntegerType>(type)->getBitWidth();
|
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | 184 if (FieldSize > FieldValue.getBitWidth()) 188 if (FieldSize < FieldValue.getBitWidth()) 200 BitsInPreviousByte >= FieldValue.getBitWidth(); 225 Tmp = Tmp.shl(BitsInPreviousByte - FieldValue.getBitWidth()); 269 while (FieldValue.getBitWidth() > CharWidth) { 275 FieldValue.lshr(FieldValue.getBitWidth() - CharWidth).trunc(CharWidth); 286 FieldValue = FieldValue.trunc(FieldValue.getBitWidth() - CharWidth); 289 assert(FieldValue.getBitWidth() > 0 && 291 assert(FieldValue.getBitWidth() <= CharWidth && 294 if (FieldValue.getBitWidth() < CharWidth) [all...] |