/external/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 422 /// Generate code to compute the remainder of two integers of bitwidth up to 441 llvm_unreachable("Div of bitwidth greater than 32 not supported"); 446 // If bitwidth smaller than 32 extend inputs, truncate output and proceed 475 /// Generate code to divide two integers of bitwidth up to 32 bits. Uses the 493 llvm_unreachable("Div of bitwidth greater than 32 not supported"); 498 // If bitwidth smaller than 32 extend inputs, truncate output and proceed
|
SimplifyIndVar.cpp | 117 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth(); 118 if (D->getValue().uge(BitWidth)) 122 APInt::getOneBitSet(BitWidth, D->getZExtValue()));
|
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 590 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); 591 GV.IntVal = GV.IntVal.trunc(BitWidth); 596 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); 597 GV.IntVal = GV.IntVal.zext(BitWidth); 602 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); 603 GV.IntVal = GV.IntVal.sext(BitWidth); 651 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); 653 GV.IntVal = APIntOps::RoundFloatToAPInt(GV.FloatVal, BitWidth); 655 GV.IntVal = APIntOps::RoundDoubleToAPInt(GV.DoubleVal, BitWidth); 660 (void)apf.convertToInteger(&v, BitWidth, [all...] |
/external/llvm/utils/TableGen/ |
FixedLenDecoderEmitter.cpp | 101 unsigned Indentation, unsigned BitWidth, 332 unsigned BitWidth; 342 BestIndex(FC.BestIndex), BitWidth(FC.BitWidth), 351 Parent(NULL), BestIndex(-1), BitWidth(BW), Emitter(E) { 352 for (unsigned i = 0; i < BitWidth; ++i) 365 Parent(&parent), BestIndex(-1), BitWidth(parent.BitWidth), 370 unsigned getBitWidth() const { return BitWidth; } 385 for (unsigned i = 0; i < BitWidth; ++i) [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 694 // Suppose, W is the bitwidth of the return value. We must be prepared for [all...] |
ConstantFolding.cpp | 554 unsigned BitWidth = DL->getTypeSizeInBits(Op0->getType()->getScalarType()); 555 APInt KnownZero0(BitWidth, 0), KnownOne0(BitWidth, 0); 556 APInt KnownZero1(BitWidth, 0), KnownOne1(BitWidth, 0); 587 // PtrToInt may change the bitwidth so we have convert to the right size 685 unsigned BitWidth = TD->getTypeSizeInBits(IntPtrTy); 687 APInt(BitWidth, TD->getIndexedOffset(Ptr->getType(), 708 Offset += APInt(BitWidth, 715 APInt BasePtr(BitWidth, 0) [all...] |
Lint.cpp | 511 unsigned BitWidth = cast<IntegerType>(V->getType())->getBitWidth(); 512 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
|
/external/llvm/lib/IR/ |
DataLayout.cpp | 356 uint32_t BitWidth, bool ABIInfo, 363 Alignments[i].TypeBitWidth == BitWidth) 370 // the BitWidth requested. 371 if (Alignments[i].TypeBitWidth > BitWidth && (BestMatchIdx == -1 || 587 /// an integer type of the specified bitwidth. 588 unsigned DataLayout::getABIIntegerTypeAlignment(unsigned BitWidth) const { 589 return getAlignmentInfo(INTEGER_ALIGN, BitWidth, true, 0);
|
Type.cpp | 58 bool Type::isIntegerTy(unsigned Bitwidth) const { 59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; 306 assert(NumBits >= MIN_INT_BITS && "bitwidth too small"); 307 assert(NumBits <= MAX_INT_BITS && "bitwidth too large"); 329 unsigned BitWidth = getBitWidth(); 330 return (BitWidth > 7) && isPowerOf2_32(BitWidth);
|
ValueTypes.cpp | 28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { 30 VT.LLVMTy = IntegerType::get(Context, BitWidth);
|
Instructions.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineShifts.cpp | 91 uint32_t BitWidth = Ty->getScalarSizeInBits(); 93 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && 94 CI->getLimitedValue(BitWidth) < BitWidth) { 729 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); 736 isPowerOf2_32(BitWidth) && Log2_32(BitWidth) == ShAmt) {
|
InstCombineAndOrXor.cpp | 209 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); 210 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); 211 APInt ShlMask(APInt::getHighBitsSet(BitWidth, BitWidth-OpRHSVal)); 229 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); 230 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); 231 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); 249 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); 250 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); [all...] |
InstCombineCompares.cpp | 183 "KnownZero, KnownOne and Min, Max must have equal bitwidth."); 207 "Ty, KnownZero, KnownOne and Min, Max must have equal bitwidth."); 778 unsigned BitWidth = CI->getType()->getPrimitiveSizeInBits(); 780 APInt::getSignedMaxValue(BitWidth)); [all...] |
/external/llvm/lib/Support/ |
ConstantRange.cpp | 32 ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) { 34 Lower = Upper = APInt::getMaxValue(BitWidth); 36 Lower = Upper = APInt::getMinValue(BitWidth); 137 /// its bitwidth, for example: i8 [120, 140). 494 // Chop off the most significant bits that are past the destination bitwidth.
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libico.cpp | 230 int bitWidth = w*bitCount; 231 int test = bitWidth & 0x1F; 233 int lineBitWidth = (bitWidth & 0xFFFFFFE0) + (0x20 & mask);
|
/external/skia/src/images/ |
SkImageDecoder_libico.cpp | 230 int bitWidth = w*bitCount; 231 int test = bitWidth & 0x1F; 233 int lineBitWidth = (bitWidth & 0xFFFFFFE0) + (0x20 & mask);
|
/external/llvm/include/llvm/ADT/ |
APSInt.h | 30 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true) 31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
|
/frameworks/compile/slang/ |
slang_rs_export_func.cpp | 99 /* BitWidth = */ NULL,
|
/external/clang/lib/Lex/ |
PPExpressions.cpp | 40 PPValue(unsigned BitWidth) : Val(BitWidth) {} 754 unsigned BitWidth = getTargetInfo().getIntMaxTWidth(); 756 PPValue ResVal(BitWidth);
|
/external/clang/test/Sema/ |
designated-initializers.c | 118 int bitwidth[] = { [(long long int)1] = 5, [(short int)2] = 2 }; variable
|
/external/llvm/include/llvm/Analysis/ |
ScalarEvolution.h | 88 /// bitwidth. Formally, a recurrence with no self-wraparound satisfies: 89 /// abs(step) * max-iteration(loop) <= unsigned-max(bitwidth). 568 /// getEffectiveSCEVType - Return a type with the same bitwidth as [all...] |
/external/llvm/lib/Target/AArch64/AsmParser/ |
AArch64AsmParser.cpp | 715 template<int BitWidth> 722 return CE->getValue() >= -(1LL << (BitWidth - 1)) 723 && CE->getValue() < (1LL << (BitWidth - 1)); 726 template<int bitWidth> 733 return CE->getValue() >= 0 && CE->getValue() < (1LL << bitWidth); 911 template<int BitWidth> 917 Inst.addOperand(MCOperand::CreateImm(Val & ((1ULL << BitWidth) - 1))); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleSValBuilder.cpp | 141 unsigned BitWidth = Context.getTypeSize(castTy); 144 return makeLocAsInteger(val, BitWidth); 856 // Convert the bitwidth of rightI. This should deal with overflow [all...] |
/external/llvm/lib/Transforms/IPO/ |
MergeFunctions.cpp | 357 unsigned BitWidth = TD ? TD->getPointerSizeInBits() : 1; 358 APInt Offset1(BitWidth, 0), Offset2(BitWidth, 0);
|