Searched refs:IntTyBits (Results 1 – 2 of 2) sorted by relevance
355 static bool CheckedZextOrTrunc(APInt &I, unsigned IntTyBits) { in CheckedZextOrTrunc() argument359 if (I.getBitWidth() > IntTyBits && I.getActiveBits() > IntTyBits) in CheckedZextOrTrunc()361 if (I.getBitWidth() != IntTyBits) in CheckedZextOrTrunc()362 I = I.zextOrTrunc(IntTyBits); in CheckedZextOrTrunc()378 const unsigned IntTyBits = DL.getIndexTypeSizeInBits(CB->getType()); in getAllocSize() local382 APInt Size(IntTyBits, GetStringLength(Mapper(CB->getArgOperand(0)))); in getAllocSize()393 APInt MaxSize = Arg->getValue().zext(IntTyBits); in getAllocSize()406 if (!CheckedZextOrTrunc(Size, IntTyBits)) in getAllocSize()418 if (!CheckedZextOrTrunc(NumElems, IntTyBits)) in getAllocSize()671 return APInt(IntTyBits, alignTo(Size.getZExtValue(), *Alignment)); in align()[all …]
198 unsigned IntTyBits; variable