HomeSort by relevance Sort by last modified time
    Searched full:bitwidth (Results 51 - 75 of 204) sorted by null

1 23 4 5 6 7 8 9

  /external/llvm/lib/Transforms/InstCombine/
InstCombineCalls.cpp 262 unsigned BitWidth = VT->getElementType()->getPrimitiveSizeInBits();
263 assert((64 % BitWidth) == 0 && "Unexpected packed shift size");
264 unsigned NumSubElts = 64 / BitWidth;
270 Count = Count.shl(BitWidth);
281 unsigned BitWidth = SVT->getPrimitiveSizeInBits();
287 // Handle cases when Shift >= BitWidth.
288 if (Count.uge(BitWidth)) {
293 // If ArithmeticShift - clamp Shift to (BitWidth - 1).
294 Count = APInt(64, BitWidth - 1);
298 auto ShiftAmt = ConstantInt::get(SVT, Count.zextOrTrunc(BitWidth));
    [all...]
InstCombineShifts.cpp 93 uint32_t BitWidth = Ty->getScalarSizeInBits();
95 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) &&
96 CI->getLimitedValue(BitWidth) < BitWidth) {
754 unsigned BitWidth = Op0->getType()->getScalarSizeInBits();
761 isPowerOf2_32(BitWidth) && Log2_32(BitWidth) == ShAmt) {
    [all...]
InstCombineAndOrXor.cpp 238 uint32_t BitWidth = AndRHS->getType()->getBitWidth();
239 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth);
240 APInt ShlMask(APInt::getHighBitsSet(BitWidth, BitWidth-OpRHSVal));
258 uint32_t BitWidth = AndRHS->getType()->getBitWidth();
259 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth);
260 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal));
278 uint32_t BitWidth = AndRHS->getType()->getBitWidth();
279 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth);
    [all...]
  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp 367 /// Returns k such that lambda(2^Bitwidth) = 2^k, where lambda is the Carmichael
368 /// function. This means that x^(2^k) === 1 mod 2^Bitwidth for
369 /// every odd x, i.e. x^(2^k) = 1 for every odd x in Bitwidth-bit arithmetic.
370 /// Note that 0 <= k < Bitwidth, and if Bitwidth > 3 then x^(2^k) = 0 for every
371 /// even x in Bitwidth-bit arithmetic.
372 static unsigned CarmichaelShift(unsigned Bitwidth) {
373 if (Bitwidth < 3)
374 return Bitwidth - 1;
375 return Bitwidth - 2
    [all...]
LoadCombine.cpp 96 unsigned BitWidth = DL.getPointerTypeSizeInBits(GEP->getType());
97 APInt Offset(BitWidth, 0);
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
BasicValueFactory.h 79 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned);
102 /// but with the bitwidth and signedness of 'To'.
  /external/clang/lib/StaticAnalyzer/Core/
BasicValueFactory.cpp 95 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, unsigned BitWidth,
97 llvm::APSInt V(BitWidth, isUnsigned);
  /external/clang/test/Analysis/
null-deref-ps.c 218 // for 'x' should have a bitwidth of 8.
222 // x against 0 (with the same bitwidth).
  /external/llvm/lib/Target/AArch64/InstPrinter/
