Home
last modified time | relevance | path

Searched refs:ceilDiv (Results 1 – 25 of 25) sorted by relevance

/external/llvm-project/mlir/unittests/Support/
DMathExtrasTest.cpp16 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/
DMathExtras.h23 inline int64_t ceilDiv(int64_t lhs, int64_t rhs) { in ceilDiv() function
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/
DAffineLoopNormalize.cpp49 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/
DFraction.h57 inline int64_t ceil(Fraction f) { return ceilDiv(f.num, f.den); } in ceil()
/external/llvm-project/mlir/include/mlir/IR/
DAffineExpr.h145 AffineExpr ceilDiv(uint64_t v) const;
146 AffineExpr ceilDiv(AffineExpr other) const;
/external/llvm-project/mlir/lib/Analysis/
DLoopAnalysis.cpp47 *tripCountMap = b.getConstantAffineMap(ceilDiv(loopSpan, step)); in buildTripCountMapAndOperands()
73 tripCountValueMap.getResult(i).ceilDiv(step)); in buildTripCountMapAndOperands()
DAffineStructures.cpp1556 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/
DAffineExpr.cpp52 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()
DAffineMap.cpp57 expr, [](int64_t lhs, int64_t rhs) { return ceilDiv(lhs, rhs); }); in constantFoldImpl()
/external/llvm-project/mlir/lib/Dialect/Affine/EDSC/
DBuilders.cpp187 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/
Dconv_emitter_transforms.cc112 SetBoundForSimpleLoop(loop, length.ceilDiv(size), builder); in TileLoop()
/external/swiftshader/src/System/
DMath.hpp210 inline int ceilDiv(int a, int b) in ceilDiv() function
/external/swiftshader/src/Common/
DMath.hpp242 inline int ceilDiv(int a, int b) in ceilDiv() function
/external/llvm-project/mlir/docs/
DEDSC.md45 ceilDiv(index_type(31) * floorDiv(i + j * index_type(3), index_type(32)),
/external/llvm-project/mlir/include/mlir/Dialect/Affine/EDSC/
DBuilders.h70 Value ceilDiv(Value lhs, Value rhs);
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorUtils.cpp64 sliceDimCounts[r] = ceilDiv(shape[r], sizes[r]); in computeStrides()
/external/llvm-project/mlir/unittests/SDBM/
DSDBMTest.cpp438 auto ceildiv = d1.ceilDiv(c2); in TEST()
/external/llvm-project/mlir/lib/Parser/
DAffineParser.cpp128 return lhs.ceilDiv(rhs); in getAffineBinaryOpExpr()
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/
DSCFToGPU.cpp473 .ceilDiv(rewriter.getAffineSymbolExpr(1)))); in processParallelLoop()
/external/llvm-project/mlir/lib/Dialect/SDBM/
DSDBMExpr.cpp53 AffineExprMatcher ceilDiv(AffineExprMatcher other) { in ceilDiv() function in __anonacd1e89f0111::AffineExprMatcher
/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopUtils.cpp202 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/
Dbuilder-api-test.cpp82 ceilDiv(std_constant_index(31) * floorDiv(i + j * std_constant_index(3), in TEST_FUNC()
/external/llvm-project/mlir/tools/mlir-linalg-ods-gen/
Dmlir-linalg-ods-gen.cpp519 return lhs.ceilDiv(rhs); in getAffineBinaryOpExpr()
/external/llvm-project/mlir/lib/Dialect/SCF/
DSCF.cpp304 ceilDiv(ub.getValue().getSExtValue() - lb.getValue().getSExtValue(), in getNumRegionInvocations()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp834 builder, loc, indexType, ceilDiv(typeConverter.getPointerBitwidth(), 8)); in computeSizes()
837 ceilDiv(typeConverter.getIndexTypeBitwidth(), 8)); in computeSizes()