Lines Matching defs:IntTyBits
365 /// checks for us. Check and zext or trunc \p I depending on IntTyBits and
367 static bool CheckedZextOrTrunc(APInt &I, unsigned IntTyBits) {
371 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits)
373 if (I.getBitWidth() != IntTyBits)
374 I = I.zextOrTrunc(IntTyBits);
390 const unsigned IntTyBits = DL.getIndexTypeSizeInBits(CB->getType());
394 APInt Size(IntTyBits, GetStringLength(Mapper(CB->getArgOperand(0))));
405 APInt MaxSize = Arg->getValue().zext(IntTyBits);
418 if (!CheckedZextOrTrunc(Size, IntTyBits))
430 if (!CheckedZextOrTrunc(NumElems, IntTyBits))
688 return APInt(IntTyBits, alignTo(Size.getZExtValue(), *Alignment));
720 IntTyBits = DL.getIndexTypeSizeInBits(V->getType());
721 Zero = APInt::getZero(IntTyBits);
725 bool IndexTypeSizeChanged = InitialIntTyBits != IntTyBits;
777 return ::CheckedZextOrTrunc(I, IntTyBits);
784 APInt Size(IntTyBits, ElemSize.getKnownMinValue());
810 APInt Size(IntTyBits, DL.getTypeAllocSize(MemoryTy));
858 APInt Size(IntTyBits, DL.getTypeAllocSize(GV.getValueType()));