/external/llvm-project/mlir/unittests/Support/ |
D | MathExtrasTest.cpp | 23 EXPECT_THAT(floorDiv(14, 3), Eq(4)); in TEST() 24 EXPECT_THAT(floorDiv(14, -3), Eq(-5)); in TEST() 25 EXPECT_THAT(floorDiv(-14, -3), Eq(4)); in TEST() 26 EXPECT_THAT(floorDiv(-14, 3), Eq(-5)); in TEST()
|
/external/opencensus-java/api/src/main/java/io/opencensus/common/ |
D | Timestamp.java | 86 long secs = floorDiv(epochMilli, MILLIS_PER_SECOND); in fromMillis() 186 long secs = TimeUtils.checkedAdd(epochSecond, floorDiv(nanoAdjustment, NANOS_PER_SECOND)); in ofEpochSecond() 192 private static long floorDiv(long x, long y) { in floorDiv() method in Timestamp 198 return x - floorDiv(x, y) * y; in floorMod()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/ |
D | MiscUtils.java | 67 return x - y * floorDiv(x, y); in floorMod() 70 private static int floorDiv(int x, int y) { in floorDiv() method in MiscUtils
|
/external/llvm-project/mlir/lib/IR/ |
D | AffineExpr.cpp | 50 return lhs.floorDiv(rhs); in getAffineBinaryOpExpr() 676 floorDiv(lhsConst.getValue(), rhsConst.getValue()), lhs.getContext()); in simplifyFloorDiv() 702 return lBin.getLHS().floorDiv(rhsConst.getValue()) + in simplifyFloorDiv() 703 lBin.getRHS().floorDiv(rhsConst.getValue()); in simplifyFloorDiv() 709 AffineExpr AffineExpr::floorDiv(uint64_t v) const { in floorDiv() function in AffineExpr 710 return floorDiv(getAffineConstantExpr(v, getContext())); in floorDiv() 712 AffineExpr AffineExpr::floorDiv(AffineExpr other) const { in floorDiv() function in AffineExpr 941 auto floorDivExpr = dividendExpr.floorDiv(divisorExpr); in visitModExpr() 1027 auto divExpr = isCeil ? a.ceilDiv(b) : a.floorDiv(b); in visitDivExpr()
|
D | AffineMap.cpp | 54 expr, [](int64_t lhs, int64_t rhs) { return floorDiv(lhs, rhs); }); in constantFoldImpl()
|
/external/llvm-project/mlir/include/mlir/Support/ |
D | MathExtras.h | 32 inline int64_t floorDiv(int64_t lhs, int64_t rhs) { in floorDiv() function
|
/external/llvm-project/mlir/include/mlir/Analysis/Presburger/ |
D | Fraction.h | 55 inline int64_t floor(Fraction f) { return floorDiv(f.num, f.den); } in floor()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | AffineExpr.h | 143 AffineExpr floorDiv(uint64_t v) const; 144 AffineExpr floorDiv(AffineExpr other) const;
|
/external/llvm-project/mlir/lib/Dialect/Affine/EDSC/ |
D | Builders.cpp | 182 Value mlir::edsc::op::floorDiv(Value lhs, Value rhs) { in floorDiv() function in mlir::edsc::op 184 lhs, rhs, [](AffineExpr d0, AffineExpr d1) { return d0.floorDiv(d1); }); in floorDiv()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | AffineStructures.cpp | 1104 atIneq(i, numCols - 1) = mlir::floorDiv(atIneq(i, numCols - 1), gcdI); in GCDTightenInequalities() 1244 (*memo)[dividendPos].floorDiv(divisor) * quotientSign; in detectAsMod() 1375 exprs[pos] = dividendExpr.floorDiv(divisor); in detectAsFloorDiv() 1521 expr = (expr + divisor - 1).floorDiv(divisor); in getLowerAndUpperBound() 1534 expr = expr.floorDiv(std::abs(ineq[pos + offset])); in getLowerAndUpperBound() 1550 expr = expr.floorDiv(std::abs(eq[pos + offset])); in getLowerAndUpperBound() 1661 expr = (-expr).floorDiv(vPos); in getSliceBounds() 1664 expr = expr.floorDiv(-vPos); in getSliceBounds() 2288 : mlir::floorDiv(atIneq(r, getNumCols() - 1), -atIneq(r, 0)); in computeConstantLowerOrUpperBound()
|
/external/swiftshader/src/System/ |
D | Math.hpp | 199 inline int floorDiv(int a, int b) in floorDiv() function
|
/external/swiftshader/src/Common/ |
D | Math.hpp | 231 inline int floorDiv(int a, int b) in floorDiv() function
|
/external/llvm-project/mlir/lib/Transforms/ |
D | PipelineDataTransfer.cpp | 102 AffineMap::get(/*dimCount=*/1, /*symbolCount=*/0, d0.floorDiv(step) % 2); in doubleBuffer()
|
D | LoopFusion.cpp | 825 (offset + lbs[d][cst->getNumCols() - 1 - rank]).floorDiv(lbDivisors[d]); in createPrivateMemRef()
|
/external/llvm-project/mlir/docs/ |
D | EDSC.md | 45 ceilDiv(index_type(31) * floorDiv(i + j * index_type(3), index_type(32)),
|
/external/llvm-project/mlir/lib/Dialect/SDBM/ |
D | SDBMExpr.cpp | 50 AffineExprMatcher floorDiv(AffineExprMatcher other) { in floorDiv() function in __anonacd1e89f0111::AffineExprMatcher 450 AffineExprMatcher pattern = (x.floorDiv(C)) * C; in tryConvertAffineExpr()
|
/external/llvm-project/mlir/include/mlir/Dialect/Affine/EDSC/ |
D | Builders.h | 69 Value floorDiv(Value lhs, Value rhs);
|
/external/llvm-project/mlir/unittests/SDBM/ |
D | SDBMTest.cpp | 425 auto floor = dim.floorDiv(cst); in TEST()
|
/external/llvm-project/mlir/lib/Parser/ |
D | AffineParser.cpp | 121 return lhs.floorDiv(rhs); in getAffineBinaryOpExpr()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Transforms.cpp | 399 lb + step * ((ub - 1) - lb).floorDiv(step)); in substituteLoopInExpr()
|
/external/llvm-project/mlir/lib/Analysis/Presburger/ |
D | Simplex.cpp | 893 int64_t u = floorDiv(dual[i - level], dualDenom); in reduceBasis()
|
/external/llvm-project/mlir/test/EDSC/ |
D | builder-api-test.cpp | 82 ceilDiv(std_constant_index(31) * floorDiv(i + j * std_constant_index(3), in TEST_FUNC()
|
/external/llvm-project/mlir/tools/mlir-linalg-ods-gen/ |
D | mlir-linalg-ods-gen.cpp | 512 return lhs.floorDiv(rhs); in getAffineBinaryOpExpr()
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 2403 (offset + lbs[d][cst->getNumCols() - 1 - rank]).floorDiv(lbDivisors[d]); in generateCopy()
|