#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"
#include "mlir/Dialect/Linalg/IR/Linalg.h"
#include "mlir/Dialect/Math/IR/Math.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/Mesh/Interfaces/ShardingInterface.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/Interfaces/DestinationStyleOpInterface.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Interfaces/SubsetOpInterface.h"
#include "mlir/Interfaces/ValueBoundsOpInterface.h"
#include "mlir/Parser/Parser.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Transforms/InliningUtils.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/Linalg/IR/LinalgOpsAttrDefs.cpp.inc"
#include "mlir/Dialect/Linalg/IR/LinalgOps.cpp.inc"
#include "mlir/Dialect/Linalg/IR/LinalgStructuredOps.cpp.inc"
#include "mlir/Dialect/Linalg/IR/LinalgOpsEnums.cpp.inc"
#include "mlir/Dialect/Linalg/IR/LinalgOpsDialect.cpp.inc"
Go to the source code of this file.
|
template<typename OpType , typename = std::enable_if_t< !detect_has_region_builder<OpType>::value>> |
void | addNamedOpBuilderImpl (llvm::StringMap< LinalgDialect::RegionBuilderFunType > &map) |
| SFINAE helper for single C++ class without a regionBuilder method (e.g. More...
|
|
template<typename OpType , typename = std::enable_if_t<detect_has_region_builder<OpType>::value>, typename = void> |
void | addNamedOpBuilderImpl (llvm::StringMap< LinalgDialect::RegionBuilderFunType > &map) |
|
template<typename... OpTypes> |
void | addNamedOpBuilders (llvm::StringMap< LinalgDialect::RegionBuilderFunType > &map) |
|
◆ GET_ATTRDEF_CLASSES
#define GET_ATTRDEF_CLASSES |
◆ GET_ATTRDEF_LIST
◆ GET_OP_LIST [1/7]
◆ GET_OP_LIST [2/7]
◆ GET_OP_LIST [3/7]
◆ GET_OP_LIST [4/7]
◆ GET_OP_LIST [5/7]
◆ GET_OP_LIST [6/7]
◆ GET_OP_LIST [7/7]
◆ detect_has_region_builder
◆ has_region_builder
template<typename T , typename... Args>
Trait to check if T provides a regionBuilder
method.
Definition at line 75 of file LinalgDialect.cpp.
◆ addNamedOpBuilderImpl() [1/2]
template<typename OpType , typename = std::enable_if_t< !detect_has_region_builder<OpType>::value>>
void addNamedOpBuilderImpl |
( |
llvm::StringMap< LinalgDialect::RegionBuilderFunType > & |
map | ) |
|
SFINAE helper for single C++ class without a regionBuilder
method (e.g.
an OpInterface).
Definition at line 83 of file LinalgDialect.cpp.
◆ addNamedOpBuilderImpl() [2/2]
template<typename OpType , typename = std::enable_if_t<detect_has_region_builder<OpType>::value>, typename = void>
void addNamedOpBuilderImpl |
( |
llvm::StringMap< LinalgDialect::RegionBuilderFunType > & |
map | ) |
|
◆ addNamedOpBuilders()
template<typename... OpTypes>
void addNamedOpBuilders |
( |
llvm::StringMap< LinalgDialect::RegionBuilderFunType > & |
map | ) |
|