/external/llvm-project/mlir/unittests/Support/ |
D | MathExtrasTest.cpp | 16 EXPECT_THAT(ceilDiv(14, 3), Eq(5)); in TEST() 17 EXPECT_THAT(ceilDiv(14, -3), Eq(-4)); in TEST() 18 EXPECT_THAT(ceilDiv(-14, -3), Eq(5)); in TEST() 19 EXPECT_THAT(ceilDiv(-14, 3), Eq(-4)); in TEST()
|
/external/llvm-project/mlir/include/mlir/Support/ |
D | MathExtras.h | 23 inline int64_t ceilDiv(int64_t lhs, int64_t rhs) { in ceilDiv() function
|
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
D | AffineLoopNormalize.cpp | 49 AffineExpr ubExpr = ranges.getResult(i).ceilDiv(step); in normalizeAffineParallel() 147 (origUbExprs[i] - origLbExprs[0]).ceilDiv(origLoopStep)); in normalizeAffineFor()
|
/external/llvm-project/mlir/include/mlir/Analysis/Presburger/ |
D | Fraction.h | 57 inline int64_t ceil(Fraction f) { return ceilDiv(f.num, f.den); } in ceil()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | AffineExpr.h | 145 AffineExpr ceilDiv(uint64_t v) const; 146 AffineExpr ceilDiv(AffineExpr other) const;
|
/external/llvm-project/mlir/lib/Analysis/ |
D | LoopAnalysis.cpp | 47 *tripCountMap = b.getConstantAffineMap(ceilDiv(loopSpan, step)); in buildTripCountMapAndOperands() 73 tripCountValueMap.getResult(i).ceilDiv(step)); in buildTripCountMapAndOperands()
|
D | AffineStructures.cpp | 1556 expr = expr.ceilDiv(std::abs(eq[pos + offset])); in getLowerAndUpperBound() 2201 int64_t diff = ceilDiv(atIneq(ubPos, getNumCols() - 1) + in getConstantBoundOnDimSize() 2287 isLower ? mlir::ceilDiv(-atIneq(r, getNumCols() - 1), atIneq(r, 0)) in computeConstantLowerOrUpperBound()
|
/external/llvm-project/mlir/lib/IR/ |
D | AffineExpr.cpp | 52 return lhs.ceilDiv(rhs); in getAffineBinaryOpExpr() 731 ceilDiv(lhsConst.getValue(), rhsConst.getValue()), lhs.getContext()); in simplifyCeilDiv() 752 AffineExpr AffineExpr::ceilDiv(uint64_t v) const { in ceilDiv() function in AffineExpr 753 return ceilDiv(getAffineConstantExpr(v, getContext())); in ceilDiv() 755 AffineExpr AffineExpr::ceilDiv(AffineExpr other) const { in ceilDiv() function in AffineExpr 1027 auto divExpr = isCeil ? a.ceilDiv(b) : a.floorDiv(b); in visitDivExpr()
|
D | AffineMap.cpp | 57 expr, [](int64_t lhs, int64_t rhs) { return ceilDiv(lhs, rhs); }); in constantFoldImpl()
|
/external/llvm-project/mlir/lib/Dialect/Affine/EDSC/ |
D | Builders.cpp | 187 Value mlir::edsc::op::ceilDiv(Value lhs, Value rhs) { in ceilDiv() function in mlir::edsc::op 189 lhs, rhs, [](AffineExpr d0, AffineExpr d1) { return d0.ceilDiv(d1); }); in ceilDiv()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/experimental/conv_emitter/ |
D | conv_emitter_transforms.cc | 112 SetBoundForSimpleLoop(loop, length.ceilDiv(size), builder); in TileLoop()
|
/external/swiftshader/src/System/ |
D | Math.hpp | 210 inline int ceilDiv(int a, int b) in ceilDiv() function
|
/external/swiftshader/src/Common/ |
D | Math.hpp | 242 inline int ceilDiv(int a, int b) in ceilDiv() function
|
/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/include/mlir/Dialect/Affine/EDSC/ |
D | Builders.h | 70 Value ceilDiv(Value lhs, Value rhs);
|
/external/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorUtils.cpp | 64 sliceDimCounts[r] = ceilDiv(shape[r], sizes[r]); in computeStrides()
|
/external/llvm-project/mlir/unittests/SDBM/ |
D | SDBMTest.cpp | 438 auto ceildiv = d1.ceilDiv(c2); in TEST()
|
/external/llvm-project/mlir/lib/Parser/ |
D | AffineParser.cpp | 128 return lhs.ceilDiv(rhs); in getAffineBinaryOpExpr()
|
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/ |
D | SCFToGPU.cpp | 473 .ceilDiv(rewriter.getAffineSymbolExpr(1)))); in processParallelLoop()
|
/external/llvm-project/mlir/lib/Dialect/SDBM/ |
D | SDBMExpr.cpp | 53 AffineExprMatcher ceilDiv(AffineExprMatcher other) { in ceilDiv() function in __anonacd1e89f0111::AffineExprMatcher
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 202 int64_t tripCount = mlir::ceilDiv(ubCstOp.getValue() - lbCstOp.getValue(), in promoteIfSingleIteration() 753 (origUpperBoundExpr - origLowerBoundExpr).ceilDiv(tileParameter)); in setInterTileBoundsParametric() 776 (origUpperBoundExpr - origLowerBoundExpr).ceilDiv(tileParameter)); in setInterTileBoundsParametric() 1192 int64_t tripCount = mlir::ceilDiv(ubCst - lbCst, stepCst); in loopUnrollByFactor()
|
/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 | 519 return lhs.ceilDiv(rhs); in getAffineBinaryOpExpr()
|
/external/llvm-project/mlir/lib/Dialect/SCF/ |
D | SCF.cpp | 304 ceilDiv(ub.getValue().getSExtValue() - lb.getValue().getSExtValue(), in getNumRegionInvocations()
|
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/ |
D | StandardToLLVM.cpp | 834 builder, loc, indexType, ceilDiv(typeConverter.getPointerBitwidth(), 8)); in computeSizes() 837 ceilDiv(typeConverter.getIndexTypeBitwidth(), 8)); in computeSizes()
|