MLIR 22.0.0git
ArithToArmSME.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.

Macros

#define GEN_PASS_DEF_ARITHTOARMSMECONVERSIONPASS
#define DEBUG_TYPE   "arith-to-arm-sme"

Functions

static bool isSplatZero (Type elemType, DenseElementsAttr val)
 Returns true if 'val' is a splat of zero, false otherwise.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "arith-to-arm-sme"

Definition at line 22 of file ArithToArmSME.cpp.

◆ GEN_PASS_DEF_ARITHTOARMSMECONVERSIONPASS

#define GEN_PASS_DEF_ARITHTOARMSMECONVERSIONPASS

Definition at line 18 of file ArithToArmSME.cpp.

Function Documentation

◆ isSplatZero()

bool isSplatZero ( Type elemType,
DenseElementsAttr val )
static

Returns true if 'val' is a splat of zero, false otherwise.

Definition at line 31 of file ArithToArmSME.cpp.

References mlir::DenseElementsAttr::getSplatValue(), and mlir::DenseElementsAttr::isSplat().