Home
last modified time | relevance | path

Searched refs:IntTyBits (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp367 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()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h232 unsigned IntTyBits; variable