Home
last modified time | relevance | path

Searched refs:createOrFold (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/
Dbroadcast_utils.cc62 Value lhs_shape_v = builder.createOrFold<shape::ShapeOfOp>(loc, lhs); in ComputeBinaryElementwiseBroadcastingResultExtents()
63 Value rhs_shape_v = builder.createOrFold<shape::ShapeOfOp>(loc, rhs); in ComputeBinaryElementwiseBroadcastingResultExtents()
67 Value result_shape_v = builder.createOrFold<shape::BroadcastOp>( in ComputeBinaryElementwiseBroadcastingResultExtents()
70 return builder.createOrFold<tensor::CastOp>( in ComputeBinaryElementwiseBroadcastingResultExtents()
75 return builder.createOrFold<shape::BroadcastOp>( in ComputeBinaryElementwiseBroadcastingResultExtents()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dmaterialize_broadcasts.cc52 max_value = rewriter.createOrFold<BroadcastOp>( in matchAndRewrite()
60 min_value = rewriter.createOrFold<BroadcastOp>( in matchAndRewrite()
Dunfuse_batch_norm.cc44 return rewriter.createOrFold<mhlo::DynamicBroadcastInDimOp>( in BroadcastToFeatureDim()
101 return rewriter.createOrFold<mhlo::DynamicBroadcastInDimOp>( in MaterializeEpsilon()
/external/tensorflow/tensorflow/compiler/mlir/xla/experimental/conv_emitter/
Dconv_emitter.cc320 builder.createOrFold<mlir::AffineLoadOp>( in CreateNaiveMlirConv()
339 builder.createOrFold<mlir::AffineLoadOp>( in CreateNaiveMlirConv()
345 builder.createOrFold<mlir::AffineLoadOp>(location, output_acc); in CreateNaiveMlirConv()
346 builder.createOrFold<mlir::AffineStoreOp>( in CreateNaiveMlirConv()
360 builder.createOrFold<mlir::AffineStoreOp>( in CreateNaiveMlirConv()
364 builder.createOrFold<mlir::AffineLoadOp>(location, output_acc), in CreateNaiveMlirConv()
/external/llvm-project/mlir/include/mlir/IR/
DBuilders.h409 void createOrFold(SmallVectorImpl<Value> &results, Location location, in createOrFold() function
432 createOrFold(Location location, Args &&... args) { in createOrFold() function
434 createOrFold<OpTy>(results, location, std::forward<Args>(args)...); in createOrFold()
442 createOrFold(Location location, Args &&... args) { in createOrFold() function
/external/llvm-project/mlir/docs/
DCanonicalization.md98 `OpBuilder::createOrFold`.
/external/llvm-project/mlir/lib/Conversion/VectorToSCF/
DVectorToSCF.cpp56 res.push_back(b.createOrFold<AffineApplyOp>(loc, map, operands)); in applyMapToValues()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlegalize_tf.cc126 return rewriter.createOrFold<TF::CastOp>(loc, new_type, val, in CreateCastToInt32()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestDialect.cpp711 builder.createOrFold<DimOp>(getLoc(), getOperand(0), 0)}; in reifyReturnTypeShapes()
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgOps.cpp41 return b.createOrFold<AffineApplyOp>(loc, map, operands); in createFoldedComposedAffineApply()