AArch64InstPrinter.h 110 template <int BitWidth>
113 printAMIndexedWB(MI, OpNum, BitWidth / 8, O);
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyISelLowering.cpp 206 unsigned BitWidth = NextPowerOf2(VT.getSizeInBits() - 1);
207 if (BitWidth > 1 && BitWidth < 8)
208 BitWidth = 8;
210 if (BitWidth > 64) {
211 BitWidth = 64;
212 assert(BitWidth >= Log2_32_Ceil(VT.getSizeInBits()) &&
216 MVT Result = MVT::getIntegerVT(BitWidth);
  /frameworks/compile/slang/
slang.h 107 void createTarget(uint32_t BitWidth);
224 Slang(uint32_t BitWidth, clang::DiagnosticsEngine *DiagEngine,
  /external/clang/include/clang/AST/
TemplateBase.h 85 // BitWidth > 64. The memory may be shared between multiple
87 unsigned BitWidth : 31;
284 if (Integer.BitWidth <= 64)
285 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned);
287 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
288 return APSInt(APInt(Integer.BitWidth, makeArrayRef(Integer.pVal, NumWords)),
  /external/llvm/lib/CodeGen/
AtomicExpandPass.cpp 199 /// Get the iX type with the same bitwidth as T.
203 unsigned BitWidth = VT.getStoreSizeInBits();
204 assert(BitWidth == VT.getSizeInBits() && "must be a power of two");
205 return IntegerType::get(T->getContext(), BitWidth);
209 /// equivelent bitwidth. See the function comment on
286 /// equivelent bitwidth. We used to not support floating point or vector
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 938 // Suppose, W is the bitwidth of the return value. We must be prepared for
    [all...]
Lint.cpp 515 unsigned BitWidth = V->getType()->getIntegerBitWidth();
516 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
532 unsigned BitWidth = VecTy->getElementType()->getIntegerBitWidth();
538 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
ConstantFolding.cpp 240 unsigned BitWidth = DL.getPointerTypeSizeInBits(GV->getType());
241 Offset = APInt(BitWidth, 0);
259 unsigned BitWidth = DL.getPointerTypeSizeInBits(GEP->getType());
260 APInt TmpOffset(BitWidth, 0);
633 unsigned BitWidth = DL.getTypeSizeInBits(Op0->getType()->getScalarType());
634 APInt KnownZero0(BitWidth, 0), KnownOne0(BitWidth, 0);
635 APInt KnownZero1(BitWidth, 0), KnownOne1(BitWidth, 0);
665 // PtrToInt may change the bitwidth so we have convert to the right siz
    [all...]
  /external/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 661 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
662 GV.IntVal = GV.IntVal.trunc(BitWidth);
667 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
668 GV.IntVal = GV.IntVal.zext(BitWidth);
673 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
674 GV.IntVal = GV.IntVal.sext(BitWidth);
722 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
724 GV.IntVal = APIntOps::RoundFloatToAPInt(GV.FloatVal, BitWidth);
726 GV.IntVal = APIntOps::RoundDoubleToAPInt(GV.DoubleVal, BitWidth);
731 (void)apf.convertToInteger(&v, BitWidth,
    [all...]
  /external/llvm/utils/TableGen/
FixedLenDecoderEmitter.cpp 100 unsigned Indentation, unsigned BitWidth,
331 unsigned BitWidth;
347 BitWidth(BW), Emitter(E) {
358 Parent(&parent), BestIndex(-1), BitWidth(parent.BitWidth),
363 unsigned getBitWidth() const { return BitWidth; }
378 for (unsigned i = 0; i < BitWidth; ++i) {
501 assert(StartBit + NumBits - 1 < Owner->BitWidth);
698 unsigned BitWidth,
701 << BitWidth << "[] = {\n"
    [all...]
  /external/llvm/lib/IR/
DataLayout.cpp 458 uint32_t BitWidth, bool ABIInfo,
465 Alignments[i].TypeBitWidth == BitWidth)
472 // the BitWidth requested.
473 if (Alignments[i].TypeBitWidth > BitWidth && (BestMatchIdx == -1 ||
684 /// an integer type of the specified bitwidth.
685 unsigned DataLayout::getABIIntegerTypeAlignment(unsigned BitWidth) const {
686 return getAlignmentInfo(INTEGER_ALIGN, BitWidth, true, nullptr);
  /external/llvm/lib/Transforms/Instrumentation/
SafeStack.cpp 215 uint64_t BitWidth = SE->getTypeSizeInBits(Expr->getType());
218 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AccessSize));
221 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize));
  /external/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 121 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth();
122 if (D->getValue().uge(BitWidth))
126 APInt::getOneBitSet(BitWidth, D->getZExtValue()));
377 unsigned BitWidth = cast<IntegerType>(BO->getType())->getBitWidth();
378 Type *WideTy = IntegerType::get(BO->getContext(), BitWidth * 2);
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp     [all...]
  /external/skia/src/images/
SkImageDecoder_libico.cpp 234 int bitWidth = w*bitCount;
235 int test = bitWidth & 0x1F;
237 int lineBitWidth = (bitWidth & 0xFFFFFFE0) + (0x20 & mask);
  /art/runtime/entrypoints/quick/
quick_trampoline_entrypoints_test.cc 110 // sizeof(void*), which is wrong when the target bitwidth is not the same as the host's.
  /external/llvm/include/llvm/CodeGen/
MachineValueType.h 545 static MVT getFloatingPointVT(unsigned BitWidth) {
546 switch (BitWidth) {
562 static MVT getIntegerVT(unsigned BitWidth) {
563 switch (BitWidth) {

Completed in 4885 milliseconds

1 23 4 5 6 7 8 9