Lines Matching defs:IntTyBits
353 /// checks for us. Check and zext or trunc \p I depending on IntTyBits and
355 static bool CheckedZextOrTrunc(APInt &I, unsigned IntTyBits) {
359 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits)
361 if (I.getBitWidth() != IntTyBits)
362 I = I.zextOrTrunc(IntTyBits);
378 const unsigned IntTyBits = DL.getIndexTypeSizeInBits(CB->getType());
382 APInt Size(IntTyBits, GetStringLength(Mapper(CB->getArgOperand(0))));
393 APInt MaxSize = Arg->getValue().zext(IntTyBits);
406 if (!CheckedZextOrTrunc(Size, IntTyBits))
418 if (!CheckedZextOrTrunc(NumElems, IntTyBits))
737 Size = APInt(IntTyBits, alignTo(Size.getZExtValue(), *Alignment));
807 IntTyBits = DL.getIndexTypeSizeInBits(V->getType());
808 Zero = APInt::getZero(IntTyBits);
811 bool IndexTypeSizeChanged = InitialIntTyBits != IntTyBits;
888 return ::CheckedZextOrTrunc(I, IntTyBits);
895 if (!isUIntN(IntTyBits, ElemSize.getKnownMinValue()))
897 APInt Size(IntTyBits, ElemSize.getKnownMinValue());
926 APInt Size(IntTyBits, DL.getTypeAllocSize(MemoryTy));
987 APInt Size(IntTyBits, DL.getTypeAllocSize(GV.getValueType()));