MLIR  21.0.0git
Public Member Functions | List of all members
ProfileInfoDepot Class Reference

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

Public Member Functions

 ProfileInfoDepot (Operation *op)
 
void addType (Type t)
 
void addValue (Value v)
 
SmallVector< TypeInfogetInfo ()
 
template<>
LogicalResult populateProfileInfo (tosa::ConcatOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::AvgPool2dOp 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::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::ScatterOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::MulOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::ResizeOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::FFT2dOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::RFFT2dOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::SelectOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::RescaleOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::MatMulOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::VariableOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::VariableWriteOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::IfOp op)
 
template<>
LogicalResult populateProfileInfo (tosa::WhileOp op)
 

Detailed Description

Definition at line 57 of file TosaProfileCompliance.h.

Constructor & Destructor Documentation

◆ ProfileInfoDepot()

ProfileInfoDepot::ProfileInfoDepot ( Operation op)
inline

Definition at line 59 of file TosaProfileCompliance.h.

References mlir::Operation::emitOpError().

Member Function Documentation

◆ addType()

void ProfileInfoDepot::addType ( Type  t)
inline

Definition at line 64 of file TosaProfileCompliance.h.

◆ addValue()

void ProfileInfoDepot::addValue ( Value  v)
inline

Definition at line 65 of file TosaProfileCompliance.h.

◆ getInfo()

SmallVector<TypeInfo> ProfileInfoDepot::getInfo ( )
inline

Definition at line 66 of file TosaProfileCompliance.h.

Referenced by TosaProfileCompliance::findMatchedProfile().

◆ populateProfileInfo() [1/24]

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

Definition at line 62 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [2/24]

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

Definition at line 55 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [3/24]

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

Definition at line 84 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [4/24]

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

Definition at line 89 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [5/24]

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

Definition at line 101 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [6/24]

template<>
LogicalResult ProfileInfoDepot::populateProfileInfo ( tosa::FFT2dOp  op)

Definition at line 173 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [7/24]

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

Definition at line 141 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [8/24]

template<>
LogicalResult ProfileInfoDepot::populateProfileInfo ( tosa::IfOp  op)

Definition at line 236 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [9/24]

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

Definition at line 207 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [10/24]

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

Definition at line 158 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [11/24]

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

Definition at line 106 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [12/24]

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

Definition at line 198 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [13/24]

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

Definition at line 121 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [14/24]

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

Definition at line 166 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [15/24]

template<>
LogicalResult ProfileInfoDepot::populateProfileInfo ( tosa::RFFT2dOp  op)

Definition at line 182 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [16/24]

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

Definition at line 149 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [17/24]

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

Definition at line 190 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [18/24]

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

Definition at line 126 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [19/24]

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

Definition at line 131 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [20/24]

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

Definition at line 95 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [21/24]

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

Definition at line 136 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [22/24]

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

Definition at line 217 of file TosaProfileCompliance.cpp.

References mlir::getElementTypeOrSelf().

◆ populateProfileInfo() [23/24]

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

Definition at line 230 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [24/24]

template<>
LogicalResult ProfileInfoDepot::populateProfileInfo ( tosa::WhileOp  op)

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