Home
last modified time | relevance | path

Searched defs:return_op (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_control_flow.cc53 auto return_op = dyn_cast<mhlo::ReturnOp>(block->getTerminator()); in ReplaceTerminators() local
165 auto return_op = dyn_cast<mhlo::ReturnOp>(new_block->getTerminator()); in LowerWhileOp() local
194 auto return_op = dyn_cast<mlir::mhlo::ReturnOp>(new_block->getTerminator()); in LowerWhileOp() local
Dhlo_legalize_to_lhlo.cc442 auto return_op = cast<mhlo::ReturnOp>(entry_block.getTerminator()); in matchAndRewrite() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dtf_functional_to_executor.cc65 auto return_op = dyn_cast<ReturnOp>(body.getTerminator()); in runOnFunction() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dmaterialize_mlir_passthrough_op.cc87 Operation &return_op = block.front(); in runOnFunction() local
Doutside_compiled_to_host_launch.cc71 auto* return_op = in WrapOpInLaunch() local
Dpromote_resources_to_args.cc194 auto return_op = llvm::dyn_cast_or_null<ReturnOp>(block.getTerminator()); in PromoteResourcesToArguments() local
Dresource_op_lifting.cc683 auto return_op = func_op.front().getTerminator(); in FindResourceArgUseInfo() local
754 auto return_op = func_op.front().getTerminator(); in RemoveUnusedResourceArgumentsAndForwardedRetvals() local
898 auto return_op = body.front().getTerminator(); in HandleWhileLoop() local
Dlegalize_hlo.cc575 mhlo::ReturnOp return_op = dyn_cast<mhlo::ReturnOp>(body.back()); in MatchBinaryReduceFunction() local
597 mhlo::ReturnOp return_op = dyn_cast<mhlo::ReturnOp>(body.back()); in MatchBinaryReduceFunction() local
Dtpu_cluster_formation.cc485 auto return_op = builder.create<tf_device::ReturnOp>(replicate_op.getLoc(), in ReplicateCluster() local
Dshape_inference.cc1463 if (auto return_op = dyn_cast<ReturnOp>(block.getTerminator())) { in InferShapeForFunctionReturnType() local
1474 auto return_op = return_ops.front(); in InferShapeForFunctionReturnType() local
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestDialect.cpp599 Operation &return_op = body.back().back(); in parseWrappingRegionOp() local
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc1522 auto return_op = builder_.create<ReturnOp>(builder_.getUnknownLoc()); in Initialize() local
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc2119 WalkResult walker = branch_region.walk([&](ReturnOp return_op) { in Verify()