Home
last modified time | relevance | path

Searched refs:UpperDiv (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/IR/
DConstantRange.cpp586 APInt LowerDiv(Lower), UpperDiv(Upper); in truncate() local
598 UpperDiv = APInt::getMaxValue(getBitWidth()); in truncate()
602 if (LowerDiv == UpperDiv) in truncate()
610 UpperDiv = UpperDiv - MaxBitValue * Div; in truncate()
613 if (UpperDiv.ule(MaxValue)) in truncate()
615 UpperDiv.trunc(DstTySize)).unionWith(Union); in truncate()
618 APInt UpperModulo = UpperDiv - MaxBitValue; in truncate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp711 APInt LowerDiv(Lower), UpperDiv(Upper); in truncate() local
725 UpperDiv.setAllBits(); in truncate()
729 if (LowerDiv == UpperDiv) in truncate()
738 UpperDiv -= Adjust; in truncate()
741 unsigned UpperDivWidth = UpperDiv.getActiveBits(); in truncate()
744 UpperDiv.trunc(DstTySize)).unionWith(Union); in truncate()
749 UpperDiv.clearBit(DstTySize); in truncate()
750 if (UpperDiv.ult(LowerDiv)) in truncate()
752 UpperDiv.trunc(DstTySize)).unionWith(Union); in truncate()
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp727 APInt LowerDiv(Lower), UpperDiv(Upper); in truncate() local
741 UpperDiv.setAllBits(); in truncate()
745 if (LowerDiv == UpperDiv) in truncate()
754 UpperDiv -= Adjust; in truncate()
757 unsigned UpperDivWidth = UpperDiv.getActiveBits(); in truncate()
760 UpperDiv.trunc(DstTySize)).unionWith(Union); in truncate()
765 UpperDiv.clearBit(DstTySize); in truncate()
766 if (UpperDiv.ult(LowerDiv)) in truncate()
768 UpperDiv.trunc(DstTySize)).unionWith(Union); in truncate()