MLIR 24.0.0git
mlir::tosa::ProfileInfoDepot Class Reference

#include "mlir/Dialect/Tosa/IR/TosaProfileCompliance.h"

Public Member Functions

 ProfileInfoDepot (Operation *op)
void addType (Type t)
void addValue (Value v)
ArrayRef< TypeInfo > getInfo () const
template<>
LogicalResult populateProfileInfo (tosa::ConcatOp op)
template<>
LogicalResult populateProfileInfo (tosa::AvgPool2dOp op)
template<>
LogicalResult populateProfileInfo (tosa::AvgPool2dAdaptiveOp op)
template<>
LogicalResult populateProfileInfo (tosa::MaxPool2dAdaptiveOp op)
template<>
LogicalResult populateProfileInfo (tosa::Conv2DOp op)
template<>
LogicalResult populateProfileInfo (tosa::Conv3DOp op)
template<>
LogicalResult populateProfileInfo (tosa::TransposeConv2DOp op)
template<>
LogicalResult populateProfileInfo (tosa::DepthwiseConv2DOp op)
template<>
LogicalResult populateProfileInfo (tosa::Conv2DBlockScaledOp op)
template<>
LogicalResult populateProfileInfo (tosa::PadOp op)
template<>
LogicalResult populateProfileInfo (tosa::ReshapeOp op)
template<>
LogicalResult populateProfileInfo (tosa::SliceOp op)
template<>
LogicalResult populateProfileInfo (tosa::TileOp op)
template<>
LogicalResult populateProfileInfo (tosa::TransposeOp op)
template<>
LogicalResult populateProfileInfo (tosa::GatherOp op)
template<>
LogicalResult populateProfileInfo (tosa::RowGatherOp op)
template<>
LogicalResult populateProfileInfo (tosa::RowGatherBlockScaledOp op)
template<>
LogicalResult populateProfileInfo (tosa::ScatterOp op)
template<>
LogicalResult populateProfileInfo (tosa::MulOp op)
template<>
LogicalResult populateProfileInfo (tosa::ResizeOp op)
template<>
LogicalResult populateProfileInfo (tosa::SelectOp op)
template<>
LogicalResult populateProfileInfo (tosa::RescaleOp op)
template<>
LogicalResult populateProfileInfo (tosa::MatMulOp op)
template<>
LogicalResult populateProfileInfo (tosa::MatMulTOp op)
template<>
LogicalResult populateProfileInfo (tosa::VariableOp op)
template<>
LogicalResult populateProfileInfo (tosa::VariableWriteOp op)
template<>
LogicalResult populateProfileInfo (tosa::DimOp op)

Detailed Description

Definition at line 105 of file TosaProfileCompliance.h.

Constructor & Destructor Documentation

◆ ProfileInfoDepot()

mlir::tosa::ProfileInfoDepot::ProfileInfoDepot ( Operation * op)
inline

Definition at line 107 of file TosaProfileCompliance.h.

References mlir::Operation::emitOpError().

Member Function Documentation

◆ addType()

void mlir::tosa::ProfileInfoDepot::addType ( Type t)
inline

◆ addValue()

◆ getInfo()

ArrayRef< TypeInfo > mlir::tosa::ProfileInfoDepot::getInfo ( ) const
inline

◆ populateProfileInfo() [1/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::AvgPool2dAdaptiveOp op)

Definition at line 182 of file TosaProfileCompliance.cpp.

References addType(), addValue(), and success().

◆ populateProfileInfo() [2/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::AvgPool2dOp op)

Definition at line 171 of file TosaProfileCompliance.cpp.

References addType(), addValue(), and success().

◆ populateProfileInfo() [3/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::ConcatOp op)

Definition at line 164 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [4/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::Conv2DBlockScaledOp op)

Definition at line 235 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [5/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::Conv2DOp op)

Definition at line 212 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [6/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::Conv3DOp op)

Definition at line 217 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [7/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::DepthwiseConv2DOp op)

Definition at line 229 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [8/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::DimOp op)

Definition at line 382 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [9/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::GatherOp op)

Definition at line 281 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [10/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::MatMulOp op)

Definition at line 350 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [11/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::MatMulTOp op)

Definition at line 360 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [12/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::MaxPool2dAdaptiveOp op)

Definition at line 193 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [13/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::MulOp op)

Definition at line 318 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [14/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::PadOp op)

Definition at line 246 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [15/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::RescaleOp op)

Definition at line 341 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [16/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::ReshapeOp op)

Definition at line 261 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [17/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::ResizeOp op)

Definition at line 326 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [18/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::RowGatherBlockScaledOp op)

Definition at line 298 of file TosaProfileCompliance.cpp.

References addValue(), result, and success().

◆ populateProfileInfo() [19/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::RowGatherOp op)

Definition at line 289 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [20/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::ScatterOp op)

Definition at line 309 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [21/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::SelectOp op)

Definition at line 333 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [22/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::SliceOp op)

Definition at line 266 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [23/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::TileOp op)

Definition at line 271 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [24/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::TransposeConv2DOp op)

Definition at line 223 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [25/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::TransposeOp op)

Definition at line 276 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [26/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::VariableOp op)

Definition at line 370 of file TosaProfileCompliance.cpp.

References addType(), and success().

◆ populateProfileInfo() [27/27]

template<>
LogicalResult mlir::tosa::ProfileInfoDepot::populateProfileInfo ( tosa::VariableWriteOp op)

Definition at line 376 of file TosaProfileCompliance.cpp.

References addValue(), and success().


The documentation for this class was generated from the following files: