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

References

lib/IR/ConstantRange.cpp
  687   if (isEmptySet()) return getEmpty(DstTySize);
  690   assert(SrcTySize < DstTySize && "Not a value extension");
  694     return ConstantRange(Lower.sext(DstTySize), Upper.zext(DstTySize));
  694     return ConstantRange(Lower.sext(DstTySize), Upper.zext(DstTySize));
  697     return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1),
  697     return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1),
  698                          APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1);
  701   return ConstantRange(Lower.sext(DstTySize), Upper.sext(DstTySize));
  701   return ConstantRange(Lower.sext(DstTySize), Upper.sext(DstTySize));