reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/ConstantRange.h
  301   ConstantRange zeroExtend(uint32_t BitWidth) const;

References

lib/Analysis/ScalarEvolution.cpp
 1678     if (CR.truncate(TruncBits).zeroExtend(NewBits).contains(
 5629                     ConservativeResult.intersectWith(X.zeroExtend(BitWidth),
lib/IR/ConstantRange.cpp
  636     return zeroExtend(ResultBitWidth);
  763     return zeroExtend(DstTySize);
unittests/IR/ConstantRangeTest.cpp
  329   ConstantRange ZFull = Full.zeroExtend(20);
  330   ConstantRange ZEmpty = Empty.zeroExtend(20);
  331   ConstantRange ZOne = One.zeroExtend(20);
  332   ConstantRange ZSome = Some.zeroExtend(20);
  333   ConstantRange ZWrap = Wrap.zeroExtend(20);
  344   EXPECT_EQ(FiveZero.zeroExtend(7), ConstantRange(APInt(7, 5), APInt(7, 8)));