MLIR 24.0.0git
mlir::tosa::impl Namespace Reference

Classes

class  TosaArithConstantToTosaConstPassBase
class  TosaAttachTargetBase
class  TosaConvertIntegerTypesBitwidthPassBase
class  TosaConvertIntegerTypeToSignlessBase
class  TosaDowngrade1p1To1p0PassBase
class  TosaGatherScatterHardeningPassBase
class  TosaInferShapesPassBase
class  TosaInputShapeBase
class  TosaLayerwiseConstantFoldPassBase
class  TosaMakeBroadcastablePassBase
class  TosaNarrowF32ToF16PassBase
class  TosaNarrowF64ToF32PassBase
class  TosaNarrowI64ToI32PassBase
class  TosaOptionalDecompositionsPassBase
class  TosaReduceReshapesBase
class  TosaReduceTransposesBase
class  TosaValidationBase

Functions

std::unique_ptr<::mlir::Pass > createTosaArithConstantToTosaConstPass ()
std::unique_ptr<::mlir::Pass > createTosaAttachTarget ()
std::unique_ptr<::mlir::Pass > createTosaAttachTarget (TosaAttachTargetOptions options)
std::unique_ptr<::mlir::Pass > createTosaConvertIntegerTypesBitwidthPass ()
std::unique_ptr<::mlir::Pass > createTosaConvertIntegerTypesBitwidthPass (TosaConvertIntegerTypesBitwidthPassOptions options)
std::unique_ptr<::mlir::Pass > createTosaConvertIntegerTypeToSignless ()
std::unique_ptr<::mlir::Pass > createTosaDowngrade1p1To1p0Pass ()
std::unique_ptr<::mlir::Pass > createTosaGatherScatterHardeningPass ()
std::unique_ptr<::mlir::Pass > createTosaInferShapesPass ()
std::unique_ptr<::mlir::Pass > createTosaInferShapesPass (TosaInferShapesPassOptions options)
std::unique_ptr<::mlir::Pass > createTosaLayerwiseConstantFoldPass ()
std::unique_ptr<::mlir::Pass > createTosaLayerwiseConstantFoldPass (TosaLayerwiseConstantFoldPassOptions options)
std::unique_ptr<::mlir::Pass > createTosaMakeBroadcastablePass ()
std::unique_ptr<::mlir::Pass > createTosaNarrowF32ToF16Pass ()
std::unique_ptr<::mlir::Pass > createTosaNarrowF32ToF16Pass (TosaNarrowF32ToF16PassOptions options)
std::unique_ptr<::mlir::Pass > createTosaNarrowF64ToF32Pass ()
std::unique_ptr<::mlir::Pass > createTosaNarrowF64ToF32Pass (TosaNarrowF64ToF32PassOptions options)
std::unique_ptr<::mlir::Pass > createTosaNarrowI64ToI32Pass ()
std::unique_ptr<::mlir::Pass > createTosaNarrowI64ToI32Pass (TosaNarrowI64ToI32PassOptions options)
std::unique_ptr<::mlir::Pass > createTosaOptionalDecompositionsPass ()
std::unique_ptr<::mlir::Pass > createTosaReduceReshapes ()
std::unique_ptr<::mlir::Pass > createTosaReduceTransposes ()
std::unique_ptr<::mlir::Pass > createTosaValidation ()
std::unique_ptr<::mlir::Pass > createTosaValidation (TosaValidationOptions options)

Function Documentation

◆ createTosaArithConstantToTosaConstPass()

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaArithConstantToTosaConstPass ( )

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 94 of file TosaArithConstantToConst.cpp.

◆ createTosaAttachTarget() [1/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaAttachTarget ( )

Definition at line 207 of file TosaAttachTarget.cpp.

◆ createTosaAttachTarget() [2/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaAttachTarget ( TosaAttachTargetOptions options)

Definition at line 211 of file TosaAttachTarget.cpp.

◆ createTosaConvertIntegerTypesBitwidthPass() [1/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaConvertIntegerTypesBitwidthPass ( )

Definition at line 389 of file TosaConvertIntegerTypesBitwidth.cpp.

◆ createTosaConvertIntegerTypesBitwidthPass() [2/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaConvertIntegerTypesBitwidthPass ( TosaConvertIntegerTypesBitwidthPassOptions options)

Definition at line 393 of file TosaConvertIntegerTypesBitwidth.cpp.

◆ createTosaConvertIntegerTypeToSignless()

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaConvertIntegerTypeToSignless ( )

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 296 of file TosaConvertIntegerTypeToSignless.cpp.

◆ createTosaDowngrade1p1To1p0Pass()

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaDowngrade1p1To1p0Pass ( )

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 478 of file TosaDowngrade1p1To1p0.cpp.

◆ createTosaGatherScatterHardeningPass()

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaGatherScatterHardeningPass ( )

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 559 of file TosaGatherScatterHardening.cpp.

◆ createTosaInferShapesPass() [1/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaInferShapesPass ( )

Definition at line 656 of file TosaInferShapes.cpp.

◆ createTosaInferShapesPass() [2/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaInferShapesPass ( TosaInferShapesPassOptions options)

Definition at line 660 of file TosaInferShapes.cpp.

◆ createTosaLayerwiseConstantFoldPass() [1/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaLayerwiseConstantFoldPass ( )

Definition at line 832 of file TosaLayerwiseConstantFoldPass.cpp.

◆ createTosaLayerwiseConstantFoldPass() [2/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaLayerwiseConstantFoldPass ( TosaLayerwiseConstantFoldPassOptions options)

Definition at line 836 of file TosaLayerwiseConstantFoldPass.cpp.

◆ createTosaMakeBroadcastablePass()

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaMakeBroadcastablePass ( )

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 921 of file TosaMakeBroadcastable.cpp.

◆ createTosaNarrowF32ToF16Pass() [1/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaNarrowF32ToF16Pass ( )

Definition at line 1020 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowF32ToF16Pass() [2/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaNarrowF32ToF16Pass ( TosaNarrowF32ToF16PassOptions options)

Definition at line 1024 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowF64ToF32Pass() [1/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaNarrowF64ToF32Pass ( )

Definition at line 1124 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowF64ToF32Pass() [2/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaNarrowF64ToF32Pass ( TosaNarrowF64ToF32PassOptions options)

Definition at line 1128 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowI64ToI32Pass() [1/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaNarrowI64ToI32Pass ( )

Definition at line 1228 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowI64ToI32Pass() [2/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaNarrowI64ToI32Pass ( TosaNarrowI64ToI32PassOptions options)

Definition at line 1232 of file TosaNarrowTypes.cpp.

◆ createTosaOptionalDecompositionsPass()

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaOptionalDecompositionsPass ( )

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 1317 of file TosaOptionalDecompositions.cpp.

◆ createTosaReduceReshapes()

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaReduceReshapes ( )

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 1398 of file TosaReduceReshapes.cpp.

◆ createTosaReduceTransposes()

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaReduceTransposes ( )

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 1479 of file TosaReduceTransposes.cpp.

◆ createTosaValidation() [1/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaValidation ( )

Definition at line 1578 of file TosaValidation.cpp.

◆ createTosaValidation() [2/2]

std::unique_ptr<::mlir::Pass > mlir::tosa::impl::createTosaValidation ( TosaValidationOptions options)

Definition at line 1582 of file TosaValidation.cpp.