MLIR 22.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 (isa<xxx>(def)) { \
if (codegen) \
vexp = xxx::create(rewriter, loc, vx, vy); \
return true; \
}

Definition at line 357 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, vtp, vx); \
} \
return true; \
}

Definition at line 348 of file SparseVectorization.cpp.

◆ UNAOP

#define UNAOP ( xxx)
Value:
if (isa<xxx>(def)) { \
if (codegen) \
vexp = xxx::create(rewriter, loc, vx); \
return true; \
}

Definition at line 341 of file SparseVectorization.cpp.