Home
last modified time | relevance | path

Searched refs:MhloDialect (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
DCMakeLists.txt44 add_mlir_dialect_library(MhloDialect
55 target_link_libraries(MhloDialect
93 MhloDialect
Dinit.cc25 mlir::mhlo::MhloDialect, in registerAllMhloDialects()
Dhlo_ops.cc70 Operation* MhloDialect::materializeConstant(OpBuilder& builder, Attribute value, in materializeConstant()
3134 MhloDialect::MhloDialect(MLIRContext* context) in MhloDialect() function in mlir::mhlo::MhloDialect
3135 : Dialect(getDialectNamespace(), context, TypeID::get<MhloDialect>()) { in MhloDialect()
3145 Type MhloDialect::parseType(DialectAsmParser& parser) const { in parseType()
3154 void MhloDialect::printType(Type type, DialectAsmPrinter& os) const { in printType()
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dhlo_ops.h46 class MhloDialect : public Dialect {
48 explicit MhloDialect(MLIRContext *context);
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dchlo_legalize_to_hlo_pass.cc41 registry.insert<mhlo::MhloDialect, shape::ShapeDialect, scf::SCFDialect>(); in getDependentDialects()
52 MhloDialect, mlir::StandardOpsDialect, mlir::tensor::TensorDialect, in runOnFunction()
DCMakeLists.txt93 MhloDialect
130 MhloDialect
Dmaterialize_broadcasts_pass.cc37 conversionTarget.addLegalDialect<MhloDialect>(); in runOnFunction()
Dtransform_unranked_hlo.cc469 registry.insert<shape::ShapeDialect, mhlo::MhloDialect>(); in getDependentDialects()
476 target.addLegalDialect<mhlo::MhloDialect, StandardOpsDialect, in runOnFunction()
Dhlo_legalize_to_lhlo.cc581 target.addIllegalDialect<mhlo::MhloDialect>(); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/hlo/tools/mlir-hlo-opt/
Dmlir-hlo-opt.cpp32 registry.insert<mlir::mhlo::MhloDialect>(); in main()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dbufferize_pass.cc119 target.addIllegalDialect<mhlo::MhloDialect>(); in runOnOperation()
173 target.addIllegalDialect<mhlo::MhloDialect>(); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_module_importer.cc39 module.getContext()->loadDialect<mlir::mhlo::MhloDialect>(); in HloModuleImporter()
Dhlo_function_importer.h89 context_->loadDialect<mlir::mhlo::MhloDialect>(); in HloFunctionImporter()
Dxla_mlir_translate.cc260 registry.insert<mlir::StandardOpsDialect, mlir::mhlo::MhloDialect, in RegisterInputDialects()
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/
Dmlir_hlo_builder_test.cc48 context_.loadDialect<mlir::mhlo::MhloDialect>(); in XlaBuilderTest()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/
Dmlir_gpu_test_base.cc146 context.loadDialect<mlir::lmhlo::LmhloDialect, mlir::mhlo::MhloDialect, in ParseMlirModule()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/
Dkernel_creator.cc437 registry.insert<mlir::chlo::HloClientDialect, mlir::mhlo::MhloDialect>(); in GenerateKernelForTfCode()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_communication.cc64 registry.insert<mhlo::MhloDialect>(); in getDependentDialects()
Dmhlo_to_lhlo_with_xla.cc159 .insert<mlir::StandardOpsDialect, mlir::mhlo::MhloDialect, in getDependentDialects()
1535 ->loadDialect<StandardOpsDialect, mhlo::MhloDialect, lmhlo::LmhloDialect, in HloToLhloModule()
Dlegalize_tf.cc76 registry.insert<chlo::HloClientDialect, mhlo::MhloDialect, in getDependentDialects()
6186 target.addLegalDialect<MhloDialect>(); in legalizeTF()
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/
Dmlir_hlo_builder.cc36 return mlir::mhlo::MhloDialect::getDialectNamespace().str() + "." + op_name; in GetMlirOpName()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_compiler.cc592 mlir_context.loadDialect<mlir::lmhlo::LmhloDialect, mlir::mhlo::MhloDialect, in CompileModuleToLlvmIrImpl()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_tf.cc95 registry.insert<mhlo::MhloDialect, quant::QuantizationDialect, in getDependentDialects()