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 89 of file TosaArithConstantToConst.cpp.

◆ createTosaAttachTarget() [1/2]

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

Definition at line 196 of file TosaAttachTarget.cpp.

◆ createTosaAttachTarget() [2/2]

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

Definition at line 200 of file TosaAttachTarget.cpp.

◆ createTosaConvertIntegerTypesBitwidthPass() [1/2]

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

Definition at line 366 of file TosaConvertIntegerTypesBitwidth.cpp.

◆ createTosaConvertIntegerTypesBitwidthPass() [2/2]

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

Definition at line 370 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 279 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 449 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 524 of file TosaGatherScatterHardening.cpp.

◆ createTosaInferShapesPass() [1/2]

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

Definition at line 615 of file TosaInferShapes.cpp.

◆ createTosaInferShapesPass() [2/2]

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

Definition at line 619 of file TosaInferShapes.cpp.

◆ createTosaLayerwiseConstantFoldPass() [1/2]

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

Definition at line 779 of file TosaLayerwiseConstantFoldPass.cpp.

◆ createTosaLayerwiseConstantFoldPass() [2/2]

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

Definition at line 783 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 862 of file TosaMakeBroadcastable.cpp.

◆ createTosaNarrowF32ToF16Pass() [1/2]

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

Definition at line 955 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowF32ToF16Pass() [2/2]

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

Definition at line 959 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowF64ToF32Pass() [1/2]

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

Definition at line 1053 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowF64ToF32Pass() [2/2]

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

Definition at line 1057 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowI64ToI32Pass() [1/2]

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

Definition at line 1151 of file TosaNarrowTypes.cpp.

◆ createTosaNarrowI64ToI32Pass() [2/2]

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

Definition at line 1155 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 1234 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 1309 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 1384 of file TosaReduceTransposes.cpp.

◆ createTosaValidation() [1/2]

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

Definition at line 1477 of file TosaValidation.cpp.

◆ createTosaValidation() [2/2]

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

Definition at line 1481 of file TosaValidation.cpp.