MLIR  21.0.0git
Macros
TosaProfileCompliance.cpp File Reference
#include "mlir/Dialect/Tosa/IR/TosaProfileCompliance.h"
#include "llvm/ADT/StringExtras.h"
#include "mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc"

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)) { \
populateProfileInfo(op->getOperands(), op->getResult(0)); \
return success(); \
}

◆ POPULATE_PROFILE_INFO_CUSTOM

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

◆ POPULATE_PROFILE_INFO_SKIP

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