MLIR 23.0.0git
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::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::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::VariableOp op)
template<>
LogicalResult populateProfileInfo (tosa::VariableWriteOp op)
template<>
LogicalResult populateProfileInfo (tosa::DimOp op)

Detailed Description

Definition at line 60 of file TosaProfileCompliance.h.

Constructor & Destructor Documentation

◆ ProfileInfoDepot()

ProfileInfoDepot::ProfileInfoDepot ( Operation * op)
inline

Definition at line 62 of file TosaProfileCompliance.h.

References mlir::Operation::emitOpError().

Member Function Documentation

◆ addType()

void ProfileInfoDepot::addType ( Type t)
inline

Definition at line 67 of file TosaProfileCompliance.h.

Referenced by populateProfileInfo(), and populateProfileInfo().

◆ addValue()

◆ getInfo()

SmallVector< TypeInfo > ProfileInfoDepot::getInfo ( )
inline

◆ populateProfileInfo() [1/22]

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

Definition at line 71 of file TosaProfileCompliance.cpp.

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

◆ populateProfileInfo() [2/22]

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

Definition at line 64 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [3/22]

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

Definition at line 116 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [4/22]

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

Definition at line 93 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [5/22]

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

Definition at line 98 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [6/22]

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

Definition at line 110 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [7/22]

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

Definition at line 233 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [8/22]

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

Definition at line 162 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [9/22]

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

Definition at line 211 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [10/22]

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

Definition at line 179 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [11/22]

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

Definition at line 127 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [12/22]

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

Definition at line 202 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [13/22]

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

Definition at line 142 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [14/22]

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

Definition at line 187 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [15/22]

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

Definition at line 170 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [16/22]

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

Definition at line 194 of file TosaProfileCompliance.cpp.

References addValue(), and success().

◆ populateProfileInfo() [17/22]

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

Definition at line 147 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [18/22]

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

Definition at line 152 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [19/22]

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

Definition at line 104 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [20/22]

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

Definition at line 157 of file TosaProfileCompliance.cpp.

◆ populateProfileInfo() [21/22]

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

Definition at line 221 of file TosaProfileCompliance.cpp.

References addType(), and success().

◆ populateProfileInfo() [22/22]

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

Definition at line 227 of file TosaProfileCompliance.cpp.

References addValue(), and success().


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