MLIR 22.0.0git
CodegenUtils.cpp File Reference

Go to the source code of this file.

Macros

#define CASE(ONAME, O)
#define CASE(VNAME, V)

Macro Definition Documentation

◆ CASE [1/2]

#define CASE ( ONAME,
O )
Value:
case OverheadType::kU##ONAME: \
return #ONAME;

Referenced by mlir::sparse_tensor::overheadTypeFunctionSuffix(), and mlir::sparse_tensor::primaryTypeFunctionSuffix().

◆ CASE [2/2]

#define CASE ( VNAME,
V )
Value:
case PrimaryType::k##VNAME: \
return #VNAME;