Searched refs:IntTyBits (Results 1 – 2 of 2) sorted by relevance
367 static bool CheckedZextOrTrunc(APInt &I, unsigned IntTyBits) { in CheckedZextOrTrunc() argument371 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() local394 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()[all …]
232 unsigned IntTyBits; variable