MLIR 24.0.0git
SparseVectorization.cpp File Reference

Go to the source code of this file.

Macros

#define UNAOP(xxx)
#define TYPEDUNAOP(xxx)
#define BINOP(xxx)

Macro Definition Documentation

◆ BINOP

#define BINOP ( xxx)
Value:
if (auto x = dyn_cast<xxx>(def)) { \
if (codegen) { \
vexp = xxx::create(rewriter, loc, ValueRange{vx, vy}, x.getProperties(), \
x->getDiscardableAttrDictionary().getValue()); \
} \
return true; \
}
This class provides an abstraction over the different types of ranges over Values.
Definition ValueRange.h:389

Definition at line 407 of file SparseVectorization.cpp.

◆ TYPEDUNAOP

#define TYPEDUNAOP ( xxx)
Value:
if (auto x = dyn_cast<xxx>(def)) { \
if (codegen) { \
VectorType vtp = vectorType(vl, x.getType()); \
vexp = xxx::create(rewriter, loc, TypeRange{vtp}, ValueRange{vx}, \
x.getProperties(), \
x->getDiscardableAttrDictionary().getValue()); \
} \
return true; \
}
This class provides an abstraction over the various different ranges of value types.
Definition TypeRange.h:40

Definition at line 396 of file SparseVectorization.cpp.

◆ UNAOP

#define UNAOP ( xxx)
Value:
if (auto x = dyn_cast<xxx>(def)) { \
if (codegen) { \
vexp = xxx::create(rewriter, loc, ValueRange{vx}, x.getProperties(), \
x->getDiscardableAttrDictionary().getValue()); \
} \
return true; \
}

Definition at line 387 of file SparseVectorization.cpp.