/external/llvm-project/mlir/lib/IR/ |
D | AffineExpr.cpp | 34 void visitConstantExpr(AffineConstantExpr expr) { callback(expr); } in walk() 176 (op.getLHS().template isa<AffineConstantExpr>() || in isPureAffine() 177 op.getRHS().template isa<AffineConstantExpr>()); in isPureAffine() 184 op.getRHS().template isa<AffineConstantExpr>(); in isPureAffine() 199 return std::abs(this->cast<AffineConstantExpr>().getValue()); in getLargestKnownDivisor() 228 return cast<AffineConstantExpr>().getValue() % factor == 0; in isMultipleOf() 293 if (expr.cast<AffineConstantExpr>().getValue()) in isDivisibleBySymbol() 354 if (expr.cast<AffineConstantExpr>().getValue() != 0) in symbolicDivide() 468 AffineConstantExpr::AffineConstantExpr(AffineExpr::ImplType *ptr) in AffineConstantExpr() function in AffineConstantExpr 470 int64_t AffineConstantExpr::getValue() const { in getValue() [all …]
|
D | AffineMap.cpp | 59 return expr.cast<AffineConstantExpr>().getValue(); in constantFoldImpl() 196 return getNumResults() == 1 && getResult(0).isa<AffineConstantExpr>(); in isSingleConstant() 201 return getResult(0).cast<AffineConstantExpr>().getValue(); in getSingleConstantResult() 347 res.push_back(e.cast<AffineConstantExpr>().getValue()); in compose()
|
D | BuiltinTypes.cpp | 637 if (auto cst = offsetExpr.dyn_cast<AffineConstantExpr>()) in getStridesAndOffset() 642 if (auto c = e.dyn_cast<AffineConstantExpr>()) in getStridesAndOffset()
|
D | AsmPrinter.cpp | 2005 os << expr.cast<AffineConstantExpr>().getValue(); in printAffineExprInternal() 2034 auto rhsConst = rhsExpr.dyn_cast<AffineConstantExpr>(); in printAffineExprInternal() 2063 if (auto rrhs = rrhsExpr.dyn_cast<AffineConstantExpr>()) { in printAffineExprInternal() 2097 if (auto rhsConst = rhsExpr.dyn_cast<AffineConstantExpr>()) { in printAffineExprInternal()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | AffineExprVisitor.h | 104 expr.cast<AffineConstantExpr>()); in walkPostOrder() 141 expr.cast<AffineConstantExpr>()); in visit() 178 void visitConstantExpr(AffineConstantExpr expr) {} in visitConstantExpr() 280 void visitConstantExpr(AffineConstantExpr expr);
|
D | AffineExpr.h | 211 class AffineConstantExpr : public AffineExpr { 214 /* implicit */ AffineConstantExpr(AffineExpr::ImplType *ptr = nullptr); 255 if (std::is_same<U, AffineConstantExpr>::value) in isa()
|
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/ |
D | LoopSpecialization.cpp | 39 if (auto constantIndex = expr.dyn_cast<AffineConstantExpr>()) in specializeParallelLoopForUnrolling() 74 if (auto constantIndex = expr.dyn_cast<AffineConstantExpr>()) in specializeForLoopForUnrolling()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Transforms.cpp | 364 auto c1 = bin.getLHS().dyn_cast<AffineConstantExpr>(); in substWithMin() 365 auto c2 = bin.getRHS().dyn_cast<AffineConstantExpr>(); in substWithMin() 485 if (auto cst = e.dyn_cast<AffineConstantExpr>()) in matchAndRewrite() 504 if (auto cst = e.dyn_cast<AffineConstantExpr>()) { in matchAndRewrite()
|
D | Promotion.cpp | 55 if (auto cst = e.dyn_cast<AffineConstantExpr>()) in extractSmallestConstantBoundingSize()
|
D | Tiling.cpp | 104 assert(expr.getRHS().cast<AffineConstantExpr>().getValue() > 0 && in visitAffineBinaryOpExpr()
|
D | Loops.cpp | 607 if (auto val = expr.dyn_cast<AffineConstantExpr>()) { in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | LoopAnalysis.cpp | 98 if (auto constExpr = resultExpr.dyn_cast<AffineConstantExpr>()) { in getConstantTripCount() 127 if (auto constExpr = resultExpr.dyn_cast<AffineConstantExpr>()) { in getLargestDivisorOfTripCount()
|
/external/llvm-project/mlir/lib/Conversion/AffineToStandard/ |
D | AffineToStandard.cpp | 74 auto rhsConst = expr.getRHS().dyn_cast<AffineConstantExpr>(); in visitModExpr() 111 auto rhsConst = expr.getRHS().dyn_cast<AffineConstantExpr>(); in visitFloorDivExpr() 152 auto rhsConst = expr.getRHS().dyn_cast<AffineConstantExpr>(); in visitCeilDivExpr() 182 Value visitConstantExpr(AffineConstantExpr expr) { in visitConstantExpr()
|
/external/llvm-project/mlir/lib/CAPI/IR/ |
D | AffineExpr.cpp | 88 return unwrap(affineExpr).cast<AffineConstantExpr>().getValue(); in mlirAffineConstantExprGetValue()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/experimental/conv_emitter/ |
D | conv_emitter_transforms.cc | 111 CHECK_EQ(0, length.cast<mlir::AffineConstantExpr>().getValue() % size); in TileLoop()
|
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
D | AffineLoopNormalize.cpp | 31 std::get<1>(tuple).template dyn_cast<AffineConstantExpr>(); in normalizeAffineParallel()
|
/external/llvm-project/mlir/lib/Dialect/SDBM/ |
D | SDBMExpr.cpp | 95 if (auto cst = storage->matched.dyn_cast<AffineConstantExpr>()) in getMatchedConstantValue() 507 SDBMExpr visitConstantExpr(AffineConstantExpr expr) { in tryConvertAffineExpr()
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopFusionUtils.cpp | 496 auto cExpr = loopSpanExpr.dyn_cast<AffineConstantExpr>(); in getConstDifference()
|
D | LoopUtils.cpp | 2407 if (auto caf = offset.dyn_cast<AffineConstantExpr>()) { in generateCopy()
|
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/ |
D | SCFToGPU.cpp | 304 if (auto constExpr = result.dyn_cast<AffineConstantExpr>()) { in deriveStaticUpperBound()
|
/external/llvm-project/mlir/lib/Conversion/VectorToSCF/ |
D | VectorToSCF.cpp | 492 assert((dim || expr.cast<AffineConstantExpr>().getValue() == 0) && in emitWithBoundsChecks()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/ |
D | LinalgOps.cpp | 769 if (auto o = offset.dyn_cast<AffineConstantExpr>()) in computeReshapeCollapsedType() 774 if (auto cst = stride.dyn_cast_or_null<AffineConstantExpr>()) in computeReshapeCollapsedType()
|
/external/llvm-project/mlir/lib/Dialect/Affine/IR/ |
D | AffineOps.cpp | 1486 if (auto constExpr = expr.dyn_cast<AffineConstantExpr>()) { in printBound() 2606 auto cst = expr.dyn_cast<AffineConstantExpr>(); in getConstantRanges() 2824 auto constExpr = result.dyn_cast<AffineConstantExpr>(); in parseAffineParallelOp()
|
/external/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorOps.cpp | 354 [](AffineExpr e) { return e.isa<AffineConstantExpr>(); }) && in verifyOutputShape() 359 return e.cast<AffineConstantExpr>().getValue(); in verifyOutputShape() 1870 auto zero = expr.dyn_cast<AffineConstantExpr>(); in verifyPermutationMap()
|