MLIR 22.0.0git
ArithToArmSME.cpp File Reference

Go to the source code of this file.

Classes

class  mlir::impl::ArithToArmSMEConversionPassBase< DerivedT >

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::impl
 Attribute collections provide a dictionary-like interface.

Macros

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

Functions

std::unique_ptr<::mlir::Passmlir::impl::createArithToArmSMEConversionPass ()
std::unique_ptr<::mlir::Passmlir::createArithToArmSMEConversionPass ()
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().