MLIR 22.0.0git
TosaProfileCompliance.cpp File Reference

Go to the source code of this file.

Macros

#define POPULATE_PROFILE_INFO_CUSTOM(tosaOp)
#define POPULATE_PROFILE_INFO_SKIP(tosaOp)
#define POPULATE_PROFILE_INFO_COMMON(tosaOp)

Macro Definition Documentation

◆ POPULATE_PROFILE_INFO_COMMON

#define POPULATE_PROFILE_INFO_COMMON ( tosaOp)
Value:
if (isa<tosa::tosaOp##Op>(op)) { \
return populateProfileInfo(op->getOperands(), op->getResults()); \
}

◆ POPULATE_PROFILE_INFO_CUSTOM

#define POPULATE_PROFILE_INFO_CUSTOM ( tosaOp)
Value:
if (isa<tosa::tosaOp##Op>(op)) { \
return populateProfileInfo(cast<tosa::tosaOp##Op>(op)); \
}

◆ POPULATE_PROFILE_INFO_SKIP

#define POPULATE_PROFILE_INFO_SKIP ( tosaOp)
Value:
if (isa<tosa::tosaOp##Op>(op)) \
return success();
return success()