Home
last modified time | relevance | path

Searched refs:RoundingUDiv (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp2293 TEST(APIntTest, RoundingUDiv) { in TEST() argument
2297 EXPECT_EQ(0, APIntOps::RoundingUDiv(Zero, A, APInt::Rounding::UP)); in TEST()
2298 EXPECT_EQ(0, APIntOps::RoundingUDiv(Zero, A, APInt::Rounding::DOWN)); in TEST()
2299 EXPECT_EQ(0, APIntOps::RoundingUDiv(Zero, A, APInt::Rounding::TOWARD_ZERO)); in TEST()
2304 APInt Quo = APIntOps::RoundingUDiv(A, B, APInt::Rounding::UP); in TEST()
2313 EXPECT_EQ(Quo, APIntOps::RoundingUDiv(A, B, APInt::Rounding::TOWARD_ZERO)); in TEST()
2314 EXPECT_EQ(Quo, APIntOps::RoundingUDiv(A, B, APInt::Rounding::DOWN)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp291 Lower = APIntOps::RoundingUDiv(MinValue, V, APInt::Rounding::UP); in makeGuaranteedNoWrapRegion()
292 Upper = APIntOps::RoundingUDiv(MaxValue, V, APInt::Rounding::DOWN); in makeGuaranteedNoWrapRegion()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h2164 APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp2663 APInt llvm::APIntOps::RoundingUDiv(const APInt &A, const APInt &B, in RoundingUDiv() function in llvm::APIntOps