Searched refs:conversionTarget (Results 1 – 4 of 4) sorted by relevance
33 ConversionTarget conversionTarget(getContext()); in runOnFunction() local37 conversionTarget.addLegalDialect<MhloDialect>(); in runOnFunction()39 conversionTarget.addLegalDialect<mlir::StandardOpsDialect>(); in runOnFunction()41 SetupMaterializeBroadcastsLegality(&getContext(), &conversionTarget); in runOnFunction()44 if (failed(applyPartialConversion(getFunction(), conversionTarget, in runOnFunction()
45 ConversionTarget conversionTarget(getContext()); in runOnFunction() local47 conversionTarget.addIllegalDialect<chlo::HloClientDialect>(); in runOnFunction()51 conversionTarget.addLegalDialect< in runOnFunction()58 conversionTarget.addLegalOp<chlo::ZetaOp, chlo::PolygammaOp>(); in runOnFunction()64 if (failed(applyPartialConversion(getOperation(), conversionTarget, in runOnFunction()
74 ConversionTarget *conversionTarget) { in SetupMaterializeBroadcastsLegality() argument75 conversionTarget->addDynamicallyLegalOp<ClampOp>([](ClampOp op) { in SetupMaterializeBroadcastsLegality()
71 ConversionTarget *conversionTarget);80 ConversionTarget *conversionTarget);