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

Declarations

include/llvm/IR/ConstantRange.h
  307   ConstantRange signExtend(uint32_t BitWidth) const;

References

lib/Analysis/ScalarEvolution.cpp
 1989     if (CR.truncate(TruncBits).signExtend(NewBits).contains(
 5636                     ConservativeResult.intersectWith(X.signExtend(BitWidth),
lib/IR/ConstantRange.cpp
  634     return signExtend(ResultBitWidth);
  772     return signExtend(DstTySize);
unittests/IR/ConstantRangeTest.cpp
  348   ConstantRange SFull = Full.signExtend(20);
  349   ConstantRange SEmpty = Empty.signExtend(20);
  350   ConstantRange SOne = One.signExtend(20);
  351   ConstantRange SSome = Some.signExtend(20);
  352   ConstantRange SWrap = Wrap.signExtend(20);
  363   EXPECT_EQ(ConstantRange(APInt(8, 120), APInt(8, 140)).signExtend(16),
  366   EXPECT_EQ(ConstantRange(APInt(16, 0x0200), APInt(16, 0x8000)).signExtend(19),