Lines Matching refs:IntTyBits
367 static bool CheckedZextOrTrunc(APInt &I, unsigned IntTyBits) { in CheckedZextOrTrunc() argument
371 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits) in CheckedZextOrTrunc()
373 if (I.getBitWidth() != IntTyBits) in CheckedZextOrTrunc()
374 I = I.zextOrTrunc(IntTyBits); in CheckedZextOrTrunc()
390 const unsigned IntTyBits = DL.getIndexTypeSizeInBits(CB->getType()); in getAllocSize() local
394 APInt Size(IntTyBits, GetStringLength(Mapper(CB->getArgOperand(0)))); in getAllocSize()
405 APInt MaxSize = Arg->getValue().zext(IntTyBits); in getAllocSize()
418 if (!CheckedZextOrTrunc(Size, IntTyBits)) in getAllocSize()
430 if (!CheckedZextOrTrunc(NumElems, IntTyBits)) in getAllocSize()
688 return APInt(IntTyBits, alignTo(Size.getZExtValue(), *Alignment)); in align()
720 IntTyBits = DL.getIndexTypeSizeInBits(V->getType()); in computeImpl()
721 Zero = APInt::getZero(IntTyBits); in computeImpl()
725 bool IndexTypeSizeChanged = InitialIntTyBits != IntTyBits; in computeImpl()
777 return ::CheckedZextOrTrunc(I, IntTyBits); in CheckedZextOrTrunc()
784 APInt Size(IntTyBits, ElemSize.getKnownMinValue()); in visitAllocaInst()
810 APInt Size(IntTyBits, DL.getTypeAllocSize(MemoryTy)); in visitArgument()
858 APInt Size(IntTyBits, DL.getTypeAllocSize(GV.getValueType())); in visitGlobalVariable()