Lines Matching refs:IntTyBits
380 static bool CheckedZextOrTrunc(APInt &I, unsigned IntTyBits) { in CheckedZextOrTrunc() argument
384 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits) in CheckedZextOrTrunc()
386 if (I.getBitWidth() != IntTyBits) in CheckedZextOrTrunc()
387 I = I.zextOrTrunc(IntTyBits); in CheckedZextOrTrunc()
403 const unsigned IntTyBits = DL.getIndexTypeSizeInBits(CB->getType()); in getAllocSize() local
407 APInt Size(IntTyBits, GetStringLength(Mapper(CB->getArgOperand(0)))); in getAllocSize()
418 APInt MaxSize = Arg->getValue().zext(IntTyBits); in getAllocSize()
431 if (!CheckedZextOrTrunc(Size, IntTyBits)) in getAllocSize()
443 if (!CheckedZextOrTrunc(NumElems, IntTyBits)) in getAllocSize()
701 return APInt(IntTyBits, alignTo(Size.getZExtValue(), *Alignment)); in align()
728 IntTyBits = DL.getIndexTypeSizeInBits(V->getType()); in compute()
729 Zero = APInt::getZero(IntTyBits); in compute()
731 bool IndexTypeSizeChanged = InitialIntTyBits != IntTyBits; in compute()
776 return ::CheckedZextOrTrunc(I, IntTyBits); in CheckedZextOrTrunc()
786 APInt Size(IntTyBits, ElemSize.getKnownMinSize()); in visitAllocaInst()
812 APInt Size(IntTyBits, DL.getTypeAllocSize(MemoryTy)); in visitArgument()
857 APInt Size(IntTyBits, DL.getTypeAllocSize(GV.getValueType())); in visitGlobalVariable()