|
MLIR 22.0.0git
|
Namespaces | |
| namespace | amdgpu |
| namespace | gpu |
| namespace | llvm |
| namespace | nvgpu |
| namespace | pdl |
| namespace | quant |
| namespace | smt |
| namespace | sparse_tensor |
| namespace | transform |
Classes | |
| class | BaseContextObject |
| Base class for all objects that directly or indirectly depend on an MlirContext. More... | |
| class | DefaultingPyLocation |
| Used in function arguments when None should resolve to the current context manager set instance. More... | |
| class | DefaultingPyMlirContext |
| Used in function arguments when None should resolve to the current context manager set instance. More... | |
| struct | MLIRError |
| Custom exception that allows access to error diagnostic information. More... | |
| class | nb_buffer |
| struct | nb_buffer_info |
| struct | nb_format_descriptor |
| struct | nb_format_descriptor< bool > |
| struct | nb_format_descriptor< double > |
| struct | nb_format_descriptor< float > |
| struct | nb_format_descriptor< int16_t > |
| struct | nb_format_descriptor< int32_t > |
| struct | nb_format_descriptor< int64_t > |
| struct | nb_format_descriptor< int8_t > |
| struct | nb_format_descriptor< uint16_t > |
| struct | nb_format_descriptor< uint32_t > |
| struct | nb_format_descriptor< uint64_t > |
| struct | nb_format_descriptor< uint8_t > |
| class | PyAffineAddExpr |
| class | PyAffineBinaryExpr |
| class | PyAffineCeilDivExpr |
| class | PyAffineConstantExpr |
| class | PyAffineDimExpr |
| class | PyAffineExpr |
| Wrapper around MlirAffineExpr. Affine expressions are owned by the context. More... | |
| class | PyAffineFloorDivExpr |
| class | PyAffineMap |
| class | PyAffineMapAttribute |
| class | PyAffineMapExprList |
| A list of expressions contained in an affine map. More... | |
| class | PyAffineModExpr |
| class | PyAffineMulExpr |
| class | PyAffineSymbolExpr |
| class | PyArrayAttribute |
| class | PyAsmState |
| Wrapper around an MlirAsmState. More... | |
| struct | PyAttrBuilderMap |
| class | PyAttribute |
| Wrapper around the generic MlirAttribute. More... | |
| class | PyBF16Type |
| Floating Point Type subclass - BF16Type. More... | |
| class | PyBlock |
| Wrapper around an MlirBlock. More... | |
| class | PyBlockArgument |
| Python wrapper for MlirBlockArgument. More... | |
| class | PyBlockArgumentList |
| A list of block arguments. More... | |
| class | PyBlockIterator |
| class | PyBlockList |
| Blocks are exposed by the C-API as a forward-only linked list. More... | |
| class | PyBlockPredecessors |
| A list of block predecessors. More... | |
| class | PyBlockSuccessors |
| A list of block successors. More... | |
| class | PyBoolAttribute |
| Bool Attribute subclass - BoolAttr. More... | |
| class | PyComplexType |
| Complex Type subclass - ComplexType. More... | |
| class | PyConcreteAffineExpr |
| CRTP base class for Python MLIR affine expressions that subclass AffineExpr and should be castable from it. More... | |
| class | PyConcreteAttribute |
| CRTP base classes for Python attributes that subclass Attribute and should be castable from it (i.e. More... | |
| class | PyConcreteOpInterface |
| CRTP base class for Python classes representing MLIR Op interfaces. More... | |
| class | PyConcreteType |
| CRTP base classes for Python types that subclass Type and should be castable from it (i.e. More... | |
| class | PyConcreteValue |
| CRTP base class for Python MLIR values that subclass Value and should be castable from it. More... | |
| class | PyDenseArrayAttribute |
| A python-wrapped dense array attribute with an element type and a derived implementation class. More... | |
| struct | PyDenseBoolArrayAttribute |
| Instantiate the python dense array classes. More... | |
| class | PyDenseElementsAttribute |
| struct | PyDenseF32ArrayAttribute |
| struct | PyDenseF64ArrayAttribute |
| class | PyDenseFPElementsAttribute |
| Refinement of PyDenseElementsAttribute for attributes containing floating-point values. More... | |
| struct | PyDenseI16ArrayAttribute |
| struct | PyDenseI32ArrayAttribute |
| struct | PyDenseI64ArrayAttribute |
| struct | PyDenseI8ArrayAttribute |
| class | PyDenseIntElementsAttribute |
| Refinement of the PyDenseElementsAttribute for attributes containing integer (and boolean) values. More... | |
| class | PyDenseResourceElementsAttribute |
| class | PyDiagnostic |
| Python class mirroring the C MlirDiagnostic struct. More... | |
| class | PyDiagnosticHandler |
| Represents a diagnostic handler attached to the context. More... | |
| class | PyDialect |
| User-level dialect object. More... | |
| class | PyDialectDescriptor |
| Wrapper around an MlirDialect. More... | |
| class | PyDialectRegistry |
| Wrapper around an MlirDialectRegistry. More... | |
| class | PyDialects |
| User-level object for accessing dialects with dotted syntax such as: ctx.dialect.std. More... | |
| class | PyDictAttribute |
| class | PyF16Type |
| Floating Point Type subclass - F16Type. More... | |
| class | PyF32Type |
| Floating Point Type subclass - F32Type. More... | |
| class | PyF64Type |
| Floating Point Type subclass - F64Type. More... | |
| class | PyFlatSymbolRefAttribute |
| class | PyFloat4E2M1FNType |
| Floating Point Type subclass - Float4E2M1FNType. More... | |
| class | PyFloat6E2M3FNType |
| Floating Point Type subclass - Float6E2M3FNType. More... | |
| class | PyFloat6E3M2FNType |
| Floating Point Type subclass - Float6E3M2FNType. More... | |
| class | PyFloat8E3M4Type |
| Floating Point Type subclass - Float8E3M4Type. More... | |
| class | PyFloat8E4M3B11FNUZType |
| Floating Point Type subclass - Float8E4M3B11FNUZ. More... | |
| class | PyFloat8E4M3FNType |
| Floating Point Type subclass - Float8E4M3FNType. More... | |
| class | PyFloat8E4M3FNUZType |
| Floating Point Type subclass - Float8E4M3FNUZ. More... | |
| class | PyFloat8E4M3Type |
| Floating Point Type subclass - Float8E4M3Type. More... | |
| class | PyFloat8E5M2FNUZType |
| Floating Point Type subclass - Float8E5M2FNUZ. More... | |
| class | PyFloat8E5M2Type |
| Floating Point Type subclass - Float8E5M2Type. More... | |
| class | PyFloat8E8M0FNUType |
| Floating Point Type subclass - Float8E8M0FNUType. More... | |
| class | PyFloatAttribute |
| Float Point Attribute subclass - FloatAttr. More... | |
| class | PyFloatType |
| class | PyFrozenRewritePatternSet |
| Owning Wrapper around a FrozenRewritePatternSet. More... | |
| class | PyFunctionType |
| Function type. More... | |
| struct | PyGlobalDebugFlag |
| Wrapper for the global LLVM debugging flag. More... | |
| class | PyGlobals |
| Globals that are always accessible once the extension has been initialized. More... | |
| class | PyGreedyRewriteDriverConfig |
| Owning Wrapper around a GreedyRewriteDriverConfig. More... | |
| class | PyIndexType |
| Index Type subclass - IndexType. More... | |
| class | PyInferShapedTypeOpInterface |
| Python wrapper for InferShapedTypeOpInterface. More... | |
| class | PyInferTypeOpInterface |
| Python wrapper for InferTypeOpInterface. More... | |
| class | PyInsertionPoint |
| An insertion point maintains a pointer to a Block and a reference operation. More... | |
| class | PyIntegerAttribute |
| Integer Attribute subclass - IntegerAttr. More... | |
| class | PyIntegerSet |
| class | PyIntegerSetAttribute |
| class | PyIntegerSetConstraint |
| class | PyIntegerSetConstraintList |
| class | PyIntegerType |
| class | PyLocation |
| Wrapper around an MlirLocation. More... | |
| class | PyMemRefType |
| Ranked MemRef Type subclass - MemRefType. More... | |
| class | PyMlirContext |
| struct | PyMlirExternalPass |
| struct | PyMlirPDLResultList |
| class | PyModule |
| class | PyNamedAttribute |
| Represents a Python MlirNamedAttr, carrying an optional owned name. More... | |
| class | PyNoneType |
| None Type subclass - NoneType. More... | |
| class | PyObjectRef |
| Template for a reference to a concrete type which captures a python reference to its underlying python object. More... | |
| class | PyOpaqueAttribute |
| class | PyOpaqueType |
| Opaque Type subclass - OpaqueType. More... | |
| class | PyOpAttributeMap |
| A list of operation attributes. More... | |
| class | PyOperation |
| class | PyOperationBase |
| Base class for PyOperation and PyOpView which exposes the primary, user visible methods for manipulating it. More... | |
| class | PyOperationIterator |
| class | PyOperationList |
| Operations are exposed by the C-API as a forward-only linked list. More... | |
| class | PyOpOperand |
| class | PyOpOperandIterator |
| class | PyOpOperandList |
| A list of operation operands. More... | |
| class | PyOpResult |
| Python wrapper for MlirOpResult. More... | |
| class | PyOpResultList |
| A list of operation results. More... | |
| class | PyOpSuccessors |
| A list of operation successors. More... | |
| class | PyOpView |
| A PyOpView is equivalent to the C++ "Op" wrappers: these are the basis for providing more instance-specific accessors and serve as the base class for custom ODS-style operation classes. More... | |
| class | PyPassManager |
| Owning Wrapper around a PassManager. More... | |
| class | PyPatternRewriter |
| class | PyRankedTensorType |
| Ranked Tensor Type subclass - RankedTensorType. More... | |
| class | PyRegion |
| Wrapper around an MlirRegion. More... | |
| class | PyRegionIterator |
| class | PyRegionList |
| Regions of an op are fixed length and indexed numerically so are represented with a sequence-like container. More... | |
| class | PyRewritePatternSet |
| class | PyShapedType |
| Shaped Type Interface - ShapedType. More... | |
| class | PyShapedTypeComponents |
| Wrapper around an shaped type components. More... | |
| class | PyStridedLayoutAttribute |
| Strided layout attribute subclass. More... | |
| class | PyStringAttribute |
| class | PySymbolRefAttribute |
| class | PySymbolTable |
| Bindings for MLIR symbol tables. More... | |
| class | PyTF32Type |
| Floating Point Type subclass - TF32Type. More... | |
| class | PyThreadContextEntry |
| Tracks an entry in the thread context stack. More... | |
| class | PyThreadPool |
| Wrapper around MlirLlvmThreadPool Python object owns the C++ thread pool. More... | |
| class | PyTupleType |
| Tuple Type subclass - TupleType. More... | |
| class | PyType |
| Wrapper around the generic MlirType. More... | |
| class | PyTypeAttribute |
| class | PyTypeID |
| A TypeID provides an efficient and unique identifier for a specific C++ type. More... | |
| class | PyUnitAttribute |
| Unit Attribute subclass. Unit attributes don't have values. More... | |
| class | PyUnrankedMemRefType |
| Unranked MemRef Type subclass - UnrankedMemRefType. More... | |
| class | PyUnrankedTensorType |
| Unranked Tensor Type subclass - UnrankedTensorType. More... | |
| class | PyValue |
| Wrapper around the generic MlirValue. More... | |
| class | PyVectorType |
| Vector Type subclass - VectorType. More... | |
Typedefs | |
| using | PyMlirContextRef = PyObjectRef<PyMlirContext> |
| Wrapper around MlirContext. | |
| using | PyModuleRef = PyObjectRef<PyModule> |
| using | PyOperationRef = PyObjectRef<PyOperation> |
Enumerations | |
| enum | PyDiagnosticSeverity : std::underlying_type_t< MlirDiagnosticSeverity > { MlirDiagnosticError = MlirDiagnosticError , MlirDiagnosticWarning = MlirDiagnosticWarning , MlirDiagnosticNote = MlirDiagnosticNote , MlirDiagnosticRemark = MlirDiagnosticRemark } |
| enum | PyWalkResult : std::underlying_type_t< MlirWalkResult > { MlirWalkResultAdvance = MlirWalkResultAdvance , MlirWalkResultInterrupt = MlirWalkResultInterrupt , MlirWalkResultSkip = MlirWalkResultSkip } |
| enum | PyWalkOrder : std::underlying_type_t< MlirWalkOrder > { MlirWalkPreOrder = MlirWalkPreOrder , MlirWalkPostOrder = MlirWalkPostOrder } |
| Traversal order for operation walk. More... | |
| enum | PyMlirPassDisplayMode : std::underlying_type_t< MlirPassDisplayMode > { MLIR_PASS_DISPLAY_MODE_LIST = MLIR_PASS_DISPLAY_MODE_LIST , MLIR_PASS_DISPLAY_MODE_PIPELINE = MLIR_PASS_DISPLAY_MODE_PIPELINE } |
| enum | PyGreedyRewriteStrictness : std::underlying_type_t< MlirGreedyRewriteStrictness > { MLIR_GREEDY_REWRITE_STRICTNESS_ANY_OP = MLIR_GREEDY_REWRITE_STRICTNESS_ANY_OP , MLIR_GREEDY_REWRITE_STRICTNESS_EXISTING_AND_NEW_OPS , MLIR_GREEDY_REWRITE_STRICTNESS_EXISTING_OPS } |
| enum | PyGreedySimplifyRegionLevel : std::underlying_type_t< MlirGreedySimplifyRegionLevel > { MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_DISABLED , MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_NORMAL , MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_AGGRESSIVE } |
Functions | |
| template<typename T> | |
| static T | pyTryCast (nanobind::handle object) |
| MLIR_PYTHON_API_EXPORTED void | populateIRAttributes (nanobind::module_ &m) |
| MlirStringRef | toMlirStringRef (const std::string &s) |
| MlirStringRef | toMlirStringRef (std::string_view s) |
| MlirStringRef | toMlirStringRef (const nanobind::bytes &s) |
| MlirBlock MLIR_PYTHON_API_EXPORTED | createBlock (const nanobind::sequence &pyArgTypes, const std::optional< nanobind::sequence > &pyArgLocs) |
| Create a block, using the current location context if no locations are specified. | |
| MLIR_PYTHON_API_EXPORTED MlirValue | getUniqueResult (MlirOperation operation) |
| MLIR_PYTHON_API_EXPORTED void | populateIRCore (nanobind::module_ &m) |
| MLIR_PYTHON_API_EXPORTED void | populateRoot (nanobind::module_ &m) |
| MLIR_PYTHON_API_EXPORTED int | mlirTypeIsAIntegerOrFloat (MlirType type) |
| MLIR_PYTHON_API_EXPORTED void | populateIRTypes (nanobind::module_ &m) |
| void | populateIRAffine (nb::module_ &m) |
| nb::object | denseArrayAttributeCaster (PyAttribute &pyAttribute) |
| nb::object | denseIntOrFPElementsAttributeCaster (PyAttribute &pyAttribute) |
| nb::object | integerOrBoolAttributeCaster (PyAttribute &pyAttribute) |
| nb::object | symbolRefOrFlatSymbolRefAttributeCaster (PyAttribute &pyAttribute) |
| void | populateIRAttributes (nb::module_ &m) |
| MlirBlock | createBlock (const nb::sequence &pyArgTypes, const std::optional< nb::sequence > &pyArgLocs) |
| static void | maybeInsertOperation (PyOperationRef &op, const nb::object &maybeIp) |
| template<typename Container> | |
| static std::vector< nb::typed< nb::object, PyType > > | getValueTypes (Container &container, PyMlirContextRef &context) |
| Returns the list of types of the values held by container. | |
| static void | populateResultTypes (StringRef name, nb::list resultTypeList, const nb::object &resultSegmentSpecObj, std::vector< int32_t > &resultSegmentLengths, std::vector< PyType * > &resultTypes) |
| static MlirValue | getOpResultOrValue (nb::handle operand) |
| void | populateRoot (nb::module_ &m) |
| void | populateIRCore (nb::module_ &m) |
| void | populateIRInterfaces (nb::module_ &m) |
| void | populateIRTypes (nb::module_ &m) |
| void | populatePassManagerSubmodule (nb::module_ &m) |
| Create the mlir.passmanager here. | |
| void | populatePassManagerSubmodule (nanobind::module_ &m) |
| void | populateRewriteSubmodule (nb::module_ &m) |
| Create the mlir.rewrite here. | |
| void | populateRewriteSubmodule (nanobind::module_ &m) |
Variables | |
| static constexpr const char * | constructorDoc |
| static constexpr const char * | operationDoc |
| static constexpr const char * | opviewDoc |
| static constexpr const char * | inferReturnTypesDoc |
| static constexpr const char * | inferReturnTypeComponentsDoc |
| enum mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnosticSeverity : std::underlying_type_t< MlirDiagnosticSeverity > |
| enum mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteStrictness : std::underlying_type_t< MlirGreedyRewriteStrictness > |
| Enumerator | |
|---|---|
| MLIR_GREEDY_REWRITE_STRICTNESS_ANY_OP | |
| MLIR_GREEDY_REWRITE_STRICTNESS_EXISTING_AND_NEW_OPS | |
| MLIR_GREEDY_REWRITE_STRICTNESS_EXISTING_OPS | |
Definition at line 230 of file Rewrite.cpp.
| enum mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedySimplifyRegionLevel : std::underlying_type_t< MlirGreedySimplifyRegionLevel > |
| Enumerator | |
|---|---|
| MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_DISABLED | |
| MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_NORMAL | |
| MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_AGGRESSIVE | |
Definition at line 239 of file Rewrite.cpp.
| enum mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirPassDisplayMode : std::underlying_type_t< MlirPassDisplayMode > |
| enum mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyWalkOrder : std::underlying_type_t< MlirWalkOrder > |
| enum mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyWalkResult : std::underlying_type_t< MlirWalkResult > |
| MlirBlock MLIR_PYTHON_API_EXPORTED mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::createBlock | ( | const nanobind::sequence & | pyArgTypes, |
| const std::optional< nanobind::sequence > & | pyArgLocs ) |
Create a block, using the current location context if no locations are specified.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyBlockList::appendBlock(), and populateIRCore().
| MlirBlock mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::createBlock | ( | const nb::sequence & | pyArgTypes, |
| const std::optional< nb::sequence > & | pyArgLocs ) |
Definition at line 85 of file IRCore.cpp.
References mlirBlockCreate(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::DefaultingPyLocation::resolve().
| nb::object mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::denseArrayAttributeCaster | ( | PyAttribute & | pyAttribute | ) |
Definition at line 1257 of file IRAttributes.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseBoolArrayAttribute::isaFunction, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseF32ArrayAttribute::isaFunction, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseF64ArrayAttribute::isaFunction, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI16ArrayAttribute::isaFunction, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI32ArrayAttribute::isaFunction, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI64ArrayAttribute::isaFunction, and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI8ArrayAttribute::isaFunction.
Referenced by populateIRAttributes().
| nb::object mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::denseIntOrFPElementsAttributeCaster | ( | PyAttribute & | pyAttribute | ) |
Definition at line 1278 of file IRAttributes.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseFPElementsAttribute::isaFunction, and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseIntElementsAttribute::isaFunction.
Referenced by populateIRAttributes().
|
static |
Definition at line 1572 of file IRCore.cpp.
| MlirValue mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::getUniqueResult | ( | MlirOperation | operation | ) |
Definition at line 1557 of file IRCore.cpp.
Referenced by populateIRCore().
|
static |
Returns the list of types of the values held by container.
Definition at line 1407 of file IRCore.cpp.
| nb::object mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::integerOrBoolAttributeCaster | ( | PyAttribute & | pyAttribute | ) |
Definition at line 1290 of file IRAttributes.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyBoolAttribute::isaFunction, and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyIntegerAttribute::isaFunction.
Referenced by populateIRAttributes().
|
static |
Definition at line 1230 of file IRCore.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::forContext().
| int mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::mlirTypeIsAIntegerOrFloat | ( | MlirType | type | ) |
Definition at line 32 of file IRTypes.cpp.
References mlirTypeIsABF16(), mlirTypeIsAF16(), mlirTypeIsAF32(), mlirTypeIsAF64(), and mlirTypeIsAInteger().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyComplexType::bindDerived().
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAffine | ( | nb::module_ & | m | ) |
Definition at line 523 of file IRAffine.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAffineExpr< PyAffineAddExpr, PyAffineBinaryExpr >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAffineExpr< PyAffineBinaryExpr >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAffineExpr< PyAffineConstantExpr >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAffineExpr< PyAffineDimExpr >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAffineExpr< PyAffineSymbolExpr >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyIntegerSetConstraint::bind(), mlir::Sliceable< PyAffineMapExprList, PyAffineExpr >::bind(), mlir::Sliceable< PyIntegerSetConstraintList, PyIntegerSetConstraint >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineExpr::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineMap::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyIntegerSet::createFromCapsule(), mlir::python::Defaulting< DerivedTy, T >::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineAddExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineCeilDivExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineConstantExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineDimExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineFloorDivExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineModExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineMulExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineSymbolExpr::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyObjectRef< T >::get(), mlir::PyPrintAccumulator::getCallback(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineExpr::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineMap::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyIntegerSet::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::BaseContextObject::getContext(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineAddExpr::getLHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineCeilDivExpr::getLHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineFloorDivExpr::getLHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineModExpr::getLHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineMulExpr::getLHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyObjectRef< T >::getObject(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineAddExpr::getRHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineCeilDivExpr::getRHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineFloorDivExpr::getRHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineModExpr::getRHSConstant(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAffineMulExpr::getRHSConstant(), mlir::PyPrintAccumulator::getUserData(), isPermutation(), mlir::PyPrintAccumulator::join(), kDumpDocstring, MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_CAPI_PTR_ATTR, mlirAffineExprCompose(), mlirAffineExprDump(), mlirAffineExprPrint(), mlirAffineExprShiftDims(), mlirAffineExprShiftSymbols(), mlirAffineMapCompressUnusedSymbols(), mlirAffineMapConstantGet(), mlirAffineMapDump(), mlirAffineMapEmptyGet(), mlirAffineMapGet(), mlirAffineMapGetMajorSubMap(), mlirAffineMapGetMinorSubMap(), mlirAffineMapGetNumDims(), mlirAffineMapGetNumInputs(), mlirAffineMapGetNumResults(), mlirAffineMapGetNumSymbols(), mlirAffineMapGetSubMap(), mlirAffineMapIsPermutation(), mlirAffineMapIsProjectedPermutation(), mlirAffineMapMinorIdentityGet(), mlirAffineMapMultiDimIdentityGet(), mlirAffineMapPermutationGet(), mlirAffineMapPrint(), mlirAffineMapReplace(), mlirIntegerSetDump(), mlirIntegerSetEmptyGet(), mlirIntegerSetGet(), mlirIntegerSetGetNumDims(), mlirIntegerSetGetNumEqualities(), mlirIntegerSetGetNumInequalities(), mlirIntegerSetGetNumInputs(), mlirIntegerSetGetNumSymbols(), mlirIntegerSetIsCanonicalEmpty(), mlirIntegerSetPrint(), mlirIntegerSetReplaceGet(), mlirSimplifyAffineExpr(), mlir::PyPrintAccumulator::parts, pyListToVector(), replacement(), and result.
Referenced by NB_MODULE().
| MLIR_PYTHON_API_EXPORTED void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAttributes | ( | nanobind::module_ & | m | ) |
References MLIR_PYTHON_API_EXPORTED.
Referenced by NB_MODULE().
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRAttributes | ( | nb::module_ & | m | ) |
Definition at line 1356 of file IRAttributes.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyArrayAttribute::PyArrayAttributeIterator::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyAffineMapAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyArrayAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyBoolAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseBoolArrayAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseElementsAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseF32ArrayAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseF64ArrayAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI16ArrayAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI32ArrayAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI64ArrayAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI8ArrayAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseResourceElementsAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDictAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyFlatSymbolRefAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyFloatAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyIntegerAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyIntegerSetAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyOpaqueAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyStridedLayoutAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyStringAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PySymbolRefAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyTypeAttribute >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyUnitAttribute >::bind(), denseArrayAttributeCaster(), denseIntOrFPElementsAttributeCaster(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::get(), integerOrBoolAttributeCaster(), mlirDenseArrayAttrGetTypeID(), mlirDenseIntOrFPElementsAttrGetTypeID(), mlirIntegerAttrGetTypeID(), mlirSymbolRefAttrGetTypeID(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::registerTypeCaster(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseElementsAttribute::slots, and symbolRefOrFlatSymbolRefAttributeCaster().
| MLIR_PYTHON_API_EXPORTED void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore | ( | nanobind::module_ & | m | ) |
References MLIR_PYTHON_API_EXPORTED.
Referenced by NB_MODULE().
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore | ( | nb::module_ & | m | ) |
Definition at line 2790 of file IRCore.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyThreadPool::_mlir_thread_pool_ptr(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInsertionPoint::after(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInsertionPoint::atBlockBegin(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInsertionPoint::atBlockTerminator(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::attachDiagnosticHandler(), b, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttrBuilderMap::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyBlockIterator::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyBlockList::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteValue< PyBlockArgument >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteValue< PyOpResult >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobalDebugFlag::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpAttributeMap::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationIterator::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationList::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpOperand::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpOperandIterator::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegionIterator::bind(), mlir::Sliceable< PyBlockArgumentList, PyBlockArgument >::bind(), mlir::Sliceable< PyBlockPredecessors, PyBlock >::bind(), mlir::Sliceable< PyBlockSuccessors, PyBlock >::bind(), mlir::Sliceable< PyOpOperandList, PyValue >::bind(), mlir::Sliceable< PyOpResultList, PyOpResult >::bind(), mlir::Sliceable< PyOpSuccessors, PyBlock >::bind(), mlir::Sliceable< PyRegionList, PyRegion >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpView::buildGeneric(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::checkValid(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegion::checkValid(), classmethod(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyModule::clearMlirModule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpView::constructDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnosticHandler::contextEnter(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInsertionPoint::contextEnter(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyLocation::contextEnter(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::contextEnter(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnosticHandler::contextExit(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInsertionPoint::contextExit(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyLocation::contextExit(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::contextExit(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::create(), createBlock(), createCustomDialectWrapper(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDialectRegistry::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyLocation::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyModule::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyType::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyTypeID::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyValue::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::createOpView(), MlirStringRef::data, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnosticHandler::detach(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::detachFromParent(), diag(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::dunderDel(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::erase(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::forContext(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyModule::forModule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::forOperation(), mlir::get(), mlir::python::Defaulting< DerivedTy, T >::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAsmState::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyLocation::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyObjectRef< T >::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegion::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyThreadPool::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyValue::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::getAsm(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::getBlock(), mlir::PyPrintAccumulator::getCallback(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyBlock::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDialectRegistry::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyLocation::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyModule::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyType::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyTypeID::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyValue::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::BaseContextObject::getContext(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyThreadContextEntry::getDefaultContext(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyThreadContextEntry::getDefaultInsertionPoint(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyThreadContextEntry::getDefaultLocation(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::getEmitErrorDiagnostics(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnosticHandler::getHadError(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::getLiveCount(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::getLiveModuleCount(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::getLocation(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyThreadPool::getMaxConcurrency(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::getMessage(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::getNotes(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyObjectRef< T >::getObject(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::getOperation(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegion::getParentOperation(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::getRef(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::getRef(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::getSeverity(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::getSymbolName(), getUniqueResult(), mlir::PyPrintAccumulator::getUserData(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::getVisibility(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInsertionPoint::insert(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::insert(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnosticHandler::isAttached(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::isAttached(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::isBeforeInBlock(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::isValid(), mlir::PyPrintAccumulator::join(), kDumpDocstring, kModuleParseDocstring, kValueReplaceAllUsesExceptDocstring, MlirStringRef::length, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::DiagnosticInfo::location, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute::maybeDownCast(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyType::maybeDownCast(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyValue::maybeDownCast(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::DiagnosticInfo::message, MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_CAPI_PTR_ATTR, MLIR_PYTHON_MAYBE_DOWNCAST_ATTR, mlirAsmStateCreateForValue(), mlirAsmStateDestroy(), mlirAttributeDump(), mlirAttributeGetType(), mlirAttributeGetTypeID(), mlirAttributeParseGet(), mlirAttributePrint(), mlirBlockAddArgument(), mlirBlockAppendOwnedOperation(), mlirBlockArgumentGetOwner(), mlirBlockDetach(), mlirBlockEraseArgument(), mlirBlockGetFirstOperation(), mlirBlockGetParentRegion(), mlirBlockPrint(), mlirContextAppendDialectRegistry(), mlirContextCreateWithThreading(), mlirContextEnableMultithreading(), mlirContextGetAllowUnregisteredDialects(), mlirContextGetNumThreads(), mlirContextGetOrLoadDialect(), mlirContextGetThreadPool(), mlirContextIsRegisteredOperation(), mlirContextLoadAllAvailableDialects(), mlirContextSetAllowUnregisteredDialects(), mlirContextSetThreadPool(), MlirDiagnosticError, MlirDiagnosticNote, MlirDiagnosticRemark, MlirDiagnosticWarning, mlirDialectGetNamespace(), mlirDialectIsNull(), mlirEmitError(), mlirIdentifierStr(), mlirLocationCallSiteGet(), mlirLocationCallSiteGetCallee(), mlirLocationCallSiteGetCaller(), mlirLocationEqual(), mlirLocationFileLineColGet(), mlirLocationFileLineColRangeGet(), mlirLocationFileLineColRangeGetEndColumn(), mlirLocationFileLineColRangeGetEndLine(), mlirLocationFileLineColRangeGetFilename(), mlirLocationFileLineColRangeGetStartColumn(), mlirLocationFileLineColRangeGetStartLine(), mlirLocationFromAttribute(), mlirLocationFusedGet(), mlirLocationFusedGetLocations(), mlirLocationFusedGetNumLocations(), mlirLocationGetAttribute(), mlirLocationIsACallSite(), mlirLocationIsAFileLineColRange(), mlirLocationIsAFused(), mlirLocationIsAName(), mlirLocationNameGet(), mlirLocationNameGetChildLoc(), mlirLocationNameGetName(), mlirLocationPrint(), mlirLocationUnknownGet(), mlirModuleCreateEmpty(), mlirModuleCreateParse(), mlirModuleCreateParseFromFile(), mlirModuleEqual(), mlirModuleGetBody(), mlirModuleGetOperation(), mlirModuleHashValue(), mlirOperationDump(), mlirOperationEqual(), mlirOperationGetLocation(), mlirOperationGetName(), mlirOperationHashValue(), mlirOperationReplaceUsesOfWith(), mlirOperationSetLocation(), mlirOpPrintingFlagsCreate(), mlirOpPrintingFlagsDestroy(), mlirOpPrintingFlagsPrintNameLocAsPrefix(), mlirOpPrintingFlagsUseLocalScope(), mlirOpResultGetOwner(), mlirRegionAppendOwnedBlock(), mlirRegionGetFirstBlock(), mlirRegionInsertOwnedBlock(), mlirRegionInsertOwnedBlockAfter(), mlirRegionInsertOwnedBlockBefore(), mlirRegionIsNull(), mlirStringRefCreate(), mlirSymbolTableLookup(), mlirTypeDump(), mlirTypeGetTypeID(), mlirTypeIDHashValue(), mlirTypeIDIsNull(), mlirTypeIsNull(), mlirTypeParseGet(), mlirTypePrint(), mlirValueDump(), mlirValueGetContext(), mlirValueGetFirstUse(), mlirValueGetLocation(), mlirValueGetType(), mlirValueIsABlockArgument(), mlirValueIsAOpResult(), mlirValuePrint(), mlirValuePrintAsOperand(), mlirValueReplaceAllUsesExcept(), mlirValueReplaceAllUsesOfWith(), mlirValueSetType(), MlirWalkPostOrder, MlirWalkPreOrder, MlirWalkResultAdvance, MlirWalkResultInterrupt, MlirWalkResultSkip, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::moveAfter(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::moveBefore(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::DiagnosticInfo::notes, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::parse(), mlir::PyPrintAccumulator::parts, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::print(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyObjectRef< T >::releaseObject(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::replaceAllSymbolUses(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::setAttached(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::setEmitErrorDiagnostics(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::setInvalid(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::setSymbolName(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::setVisibility(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDiagnostic::DiagnosticInfo::severity, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::ErrorCapture::take(), toMlirStringRef(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::verify(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::walk(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::walkSymbolTables(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::writeBytecode().
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRInterfaces | ( | nb::module_ & | m | ) |
Definition at line 467 of file IRInterfaces.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< PyInferShapedTypeOpInterface >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< PyInferTypeOpInterface >::bind(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyShapedTypeComponents::bind().
Referenced by NB_MODULE().
| MLIR_PYTHON_API_EXPORTED void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRTypes | ( | nanobind::module_ & | m | ) |
References MLIR_PYTHON_API_EXPORTED.
Referenced by NB_MODULE().
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRTypes | ( | nb::module_ & | m | ) |
Definition at line 862 of file IRTypes.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyBF16Type, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyComplexType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyF16Type, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyF32Type, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyF64Type, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat4E2M1FNType, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat6E2M3FNType, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat6E3M2FNType, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat8E3M4Type, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat8E4M3B11FNUZType, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat8E4M3FNType, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat8E4M3FNUZType, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat8E4M3Type, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat8E5M2FNUZType, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat8E5M2Type, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloat8E8M0FNUType, PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFloatType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyFunctionType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyIndexType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyIntegerType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyMemRefType, PyShapedType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyNoneType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyOpaqueType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyRankedTensorType, PyShapedType >::bind(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyShapedType >::bind(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteType< PyTupleType >::bind().
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populatePassManagerSubmodule | ( | nanobind::module_ & | m | ) |
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populatePassManagerSubmodule | ( | nb::module_ & | m | ) |
Create the mlir.passmanager here.
Definition at line 66 of file Pass.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::allocateTypeID(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyPassManager::createFromCapsule(), mlir::python::Defaulting< DerivedTy, T >::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperation::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyPassManager::get(), mlir::PyPrintAccumulator::getCallback(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyPassManager::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::BaseContextObject::getContext(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::getOperation(), mlir::PyPrintAccumulator::getUserData(), mlir::PyPrintAccumulator::join(), MAKE_MLIR_PYTHON_QUALNAME, MLIR_PASS_DISPLAY_MODE_LIST, MLIR_PASS_DISPLAY_MODE_PIPELINE, MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_CAPI_PTR_ATTR, mlirCreateExternalPass(), mlirExternalPassSignalFailure(), mlirLogicalResultIsFailure(), mlirOpPassManagerAddPipeline(), mlirOpPrintingFlagsCreate(), mlirOpPrintingFlagsDestroy(), mlirOpPrintingFlagsElideLargeElementsAttrs(), mlirOpPrintingFlagsElideLargeResourceString(), mlirOpPrintingFlagsEnableDebugInfo(), mlirOpPrintingFlagsPrintGenericOpForm(), mlirParsePassPipeline(), mlirPassManagerAddOwnedPass(), mlirPassManagerCreate(), mlirPassManagerCreateOnOperation(), mlirPassManagerEnableIRPrinting(), mlirPassManagerEnableStatistics(), mlirPassManagerEnableTiming(), mlirPassManagerEnableVerifier(), mlirPassManagerGetAsOpPassManager(), mlirPassManagerRunOnOp(), mlirPrintPassPipeline(), mlirStringRefCreate(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyPassManager::release(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::ErrorCapture::take().
Referenced by NB_MODULE().
|
static |
Definition at line 1460 of file IRCore.cpp.
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateRewriteSubmodule | ( | nanobind::module_ & | m | ) |
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateRewriteSubmodule | ( | nb::module_ & | m | ) |
Create the mlir.rewrite here.
Definition at line 330 of file Rewrite.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyFrozenRewritePatternSet::createFromCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::enableConstantCSE(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::enableFolding(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyPatternRewriter::eraseOp(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRewritePatternSet::freeze(), mlir::python::Defaulting< DerivedTy, T >::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyFrozenRewritePatternSet::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyModule::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyFrozenRewritePatternSet::getCapsule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyPatternRewriter::getInsertionPoint(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::getMaxIterations(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::getMaxNumRewrites(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOperationBase::getOperation(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::getRegionSimplificationLevel(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::getStrictness(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::getUseTopDownTraversal(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::isConstantCSEEnabled(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::isFoldingEnabled(), MAKE_MLIR_PYTHON_QUALNAME, MLIR_GREEDY_REWRITE_STRICTNESS_ANY_OP, MLIR_GREEDY_REWRITE_STRICTNESS_EXISTING_AND_NEW_OPS, MLIR_GREEDY_REWRITE_STRICTNESS_EXISTING_OPS, MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_AGGRESSIVE, MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_DISABLED, MLIR_GREEDY_SIMPLIFY_REGION_LEVEL_NORMAL, MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_CAPI_PTR_ATTR, mlirApplyPatternsAndFoldGreedily(), mlirApplyPatternsAndFoldGreedilyWithOp(), mlirFreezeRewritePattern(), mlirGreedyRewriteDriverConfigCreate(), mlirLogicalResultIsFailure(), mlirStringRefCreate(), mlirWalkAndApplyPatterns(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyPatternRewriter::replaceOp(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::setMaxIterations(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::setMaxNumRewrites(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::setRegionSimplificationLevel(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::setStrictness(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGreedyRewriteDriverConfig::setUseTopDownTraversal().
Referenced by NB_MODULE().
| MLIR_PYTHON_API_EXPORTED void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateRoot | ( | nanobind::module_ & | m | ) |
References MLIR_PYTHON_API_EXPORTED.
Referenced by NB_MODULE().
| void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateRoot | ( | nb::module_ & | m | ) |
Definition at line 2666 of file IRCore.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::addDialectSearchPrefix(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::get(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::getDialectSearchPrefixes(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::getTracebackLoc(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::TracebackLoc::kMaxFrames, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::loadDialectModule(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::TracebackLoc::locTracebackFramesLimit(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::TracebackLoc::locTracebacksEnabled(), MLIR_PYTHON_CAPI_TYPE_CASTER_REGISTER_ATTR, MLIR_PYTHON_CAPI_VALUE_CASTER_REGISTER_ATTR, mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::registerDialectImpl(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::registerOperationImpl(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::TracebackLoc::registerTracebackFileExclusion(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::TracebackLoc::registerTracebackFileInclusion(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::registerTypeCaster(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::registerValueCaster(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::setDialectSearchPrefixes(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::TracebackLoc::setLocTracebackFramesLimit(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyGlobals::TracebackLoc::setLocTracebacksEnabled().
|
static |
Definition at line 99 of file IRAttributes.h.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyArrayAttribute::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseArrayAttribute< EltTy, DerivedT >::bindDerived(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseElementsAttribute::getFromList().
| nb::object mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::symbolRefOrFlatSymbolRefAttributeCaster | ( | PyAttribute & | pyAttribute | ) |
Definition at line 1301 of file IRAttributes.cpp.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyFlatSymbolRefAttribute::isaFunction, and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolRefAttribute::isaFunction.
Referenced by populateIRAttributes().
|
inline |
Definition at line 1343 of file IRCore.h.
References mlirStringRefCreate().
|
inline |
Definition at line 1335 of file IRCore.h.
References mlirStringRefCreate().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDictAttribute::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyFlatSymbolRefAttribute::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpaqueAttribute::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpaqueType::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyStringAttribute::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDictAttribute::dunderContains(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpAttributeMap::dunderDelItem(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpAttributeMap::dunderLen(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyOpAttributeMap::forEachAttr(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolRefAttribute::fromList(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseResourceElementsAttribute::getFromBuffer(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::getVisibility(), populateIRCore(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyNamedAttribute::PyNamedAttribute(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PySymbolTable::replaceAllSymbolUses().
|
inline |
Definition at line 1339 of file IRCore.h.
References mlirStringRefCreate().
|
staticconstexpr |
Definition at line 29 of file IRInterfaces.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< ConcreteIface >::bind().
|
staticconstexpr |
Definition at line 45 of file IRInterfaces.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInferShapedTypeOpInterface::bindDerived().
|
staticconstexpr |
Definition at line 41 of file IRInterfaces.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyInferTypeOpInterface::bindDerived().
|
staticconstexpr |
Definition at line 34 of file IRInterfaces.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< ConcreteIface >::bind().
|
staticconstexpr |
Definition at line 37 of file IRInterfaces.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteOpInterface< ConcreteIface >::bind().