MLIR  19.0.0git
Namespaces | Macros | Functions
ArithToArmSME.cpp File Reference
#include "mlir/Conversion/ArithToArmSME/ArithToArmSME.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/ArmSME/IR/ArmSME.h"
#include "mlir/Dialect/ArmSME/Utils/Utils.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Namespaces

 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. More...
 

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()

static 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().