17 #include "mlir/Dialect/Math/IR/MathOpsDialect.cpp.inc"
32 void mlir::math::MathDialect::initialize() {
35 #include "mlir/Dialect/Math/IR/MathOps.cpp.inc"
37 addInterfaces<MathInlinerInterface>();
38 declarePromisedInterface<ConvertToLLVMPatternInterface, MathDialect>();
static bool isLegalToInline(InlinerInterface &interface, Region *src, Region *insertRegion, bool shouldCloneInlinedRegion, IRMapping &valueMapping)
Utility to check that all of the operations within 'src' can be inlined.
This is the interface that must be implemented by the dialects of operations to be inlined.
DialectInlinerInterface(Dialect *dialect)
This is a utility class for mapping one set of IR entities to another.
Operation is the basic unit of execution within MLIR.
This class contains a list of basic blocks and a link to the parent operation it is attached to.
Include the generated interface declarations.