Home
last modified time | relevance | path

Searched refs:sort_op (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dsink_constants_to_control_flow.cc55 } else if (auto sort_op = llvm::dyn_cast<SortOp>(op)) { in runOnFunction() local
56 SinkToRegion(&sort_op.comparator()); in runOnFunction()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_function_importer.cc494 auto sort_op = func_builder->create<mlir::mhlo::SortOp>( in ImportInstructionImpl() local
499 ImportAsRegion(*sort_instruction->to_apply(), &sort_op.comparator())); in ImportInstructionImpl()
503 return sort_op.getOperation(); in ImportInstructionImpl()
507 ->create<mlir::mhlo::TupleOp>(loc, result_type, sort_op.getResults()) in ImportInstructionImpl()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc2856 auto sort_op = mlir::cast<mlir::lmhlo::SortOp>(mlir_input.op); in EmitSortFromMlir() local
2858 context.SetOperation(sort_op); in EmitSortFromMlir()
2863 int64 dimension_to_sort = sort_op.dimension(); in EmitSortFromMlir()
2875 GetAllocationSliceForMlir(sort_op.output()[i])); in EmitSortFromMlir()
2877 GetAllocationSliceForMlir(sort_op.operands()[i])); in EmitSortFromMlir()
2992 BuildKernelThunkForMlir(sort_op, sort_op.output(), Thunk::ThunkInfo(), in EmitSortFromMlir()
3006 &sort_op.comparator(), /*is_fusion=*/false)); in EmitSortFromMlir()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc4757 auto sort_op = rewriter.create<mhlo::SortOp>( in matchAndRewrite() local
4768 &sort_op.comparator(), &rewriter); in matchAndRewrite()
4771 auto tuple_first_element = sort_op.getResult(0); in matchAndRewrite()
4772 auto tuple_second_element = sort_op.getResult(1); in matchAndRewrite()