Searched refs:LowerDiv (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 586 APInt LowerDiv(Lower), UpperDiv(Upper); in truncate() local 602 if (LowerDiv == UpperDiv) in truncate() 607 if (LowerDiv.uge(MaxValue)) { in truncate() 609 APInt::udivrem(LowerDiv, MaxBitValue, Div, LowerDiv); in truncate() 614 return ConstantRange(LowerDiv.trunc(DstTySize), in truncate() 619 if (UpperModulo.ult(LowerDiv)) in truncate() 620 return ConstantRange(LowerDiv.trunc(DstTySize), in truncate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 711 APInt LowerDiv(Lower), UpperDiv(Upper); in truncate() local 729 if (LowerDiv == UpperDiv) in truncate() 734 if (LowerDiv.getActiveBits() > DstTySize) { in truncate() 736 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate() 737 LowerDiv -= Adjust; in truncate() 743 return ConstantRange(LowerDiv.trunc(DstTySize), in truncate() 750 if (UpperDiv.ult(LowerDiv)) in truncate() 751 return ConstantRange(LowerDiv.trunc(DstTySize), in truncate()
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 727 APInt LowerDiv(Lower), UpperDiv(Upper); in truncate() local 745 if (LowerDiv == UpperDiv) in truncate() 750 if (LowerDiv.getActiveBits() > DstTySize) { in truncate() 752 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate() 753 LowerDiv -= Adjust; in truncate() 759 return ConstantRange(LowerDiv.trunc(DstTySize), in truncate() 766 if (UpperDiv.ult(LowerDiv)) in truncate() 767 return ConstantRange(LowerDiv.trunc(DstTySize), in truncate()
|