API reference
Types and constants
Reactant.MLIR.API.LLVMAttributeRef
Reactant.MLIR.API.LLVMBasicBlockRef
Reactant.MLIR.API.LLVMBinaryRef
Reactant.MLIR.API.LLVMBool
Reactant.MLIR.API.LLVMBuilderRef
Reactant.MLIR.API.LLVMComdatRef
Reactant.MLIR.API.LLVMContextRef
Reactant.MLIR.API.LLVMDIBuilderRef
Reactant.MLIR.API.LLVMDbgRecordRef
Reactant.MLIR.API.LLVMDiagnosticInfoRef
Reactant.MLIR.API.LLVMJITEventListenerRef
Reactant.MLIR.API.LLVMMemoryBufferRef
Reactant.MLIR.API.LLVMMetadataRef
Reactant.MLIR.API.LLVMModuleFlagEntry
Reactant.MLIR.API.LLVMModuleProviderRef
Reactant.MLIR.API.LLVMModuleRef
Reactant.MLIR.API.LLVMNamedMDNodeRef
Reactant.MLIR.API.LLVMOperandBundleRef
Reactant.MLIR.API.LLVMPassManagerRef
Reactant.MLIR.API.LLVMTypeRef
Reactant.MLIR.API.LLVMUseRef
Reactant.MLIR.API.LLVMValueMetadataEntry
Reactant.MLIR.API.LLVMValueRef
Reactant.MLIR.API.MlirDiagnostic
Reactant.MLIR.API.MlirDiagnosticHandler
Reactant.MLIR.API.MlirDiagnosticHandlerID
Reactant.MLIR.API.MlirDiagnosticSeverity
Reactant.MLIR.API.MlirExternalPassCallbacks
Reactant.MLIR.API.MlirLlvmThreadPool
Reactant.MLIR.API.MlirLogicalResult
Reactant.MLIR.API.MlirNamedAttribute
Reactant.MLIR.API.MlirOperationState
Reactant.MLIR.API.MlirOperationWalkCallback
Reactant.MLIR.API.MlirShapedTypeComponentsCallback
Reactant.MLIR.API.MlirSparseTensorLevelType
Reactant.MLIR.API.MlirStringCallback
Reactant.MLIR.API.MlirStringRef
Reactant.MLIR.API.MlirTypesCallback
Reactant.MLIR.API.MlirWalkOrder
Reactant.MLIR.IR.AffineMap
Reactant.MLIR.IR.AffineMap
Reactant.MLIR.IR.AffineMap
Reactant.MLIR.IR.AffineMap
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Block
Reactant.MLIR.IR.BlockIterator
Reactant.MLIR.IR.Context
Reactant.MLIR.IR.ExecutionEngine
Reactant.MLIR.IR.Identifier
Reactant.MLIR.IR.IntegerSet
Reactant.MLIR.IR.IntegerSet
Reactant.MLIR.IR.LogicalResult
Reactant.MLIR.IR.Module
Reactant.MLIR.IR.NamedAttribute
Reactant.MLIR.IR.OpPassManager
Reactant.MLIR.IR.OpPassManager
Reactant.MLIR.IR.OpPassManager
Reactant.MLIR.IR.Operation
Reactant.MLIR.IR.OperationIterator
Reactant.MLIR.IR.PassManager
Reactant.MLIR.IR.PassManager
Reactant.MLIR.IR.Region
Reactant.MLIR.IR.RegionIterator
Reactant.MLIR.IR.SymbolTable
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Functions and macros
Reactant.@code_hlo
Reactant.MLIR.API.LLVMAddSymbol
Reactant.MLIR.API.LLVMLoadLibraryPermanently
Reactant.MLIR.API.LLVMParseCommandLineOptions
Reactant.MLIR.API.LLVMSearchForAddressOfSymbol
Reactant.MLIR.API.mlirAffineAddExprGet
Reactant.MLIR.API.mlirAffineBinaryOpExprGetLHS
Reactant.MLIR.API.mlirAffineBinaryOpExprGetRHS
Reactant.MLIR.API.mlirAffineCeilDivExprGet
Reactant.MLIR.API.mlirAffineConstantExprGet
Reactant.MLIR.API.mlirAffineConstantExprGetValue
Reactant.MLIR.API.mlirAffineDimExprGet
Reactant.MLIR.API.mlirAffineDimExprGetPosition
Reactant.MLIR.API.mlirAffineExprCompose
Reactant.MLIR.API.mlirAffineExprDump
Reactant.MLIR.API.mlirAffineExprEqual
Reactant.MLIR.API.mlirAffineExprGetContext
Reactant.MLIR.API.mlirAffineExprGetLargestKnownDivisor
Reactant.MLIR.API.mlirAffineExprIsAAdd
Reactant.MLIR.API.mlirAffineExprIsABinary
Reactant.MLIR.API.mlirAffineExprIsACeilDiv
Reactant.MLIR.API.mlirAffineExprIsAConstant
Reactant.MLIR.API.mlirAffineExprIsADim
Reactant.MLIR.API.mlirAffineExprIsAFloorDiv
Reactant.MLIR.API.mlirAffineExprIsAMod
Reactant.MLIR.API.mlirAffineExprIsAMul
Reactant.MLIR.API.mlirAffineExprIsASymbol
Reactant.MLIR.API.mlirAffineExprIsFunctionOfDim
Reactant.MLIR.API.mlirAffineExprIsMultipleOf
Reactant.MLIR.API.mlirAffineExprIsNull
Reactant.MLIR.API.mlirAffineExprIsPureAffine
Reactant.MLIR.API.mlirAffineExprIsSymbolicOrConstant
Reactant.MLIR.API.mlirAffineExprPrint
Reactant.MLIR.API.mlirAffineFloorDivExprGet
Reactant.MLIR.API.mlirAffineMapAttrGet
Reactant.MLIR.API.mlirAffineMapAttrGetTypeID
Reactant.MLIR.API.mlirAffineMapAttrGetValue
Reactant.MLIR.API.mlirAffineMapCompressUnusedSymbols
Reactant.MLIR.API.mlirAffineMapConstantGet
Reactant.MLIR.API.mlirAffineMapDump
Reactant.MLIR.API.mlirAffineMapEmptyGet
Reactant.MLIR.API.mlirAffineMapEqual
Reactant.MLIR.API.mlirAffineMapGet
Reactant.MLIR.API.mlirAffineMapGetContext
Reactant.MLIR.API.mlirAffineMapGetMajorSubMap
Reactant.MLIR.API.mlirAffineMapGetMinorSubMap
Reactant.MLIR.API.mlirAffineMapGetNumDims
Reactant.MLIR.API.mlirAffineMapGetNumInputs
Reactant.MLIR.API.mlirAffineMapGetNumResults
Reactant.MLIR.API.mlirAffineMapGetNumSymbols
Reactant.MLIR.API.mlirAffineMapGetResult
Reactant.MLIR.API.mlirAffineMapGetSingleConstantResult
Reactant.MLIR.API.mlirAffineMapGetSubMap
Reactant.MLIR.API.mlirAffineMapIsEmpty
Reactant.MLIR.API.mlirAffineMapIsIdentity
Reactant.MLIR.API.mlirAffineMapIsMinorIdentity
Reactant.MLIR.API.mlirAffineMapIsNull
Reactant.MLIR.API.mlirAffineMapIsPermutation
Reactant.MLIR.API.mlirAffineMapIsProjectedPermutation
Reactant.MLIR.API.mlirAffineMapIsSingleConstant
Reactant.MLIR.API.mlirAffineMapMinorIdentityGet
Reactant.MLIR.API.mlirAffineMapMultiDimIdentityGet
Reactant.MLIR.API.mlirAffineMapPermutationGet
Reactant.MLIR.API.mlirAffineMapPrint
Reactant.MLIR.API.mlirAffineMapReplace
Reactant.MLIR.API.mlirAffineMapZeroResultGet
Reactant.MLIR.API.mlirAffineModExprGet
Reactant.MLIR.API.mlirAffineMulExprGet
Reactant.MLIR.API.mlirAffineSymbolExprGet
Reactant.MLIR.API.mlirAffineSymbolExprGetPosition
Reactant.MLIR.API.mlirAnyQuantizedTypeGet
Reactant.MLIR.API.mlirArrayAttrGet
Reactant.MLIR.API.mlirArrayAttrGetElement
Reactant.MLIR.API.mlirArrayAttrGetNumElements
Reactant.MLIR.API.mlirArrayAttrGetTypeID
Reactant.MLIR.API.mlirAsmStateCreateForOperation
Reactant.MLIR.API.mlirAsmStateCreateForValue
Reactant.MLIR.API.mlirAsmStateDestroy
Reactant.MLIR.API.mlirAttributeDump
Reactant.MLIR.API.mlirAttributeEqual
Reactant.MLIR.API.mlirAttributeGetContext
Reactant.MLIR.API.mlirAttributeGetDialect
Reactant.MLIR.API.mlirAttributeGetNull
Reactant.MLIR.API.mlirAttributeGetType
Reactant.MLIR.API.mlirAttributeGetTypeID
Reactant.MLIR.API.mlirAttributeIsAAffineMap
Reactant.MLIR.API.mlirAttributeIsAArray
Reactant.MLIR.API.mlirAttributeIsABool
Reactant.MLIR.API.mlirAttributeIsADenseBoolArray
Reactant.MLIR.API.mlirAttributeIsADenseElements
Reactant.MLIR.API.mlirAttributeIsADictionary
Reactant.MLIR.API.mlirAttributeIsAElements
Reactant.MLIR.API.mlirAttributeIsAFlatSymbolRef
Reactant.MLIR.API.mlirAttributeIsAFloat
Reactant.MLIR.API.mlirAttributeIsAInteger
Reactant.MLIR.API.mlirAttributeIsAIntegerSet
Reactant.MLIR.API.mlirAttributeIsAOpaque
Reactant.MLIR.API.mlirAttributeIsASparseElements
Reactant.MLIR.API.mlirAttributeIsASparseTensorEncodingAttr
Reactant.MLIR.API.mlirAttributeIsAString
Reactant.MLIR.API.mlirAttributeIsASymbolRef
Reactant.MLIR.API.mlirAttributeIsAType
Reactant.MLIR.API.mlirAttributeIsAUnit
Reactant.MLIR.API.mlirAttributeIsNull
Reactant.MLIR.API.mlirAttributeParseGet
Reactant.MLIR.API.mlirAttributePrint
Reactant.MLIR.API.mlirBF16TypeGet
Reactant.MLIR.API.mlirBFloat16TypeGetTypeID
Reactant.MLIR.API.mlirBlockAddArgument
Reactant.MLIR.API.mlirBlockAppendOwnedOperation
Reactant.MLIR.API.mlirBlockArgumentGetArgNumber
Reactant.MLIR.API.mlirBlockArgumentGetOwner
Reactant.MLIR.API.mlirBlockArgumentSetType
Reactant.MLIR.API.mlirBlockCreate
Reactant.MLIR.API.mlirBlockDestroy
Reactant.MLIR.API.mlirBlockDetach
Reactant.MLIR.API.mlirBlockEqual
Reactant.MLIR.API.mlirBlockGetArgument
Reactant.MLIR.API.mlirBlockGetFirstOperation
Reactant.MLIR.API.mlirBlockGetNextInRegion
Reactant.MLIR.API.mlirBlockGetNumArguments
Reactant.MLIR.API.mlirBlockGetParentOperation
Reactant.MLIR.API.mlirBlockGetParentRegion
Reactant.MLIR.API.mlirBlockGetTerminator
Reactant.MLIR.API.mlirBlockInsertArgument
Reactant.MLIR.API.mlirBlockInsertOwnedOperation
Reactant.MLIR.API.mlirBlockInsertOwnedOperationAfter
Reactant.MLIR.API.mlirBlockInsertOwnedOperationBefore
Reactant.MLIR.API.mlirBlockIsNull
Reactant.MLIR.API.mlirBlockPrint
Reactant.MLIR.API.mlirBoolAttrGet
Reactant.MLIR.API.mlirBoolAttrGetValue
Reactant.MLIR.API.mlirBytecodeWriterConfigCreate
Reactant.MLIR.API.mlirBytecodeWriterConfigDesiredEmitVersion
Reactant.MLIR.API.mlirBytecodeWriterConfigDestroy
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGet
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGetMax
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGetMin
Reactant.MLIR.API.mlirComplexTypeGet
Reactant.MLIR.API.mlirComplexTypeGetElementType
Reactant.MLIR.API.mlirComplexTypeGetTypeID
Reactant.MLIR.API.mlirContextAppendDialectRegistry
Reactant.MLIR.API.mlirContextAttachDiagnosticHandler
Reactant.MLIR.API.mlirContextCreate
Reactant.MLIR.API.mlirContextCreateWithRegistry
Reactant.MLIR.API.mlirContextCreateWithThreading
Reactant.MLIR.API.mlirContextDestroy
Reactant.MLIR.API.mlirContextDetachDiagnosticHandler
Reactant.MLIR.API.mlirContextEnableMultithreading
Reactant.MLIR.API.mlirContextEqual
Reactant.MLIR.API.mlirContextGetAllowUnregisteredDialects
Reactant.MLIR.API.mlirContextGetNumLoadedDialects
Reactant.MLIR.API.mlirContextGetNumRegisteredDialects
Reactant.MLIR.API.mlirContextGetOrLoadDialect
Reactant.MLIR.API.mlirContextIsNull
Reactant.MLIR.API.mlirContextIsRegisteredOperation
Reactant.MLIR.API.mlirContextLoadAllAvailableDialects
Reactant.MLIR.API.mlirContextSetAllowUnregisteredDialects
Reactant.MLIR.API.mlirContextSetThreadPool
Reactant.MLIR.API.mlirCreateExternalPass
Reactant.MLIR.API.mlirDenseArrayGetNumElements
Reactant.MLIR.API.mlirDenseBoolArrayGet
Reactant.MLIR.API.mlirDenseBoolArrayGetElement
Reactant.MLIR.API.mlirDenseBoolResourceElementsAttrGetValue
Reactant.MLIR.API.mlirDenseElementsAttrBoolGet
Reactant.MLIR.API.mlirDenseElementsAttrGet
Reactant.MLIR.API.mlirDenseElementsAttrGetBoolValue
Reactant.MLIR.API.mlirDenseElementsAttrGetRawData
Reactant.MLIR.API.mlirDenseElementsAttrGetSplatValue
Reactant.MLIR.API.mlirDenseElementsAttrIsSplat
Reactant.MLIR.API.mlirDenseElementsAttrRawBufferGet
Reactant.MLIR.API.mlirDenseElementsAttrReshapeGet
Reactant.MLIR.API.mlirDenseElementsAttrSplatGet
Reactant.MLIR.API.mlirDenseElementsAttrStringGet
Reactant.MLIR.API.mlirDenseIntOrFPElementsAttrGetTypeID
Reactant.MLIR.API.mlirDiagnosticGetLocation
Reactant.MLIR.API.mlirDiagnosticGetNote
Reactant.MLIR.API.mlirDiagnosticGetNumNotes
Reactant.MLIR.API.mlirDiagnosticGetSeverity
Reactant.MLIR.API.mlirDiagnosticPrint
Reactant.MLIR.API.mlirDialectEqual
Reactant.MLIR.API.mlirDialectGetContext
Reactant.MLIR.API.mlirDialectGetNamespace
Reactant.MLIR.API.mlirDialectHandleGetNamespace
Reactant.MLIR.API.mlirDialectHandleInsertDialect
Reactant.MLIR.API.mlirDialectHandleLoadDialect
Reactant.MLIR.API.mlirDialectHandleRegisterDialect
Reactant.MLIR.API.mlirDialectIsNull
Reactant.MLIR.API.mlirDialectRegistryCreate
Reactant.MLIR.API.mlirDialectRegistryDestroy
Reactant.MLIR.API.mlirDialectRegistryIsNull
Reactant.MLIR.API.mlirDictionaryAttrGet
Reactant.MLIR.API.mlirDictionaryAttrGetElement
Reactant.MLIR.API.mlirDictionaryAttrGetElementByName
Reactant.MLIR.API.mlirDictionaryAttrGetNumElements
Reactant.MLIR.API.mlirDictionaryAttrGetTypeID
Reactant.MLIR.API.mlirDisctinctAttrCreate
Reactant.MLIR.API.mlirElementsAttrGetNumElements
Reactant.MLIR.API.mlirElementsAttrGetValue
Reactant.MLIR.API.mlirElementsAttrIsValidIndex
Reactant.MLIR.API.mlirEmitError
Reactant.MLIR.API.mlirEnableGlobalDebug
Reactant.MLIR.API.mlirExecutionEngineCreate
Reactant.MLIR.API.mlirExecutionEngineDestroy
Reactant.MLIR.API.mlirExecutionEngineDumpToObjectFile
Reactant.MLIR.API.mlirExecutionEngineInvokePacked
Reactant.MLIR.API.mlirExecutionEngineIsNull
Reactant.MLIR.API.mlirExecutionEngineLookup
Reactant.MLIR.API.mlirExecutionEngineLookupPacked
Reactant.MLIR.API.mlirExecutionEngineRegisterSymbol
Reactant.MLIR.API.mlirExternalPassSignalFailure
Reactant.MLIR.API.mlirF16TypeGet
Reactant.MLIR.API.mlirF32TypeGet
Reactant.MLIR.API.mlirF64TypeGet
Reactant.MLIR.API.mlirFlatSymbolRefAttrGet
Reactant.MLIR.API.mlirFlatSymbolRefAttrGetValue
Reactant.MLIR.API.mlirFloat16TypeGetTypeID
Reactant.MLIR.API.mlirFloat32TypeGetTypeID
Reactant.MLIR.API.mlirFloat64TypeGetTypeID
Reactant.MLIR.API.mlirFloat8E4M3B11FNUZTypeGet
Reactant.MLIR.API.mlirFloat8E4M3B11FNUZTypeGetTypeID
Reactant.MLIR.API.mlirFloat8E4M3FNTypeGet
Reactant.MLIR.API.mlirFloat8E4M3FNTypeGetTypeID
Reactant.MLIR.API.mlirFloat8E4M3FNUZTypeGet
Reactant.MLIR.API.mlirFloat8E4M3FNUZTypeGetTypeID
Reactant.MLIR.API.mlirFloat8E5M2FNUZTypeGet
Reactant.MLIR.API.mlirFloat8E5M2FNUZTypeGetTypeID
Reactant.MLIR.API.mlirFloat8E5M2TypeGet
Reactant.MLIR.API.mlirFloat8E5M2TypeGetTypeID
Reactant.MLIR.API.mlirFloatAttrDoubleGet
Reactant.MLIR.API.mlirFloatAttrDoubleGetChecked
Reactant.MLIR.API.mlirFloatAttrGetTypeID
Reactant.MLIR.API.mlirFloatAttrGetValueDouble
Reactant.MLIR.API.mlirFloatTF32TypeGetTypeID
Reactant.MLIR.API.mlirFloatTypeGetWidth
Reactant.MLIR.API.mlirFuncSetArgAttr
Reactant.MLIR.API.mlirFunctionTypeGet
Reactant.MLIR.API.mlirFunctionTypeGetInput
Reactant.MLIR.API.mlirFunctionTypeGetNumInputs
Reactant.MLIR.API.mlirFunctionTypeGetNumResults
Reactant.MLIR.API.mlirFunctionTypeGetResult
Reactant.MLIR.API.mlirFunctionTypeGetTypeID
Reactant.MLIR.API.mlirIdentifierEqual
Reactant.MLIR.API.mlirIdentifierGet
Reactant.MLIR.API.mlirIdentifierGetContext
Reactant.MLIR.API.mlirIdentifierStr
Reactant.MLIR.API.mlirIndexTypeGet
Reactant.MLIR.API.mlirIndexTypeGetTypeID
Reactant.MLIR.API.mlirInferShapedTypeOpInterfaceInferReturnTypes
Reactant.MLIR.API.mlirInferShapedTypeOpInterfaceTypeID
Reactant.MLIR.API.mlirInferTypeOpInterfaceInferReturnTypes
Reactant.MLIR.API.mlirInferTypeOpInterfaceTypeID
Reactant.MLIR.API.mlirIntegerAttrGet
Reactant.MLIR.API.mlirIntegerAttrGetTypeID
Reactant.MLIR.API.mlirIntegerAttrGetValueInt
Reactant.MLIR.API.mlirIntegerAttrGetValueSInt
Reactant.MLIR.API.mlirIntegerAttrGetValueUInt
Reactant.MLIR.API.mlirIntegerSetAttrGetTypeID
Reactant.MLIR.API.mlirIntegerSetDump
Reactant.MLIR.API.mlirIntegerSetEmptyGet
Reactant.MLIR.API.mlirIntegerSetEqual
Reactant.MLIR.API.mlirIntegerSetGet
Reactant.MLIR.API.mlirIntegerSetGetConstraint
Reactant.MLIR.API.mlirIntegerSetGetContext
Reactant.MLIR.API.mlirIntegerSetGetNumConstraints
Reactant.MLIR.API.mlirIntegerSetGetNumDims
Reactant.MLIR.API.mlirIntegerSetGetNumEqualities
Reactant.MLIR.API.mlirIntegerSetGetNumInequalities
Reactant.MLIR.API.mlirIntegerSetGetNumInputs
Reactant.MLIR.API.mlirIntegerSetGetNumSymbols
Reactant.MLIR.API.mlirIntegerSetIsCanonicalEmpty
Reactant.MLIR.API.mlirIntegerSetIsConstraintEq
Reactant.MLIR.API.mlirIntegerSetIsNull
Reactant.MLIR.API.mlirIntegerSetPrint
Reactant.MLIR.API.mlirIntegerSetReplaceGet
Reactant.MLIR.API.mlirIntegerTypeGet
Reactant.MLIR.API.mlirIntegerTypeGetTypeID
Reactant.MLIR.API.mlirIntegerTypeGetWidth
Reactant.MLIR.API.mlirIntegerTypeIsSigned
Reactant.MLIR.API.mlirIntegerTypeIsSignless
Reactant.MLIR.API.mlirIntegerTypeIsUnsigned
Reactant.MLIR.API.mlirIntegerTypeSignedGet
Reactant.MLIR.API.mlirIntegerTypeUnsignedGet
Reactant.MLIR.API.mlirIsGlobalDebugEnabled
Reactant.MLIR.API.mlirLLVMArrayTypeGet
Reactant.MLIR.API.mlirLLVMCConvAttrGet
Reactant.MLIR.API.mlirLLVMComdatAttrGet
Reactant.MLIR.API.mlirLLVMDIBasicTypeAttrGet
Reactant.MLIR.API.mlirLLVMDICompileUnitAttrGet
Reactant.MLIR.API.mlirLLVMDICompositeTypeAttrGet
Reactant.MLIR.API.mlirLLVMDIDerivedTypeAttrGet
Reactant.MLIR.API.mlirLLVMDIDerivedTypeAttrGetBaseType
Reactant.MLIR.API.mlirLLVMDIExpressionAttrGet
Reactant.MLIR.API.mlirLLVMDIExpressionElemAttrGet
Reactant.MLIR.API.mlirLLVMDIFileAttrGet
Reactant.MLIR.API.mlirLLVMDIFlagsAttrGet
Reactant.MLIR.API.mlirLLVMDILexicalBlockAttrGet
Reactant.MLIR.API.mlirLLVMDILexicalBlockFileAttrGet
Reactant.MLIR.API.mlirLLVMDILocalVariableAttrGet
Reactant.MLIR.API.mlirLLVMDIModuleAttrGet
Reactant.MLIR.API.mlirLLVMDIModuleAttrGetScope
Reactant.MLIR.API.mlirLLVMDINullTypeAttrGet
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGet
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetCompileUnit
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetFile
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetLine
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetScope
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetScopeLine
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetType
Reactant.MLIR.API.mlirLLVMDISubroutineTypeAttrGet
Reactant.MLIR.API.mlirLLVMFunctionTypeGet
Reactant.MLIR.API.mlirLLVMLinkageAttrGet
Reactant.MLIR.API.mlirLLVMPointerTypeGet
Reactant.MLIR.API.mlirLLVMStructTypeGetElementType
Reactant.MLIR.API.mlirLLVMStructTypeGetIdentifier
Reactant.MLIR.API.mlirLLVMStructTypeGetNumElementTypes
Reactant.MLIR.API.mlirLLVMStructTypeIdentifiedGet
Reactant.MLIR.API.mlirLLVMStructTypeIdentifiedNewGet
Reactant.MLIR.API.mlirLLVMStructTypeIsLiteral
Reactant.MLIR.API.mlirLLVMStructTypeIsOpaque
Reactant.MLIR.API.mlirLLVMStructTypeIsPacked
Reactant.MLIR.API.mlirLLVMStructTypeLiteralGet
Reactant.MLIR.API.mlirLLVMStructTypeLiteralGetChecked
Reactant.MLIR.API.mlirLLVMStructTypeSetBody
Reactant.MLIR.API.mlirLLVMVoidTypeGet
Reactant.MLIR.API.mlirLinalgFillBuiltinNamedOpRegion
Reactant.MLIR.API.mlirLlvmThreadPoolCreate
Reactant.MLIR.API.mlirLlvmThreadPoolDestroy
Reactant.MLIR.API.mlirLocationCallSiteGet
Reactant.MLIR.API.mlirLocationEqual
Reactant.MLIR.API.mlirLocationFileLineColGet
Reactant.MLIR.API.mlirLocationFromAttribute
Reactant.MLIR.API.mlirLocationFusedGet
Reactant.MLIR.API.mlirLocationGetAttribute
Reactant.MLIR.API.mlirLocationGetContext
Reactant.MLIR.API.mlirLocationIsNull
Reactant.MLIR.API.mlirLocationNameGet
Reactant.MLIR.API.mlirLocationPrint
Reactant.MLIR.API.mlirLocationUnknownGet
Reactant.MLIR.API.mlirLogicalResultFailure
Reactant.MLIR.API.mlirLogicalResultIsFailure
Reactant.MLIR.API.mlirLogicalResultIsSuccess
Reactant.MLIR.API.mlirLogicalResultSuccess
Reactant.MLIR.API.mlirMemRefTypeContiguousGet
Reactant.MLIR.API.mlirMemRefTypeContiguousGetChecked
Reactant.MLIR.API.mlirMemRefTypeGet
Reactant.MLIR.API.mlirMemRefTypeGetAffineMap
Reactant.MLIR.API.mlirMemRefTypeGetChecked
Reactant.MLIR.API.mlirMemRefTypeGetLayout
Reactant.MLIR.API.mlirMemRefTypeGetMemorySpace
Reactant.MLIR.API.mlirMemRefTypeGetStridesAndOffset
Reactant.MLIR.API.mlirMemRefTypeGetTypeID
Reactant.MLIR.API.mlirModuleCreateEmpty
Reactant.MLIR.API.mlirModuleCreateParse
Reactant.MLIR.API.mlirModuleDestroy
Reactant.MLIR.API.mlirModuleFromOperation
Reactant.MLIR.API.mlirModuleGetBody
Reactant.MLIR.API.mlirModuleGetContext
Reactant.MLIR.API.mlirModuleGetOperation
Reactant.MLIR.API.mlirModuleIsNull
Reactant.MLIR.API.mlirNamedAttributeGet
Reactant.MLIR.API.mlirNoneTypeGet
Reactant.MLIR.API.mlirNoneTypeGetTypeID
Reactant.MLIR.API.mlirOpOperandGetNextUse
Reactant.MLIR.API.mlirOpOperandGetOperandNumber
Reactant.MLIR.API.mlirOpOperandGetOwner
Reactant.MLIR.API.mlirOpOperandGetValue
Reactant.MLIR.API.mlirOpOperandIsNull
Reactant.MLIR.API.mlirOpPassManagerAddOwnedPass
Reactant.MLIR.API.mlirOpPassManagerAddPipeline
Reactant.MLIR.API.mlirOpPassManagerGetNestedUnder
Reactant.MLIR.API.mlirOpPrintingFlagsAssumeVerified
Reactant.MLIR.API.mlirOpPrintingFlagsCreate
Reactant.MLIR.API.mlirOpPrintingFlagsDestroy
Reactant.MLIR.API.mlirOpPrintingFlagsElideLargeElementsAttrs
Reactant.MLIR.API.mlirOpPrintingFlagsEnableDebugInfo
Reactant.MLIR.API.mlirOpPrintingFlagsPrintGenericOpForm
Reactant.MLIR.API.mlirOpPrintingFlagsUseLocalScope
Reactant.MLIR.API.mlirOpResultGetOwner
Reactant.MLIR.API.mlirOpResultGetResultNumber
Reactant.MLIR.API.mlirOpaqueAttrGet
Reactant.MLIR.API.mlirOpaqueAttrGetData
Reactant.MLIR.API.mlirOpaqueAttrGetDialectNamespace
Reactant.MLIR.API.mlirOpaqueAttrGetTypeID
Reactant.MLIR.API.mlirOpaqueTypeGet
Reactant.MLIR.API.mlirOpaqueTypeGetData
Reactant.MLIR.API.mlirOpaqueTypeGetDialectNamespace
Reactant.MLIR.API.mlirOpaqueTypeGetTypeID
Reactant.MLIR.API.mlirOperationClone
Reactant.MLIR.API.mlirOperationCreate
Reactant.MLIR.API.mlirOperationCreateParse
Reactant.MLIR.API.mlirOperationDestroy
Reactant.MLIR.API.mlirOperationDump
Reactant.MLIR.API.mlirOperationEqual
Reactant.MLIR.API.mlirOperationGetAttribute
Reactant.MLIR.API.mlirOperationGetAttributeByName
Reactant.MLIR.API.mlirOperationGetBlock
Reactant.MLIR.API.mlirOperationGetContext
Reactant.MLIR.API.mlirOperationGetDiscardableAttribute
Reactant.MLIR.API.mlirOperationGetDiscardableAttributeByName
Reactant.MLIR.API.mlirOperationGetFirstRegion
Reactant.MLIR.API.mlirOperationGetInherentAttributeByName
Reactant.MLIR.API.mlirOperationGetLocation
Reactant.MLIR.API.mlirOperationGetName
Reactant.MLIR.API.mlirOperationGetNextInBlock
Reactant.MLIR.API.mlirOperationGetNumAttributes
Reactant.MLIR.API.mlirOperationGetNumDiscardableAttributes
Reactant.MLIR.API.mlirOperationGetNumOperands
Reactant.MLIR.API.mlirOperationGetNumRegions
Reactant.MLIR.API.mlirOperationGetNumResults
Reactant.MLIR.API.mlirOperationGetNumSuccessors
Reactant.MLIR.API.mlirOperationGetOperand
Reactant.MLIR.API.mlirOperationGetParentOperation
Reactant.MLIR.API.mlirOperationGetRegion
Reactant.MLIR.API.mlirOperationGetResult
Reactant.MLIR.API.mlirOperationGetSuccessor
Reactant.MLIR.API.mlirOperationGetTypeID
Reactant.MLIR.API.mlirOperationHasInherentAttributeByName
Reactant.MLIR.API.mlirOperationImplementsInterface
Reactant.MLIR.API.mlirOperationImplementsInterfaceStatic
Reactant.MLIR.API.mlirOperationIsNull
Reactant.MLIR.API.mlirOperationMoveAfter
Reactant.MLIR.API.mlirOperationMoveBefore
Reactant.MLIR.API.mlirOperationPrint
Reactant.MLIR.API.mlirOperationPrintWithFlags
Reactant.MLIR.API.mlirOperationPrintWithState
Reactant.MLIR.API.mlirOperationRemoveAttributeByName
Reactant.MLIR.API.mlirOperationRemoveDiscardableAttributeByName
Reactant.MLIR.API.mlirOperationRemoveFromParent
Reactant.MLIR.API.mlirOperationSetAttributeByName
Reactant.MLIR.API.mlirOperationSetDiscardableAttributeByName
Reactant.MLIR.API.mlirOperationSetInherentAttributeByName
Reactant.MLIR.API.mlirOperationSetOperand
Reactant.MLIR.API.mlirOperationSetOperands
Reactant.MLIR.API.mlirOperationSetSuccessor
Reactant.MLIR.API.mlirOperationStateAddResults
Reactant.MLIR.API.mlirOperationStateEnableResultTypeInference
Reactant.MLIR.API.mlirOperationStateGet
Reactant.MLIR.API.mlirOperationVerify
Reactant.MLIR.API.mlirOperationWalk
Reactant.MLIR.API.mlirOperationWriteBytecode
Reactant.MLIR.API.mlirOperationWriteBytecodeWithConfig
Reactant.MLIR.API.mlirParsePassPipeline
Reactant.MLIR.API.mlirPassManagerAddOwnedPass
Reactant.MLIR.API.mlirPassManagerCreate
Reactant.MLIR.API.mlirPassManagerCreateOnOperation
Reactant.MLIR.API.mlirPassManagerDestroy
Reactant.MLIR.API.mlirPassManagerEnableIRPrinting
Reactant.MLIR.API.mlirPassManagerEnableVerifier
Reactant.MLIR.API.mlirPassManagerGetAsOpPassManager
Reactant.MLIR.API.mlirPassManagerGetNestedUnder
Reactant.MLIR.API.mlirPassManagerIsNull
Reactant.MLIR.API.mlirPassManagerRunOnOp
Reactant.MLIR.API.mlirPrintPassPipeline
Reactant.MLIR.API.mlirQuantizedTypeCastExpressedToStorageType
Reactant.MLIR.API.mlirQuantizedTypeCastFromExpressedType
Reactant.MLIR.API.mlirQuantizedTypeCastFromStorageType
Reactant.MLIR.API.mlirQuantizedTypeCastToExpressedType
Reactant.MLIR.API.mlirQuantizedTypeCastToStorageType
Reactant.MLIR.API.mlirQuantizedTypeGetDefaultMaximumForInteger
Reactant.MLIR.API.mlirQuantizedTypeGetDefaultMinimumForInteger
Reactant.MLIR.API.mlirQuantizedTypeGetExpressedType
Reactant.MLIR.API.mlirQuantizedTypeGetFlags
Reactant.MLIR.API.mlirQuantizedTypeGetQuantizedElementType
Reactant.MLIR.API.mlirQuantizedTypeGetSignedFlag
Reactant.MLIR.API.mlirQuantizedTypeGetStorageType
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeIntegralWidth
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeMax
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeMin
Reactant.MLIR.API.mlirQuantizedTypeIsCompatibleExpressedType
Reactant.MLIR.API.mlirQuantizedTypeIsSigned
Reactant.MLIR.API.mlirRankedTensorTypeGet
Reactant.MLIR.API.mlirRankedTensorTypeGetChecked
Reactant.MLIR.API.mlirRankedTensorTypeGetEncoding
Reactant.MLIR.API.mlirRankedTensorTypeGetTypeID
Reactant.MLIR.API.mlirRegionAppendOwnedBlock
Reactant.MLIR.API.mlirRegionCreate
Reactant.MLIR.API.mlirRegionDestroy
Reactant.MLIR.API.mlirRegionEqual
Reactant.MLIR.API.mlirRegionGetFirstBlock
Reactant.MLIR.API.mlirRegionGetNextInOperation
Reactant.MLIR.API.mlirRegionInsertOwnedBlock
Reactant.MLIR.API.mlirRegionInsertOwnedBlockAfter
Reactant.MLIR.API.mlirRegionInsertOwnedBlockBefore
Reactant.MLIR.API.mlirRegionIsNull
Reactant.MLIR.API.mlirRegionTakeBody
Reactant.MLIR.API.mlirRegisterAllDialects
Reactant.MLIR.API.mlirRegisterAllLLVMTranslations
Reactant.MLIR.API.mlirRegisterAllPasses
Reactant.MLIR.API.mlirShapedTypeGetDimSize
Reactant.MLIR.API.mlirShapedTypeGetDynamicSize
Reactant.MLIR.API.mlirShapedTypeGetDynamicStrideOrOffset
Reactant.MLIR.API.mlirShapedTypeGetElementType
Reactant.MLIR.API.mlirShapedTypeGetRank
Reactant.MLIR.API.mlirShapedTypeHasRank
Reactant.MLIR.API.mlirShapedTypeHasStaticShape
Reactant.MLIR.API.mlirShapedTypeIsDynamicDim
Reactant.MLIR.API.mlirShapedTypeIsDynamicSize
Reactant.MLIR.API.mlirShapedTypeIsDynamicStrideOrOffset
Reactant.MLIR.API.mlirSparseElementsAttrGetIndices
Reactant.MLIR.API.mlirSparseElementsAttrGetTypeID
Reactant.MLIR.API.mlirSparseElementsAttrGetValues
Reactant.MLIR.API.mlirSparseElementsAttribute
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGet
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetCrdWidth
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetDimToLvl
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlFmt
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlToDim
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlType
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetPosWidth
Reactant.MLIR.API.mlirSparseTensorEncodingGetLvlRank
Reactant.MLIR.API.mlirStridedLayoutAttrGetTypeID
Reactant.MLIR.API.mlirStringAttrGet
Reactant.MLIR.API.mlirStringAttrGetTypeID
Reactant.MLIR.API.mlirStringAttrGetValue
Reactant.MLIR.API.mlirStringAttrTypedGet
Reactant.MLIR.API.mlirStringRefCreate
Reactant.MLIR.API.mlirStringRefCreateFromCString
Reactant.MLIR.API.mlirStringRefEqual
Reactant.MLIR.API.mlirSymbolRefAttrGet
Reactant.MLIR.API.mlirSymbolRefAttrGetLeafReference
Reactant.MLIR.API.mlirSymbolRefAttrGetNestedReference
Reactant.MLIR.API.mlirSymbolRefAttrGetNumNestedReferences
Reactant.MLIR.API.mlirSymbolRefAttrGetRootReference
Reactant.MLIR.API.mlirSymbolRefAttrGetTypeID
Reactant.MLIR.API.mlirSymbolTableCreate
Reactant.MLIR.API.mlirSymbolTableDestroy
Reactant.MLIR.API.mlirSymbolTableErase
Reactant.MLIR.API.mlirSymbolTableGetSymbolAttributeName
Reactant.MLIR.API.mlirSymbolTableGetVisibilityAttributeName
Reactant.MLIR.API.mlirSymbolTableInsert
Reactant.MLIR.API.mlirSymbolTableIsNull
Reactant.MLIR.API.mlirSymbolTableLookup
Reactant.MLIR.API.mlirSymbolTableReplaceAllSymbolUses
Reactant.MLIR.API.mlirSymbolTableWalkSymbolTables
Reactant.MLIR.API.mlirTF32TypeGet
Reactant.MLIR.API.mlirTransformApplyNamedSequence
Reactant.MLIR.API.mlirTransformOptionsCreate
Reactant.MLIR.API.mlirTransformOptionsDestroy
Reactant.MLIR.API.mlirTransformOptionsEnableExpensiveChecks
Reactant.MLIR.API.mlirTransformOptionsEnforceSingleTopLevelTransformOp
Reactant.MLIR.API.mlirTransformOptionsGetEnforceSingleTopLevelTransformOp
Reactant.MLIR.API.mlirTransformOptionsGetExpensiveChecksEnabled
Reactant.MLIR.API.mlirTranslateModuleToLLVMIR
Reactant.MLIR.API.mlirTupleTypeGet
Reactant.MLIR.API.mlirTupleTypeGetNumTypes
Reactant.MLIR.API.mlirTupleTypeGetType
Reactant.MLIR.API.mlirTupleTypeGetTypeID
Reactant.MLIR.API.mlirTypeAttrGet
Reactant.MLIR.API.mlirTypeAttrGetTypeID
Reactant.MLIR.API.mlirTypeAttrGetValue
Reactant.MLIR.API.mlirTypeDump
Reactant.MLIR.API.mlirTypeEqual
Reactant.MLIR.API.mlirTypeGetContext
Reactant.MLIR.API.mlirTypeGetDialect
Reactant.MLIR.API.mlirTypeGetTypeID
Reactant.MLIR.API.mlirTypeIDAllocatorAllocateTypeID
Reactant.MLIR.API.mlirTypeIDAllocatorCreate
Reactant.MLIR.API.mlirTypeIDAllocatorDestroy
Reactant.MLIR.API.mlirTypeIDCreate
Reactant.MLIR.API.mlirTypeIDEqual
Reactant.MLIR.API.mlirTypeIDHashValue
Reactant.MLIR.API.mlirTypeIDIsNull
Reactant.MLIR.API.mlirTypeIsAAnyQuantizedType
Reactant.MLIR.API.mlirTypeIsABF16
Reactant.MLIR.API.mlirTypeIsACalibratedQuantizedType
Reactant.MLIR.API.mlirTypeIsAComplex
Reactant.MLIR.API.mlirTypeIsAF16
Reactant.MLIR.API.mlirTypeIsAF32
Reactant.MLIR.API.mlirTypeIsAF64
Reactant.MLIR.API.mlirTypeIsAFloat
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3B11FNUZ
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3FN
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3FNUZ
Reactant.MLIR.API.mlirTypeIsAFloat8E5M2
Reactant.MLIR.API.mlirTypeIsAFloat8E5M2FNUZ
Reactant.MLIR.API.mlirTypeIsAFunction
Reactant.MLIR.API.mlirTypeIsAIndex
Reactant.MLIR.API.mlirTypeIsAInteger
Reactant.MLIR.API.mlirTypeIsALLVMStructType
Reactant.MLIR.API.mlirTypeIsAMemRef
Reactant.MLIR.API.mlirTypeIsANone
Reactant.MLIR.API.mlirTypeIsAOpaque
Reactant.MLIR.API.mlirTypeIsAQuantizedType
Reactant.MLIR.API.mlirTypeIsARankedTensor
Reactant.MLIR.API.mlirTypeIsAShaped
Reactant.MLIR.API.mlirTypeIsATF32
Reactant.MLIR.API.mlirTypeIsATensor
Reactant.MLIR.API.mlirTypeIsATuple
Reactant.MLIR.API.mlirTypeIsAUniformQuantizedPerAxisType
Reactant.MLIR.API.mlirTypeIsAUniformQuantizedType
Reactant.MLIR.API.mlirTypeIsAUnrankedMemRef
Reactant.MLIR.API.mlirTypeIsAUnrankedTensor
Reactant.MLIR.API.mlirTypeIsAVector
Reactant.MLIR.API.mlirTypeIsNull
Reactant.MLIR.API.mlirTypeParseGet
Reactant.MLIR.API.mlirTypePrint
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGet
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetNumDims
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetQuantizedDimension
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetScale
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetZeroPoint
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeIsFixedPoint
Reactant.MLIR.API.mlirUniformQuantizedTypeGet
Reactant.MLIR.API.mlirUniformQuantizedTypeGetScale
Reactant.MLIR.API.mlirUniformQuantizedTypeGetZeroPoint
Reactant.MLIR.API.mlirUniformQuantizedTypeIsFixedPoint
Reactant.MLIR.API.mlirUnitAttrGet
Reactant.MLIR.API.mlirUnitAttrGetTypeID
Reactant.MLIR.API.mlirUnmanagedDenseResourceElementsAttrGet
Reactant.MLIR.API.mlirUnrankedMemRefTypeGet
Reactant.MLIR.API.mlirUnrankedMemRefTypeGetChecked
Reactant.MLIR.API.mlirUnrankedMemRefTypeGetTypeID
Reactant.MLIR.API.mlirUnrankedMemrefGetMemorySpace
Reactant.MLIR.API.mlirUnrankedTensorTypeGet
Reactant.MLIR.API.mlirUnrankedTensorTypeGetChecked
Reactant.MLIR.API.mlirUnrankedTensorTypeGetTypeID
Reactant.MLIR.API.mlirValueDump
Reactant.MLIR.API.mlirValueEqual
Reactant.MLIR.API.mlirValueGetFirstUse
Reactant.MLIR.API.mlirValueGetType
Reactant.MLIR.API.mlirValueIsABlockArgument
Reactant.MLIR.API.mlirValueIsAOpResult
Reactant.MLIR.API.mlirValueIsNull
Reactant.MLIR.API.mlirValuePrint
Reactant.MLIR.API.mlirValuePrintAsOperand
Reactant.MLIR.API.mlirValueReplaceAllUsesOfWith
Reactant.MLIR.API.mlirValueSetType
Reactant.MLIR.API.mlirVectorTypeGet
Reactant.MLIR.API.mlirVectorTypeGetChecked
Reactant.MLIR.API.mlirVectorTypeGetScalable
Reactant.MLIR.API.mlirVectorTypeGetScalableChecked
Reactant.MLIR.API.mlirVectorTypeGetTypeID
Reactant.MLIR.API.mlirVectorTypeIsDimScalable
Reactant.MLIR.API.mlirVectorTypeIsScalable
Reactant.MLIR.IR.@affinemap
Reactant.MLIR.IR.AffineDimensionExpr
Reactant.MLIR.IR.BFloat16Type
Reactant.MLIR.IR.ConstantAffineMap
Reactant.MLIR.IR.ConstantExpr
Reactant.MLIR.IR.DenseElementsAttribute
Reactant.MLIR.IR.DenseElementsAttribute
Reactant.MLIR.IR.DenseElementsAttribute
Reactant.MLIR.IR.FlatSymbolRefAttribute
Reactant.MLIR.IR.Float8E4M3FN
Reactant.MLIR.IR.Float8E5M2
Reactant.MLIR.IR.FunctionType
Reactant.MLIR.IR.IdentityAffineMap
Reactant.MLIR.IR.IndexType
Reactant.MLIR.IR.MemRefType
Reactant.MLIR.IR.MemRefType
Reactant.MLIR.IR.MemRefType
Reactant.MLIR.IR.MinorIdentityAffineMap
Reactant.MLIR.IR.OpaqueAttribute
Reactant.MLIR.IR.OpaqueType
Reactant.MLIR.IR.PermutationAffineMap
Reactant.MLIR.IR.SymbolExpr
Reactant.MLIR.IR.SymbolRefAttribute
Reactant.MLIR.IR.TensorType
Reactant.MLIR.IR.TensorType
Reactant.MLIR.IR.UnitAttribute
Reactant.MLIR.IR.VectorType
Reactant.MLIR.IR.add_owned_pass!
Reactant.MLIR.IR.add_owned_pass!
Reactant.MLIR.IR.add_pipeline!
Reactant.MLIR.IR.affinemap
Reactant.MLIR.IR.argument
Reactant.MLIR.IR.attr
Reactant.MLIR.IR.attr
Reactant.MLIR.IR.attr!
Reactant.MLIR.IR.bitwidth
Reactant.MLIR.IR.block
Reactant.MLIR.IR.block_arg_num
Reactant.MLIR.IR.block_owner
Reactant.MLIR.IR.body
Reactant.MLIR.IR.compose
Reactant.MLIR.IR.constraint
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.data
Reactant.MLIR.IR.data
Reactant.MLIR.IR.delete!
Reactant.MLIR.IR.dynsize
Reactant.MLIR.IR.dynstrideoroffset
Reactant.MLIR.IR.enable_ir_printing!
Reactant.MLIR.IR.enable_verifier!
Reactant.MLIR.IR.encoding
Reactant.MLIR.IR.failure
Reactant.MLIR.IR.first_block
Reactant.MLIR.IR.first_op
Reactant.MLIR.IR.first_use
Reactant.MLIR.IR.flatsymbol
Reactant.MLIR.IR.hasrank
Reactant.MLIR.IR.hasstaticshape
Reactant.MLIR.IR.input
Reactant.MLIR.IR.insert_after!
Reactant.MLIR.IR.insert_after!
Reactant.MLIR.IR.insert_before!
Reactant.MLIR.IR.insert_before!
Reactant.MLIR.IR.is_block_arg
Reactant.MLIR.IR.is_op_res
Reactant.MLIR.IR.is_pure_affine
Reactant.MLIR.IR.is_registered
Reactant.MLIR.IR.is_symbolic_or_constant
Reactant.MLIR.IR.isadd
Reactant.MLIR.IR.isaffinemap
Reactant.MLIR.IR.isarray
Reactant.MLIR.IR.isbf16
Reactant.MLIR.IR.isbinary
Reactant.MLIR.IR.isbool
Reactant.MLIR.IR.isceildiv
Reactant.MLIR.IR.iscomplex
Reactant.MLIR.IR.isconstantexpr
Reactant.MLIR.IR.isconstrainteq
Reactant.MLIR.IR.isdenseelements
Reactant.MLIR.IR.isdict
Reactant.MLIR.IR.isdimexpr
Reactant.MLIR.IR.isdyndim
Reactant.MLIR.IR.isdynsize
Reactant.MLIR.IR.isdynstrideoroffset
Reactant.MLIR.IR.iselements
Reactant.MLIR.IR.isempty
Reactant.MLIR.IR.isf16
Reactant.MLIR.IR.isf32
Reactant.MLIR.IR.isf64
Reactant.MLIR.IR.isf8e4m3fn
Reactant.MLIR.IR.isf8e5m2
Reactant.MLIR.IR.isfailure
Reactant.MLIR.IR.isflatsymbolref
Reactant.MLIR.IR.isfloat
Reactant.MLIR.IR.isfloordiv
Reactant.MLIR.IR.isfunction
Reactant.MLIR.IR.isfunctionofdimexpr
Reactant.MLIR.IR.isidentity
Reactant.MLIR.IR.isindex
Reactant.MLIR.IR.isinteger
Reactant.MLIR.IR.isinteger
Reactant.MLIR.IR.isintegerset
Reactant.MLIR.IR.ismemref
Reactant.MLIR.IR.isminoridentity
Reactant.MLIR.IR.ismod
Reactant.MLIR.IR.ismul
Reactant.MLIR.IR.ismultipleof
Reactant.MLIR.IR.isnone
Reactant.MLIR.IR.isopaque
Reactant.MLIR.IR.isopaque
Reactant.MLIR.IR.isprojperm
Reactant.MLIR.IR.isrankedtensor
Reactant.MLIR.IR.isshaped
Reactant.MLIR.IR.issigned
Reactant.MLIR.IR.issignless
Reactant.MLIR.IR.issingleconstant
Reactant.MLIR.IR.issparseelements
Reactant.MLIR.IR.issplat
Reactant.MLIR.IR.isstring
Reactant.MLIR.IR.issuccess
Reactant.MLIR.IR.issymbolexpr
Reactant.MLIR.IR.issymbolref
Reactant.MLIR.IR.istensor
Reactant.MLIR.IR.istuple
Reactant.MLIR.IR.istype
Reactant.MLIR.IR.isunit
Reactant.MLIR.IR.isunrankedmemref
Reactant.MLIR.IR.isunrankedtensor
Reactant.MLIR.IR.isunsigned
Reactant.MLIR.IR.isvector
Reactant.MLIR.IR.layout
Reactant.MLIR.IR.leafref
Reactant.MLIR.IR.lhs
Reactant.MLIR.IR.location
Reactant.MLIR.IR.lookup
Reactant.MLIR.IR.lookup
Reactant.MLIR.IR.majorsubmap
Reactant.MLIR.IR.memspace
Reactant.MLIR.IR.minorsubmap
Reactant.MLIR.IR.move_after!
Reactant.MLIR.IR.move_before!
Reactant.MLIR.IR.name
Reactant.MLIR.IR.namespace
Reactant.MLIR.IR.namespace
Reactant.MLIR.IR.nargs
Reactant.MLIR.IR.nattrs
Reactant.MLIR.IR.nconstraints
Reactant.MLIR.IR.nequalities
Reactant.MLIR.IR.next
Reactant.MLIR.IR.next
Reactant.MLIR.IR.ninequalities
Reactant.MLIR.IR.ninputs
Reactant.MLIR.IR.ninputs
Reactant.MLIR.IR.ninputs
Reactant.MLIR.IR.nnestedrefs
Reactant.MLIR.IR.noperands
Reactant.MLIR.IR.nregions
Reactant.MLIR.IR.nresults
Reactant.MLIR.IR.nresults
Reactant.MLIR.IR.nresults
Reactant.MLIR.IR.nsuccessors
Reactant.MLIR.IR.nsymbols
Reactant.MLIR.IR.nsymbols
Reactant.MLIR.IR.op_owner
Reactant.MLIR.IR.op_res_num
Reactant.MLIR.IR.operand
Reactant.MLIR.IR.operand!
Reactant.MLIR.IR.operandindex
Reactant.MLIR.IR.owner
Reactant.MLIR.IR.parent_op
Reactant.MLIR.IR.parent_op
Reactant.MLIR.IR.parent_region
Reactant.MLIR.IR.position
Reactant.MLIR.IR.push_argument!
Reactant.MLIR.IR.region
Reactant.MLIR.IR.result
Reactant.MLIR.IR.result
Reactant.MLIR.IR.result
Reactant.MLIR.IR.result
Reactant.MLIR.IR.rhs
Reactant.MLIR.IR.rmattr!
Reactant.MLIR.IR.rmfromparent!
Reactant.MLIR.IR.rootref
Reactant.MLIR.IR.run!
Reactant.MLIR.IR.submap
Reactant.MLIR.IR.success
Reactant.MLIR.IR.successor
Reactant.MLIR.IR.terminator
Reactant.MLIR.IR.type
Reactant.MLIR.IR.type
Reactant.MLIR.IR.type!
Reactant.MLIR.IR.typeid
Reactant.MLIR.IR.typeid
Reactant.MLIR.IR.typeid
Reactant.MLIR.IR.value
Reactant.MLIR.IR.verify
Reactant.MLIR.IR.verifyall
Reactant.MLIR.Dialects.chlo.acos
Reactant.MLIR.Dialects.chlo.acosh
Reactant.MLIR.Dialects.chlo.asin
Reactant.MLIR.Dialects.chlo.asinh
Reactant.MLIR.Dialects.chlo.atan
Reactant.MLIR.Dialects.chlo.atanh
Reactant.MLIR.Dialects.chlo.bessel_i1e
Reactant.MLIR.Dialects.chlo.broadcast_add
Reactant.MLIR.Dialects.chlo.broadcast_and
Reactant.MLIR.Dialects.chlo.broadcast_atan2
Reactant.MLIR.Dialects.chlo.broadcast_compare
Reactant.MLIR.Dialects.chlo.broadcast_complex
Reactant.MLIR.Dialects.chlo.broadcast_divide
Reactant.MLIR.Dialects.chlo.broadcast_maximum
Reactant.MLIR.Dialects.chlo.broadcast_minimum
Reactant.MLIR.Dialects.chlo.broadcast_multiply
Reactant.MLIR.Dialects.chlo.broadcast_next_after
Reactant.MLIR.Dialects.chlo.broadcast_or
Reactant.MLIR.Dialects.chlo.broadcast_polygamma
Reactant.MLIR.Dialects.chlo.broadcast_power
Reactant.MLIR.Dialects.chlo.broadcast_remainder
Reactant.MLIR.Dialects.chlo.broadcast_select
Reactant.MLIR.Dialects.chlo.broadcast_shift_left
Reactant.MLIR.Dialects.chlo.broadcast_shift_right_arithmetic
Reactant.MLIR.Dialects.chlo.broadcast_shift_right_logical
Reactant.MLIR.Dialects.chlo.broadcast_subtract
Reactant.MLIR.Dialects.chlo.broadcast_xor
Reactant.MLIR.Dialects.chlo.broadcast_zeta
Reactant.MLIR.Dialects.chlo.conj
Reactant.MLIR.Dialects.chlo.constant
Reactant.MLIR.Dialects.chlo.constant_like
Reactant.MLIR.Dialects.chlo.cosh
Reactant.MLIR.Dialects.chlo.digamma
Reactant.MLIR.Dialects.chlo.erf
Reactant.MLIR.Dialects.chlo.erf_inv
Reactant.MLIR.Dialects.chlo.erfc
Reactant.MLIR.Dialects.chlo.is_inf
Reactant.MLIR.Dialects.chlo.is_neg_inf
Reactant.MLIR.Dialects.chlo.is_pos_inf
Reactant.MLIR.Dialects.chlo.lgamma
Reactant.MLIR.Dialects.chlo.next_after
Reactant.MLIR.Dialects.chlo.polygamma
Reactant.MLIR.Dialects.chlo.sinh
Reactant.MLIR.Dialects.chlo.tan
Reactant.MLIR.Dialects.chlo.top_k
Reactant.MLIR.Dialects.chlo.zeta
Reactant.MLIR.Dialects.vhlo.abs_v1
Reactant.MLIR.Dialects.vhlo.add_v1
Reactant.MLIR.Dialects.vhlo.after_all_v1
Reactant.MLIR.Dialects.vhlo.all_gather_v1
Reactant.MLIR.Dialects.vhlo.all_reduce_v1
Reactant.MLIR.Dialects.vhlo.all_to_all_v1
Reactant.MLIR.Dialects.vhlo.and_v1
Reactant.MLIR.Dialects.vhlo.atan2_v1
Reactant.MLIR.Dialects.vhlo.batch_norm_grad_v1
Reactant.MLIR.Dialects.vhlo.batch_norm_inference_v1
Reactant.MLIR.Dialects.vhlo.batch_norm_training_v1
Reactant.MLIR.Dialects.vhlo.bitcast_convert_v1
Reactant.MLIR.Dialects.vhlo.broadcast_in_dim_v1
Reactant.MLIR.Dialects.vhlo.broadcast_v1
Reactant.MLIR.Dialects.vhlo.call_v1
Reactant.MLIR.Dialects.vhlo.case_v1
Reactant.MLIR.Dialects.vhlo.cbrt_v1
Reactant.MLIR.Dialects.vhlo.ceil_v1
Reactant.MLIR.Dialects.vhlo.cholesky_v1
Reactant.MLIR.Dialects.vhlo.clamp_v1
Reactant.MLIR.Dialects.vhlo.collective_broadcast_v1
Reactant.MLIR.Dialects.vhlo.collective_permute_v1
Reactant.MLIR.Dialects.vhlo.compare_v1
Reactant.MLIR.Dialects.vhlo.complex_v1
Reactant.MLIR.Dialects.vhlo.composite_v1
Reactant.MLIR.Dialects.vhlo.concatenate_v1
Reactant.MLIR.Dialects.vhlo.constant_v1
Reactant.MLIR.Dialects.vhlo.convert_v1
Reactant.MLIR.Dialects.vhlo.convolution_v1
Reactant.MLIR.Dialects.vhlo.cosine_v1
Reactant.MLIR.Dialects.vhlo.count_leading_zeros_v1
Reactant.MLIR.Dialects.vhlo.create_token_v1
Reactant.MLIR.Dialects.vhlo.cross_replica_sum_v1
Reactant.MLIR.Dialects.vhlo.custom_call_v1
Reactant.MLIR.Dialects.vhlo.divide_v1
Reactant.MLIR.Dialects.vhlo.dot_general_v1
Reactant.MLIR.Dialects.vhlo.dot_v1
Reactant.MLIR.Dialects.vhlo.dynamic_broadcast_in_dim_v1
Reactant.MLIR.Dialects.vhlo.dynamic_conv_v1
Reactant.MLIR.Dialects.vhlo.dynamic_conv_v2
Reactant.MLIR.Dialects.vhlo.dynamic_gather_v1
Reactant.MLIR.Dialects.vhlo.dynamic_gather_v2
Reactant.MLIR.Dialects.vhlo.dynamic_iota_v1
Reactant.MLIR.Dialects.vhlo.dynamic_pad_v1
Reactant.MLIR.Dialects.vhlo.dynamic_reshape_v1
Reactant.MLIR.Dialects.vhlo.dynamic_slice_v1
Reactant.MLIR.Dialects.vhlo.dynamic_update_slice_v1
Reactant.MLIR.Dialects.vhlo.einsum_v1
Reactant.MLIR.Dialects.vhlo.exponential_minus_one_v1
Reactant.MLIR.Dialects.vhlo.exponential_v1
Reactant.MLIR.Dialects.vhlo.fft_v1
Reactant.MLIR.Dialects.vhlo.floor_v1
Reactant.MLIR.Dialects.vhlo.func_v1
Reactant.MLIR.Dialects.vhlo.gather_v1
Reactant.MLIR.Dialects.vhlo.gather_v2
Reactant.MLIR.Dialects.vhlo.get_dimension_size_v1
Reactant.MLIR.Dialects.vhlo.get_tuple_element_v1
Reactant.MLIR.Dialects.vhlo.if_v1
Reactant.MLIR.Dialects.vhlo.imag_v1
Reactant.MLIR.Dialects.vhlo.infeed_v1
Reactant.MLIR.Dialects.vhlo.iota_v1
Reactant.MLIR.Dialects.vhlo.is_finite_v1
Reactant.MLIR.Dialects.vhlo.log_plus_one_v1
Reactant.MLIR.Dialects.vhlo.log_v1
Reactant.MLIR.Dialects.vhlo.logistic_v1
Reactant.MLIR.Dialects.vhlo.map_v1
Reactant.MLIR.Dialects.vhlo.maximum_v1
Reactant.MLIR.Dialects.vhlo.minimum_v1
Reactant.MLIR.Dialects.vhlo.multiply_v1
Reactant.MLIR.Dialects.vhlo.negate_v1
Reactant.MLIR.Dialects.vhlo.not_v1
Reactant.MLIR.Dialects.vhlo.optimization_barrier_v1
Reactant.MLIR.Dialects.vhlo.or_v1
Reactant.MLIR.Dialects.vhlo.outfeed_v1
Reactant.MLIR.Dialects.vhlo.pad_v1
Reactant.MLIR.Dialects.vhlo.partition_id_v1
Reactant.MLIR.Dialects.vhlo.popcnt_v1
Reactant.MLIR.Dialects.vhlo.power_v1
Reactant.MLIR.Dialects.vhlo.real_dynamic_slice_v1
Reactant.MLIR.Dialects.vhlo.real_v1
Reactant.MLIR.Dialects.vhlo.recv_v1
Reactant.MLIR.Dialects.vhlo.reduce_precision_v1
Reactant.MLIR.Dialects.vhlo.reduce_scatter_v1
Reactant.MLIR.Dialects.vhlo.reduce_v1
Reactant.MLIR.Dialects.vhlo.reduce_window_v1
Reactant.MLIR.Dialects.vhlo.remainder_v1
Reactant.MLIR.Dialects.vhlo.replica_id_v1
Reactant.MLIR.Dialects.vhlo.reshape_v1
Reactant.MLIR.Dialects.vhlo.return_v1
Reactant.MLIR.Dialects.vhlo.reverse_v1
Reactant.MLIR.Dialects.vhlo.rng_bit_generator_v1
Reactant.MLIR.Dialects.vhlo.rng_v1
Reactant.MLIR.Dialects.vhlo.round_nearest_afz_v1
Reactant.MLIR.Dialects.vhlo.round_nearest_even_v1
Reactant.MLIR.Dialects.vhlo.rsqrt_v1
Reactant.MLIR.Dialects.vhlo.scatter_v1
Reactant.MLIR.Dialects.vhlo.scatter_v2
Reactant.MLIR.Dialects.vhlo.select_and_scatter_v1
Reactant.MLIR.Dialects.vhlo.select_v1
Reactant.MLIR.Dialects.vhlo.send_v1
Reactant.MLIR.Dialects.vhlo.set_dimension_size_v1
Reactant.MLIR.Dialects.vhlo.shift_left_v1
Reactant.MLIR.Dialects.vhlo.shift_right_arithmetic_v1
Reactant.MLIR.Dialects.vhlo.shift_right_logical_v1
Reactant.MLIR.Dialects.vhlo.sign_v1
Reactant.MLIR.Dialects.vhlo.sine_v1
Reactant.MLIR.Dialects.vhlo.slice_v1
Reactant.MLIR.Dialects.vhlo.sort_v1
Reactant.MLIR.Dialects.vhlo.sqrt_v1
Reactant.MLIR.Dialects.vhlo.subtract_v1
Reactant.MLIR.Dialects.vhlo.tanh_v1
Reactant.MLIR.Dialects.vhlo.torch_index_select_v1
Reactant.MLIR.Dialects.vhlo.transpose_v1
Reactant.MLIR.Dialects.vhlo.triangular_solve_v1
Reactant.MLIR.Dialects.vhlo.tuple_v1
Reactant.MLIR.Dialects.vhlo.unary_einsum_v1
Reactant.MLIR.Dialects.vhlo.uniform_dequantize_v1
Reactant.MLIR.Dialects.vhlo.uniform_quantize_v1
Reactant.MLIR.Dialects.vhlo.while_v1
Reactant.MLIR.Dialects.vhlo.xor_v1
Reactant.MLIR.Dialects.stablehlo.abs
Reactant.MLIR.Dialects.stablehlo.add
Reactant.MLIR.Dialects.stablehlo.after_all
Reactant.MLIR.Dialects.stablehlo.all_gather
Reactant.MLIR.Dialects.stablehlo.all_reduce
Reactant.MLIR.Dialects.stablehlo.all_to_all
Reactant.MLIR.Dialects.stablehlo.and
Reactant.MLIR.Dialects.stablehlo.atan2
Reactant.MLIR.Dialects.stablehlo.batch_norm_grad
Reactant.MLIR.Dialects.stablehlo.batch_norm_inference
Reactant.MLIR.Dialects.stablehlo.batch_norm_training
Reactant.MLIR.Dialects.stablehlo.bitcast_convert
Reactant.MLIR.Dialects.stablehlo.broadcast
Reactant.MLIR.Dialects.stablehlo.broadcast_in_dim
Reactant.MLIR.Dialects.stablehlo.case
Reactant.MLIR.Dialects.stablehlo.cbrt
Reactant.MLIR.Dialects.stablehlo.ceil
Reactant.MLIR.Dialects.stablehlo.cholesky
Reactant.MLIR.Dialects.stablehlo.clamp
Reactant.MLIR.Dialects.stablehlo.collective_broadcast
Reactant.MLIR.Dialects.stablehlo.collective_permute
Reactant.MLIR.Dialects.stablehlo.compare
Reactant.MLIR.Dialects.stablehlo.complex
Reactant.MLIR.Dialects.stablehlo.composite
Reactant.MLIR.Dialects.stablehlo.concatenate
Reactant.MLIR.Dialects.stablehlo.constant
Reactant.MLIR.Dialects.stablehlo.convert
Reactant.MLIR.Dialects.stablehlo.convolution
Reactant.MLIR.Dialects.stablehlo.cosine
Reactant.MLIR.Dialects.stablehlo.count_leading_zeros
Reactant.MLIR.Dialects.stablehlo.create_token
Reactant.MLIR.Dialects.stablehlo.cross_replica_sum
Reactant.MLIR.Dialects.stablehlo.custom_call
Reactant.MLIR.Dialects.stablehlo.divide
Reactant.MLIR.Dialects.stablehlo.dot
Reactant.MLIR.Dialects.stablehlo.dot_general
Reactant.MLIR.Dialects.stablehlo.dynamic_broadcast_in_dim
Reactant.MLIR.Dialects.stablehlo.dynamic_conv
Reactant.MLIR.Dialects.stablehlo.dynamic_gather
Reactant.MLIR.Dialects.stablehlo.dynamic_iota
Reactant.MLIR.Dialects.stablehlo.dynamic_pad
Reactant.MLIR.Dialects.stablehlo.dynamic_reshape
Reactant.MLIR.Dialects.stablehlo.dynamic_slice
Reactant.MLIR.Dialects.stablehlo.dynamic_update_slice
Reactant.MLIR.Dialects.stablehlo.einsum
Reactant.MLIR.Dialects.stablehlo.exponential
Reactant.MLIR.Dialects.stablehlo.exponential_minus_one
Reactant.MLIR.Dialects.stablehlo.fft
Reactant.MLIR.Dialects.stablehlo.floor
Reactant.MLIR.Dialects.stablehlo.gather
Reactant.MLIR.Dialects.stablehlo.get_dimension_size
Reactant.MLIR.Dialects.stablehlo.get_tuple_element
Reactant.MLIR.Dialects.stablehlo.if_
Reactant.MLIR.Dialects.stablehlo.imag
Reactant.MLIR.Dialects.stablehlo.infeed
Reactant.MLIR.Dialects.stablehlo.iota
Reactant.MLIR.Dialects.stablehlo.is_finite
Reactant.MLIR.Dialects.stablehlo.log
Reactant.MLIR.Dialects.stablehlo.log_plus_one
Reactant.MLIR.Dialects.stablehlo.logistic
Reactant.MLIR.Dialects.stablehlo.map
Reactant.MLIR.Dialects.stablehlo.maximum
Reactant.MLIR.Dialects.stablehlo.minimum
Reactant.MLIR.Dialects.stablehlo.multiply
Reactant.MLIR.Dialects.stablehlo.negate
Reactant.MLIR.Dialects.stablehlo.not
Reactant.MLIR.Dialects.stablehlo.optimization_barrier
Reactant.MLIR.Dialects.stablehlo.or
Reactant.MLIR.Dialects.stablehlo.outfeed
Reactant.MLIR.Dialects.stablehlo.pad
Reactant.MLIR.Dialects.stablehlo.partition_id
Reactant.MLIR.Dialects.stablehlo.popcnt
Reactant.MLIR.Dialects.stablehlo.power
Reactant.MLIR.Dialects.stablehlo.real
Reactant.MLIR.Dialects.stablehlo.real_dynamic_slice
Reactant.MLIR.Dialects.stablehlo.recv
Reactant.MLIR.Dialects.stablehlo.reduce
Reactant.MLIR.Dialects.stablehlo.reduce_precision
Reactant.MLIR.Dialects.stablehlo.reduce_scatter
Reactant.MLIR.Dialects.stablehlo.reduce_window
Reactant.MLIR.Dialects.stablehlo.remainder
Reactant.MLIR.Dialects.stablehlo.replica_id
Reactant.MLIR.Dialects.stablehlo.reshape
Reactant.MLIR.Dialects.stablehlo.return_
Reactant.MLIR.Dialects.stablehlo.reverse
Reactant.MLIR.Dialects.stablehlo.rng
Reactant.MLIR.Dialects.stablehlo.rng_bit_generator
Reactant.MLIR.Dialects.stablehlo.round_nearest_afz
Reactant.MLIR.Dialects.stablehlo.round_nearest_even
Reactant.MLIR.Dialects.stablehlo.rsqrt
Reactant.MLIR.Dialects.stablehlo.scatter
Reactant.MLIR.Dialects.stablehlo.select
Reactant.MLIR.Dialects.stablehlo.select_and_scatter
Reactant.MLIR.Dialects.stablehlo.send
Reactant.MLIR.Dialects.stablehlo.set_dimension_size
Reactant.MLIR.Dialects.stablehlo.shift_left
Reactant.MLIR.Dialects.stablehlo.shift_right_arithmetic
Reactant.MLIR.Dialects.stablehlo.shift_right_logical
Reactant.MLIR.Dialects.stablehlo.sign
Reactant.MLIR.Dialects.stablehlo.sine
Reactant.MLIR.Dialects.stablehlo.slice
Reactant.MLIR.Dialects.stablehlo.sort
Reactant.MLIR.Dialects.stablehlo.sqrt
Reactant.MLIR.Dialects.stablehlo.subtract
Reactant.MLIR.Dialects.stablehlo.tanh
Reactant.MLIR.Dialects.stablehlo.torch_index_select
Reactant.MLIR.Dialects.stablehlo.transpose
Reactant.MLIR.Dialects.stablehlo.triangular_solve
Reactant.MLIR.Dialects.stablehlo.tuple
Reactant.MLIR.Dialects.stablehlo.unary_einsum
Reactant.MLIR.Dialects.stablehlo.uniform_dequantize
Reactant.MLIR.Dialects.stablehlo.uniform_quantize
Reactant.MLIR.Dialects.stablehlo.while_
Reactant.MLIR.Dialects.stablehlo.xor
Reactant.MLIR.Dialects.enzyme.addTo
Reactant.MLIR.Dialects.enzyme.autodiff
Reactant.MLIR.Dialects.enzyme.batch
Reactant.MLIR.Dialects.enzyme.fwddiff
Reactant.MLIR.Dialects.enzyme.genericAdjoint
Reactant.MLIR.Dialects.enzyme.get
Reactant.MLIR.Dialects.enzyme.init
Reactant.MLIR.Dialects.enzyme.placeholder
Reactant.MLIR.Dialects.enzyme.pop
Reactant.MLIR.Dialects.enzyme.push
Reactant.MLIR.Dialects.enzyme.set
Reactant.MLIR.Dialects.arith.addf
Reactant.MLIR.Dialects.arith.addi
Reactant.MLIR.Dialects.arith.addui_extended
Reactant.MLIR.Dialects.arith.andi
Reactant.MLIR.Dialects.arith.bitcast
Reactant.MLIR.Dialects.arith.ceildivsi
Reactant.MLIR.Dialects.arith.ceildivui
Reactant.MLIR.Dialects.arith.cmpf
Reactant.MLIR.Dialects.arith.cmpi
Reactant.MLIR.Dialects.arith.constant
Reactant.MLIR.Dialects.arith.divf
Reactant.MLIR.Dialects.arith.divsi
Reactant.MLIR.Dialects.arith.divui
Reactant.MLIR.Dialects.arith.extf
Reactant.MLIR.Dialects.arith.extsi
Reactant.MLIR.Dialects.arith.extui
Reactant.MLIR.Dialects.arith.floordivsi
Reactant.MLIR.Dialects.arith.fptosi
Reactant.MLIR.Dialects.arith.fptoui
Reactant.MLIR.Dialects.arith.index_cast
Reactant.MLIR.Dialects.arith.index_castui
Reactant.MLIR.Dialects.arith.maximumf
Reactant.MLIR.Dialects.arith.maxnumf
Reactant.MLIR.Dialects.arith.maxsi
Reactant.MLIR.Dialects.arith.maxui
Reactant.MLIR.Dialects.arith.minimumf
Reactant.MLIR.Dialects.arith.minnumf
Reactant.MLIR.Dialects.arith.minsi
Reactant.MLIR.Dialects.arith.minui
Reactant.MLIR.Dialects.arith.mulf
Reactant.MLIR.Dialects.arith.muli
Reactant.MLIR.Dialects.arith.mulsi_extended
Reactant.MLIR.Dialects.arith.mului_extended
Reactant.MLIR.Dialects.arith.negf
Reactant.MLIR.Dialects.arith.ori
Reactant.MLIR.Dialects.arith.remf
Reactant.MLIR.Dialects.arith.remsi
Reactant.MLIR.Dialects.arith.remui
Reactant.MLIR.Dialects.arith.select
Reactant.MLIR.Dialects.arith.shli
Reactant.MLIR.Dialects.arith.shrsi
Reactant.MLIR.Dialects.arith.shrui
Reactant.MLIR.Dialects.arith.sitofp
Reactant.MLIR.Dialects.arith.subf
Reactant.MLIR.Dialects.arith.subi
Reactant.MLIR.Dialects.arith.truncf
Reactant.MLIR.Dialects.arith.trunci
Reactant.MLIR.Dialects.arith.uitofp
Reactant.MLIR.Dialects.arith.xori
Reactant.MLIR.Dialects.func.call
Reactant.MLIR.Dialects.func.call_indirect
Reactant.MLIR.Dialects.func.constant
Reactant.MLIR.Dialects.func.func_
Reactant.MLIR.Dialects.func.return_
Reactant.MLIR.Dialects.affine.apply
Reactant.MLIR.Dialects.affine.delinearize_index
Reactant.MLIR.Dialects.affine.for_
Reactant.MLIR.Dialects.affine.if_
Reactant.MLIR.Dialects.affine.load
Reactant.MLIR.Dialects.affine.max
Reactant.MLIR.Dialects.affine.min
Reactant.MLIR.Dialects.affine.parallel
Reactant.MLIR.Dialects.affine.prefetch
Reactant.MLIR.Dialects.affine.store
Reactant.MLIR.Dialects.affine.vector_load
Reactant.MLIR.Dialects.affine.vector_store
Reactant.MLIR.Dialects.affine.yield
Reactant.MLIR.Dialects.builtin.module_
Reactant.MLIR.Dialects.builtin.unrealized_conversion_cast
Documentation
Reactant.@code_hlo
— Macro@code_hlo [optimize = ...] f(args...)
Reactant.MLIR.API.LLVMAttributeRef
— TypeUsed to represent an attributes.
See also
llvm::Attribute
Reactant.MLIR.API.LLVMBasicBlockRef
— TypeRepresents a basic block of instructions in LLVM IR.
This models llvm::BasicBlock.
Reactant.MLIR.API.LLVMBinaryRef
— TypeSee also
llvm::object::Binary
Reactant.MLIR.API.LLVMBool
— TypeLLVMCSupportTypes Types and Enumerations
@{
Reactant.MLIR.API.LLVMBuilderRef
— TypeRepresents an LLVM basic block builder.
This models llvm::IRBuilder.
Reactant.MLIR.API.LLVMComdatRef
— TypeSee also
llvm::Comdat
Reactant.MLIR.API.LLVMContextRef
— TypeThe top-level container for all LLVM global data. See the LLVMContext class.
Reactant.MLIR.API.LLVMDIBuilderRef
— TypeRepresents an LLVM debug info builder.
This models llvm::DIBuilder.
Reactant.MLIR.API.LLVMDbgRecordRef
— TypeSee also
llvm::DbgRecord
Reactant.MLIR.API.LLVMDiagnosticInfoRef
— TypeSee also
llvm::DiagnosticInfo
Reactant.MLIR.API.LLVMJITEventListenerRef
— TypeSee also
llvm::JITEventListener
Reactant.MLIR.API.LLVMMemoryBufferRef
— TypeUsed to pass regions of memory through LLVM interfaces.
See also
llvm::MemoryBuffer
Reactant.MLIR.API.LLVMMetadataRef
— TypeRepresents an LLVM Metadata.
This models llvm::Metadata.
Reactant.MLIR.API.LLVMModuleFlagEntry
— TypeSee also
llvm::Module::ModuleFlagEntry
Reactant.MLIR.API.LLVMModuleProviderRef
— TypeInterface used to provide a module to JIT or interpreter. This is now just a synonym for llvm::Module, but we have to keep using the different type to keep binary compatibility.
Reactant.MLIR.API.LLVMModuleRef
— TypeThe top-level container for all other LLVM Intermediate Representation (IR) objects.
See also
llvm::Module
Reactant.MLIR.API.LLVMNamedMDNodeRef
— TypeRepresents an LLVM Named Metadata Node.
This models llvm::NamedMDNode.
Reactant.MLIR.API.LLVMOperandBundleRef
— TypeSee also
llvm::OperandBundleDef
Reactant.MLIR.API.LLVMPassManagerRef
— TypeSee also
llvm::PassManagerBase
Reactant.MLIR.API.LLVMTypeRef
— TypeReactant.MLIR.API.LLVMUseRef
— TypeUsed to get the users and usees of a Value.
See also
llvm::Use
Reactant.MLIR.API.LLVMValueMetadataEntry
— TypeRepresents an entry in a Global Object's metadata attachments.
This models std::pair<unsigned, MDNode *>
Reactant.MLIR.API.LLVMValueRef
— TypeRepresents an individual value in LLVM IR.
This models llvm::Value.
Reactant.MLIR.API.MlirDiagnostic
— TypeMlirDiagnostic
An opaque reference to a diagnostic, always owned by the diagnostics engine (context). Must not be stored outside of the diagnostic handler.
Reactant.MLIR.API.MlirDiagnosticHandler
— TypeDiagnostic handler type. Accepts a reference to a diagnostic, which is only guaranteed to be live during the call. The handler is passed the userData
that was provided when the handler was attached to a context. If the handler processed the diagnostic completely, it is expected to return success. Otherwise, it is expected to return failure to indicate that other handlers should attempt to process the diagnostic.
Reactant.MLIR.API.MlirDiagnosticHandlerID
— TypeOpaque identifier of a diagnostic handler, useful to detach a handler.
Reactant.MLIR.API.MlirDiagnosticSeverity
— TypeMlirDiagnosticSeverity
Severity of a diagnostic.
Reactant.MLIR.API.MlirExternalPassCallbacks
— TypeMlirExternalPassCallbacks
Structure of external MlirPass
callbacks. All callbacks are required to be set unless otherwise specified.
Field | Note |
---|---|
construct | This callback is called from the pass is created. This is analogous to a C++ pass constructor. |
destruct | This callback is called when the pass is destroyed This is analogous to a C++ pass destructor. |
initialize | This callback is optional. The callback is called before the pass is run, allowing a chance to initialize any complex state necessary for running the pass. See Pass::initialize(MLIRContext *). |
clone | This callback is called when the pass is cloned. See Pass::clonePass(). |
run | This callback is called when the pass is run. See Pass::runOnOperation(). |
Reactant.MLIR.API.MlirLlvmThreadPool
— TypeMlirLlvmThreadPool
Re-export llvm::ThreadPool so as to avoid including the LLVM C API directly.
Reactant.MLIR.API.MlirLogicalResult
— TypeMlirLogicalResult
A logical result value, essentially a boolean with named states. LLVM convention for using boolean values to designate success or failure of an operation is a moving target, so MLIR opted for an explicit class. Instances of MlirLogicalResult
must only be inspected using the associated functions.
Reactant.MLIR.API.MlirNamedAttribute
— TypeMlirNamedAttribute
Named MLIR attribute.
A named attribute is essentially a (name, attribute) pair where the name is a string.
Reactant.MLIR.API.MlirOperationState
— TypeMlirOperationState
An auxiliary class for constructing operations.
This class contains all the information necessary to construct the operation. It owns the MlirRegions it has pointers to and does not own anything else. By default, the state can be constructed from a name and location, the latter being also used to access the context, and has no other components. These components can be added progressively until the operation is constructed. Users are not expected to rely on the internals of this class and should use mlirOperationState* functions instead.
Reactant.MLIR.API.MlirOperationWalkCallback
— TypeOperation walker type. The handler is passed an (opaque) reference to an operation and a pointer to a userData
.
Reactant.MLIR.API.MlirShapedTypeComponentsCallback
— TypeThese callbacks are used to return multiple shaped type components from functions while transferring ownership to the caller. The first argument is the has rank boolean followed by the the rank and a pointer to the shape (if applicable). The next argument is the element type, then the attribute. The last argument is an opaque pointer forwarded to the callback by the caller. This callback will be called potentially multiple times for each shaped type components.
Reactant.MLIR.API.MlirSparseTensorLevelType
— TypeDimension level types (and properties) that define sparse tensors. See the documentation in SparseTensorAttrDefs.td for their meaning.
These correspond to SparseTensorEncodingAttr::LevelType in the C++ API. If updating, keep them in sync and update the static_assert in the impl file.
Reactant.MLIR.API.MlirStringCallback
— TypeA callback for returning string references.
This function is called back by the functions that need to return a reference to the portion of the string with the following arguments: - an MlirStringRef
representing the current portion of the string - a pointer to user data forwarded from the printing call.
Reactant.MLIR.API.MlirStringRef
— TypeMlirStringRef
A pointer to a sized fragment of a string, not necessarily null-terminated. Does not own the underlying string. This is equivalent to llvm::StringRef.
Field | Note |
---|---|
data | Pointer to the first symbol. |
length | Length of the fragment. |
Reactant.MLIR.API.MlirTypesCallback
— TypeThese callbacks are used to return multiple types from functions while transferring ownership to the caller. The first argument is the number of consecutive elements pointed to by the second argument. The third argument is an opaque pointer forwarded to the callback by the caller.
Reactant.MLIR.API.MlirWalkOrder
— TypeMlirWalkOrder
Traversal order for operation walk.
Reactant.MLIR.API.LLVMAddSymbol
— MethodLLVMAddSymbol(symbolName, symbolValue)
This functions permanently adds the symbol symbolName
with the value symbolValue
. These symbols are searched before any libraries.
See also
sys::DynamicLibrary::AddSymbol()
Reactant.MLIR.API.LLVMLoadLibraryPermanently
— MethodLLVMLoadLibraryPermanently(Filename)
This function permanently loads the dynamic library at the given path. It is safe to call this function multiple times for the same library.
See also
sys::DynamicLibrary::LoadLibraryPermanently()
Reactant.MLIR.API.LLVMParseCommandLineOptions
— MethodLLVMParseCommandLineOptions(argc, argv, Overview)
This function parses the given arguments using the LLVM command line parser. Note that the only stable thing about this function is its signature; you cannot rely on any particular set of command line arguments being interpreted the same way across LLVM versions.
See also
llvm::cl::ParseCommandLineOptions()
Reactant.MLIR.API.LLVMSearchForAddressOfSymbol
— MethodLLVMSearchForAddressOfSymbol(symbolName)
This function will search through all previously loaded dynamic libraries for the symbol symbolName
. If it is found, the address of that symbol is returned. If not, null is returned.
See also
sys::DynamicLibrary::SearchForAddressOfSymbol()
Reactant.MLIR.API.mlirAffineAddExprGet
— MethodmlirAffineAddExprGet(lhs, rhs)
Creates an affine add expression with 'lhs' and 'rhs'.
Reactant.MLIR.API.mlirAffineBinaryOpExprGetLHS
— MethodmlirAffineBinaryOpExprGetLHS(affineExpr)
Returns the left hand side affine expression of the given affine binary operation expression.
Reactant.MLIR.API.mlirAffineBinaryOpExprGetRHS
— MethodmlirAffineBinaryOpExprGetRHS(affineExpr)
Returns the right hand side affine expression of the given affine binary operation expression.
Reactant.MLIR.API.mlirAffineCeilDivExprGet
— MethodmlirAffineCeilDivExprGet(lhs, rhs)
Creates an affine ceildiv expression with 'lhs' and 'rhs'.
Reactant.MLIR.API.mlirAffineConstantExprGet
— MethodmlirAffineConstantExprGet(ctx, constant)
Creates an affine constant expression with 'constant' in the context.
Reactant.MLIR.API.mlirAffineConstantExprGetValue
— MethodmlirAffineConstantExprGetValue(affineExpr)
Returns the value of the given affine constant expression.
Reactant.MLIR.API.mlirAffineDimExprGet
— MethodmlirAffineDimExprGet(ctx, position)
Creates an affine dimension expression with 'position' in the context.
Reactant.MLIR.API.mlirAffineDimExprGetPosition
— MethodmlirAffineDimExprGetPosition(affineExpr)
Returns the position of the given affine dimension expression.
Reactant.MLIR.API.mlirAffineExprCompose
— MethodmlirAffineExprCompose(affineExpr, affineMap)
Composes the given map with the given expression.
Reactant.MLIR.API.mlirAffineExprDump
— MethodmlirAffineExprDump(affineExpr)
Prints the affine expression to the standard error stream.
Reactant.MLIR.API.mlirAffineExprEqual
— MethodmlirAffineExprEqual(lhs, rhs)
Returns true
if the two affine expressions are equal.
Reactant.MLIR.API.mlirAffineExprGetContext
— MethodmlirAffineExprGetContext(affineExpr)
Gets the context that owns the affine expression.
Reactant.MLIR.API.mlirAffineExprGetLargestKnownDivisor
— MethodmlirAffineExprGetLargestKnownDivisor(affineExpr)
Returns the greatest known integral divisor of this affine expression. The result is always positive.
Reactant.MLIR.API.mlirAffineExprIsAAdd
— MethodmlirAffineExprIsAAdd(affineExpr)
Checks whether the given affine expression is an add expression.
Reactant.MLIR.API.mlirAffineExprIsABinary
— MethodmlirAffineExprIsABinary(affineExpr)
Checks whether the given affine expression is binary.
Reactant.MLIR.API.mlirAffineExprIsACeilDiv
— MethodmlirAffineExprIsACeilDiv(affineExpr)
Checks whether the given affine expression is an ceildiv expression.
Reactant.MLIR.API.mlirAffineExprIsAConstant
— MethodmlirAffineExprIsAConstant(affineExpr)
Checks whether the given affine expression is a constant expression.
Reactant.MLIR.API.mlirAffineExprIsADim
— MethodmlirAffineExprIsADim(affineExpr)
Checks whether the given affine expression is a dimension expression.
Reactant.MLIR.API.mlirAffineExprIsAFloorDiv
— MethodmlirAffineExprIsAFloorDiv(affineExpr)
Checks whether the given affine expression is an floordiv expression.
Reactant.MLIR.API.mlirAffineExprIsAMod
— MethodmlirAffineExprIsAMod(affineExpr)
Checks whether the given affine expression is an mod expression.
Reactant.MLIR.API.mlirAffineExprIsAMul
— MethodmlirAffineExprIsAMul(affineExpr)
Checks whether the given affine expression is an mul expression.
Reactant.MLIR.API.mlirAffineExprIsASymbol
— MethodmlirAffineExprIsASymbol(affineExpr)
Checks whether the given affine expression is a symbol expression.
Reactant.MLIR.API.mlirAffineExprIsFunctionOfDim
— MethodmlirAffineExprIsFunctionOfDim(affineExpr, position)
Checks whether the given affine expression involves AffineDimExpr 'position'.
Reactant.MLIR.API.mlirAffineExprIsMultipleOf
— MethodmlirAffineExprIsMultipleOf(affineExpr, factor)
Checks whether the given affine expression is a multiple of 'factor'.
Reactant.MLIR.API.mlirAffineExprIsNull
— MethodmlirAffineExprIsNull(affineExpr)
Returns true
if the given affine expression is a null expression. Note constant zero is not a null expression.
Reactant.MLIR.API.mlirAffineExprIsPureAffine
— MethodmlirAffineExprIsPureAffine(affineExpr)
Checks whether the given affine expression is a pure affine expression, i.e. mul, floordiv, ceildic, and mod is only allowed w.r.t constants.
Reactant.MLIR.API.mlirAffineExprIsSymbolicOrConstant
— MethodmlirAffineExprIsSymbolicOrConstant(affineExpr)
Checks whether the given affine expression is made out of only symbols and constants.
Reactant.MLIR.API.mlirAffineExprPrint
— MethodmlirAffineExprPrint(affineExpr, callback, userData)
Prints an affine expression by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirAffineFloorDivExprGet
— MethodmlirAffineFloorDivExprGet(lhs, rhs)
Creates an affine floordiv expression with 'lhs' and 'rhs'.
Reactant.MLIR.API.mlirAffineMapAttrGet
— MethodmlirAffineMapAttrGet(map)
Creates an affine map attribute wrapping the given map. The attribute belongs to the same context as the affine map.
Reactant.MLIR.API.mlirAffineMapAttrGetTypeID
— MethodmlirAffineMapAttrGetTypeID()
Returns the typeID of an AffineMap attribute.
Reactant.MLIR.API.mlirAffineMapAttrGetValue
— MethodmlirAffineMapAttrGetValue(attr)
Returns the affine map wrapped in the given affine map attribute.
Reactant.MLIR.API.mlirAffineMapCompressUnusedSymbols
— MethodmlirAffineMapCompressUnusedSymbols(affineMaps, size, result, populateResult)
Returns the simplified affine map resulting from dropping the symbols that do not appear in any of the individual maps in affineMaps
. Asserts that all maps in affineMaps
are normalized to the same number of dims and symbols. Takes a callback populateResult
to fill the res
container with value m
at entry idx
. This allows returning without worrying about ownership considerations.
Reactant.MLIR.API.mlirAffineMapConstantGet
— MethodmlirAffineMapConstantGet(ctx, val)
Creates a single constant result affine map in the context. The affine map is owned by the context.
Reactant.MLIR.API.mlirAffineMapDump
— MethodmlirAffineMapDump(affineMap)
Prints the affine map to the standard error stream.
Reactant.MLIR.API.mlirAffineMapEmptyGet
— MethodmlirAffineMapEmptyGet(ctx)
Creates a zero result affine map with no dimensions or symbols in the context. The affine map is owned by the context.
Reactant.MLIR.API.mlirAffineMapEqual
— MethodmlirAffineMapEqual(a1, a2)
Checks if two affine maps are equal.
Reactant.MLIR.API.mlirAffineMapGet
— MethodmlirAffineMapGet(ctx, dimCount, symbolCount, nAffineExprs, affineExprs)
Creates an affine map with results defined by the given list of affine expressions. The map resulting map also has the requested number of input dimensions and symbols, regardless of them being used in the results.
Reactant.MLIR.API.mlirAffineMapGetContext
— MethodmlirAffineMapGetContext(affineMap)
Gets the context that the given affine map was created with
Reactant.MLIR.API.mlirAffineMapGetMajorSubMap
— MethodmlirAffineMapGetMajorSubMap(affineMap, numResults)
Returns the affine map consisting of the most major numResults
results. Returns the null AffineMap if the numResults
is equal to zero. Returns the affineMap
if numResults
is greater or equals to number of results of the given affine map.
Reactant.MLIR.API.mlirAffineMapGetMinorSubMap
— MethodmlirAffineMapGetMinorSubMap(affineMap, numResults)
Returns the affine map consisting of the most minor numResults
results. Returns the null AffineMap if the numResults
is equal to zero. Returns the affineMap
if numResults
is greater or equals to number of results of the given affine map.
Reactant.MLIR.API.mlirAffineMapGetNumDims
— MethodmlirAffineMapGetNumDims(affineMap)
Returns the number of dimensions of the given affine map.
Reactant.MLIR.API.mlirAffineMapGetNumInputs
— MethodmlirAffineMapGetNumInputs(affineMap)
Returns the number of inputs (dimensions + symbols) of the given affine map.
Reactant.MLIR.API.mlirAffineMapGetNumResults
— MethodmlirAffineMapGetNumResults(affineMap)
Returns the number of results of the given affine map.
Reactant.MLIR.API.mlirAffineMapGetNumSymbols
— MethodmlirAffineMapGetNumSymbols(affineMap)
Returns the number of symbols of the given affine map.
Reactant.MLIR.API.mlirAffineMapGetResult
— MethodmlirAffineMapGetResult(affineMap, pos)
Returns the result at the given position.
Reactant.MLIR.API.mlirAffineMapGetSingleConstantResult
— MethodmlirAffineMapGetSingleConstantResult(affineMap)
Returns the constant result of the given affine map. The function asserts that the map has a single constant result.
Reactant.MLIR.API.mlirAffineMapGetSubMap
— MethodmlirAffineMapGetSubMap(affineMap, size, resultPos)
Returns the affine map consisting of the resultPos
subset.
Reactant.MLIR.API.mlirAffineMapIsEmpty
— MethodmlirAffineMapIsEmpty(affineMap)
Checks whether the given affine map is an empty affine map.
Reactant.MLIR.API.mlirAffineMapIsIdentity
— MethodmlirAffineMapIsIdentity(affineMap)
Checks whether the given affine map is an identity affine map. The function asserts that the number of dimensions is greater or equal to the number of results.
Reactant.MLIR.API.mlirAffineMapIsMinorIdentity
— MethodmlirAffineMapIsMinorIdentity(affineMap)
Checks whether the given affine map is a minor identity affine map.
Reactant.MLIR.API.mlirAffineMapIsNull
— MethodmlirAffineMapIsNull(affineMap)
Checks whether an affine map is null.
Reactant.MLIR.API.mlirAffineMapIsPermutation
— MethodmlirAffineMapIsPermutation(affineMap)
Checks whether the given affine map represents a symbol-less permutation map.
Reactant.MLIR.API.mlirAffineMapIsProjectedPermutation
— MethodmlirAffineMapIsProjectedPermutation(affineMap)
Checks whether the given affine map represents a subset of a symbol-less permutation map.
Reactant.MLIR.API.mlirAffineMapIsSingleConstant
— MethodmlirAffineMapIsSingleConstant(affineMap)
Checks whether the given affine map is a single result constant affine map.
Reactant.MLIR.API.mlirAffineMapMinorIdentityGet
— MethodmlirAffineMapMinorIdentityGet(ctx, dims, results)
Creates an identity affine map on the most minor dimensions in the context. The affine map is owned by the context. The function asserts that the number of dimensions is greater or equal to the number of results.
Reactant.MLIR.API.mlirAffineMapMultiDimIdentityGet
— MethodmlirAffineMapMultiDimIdentityGet(ctx, numDims)
Creates an affine map with 'numDims' identity in the context. The affine map is owned by the context.
Reactant.MLIR.API.mlirAffineMapPermutationGet
— MethodmlirAffineMapPermutationGet(ctx, size, permutation)
Creates an affine map with a permutation expression and its size in the context. The permutation expression is a non-empty vector of integers. The elements of the permutation vector must be continuous from 0 and cannot be repeated (i.e. [1,2,0]
is a valid permutation. [2,0]
or [1,1,2]
is an invalid permutation.) The affine map is owned by the context.
Reactant.MLIR.API.mlirAffineMapPrint
— MethodmlirAffineMapPrint(affineMap, callback, userData)
Prints an affine map by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirAffineMapReplace
— MethodmlirAffineMapReplace(affineMap, expression, replacement, numResultDims, numResultSyms)
Apply AffineExpr::replace(map
) to each of the results and return a new new AffineMap with the new results and the specified number of dims and symbols.
Reactant.MLIR.API.mlirAffineMapZeroResultGet
— MethodmlirAffineMapZeroResultGet(ctx, dimCount, symbolCount)
Creates a zero result affine map of the given dimensions and symbols in the context. The affine map is owned by the context.
Reactant.MLIR.API.mlirAffineModExprGet
— MethodmlirAffineModExprGet(lhs, rhs)
Creates an affine mod expression with 'lhs' and 'rhs'.
Reactant.MLIR.API.mlirAffineMulExprGet
— MethodmlirAffineMulExprGet(lhs, rhs)
Creates an affine mul expression with 'lhs' and 'rhs'.
Reactant.MLIR.API.mlirAffineSymbolExprGet
— MethodmlirAffineSymbolExprGet(ctx, position)
Creates an affine symbol expression with 'position' in the context.
Reactant.MLIR.API.mlirAffineSymbolExprGetPosition
— MethodmlirAffineSymbolExprGetPosition(affineExpr)
Returns the position of the given affine symbol expression.
Reactant.MLIR.API.mlirAnyQuantizedTypeGet
— MethodmlirAnyQuantizedTypeGet(flags, storageType, expressedType, storageTypeMin, storageTypeMax)
Creates an instance of AnyQuantizedType with the given parameters in the same context as storageType
and returns it. The instance is owned by the context.
Reactant.MLIR.API.mlirArrayAttrGet
— MethodmlirArrayAttrGet(ctx, numElements, elements)
Creates an array element containing the given list of elements in the given context.
Reactant.MLIR.API.mlirArrayAttrGetElement
— MethodmlirArrayAttrGetElement(attr, pos)
Returns pos-th element stored in the given array attribute.
Reactant.MLIR.API.mlirArrayAttrGetNumElements
— MethodmlirArrayAttrGetNumElements(attr)
Returns the number of elements stored in the given array attribute.
Reactant.MLIR.API.mlirArrayAttrGetTypeID
— MethodmlirArrayAttrGetTypeID()
Returns the typeID of an Array attribute.
Reactant.MLIR.API.mlirAsmStateCreateForOperation
— MethodmlirAsmStateCreateForOperation(op, flags)
Creates new AsmState, as with AsmState the IR should not be mutated in-between using this state. Must be freed with a call to mlirAsmStateDestroy
().
Reactant.MLIR.API.mlirAsmStateCreateForValue
— MethodmlirAsmStateCreateForValue(value, flags)
Creates new AsmState from value. Must be freed with a call to mlirAsmStateDestroy
().
Reactant.MLIR.API.mlirAsmStateDestroy
— MethodmlirAsmStateDestroy(state)
Destroys printing flags created with mlirAsmStateCreate.
Reactant.MLIR.API.mlirAttributeDump
— MethodmlirAttributeDump(attr)
Prints the attribute to the standard error stream.
Reactant.MLIR.API.mlirAttributeEqual
— MethodmlirAttributeEqual(a1, a2)
Checks if two attributes are equal.
Reactant.MLIR.API.mlirAttributeGetContext
— MethodmlirAttributeGetContext(attribute)
Gets the context that an attribute was created with.
Reactant.MLIR.API.mlirAttributeGetDialect
— MethodmlirAttributeGetDialect(attribute)
Gets the dialect of the attribute.
Reactant.MLIR.API.mlirAttributeGetNull
— MethodmlirAttributeGetNull()
Returns an empty attribute.
Reactant.MLIR.API.mlirAttributeGetType
— MethodmlirAttributeGetType(attribute)
Gets the type of this attribute.
Reactant.MLIR.API.mlirAttributeGetTypeID
— MethodmlirAttributeGetTypeID(attribute)
Gets the type id of the attribute.
Reactant.MLIR.API.mlirAttributeIsAAffineMap
— MethodmlirAttributeIsAAffineMap(attr)
Checks whether the given attribute is an affine map attribute.
Reactant.MLIR.API.mlirAttributeIsAArray
— MethodmlirAttributeIsAArray(attr)
Checks whether the given attribute is an array attribute.
Reactant.MLIR.API.mlirAttributeIsABool
— MethodmlirAttributeIsABool(attr)
Checks whether the given attribute is a bool attribute.
Reactant.MLIR.API.mlirAttributeIsADenseBoolArray
— MethodmlirAttributeIsADenseBoolArray(attr)
Checks whether the given attribute is a dense array attribute.
Reactant.MLIR.API.mlirAttributeIsADenseElements
— MethodmlirAttributeIsADenseElements(attr)
Checks whether the given attribute is a dense elements attribute.
Reactant.MLIR.API.mlirAttributeIsADictionary
— MethodmlirAttributeIsADictionary(attr)
Checks whether the given attribute is a dictionary attribute.
Reactant.MLIR.API.mlirAttributeIsAElements
— MethodmlirAttributeIsAElements(attr)
Checks whether the given attribute is an elements attribute.
Reactant.MLIR.API.mlirAttributeIsAFlatSymbolRef
— MethodmlirAttributeIsAFlatSymbolRef(attr)
Checks whether the given attribute is a flat symbol reference attribute.
Reactant.MLIR.API.mlirAttributeIsAFloat
— MethodmlirAttributeIsAFloat(attr)
Checks whether the given attribute is a floating point attribute.
Reactant.MLIR.API.mlirAttributeIsAInteger
— MethodmlirAttributeIsAInteger(attr)
Checks whether the given attribute is an integer attribute.
Reactant.MLIR.API.mlirAttributeIsAIntegerSet
— MethodmlirAttributeIsAIntegerSet(attr)
Checks whether the given attribute is an integer set attribute.
Reactant.MLIR.API.mlirAttributeIsAOpaque
— MethodmlirAttributeIsAOpaque(attr)
Checks whether the given attribute is an opaque attribute.
Reactant.MLIR.API.mlirAttributeIsASparseElements
— MethodmlirAttributeIsASparseElements(attr)
Checks whether the given attribute is a sparse elements attribute.
Reactant.MLIR.API.mlirAttributeIsASparseTensorEncodingAttr
— MethodmlirAttributeIsASparseTensorEncodingAttr(attr)
Checks whether the given attribute is a sparse\_tensor.encoding
attribute.
Reactant.MLIR.API.mlirAttributeIsAString
— MethodmlirAttributeIsAString(attr)
Checks whether the given attribute is a string attribute.
Reactant.MLIR.API.mlirAttributeIsASymbolRef
— MethodmlirAttributeIsASymbolRef(attr)
Checks whether the given attribute is a symbol reference attribute.
Reactant.MLIR.API.mlirAttributeIsAType
— MethodmlirAttributeIsAType(attr)
Checks whether the given attribute is a type attribute.
Reactant.MLIR.API.mlirAttributeIsAUnit
— MethodmlirAttributeIsAUnit(attr)
Checks whether the given attribute is a unit attribute.
Reactant.MLIR.API.mlirAttributeIsNull
— MethodmlirAttributeIsNull(attr)
Checks whether an attribute is null.
Reactant.MLIR.API.mlirAttributeParseGet
— MethodmlirAttributeParseGet(context, attr)
Parses an attribute. The attribute is owned by the context.
Reactant.MLIR.API.mlirAttributePrint
— MethodmlirAttributePrint(attr, callback, userData)
Prints an attribute by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirBF16TypeGet
— MethodmlirBF16TypeGet(ctx)
Creates a bf16 type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirBFloat16TypeGetTypeID
— MethodmlirBFloat16TypeGetTypeID()
Returns the typeID of an BFloat16 type.
Reactant.MLIR.API.mlirBlockAddArgument
— MethodmlirBlockAddArgument(block, type, loc)
Appends an argument of the specified type to the block. Returns the newly added argument.
Reactant.MLIR.API.mlirBlockAppendOwnedOperation
— MethodmlirBlockAppendOwnedOperation(block, operation)
Takes an operation owned by the caller and appends it to the block.
Reactant.MLIR.API.mlirBlockArgumentGetArgNumber
— MethodmlirBlockArgumentGetArgNumber(value)
Returns the position of the value in the argument list of its block.
Reactant.MLIR.API.mlirBlockArgumentGetOwner
— MethodmlirBlockArgumentGetOwner(value)
Returns the block in which this value is defined as an argument. Asserts if the value is not a block argument.
Reactant.MLIR.API.mlirBlockArgumentSetType
— MethodmlirBlockArgumentSetType(value, type)
Sets the type of the block argument to the given type.
Reactant.MLIR.API.mlirBlockCreate
— MethodmlirBlockCreate(nArgs, args, locs)
Creates a new empty block with the given argument types and transfers ownership to the caller.
Reactant.MLIR.API.mlirBlockDestroy
— MethodmlirBlockDestroy(block)
Takes a block owned by the caller and destroys it.
Reactant.MLIR.API.mlirBlockDetach
— MethodmlirBlockDetach(block)
Detach a block from the owning region and assume ownership.
Reactant.MLIR.API.mlirBlockEqual
— MethodmlirBlockEqual(block, other)
Checks whether two blocks handles point to the same block. This does not perform deep comparison.
Reactant.MLIR.API.mlirBlockGetArgument
— MethodmlirBlockGetArgument(block, pos)
Returns pos
-th argument of the block.
Reactant.MLIR.API.mlirBlockGetFirstOperation
— MethodmlirBlockGetFirstOperation(block)
Returns the first operation in the block.
Reactant.MLIR.API.mlirBlockGetNextInRegion
— MethodmlirBlockGetNextInRegion(block)
Returns the block immediately following the given block in its parent region.
Reactant.MLIR.API.mlirBlockGetNumArguments
— MethodmlirBlockGetNumArguments(block)
Returns the number of arguments of the block.
Reactant.MLIR.API.mlirBlockGetParentOperation
— MethodmlirBlockGetParentOperation(arg1)
Returns the closest surrounding operation that contains this block.
Reactant.MLIR.API.mlirBlockGetParentRegion
— MethodmlirBlockGetParentRegion(block)
Returns the region that contains this block.
Reactant.MLIR.API.mlirBlockGetTerminator
— MethodmlirBlockGetTerminator(block)
Returns the terminator operation in the block or null if no terminator.
Reactant.MLIR.API.mlirBlockInsertArgument
— MethodmlirBlockInsertArgument(block, pos, type, loc)
Inserts an argument of the specified type at a specified index to the block. Returns the newly added argument.
Reactant.MLIR.API.mlirBlockInsertOwnedOperation
— MethodmlirBlockInsertOwnedOperation(block, pos, operation)
Takes an operation owned by the caller and inserts it as pos
to the block. This is an expensive operation that scans the block linearly, prefer insertBefore/After instead.
Reactant.MLIR.API.mlirBlockInsertOwnedOperationAfter
— MethodmlirBlockInsertOwnedOperationAfter(block, reference, operation)
Takes an operation owned by the caller and inserts it after the (non-owned) reference operation in the given block. If the reference is null, prepends the operation. Otherwise, the reference must belong to the block.
Reactant.MLIR.API.mlirBlockInsertOwnedOperationBefore
— MethodmlirBlockInsertOwnedOperationBefore(block, reference, operation)
Takes an operation owned by the caller and inserts it before the (non-owned) reference operation in the given block. If the reference is null, appends the operation. Otherwise, the reference must belong to the block.
Reactant.MLIR.API.mlirBlockIsNull
— MethodmlirBlockIsNull(block)
Checks whether a block is null.
Reactant.MLIR.API.mlirBlockPrint
— MethodmlirBlockPrint(block, callback, userData)
Prints a block by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirBoolAttrGet
— MethodmlirBoolAttrGet(ctx, value)
Creates a bool attribute in the given context with the given value.
Reactant.MLIR.API.mlirBoolAttrGetValue
— MethodmlirBoolAttrGetValue(attr)
Returns the value stored in the given bool attribute.
Reactant.MLIR.API.mlirBytecodeWriterConfigCreate
— MethodmlirBytecodeWriterConfigCreate()
Creates new printing flags with defaults, intended for customization. Must be freed with a call to mlirBytecodeWriterConfigDestroy
().
Reactant.MLIR.API.mlirBytecodeWriterConfigDesiredEmitVersion
— MethodmlirBytecodeWriterConfigDesiredEmitVersion(flags, version)
Sets the version to emit in the writer config.
Reactant.MLIR.API.mlirBytecodeWriterConfigDestroy
— MethodmlirBytecodeWriterConfigDestroy(config)
Destroys printing flags created with mlirBytecodeWriterConfigCreate
.
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGet
— MethodmlirCalibratedQuantizedTypeGet(expressedType, min, max)
Creates an instance of CalibratedQuantizedType with the given parameters in the same context as expressedType
and returns it. The instance is owned by the context.
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGetMax
— MethodmlirCalibratedQuantizedTypeGetMax(type)
Returns the max value of the given calibrated quantized type.
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGetMin
— MethodmlirCalibratedQuantizedTypeGetMin(type)
Returns the min value of the given calibrated quantized type.
Reactant.MLIR.API.mlirComplexTypeGet
— MethodmlirComplexTypeGet(elementType)
Creates a complex type with the given element type in the same context as the element type. The type is owned by the context.
Reactant.MLIR.API.mlirComplexTypeGetElementType
— MethodmlirComplexTypeGetElementType(type)
Returns the element type of the given complex type.
Reactant.MLIR.API.mlirComplexTypeGetTypeID
— MethodmlirComplexTypeGetTypeID()
Returns the typeID of an Complex type.
Reactant.MLIR.API.mlirContextAppendDialectRegistry
— MethodmlirContextAppendDialectRegistry(ctx, registry)
Append the contents of the given dialect registry to the registry associated with the context.
Reactant.MLIR.API.mlirContextAttachDiagnosticHandler
— MethodmlirContextAttachDiagnosticHandler(context, handler, userData, deleteUserData)
Attaches the diagnostic handler to the context. Handlers are invoked in the reverse order of attachment until one of them processes the diagnostic completely. When a handler is invoked it is passed the userData
that was provided when it was attached. If non-NULL, deleteUserData
is called once the system no longer needs to call the handler (for instance after the handler is detached or the context is destroyed). Returns an identifier that can be used to detach the handler.
Reactant.MLIR.API.mlirContextCreate
— MethodmlirContextCreate()
Creates an MLIR context and transfers its ownership to the caller. This sets the default multithreading option (enabled).
Reactant.MLIR.API.mlirContextCreateWithRegistry
— MethodmlirContextCreateWithRegistry(registry, threadingEnabled)
Creates an MLIR context, setting the multithreading setting explicitly and pre-loading the dialects from the provided DialectRegistry.
Reactant.MLIR.API.mlirContextCreateWithThreading
— MethodmlirContextCreateWithThreading(threadingEnabled)
Creates an MLIR context with an explicit setting of the multithreading setting and transfers its ownership to the caller.
Reactant.MLIR.API.mlirContextDestroy
— MethodmlirContextDestroy(context)
Takes an MLIR context owned by the caller and destroys it.
Reactant.MLIR.API.mlirContextDetachDiagnosticHandler
— MethodmlirContextDetachDiagnosticHandler(context, id)
Detaches an attached diagnostic handler from the context given its identifier.
Reactant.MLIR.API.mlirContextEnableMultithreading
— MethodmlirContextEnableMultithreading(context, enable)
Set threading mode (must be set to false to mlir-print-ir-after-all).
Reactant.MLIR.API.mlirContextEqual
— MethodmlirContextEqual(ctx1, ctx2)
Checks if two contexts are equal.
Reactant.MLIR.API.mlirContextGetAllowUnregisteredDialects
— MethodmlirContextGetAllowUnregisteredDialects(context)
Returns whether the context allows unregistered dialects.
Reactant.MLIR.API.mlirContextGetNumLoadedDialects
— MethodmlirContextGetNumLoadedDialects(context)
Returns the number of dialects loaded by the context.
Reactant.MLIR.API.mlirContextGetNumRegisteredDialects
— MethodmlirContextGetNumRegisteredDialects(context)
Returns the number of dialects registered with the given context. A registered dialect will be loaded if needed by the parser.
Reactant.MLIR.API.mlirContextGetOrLoadDialect
— MethodmlirContextGetOrLoadDialect(context, name)
Gets the dialect instance owned by the given context using the dialect namespace to identify it, loads (i.e., constructs the instance of) the dialect if necessary. If the dialect is not registered with the context, returns null. Use mlirContextLoad<Name>Dialect to load an unregistered dialect.
Reactant.MLIR.API.mlirContextIsNull
— MethodmlirContextIsNull(context)
Checks whether a context is null.
Reactant.MLIR.API.mlirContextIsRegisteredOperation
— MethodmlirContextIsRegisteredOperation(context, name)
Returns whether the given fully-qualified operation (i.e. 'dialect.operation') is registered with the context. This will return true if the dialect is loaded and the operation is registered within the dialect.
Reactant.MLIR.API.mlirContextLoadAllAvailableDialects
— MethodmlirContextLoadAllAvailableDialects(context)
Eagerly loads all available dialects registered with a context, making them available for use for IR construction.
Reactant.MLIR.API.mlirContextSetAllowUnregisteredDialects
— MethodmlirContextSetAllowUnregisteredDialects(context, allow)
Sets whether unregistered dialects are allowed in this context.
Reactant.MLIR.API.mlirContextSetThreadPool
— MethodmlirContextSetThreadPool(context, threadPool)
Sets the thread pool of the context explicitly, enabling multithreading in the process. This API should be used to avoid re-creating thread pools in long-running applications that perform multiple compilations, see the C++ documentation for MLIRContext for details.
Reactant.MLIR.API.mlirCreateExternalPass
— MethodmlirCreateExternalPass(passID, name, argument, description, opName, nDependentDialects, dependentDialects, callbacks, userData)
Creates an external MlirPass
that calls the supplied callbacks
using the supplied userData
. If opName
is empty, the pass is a generic operation pass. Otherwise it is an operation pass specific to the specified pass name.
Reactant.MLIR.API.mlirDenseArrayGetNumElements
— MethodmlirDenseArrayGetNumElements(attr)
Get the size of a dense array.
Reactant.MLIR.API.mlirDenseBoolArrayGet
— MethodmlirDenseBoolArrayGet(ctx, size, values)
Create a dense array attribute with the given elements.
Reactant.MLIR.API.mlirDenseBoolArrayGetElement
— MethodmlirDenseBoolArrayGetElement(attr, pos)
Get an element of a dense array.
Reactant.MLIR.API.mlirDenseBoolResourceElementsAttrGetValue
— MethodmlirDenseBoolResourceElementsAttrGetValue(attr, pos)
Returns the pos-th value (flat contiguous indexing) of a specific type contained by the given dense resource elements attribute.
Reactant.MLIR.API.mlirDenseElementsAttrBoolGet
— MethodmlirDenseElementsAttrBoolGet(shapedType, numElements, elements)
Creates a dense elements attribute with the given shaped type from elements of a specific type. Expects the element type of the shaped type to match the data element type.
Reactant.MLIR.API.mlirDenseElementsAttrGet
— MethodmlirDenseElementsAttrGet(shapedType, numElements, elements)
Creates a dense elements attribute with the given Shaped type and elements in the same context as the type.
Reactant.MLIR.API.mlirDenseElementsAttrGetBoolValue
— MethodmlirDenseElementsAttrGetBoolValue(attr, pos)
Returns the pos-th value (flat contiguous indexing) of a specific type contained by the given dense elements attribute.
Reactant.MLIR.API.mlirDenseElementsAttrGetRawData
— MethodmlirDenseElementsAttrGetRawData(attr)
Returns the raw data of the given dense elements attribute.
Reactant.MLIR.API.mlirDenseElementsAttrGetSplatValue
— MethodmlirDenseElementsAttrGetSplatValue(attr)
Returns the single replicated value (splat) of a specific type contained by the given dense elements attribute.
Reactant.MLIR.API.mlirDenseElementsAttrIsSplat
— MethodmlirDenseElementsAttrIsSplat(attr)
Checks whether the given dense elements attribute contains a single replicated value (splat).
Reactant.MLIR.API.mlirDenseElementsAttrRawBufferGet
— MethodmlirDenseElementsAttrRawBufferGet(shapedType, rawBufferSize, rawBuffer)
Creates a dense elements attribute with the given Shaped type and elements populated from a packed, row-major opaque buffer of contents.
The format of the raw buffer is a densely packed array of values that can be bitcast to the storage format of the element type specified. Types that are not byte aligned will be: - For bitwidth > 1: Rounded up to the next byte. - For bitwidth = 1: Packed into 8bit bytes with bits corresponding to the linear order of the shape type from MSB to LSB, padded to on the right.
A raw buffer of a single element (or for 1-bit, a byte of value 0 or 255) will be interpreted as a splat. User code should be prepared for additional, conformant patterns to be identified as splats in the future.
Reactant.MLIR.API.mlirDenseElementsAttrReshapeGet
— MethodmlirDenseElementsAttrReshapeGet(attr, shapedType)
Creates a dense elements attribute that has the same data as the given dense elements attribute and a different shaped type. The new type must have the same total number of elements.
Reactant.MLIR.API.mlirDenseElementsAttrSplatGet
— MethodmlirDenseElementsAttrSplatGet(shapedType, element)
Creates a dense elements attribute with the given Shaped type containing a single replicated element (splat).
Reactant.MLIR.API.mlirDenseElementsAttrStringGet
— MethodmlirDenseElementsAttrStringGet(shapedType, numElements, strs)
Creates a dense elements attribute with the given shaped type from string elements.
Reactant.MLIR.API.mlirDenseIntOrFPElementsAttrGetTypeID
— MethodmlirDenseIntOrFPElementsAttrGetTypeID()
Returns the typeID of an DenseIntOrFPElements attribute.
Reactant.MLIR.API.mlirDiagnosticGetLocation
— MethodmlirDiagnosticGetLocation(diagnostic)
Returns the location at which the diagnostic is reported.
Reactant.MLIR.API.mlirDiagnosticGetNote
— MethodmlirDiagnosticGetNote(diagnostic, pos)
Returns pos
-th note attached to the diagnostic. Expects pos
to be a valid zero-based index into the list of notes.
Reactant.MLIR.API.mlirDiagnosticGetNumNotes
— MethodmlirDiagnosticGetNumNotes(diagnostic)
Returns the number of notes attached to the diagnostic.
Reactant.MLIR.API.mlirDiagnosticGetSeverity
— MethodmlirDiagnosticGetSeverity(diagnostic)
Returns the severity of the diagnostic.
Reactant.MLIR.API.mlirDiagnosticPrint
— MethodmlirDiagnosticPrint(diagnostic, callback, userData)
Prints a diagnostic using the provided callback.
Reactant.MLIR.API.mlirDialectEqual
— MethodmlirDialectEqual(dialect1, dialect2)
Checks if two dialects that belong to the same context are equal. Dialects from different contexts will not compare equal.
Reactant.MLIR.API.mlirDialectGetContext
— MethodmlirDialectGetContext(dialect)
Returns the context that owns the dialect.
Reactant.MLIR.API.mlirDialectGetNamespace
— MethodmlirDialectGetNamespace(dialect)
Returns the namespace of the given dialect.
Reactant.MLIR.API.mlirDialectHandleGetNamespace
— MethodmlirDialectHandleGetNamespace(arg1)
Returns the namespace associated with the provided dialect handle.
Reactant.MLIR.API.mlirDialectHandleInsertDialect
— MethodmlirDialectHandleInsertDialect(arg1, arg2)
Inserts the dialect associated with the provided dialect handle into the provided dialect registry
Reactant.MLIR.API.mlirDialectHandleLoadDialect
— MethodmlirDialectHandleLoadDialect(arg1, arg2)
Loads the dialect associated with the provided dialect handle.
Reactant.MLIR.API.mlirDialectHandleRegisterDialect
— MethodmlirDialectHandleRegisterDialect(arg1, arg2)
Registers the dialect associated with the provided dialect handle.
Reactant.MLIR.API.mlirDialectIsNull
— MethodmlirDialectIsNull(dialect)
Checks if the dialect is null.
Reactant.MLIR.API.mlirDialectRegistryCreate
— MethodmlirDialectRegistryCreate()
Creates a dialect registry and transfers its ownership to the caller.
Reactant.MLIR.API.mlirDialectRegistryDestroy
— MethodmlirDialectRegistryDestroy(registry)
Takes a dialect registry owned by the caller and destroys it.
Reactant.MLIR.API.mlirDialectRegistryIsNull
— MethodmlirDialectRegistryIsNull(registry)
Checks if the dialect registry is null.
Reactant.MLIR.API.mlirDictionaryAttrGet
— MethodmlirDictionaryAttrGet(ctx, numElements, elements)
Creates a dictionary attribute containing the given list of elements in the provided context.
Reactant.MLIR.API.mlirDictionaryAttrGetElement
— MethodmlirDictionaryAttrGetElement(attr, pos)
Returns pos-th element of the given dictionary attribute.
Reactant.MLIR.API.mlirDictionaryAttrGetElementByName
— MethodmlirDictionaryAttrGetElementByName(attr, name)
Returns the dictionary attribute element with the given name or NULL if the given name does not exist in the dictionary.
Reactant.MLIR.API.mlirDictionaryAttrGetNumElements
— MethodmlirDictionaryAttrGetNumElements(attr)
Returns the number of attributes contained in a dictionary attribute.
Reactant.MLIR.API.mlirDictionaryAttrGetTypeID
— MethodmlirDictionaryAttrGetTypeID()
Returns the typeID of a Dictionary attribute.
Reactant.MLIR.API.mlirDisctinctAttrCreate
— MethodmlirDisctinctAttrCreate(referencedAttr)
Creates a DisctinctAttr with the referenced attribute.
Reactant.MLIR.API.mlirElementsAttrGetNumElements
— MethodmlirElementsAttrGetNumElements(attr)
Gets the total number of elements in the given elements attribute. In order to iterate over the attribute, obtain its type, which must be a statically shaped type and use its sizes to build a multi-dimensional index.
Reactant.MLIR.API.mlirElementsAttrGetValue
— MethodmlirElementsAttrGetValue(attr, rank, idxs)
Returns the element at the given rank-dimensional index.
Reactant.MLIR.API.mlirElementsAttrIsValidIndex
— MethodmlirElementsAttrIsValidIndex(attr, rank, idxs)
Checks whether the given rank-dimensional index is valid in the given elements attribute.
Reactant.MLIR.API.mlirEmitError
— MethodmlirEmitError(location, message)
Emits an error at the given location through the diagnostics engine. Used for testing purposes.
Reactant.MLIR.API.mlirEnableGlobalDebug
— MethodmlirEnableGlobalDebug(enable)
Sets the global debugging flag.
Reactant.MLIR.API.mlirExecutionEngineCreate
— MethodmlirExecutionEngineCreate(op, optLevel, numPaths, sharedLibPaths, enableObjectDump)
Creates an ExecutionEngine for the provided ModuleOp. The ModuleOp is expected to be "translatable" to LLVM IR (only contains operations in dialects that implement the LLVMTranslationDialectInterface
). The module ownership stays with the client and can be destroyed as soon as the call returns. optLevel
is the optimization level to be used for transformation and code generation. LLVM passes at optLevel
are run before code generation. The number and array of paths corresponding to shared libraries that will be loaded are specified via numPaths
and sharedLibPaths
respectively. TODO: figure out other options.
Reactant.MLIR.API.mlirExecutionEngineDestroy
— MethodmlirExecutionEngineDestroy(jit)
Destroy an ExecutionEngine instance.
Reactant.MLIR.API.mlirExecutionEngineDumpToObjectFile
— MethodmlirExecutionEngineDumpToObjectFile(jit, fileName)
Dump as an object in fileName
.
Reactant.MLIR.API.mlirExecutionEngineInvokePacked
— MethodmlirExecutionEngineInvokePacked(jit, name, arguments)
Invoke a native function in the execution engine by name with the arguments and result of the invoked function passed as an array of pointers. The function must have been tagged with the llvm.emit\_c\_interface
attribute. Returns a failure if the execution fails for any reason (the function name can't be resolved for instance).
Reactant.MLIR.API.mlirExecutionEngineIsNull
— MethodmlirExecutionEngineIsNull(jit)
Checks whether an execution engine is null.
Reactant.MLIR.API.mlirExecutionEngineLookup
— MethodmlirExecutionEngineLookup(jit, name)
Lookup a native function in the execution engine by name, returns nullptr if the name can't be looked-up.
Reactant.MLIR.API.mlirExecutionEngineLookupPacked
— MethodmlirExecutionEngineLookupPacked(jit, name)
Lookup the wrapper of the native function in the execution engine with the given name, returns nullptr if the function can't be looked-up.
Reactant.MLIR.API.mlirExecutionEngineRegisterSymbol
— MethodmlirExecutionEngineRegisterSymbol(jit, name, sym)
Register a symbol with the jit: this symbol will be accessible to the jitted code.
Reactant.MLIR.API.mlirExternalPassSignalFailure
— MethodmlirExternalPassSignalFailure(pass)
This signals that the pass has failed. This is only valid to call during the run
callback of MlirExternalPassCallbacks
. See Pass::signalPassFailure().
Reactant.MLIR.API.mlirF16TypeGet
— MethodmlirF16TypeGet(ctx)
Creates an f16 type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirF32TypeGet
— MethodmlirF32TypeGet(ctx)
Creates an f32 type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirF64TypeGet
— MethodmlirF64TypeGet(ctx)
Creates a f64 type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirFlatSymbolRefAttrGet
— MethodmlirFlatSymbolRefAttrGet(ctx, symbol)
Creates a flat symbol reference attribute in the given context referencing a symbol identified by the given string.
Reactant.MLIR.API.mlirFlatSymbolRefAttrGetValue
— MethodmlirFlatSymbolRefAttrGetValue(attr)
Returns the referenced symbol as a string reference. The data remains live as long as the context in which the attribute lives.
Reactant.MLIR.API.mlirFloat16TypeGetTypeID
— MethodmlirFloat16TypeGetTypeID()
Returns the typeID of an Float16 type.
Reactant.MLIR.API.mlirFloat32TypeGetTypeID
— MethodmlirFloat32TypeGetTypeID()
Returns the typeID of an Float32 type.
Reactant.MLIR.API.mlirFloat64TypeGetTypeID
— MethodmlirFloat64TypeGetTypeID()
Returns the typeID of an Float64 type.
Reactant.MLIR.API.mlirFloat8E4M3B11FNUZTypeGet
— MethodmlirFloat8E4M3B11FNUZTypeGet(ctx)
Creates an f8E4M3B11FNUZ type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirFloat8E4M3B11FNUZTypeGetTypeID
— MethodmlirFloat8E4M3B11FNUZTypeGetTypeID()
Returns the typeID of an Float8E4M3B11FNUZ type.
Reactant.MLIR.API.mlirFloat8E4M3FNTypeGet
— MethodmlirFloat8E4M3FNTypeGet(ctx)
Creates an f8E4M3FN type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirFloat8E4M3FNTypeGetTypeID
— MethodmlirFloat8E4M3FNTypeGetTypeID()
Returns the typeID of an Float8E4M3FN type.
Reactant.MLIR.API.mlirFloat8E4M3FNUZTypeGet
— MethodmlirFloat8E4M3FNUZTypeGet(ctx)
Creates an f8E4M3FNUZ type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirFloat8E4M3FNUZTypeGetTypeID
— MethodmlirFloat8E4M3FNUZTypeGetTypeID()
Returns the typeID of an Float8E4M3FNUZ type.
Reactant.MLIR.API.mlirFloat8E5M2FNUZTypeGet
— MethodmlirFloat8E5M2FNUZTypeGet(ctx)
Creates an f8E5M2FNUZ type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirFloat8E5M2FNUZTypeGetTypeID
— MethodmlirFloat8E5M2FNUZTypeGetTypeID()
Returns the typeID of an Float8E5M2FNUZ type.
Reactant.MLIR.API.mlirFloat8E5M2TypeGet
— MethodmlirFloat8E5M2TypeGet(ctx)
Creates an f8E5M2 type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirFloat8E5M2TypeGetTypeID
— MethodmlirFloat8E5M2TypeGetTypeID()
Returns the typeID of an Float8E5M2 type.
Reactant.MLIR.API.mlirFloatAttrDoubleGet
— MethodmlirFloatAttrDoubleGet(ctx, type, value)
Creates a floating point attribute in the given context with the given double value and double-precision FP semantics.
Reactant.MLIR.API.mlirFloatAttrDoubleGetChecked
— MethodmlirFloatAttrDoubleGetChecked(loc, type, value)
Same as "mlirFloatAttrDoubleGet
", but if the type is not valid for a construction of a FloatAttr, returns a null MlirAttribute
.
Reactant.MLIR.API.mlirFloatAttrGetTypeID
— MethodmlirFloatAttrGetTypeID()
Returns the typeID of a Float attribute.
Reactant.MLIR.API.mlirFloatAttrGetValueDouble
— MethodmlirFloatAttrGetValueDouble(attr)
Returns the value stored in the given floating point attribute, interpreting the value as double.
Reactant.MLIR.API.mlirFloatTF32TypeGetTypeID
— MethodmlirFloatTF32TypeGetTypeID()
Returns the typeID of a TF32 type.
Reactant.MLIR.API.mlirFloatTypeGetWidth
— MethodmlirFloatTypeGetWidth(type)
Returns the bitwidth of a floating-point type.
Reactant.MLIR.API.mlirFuncSetArgAttr
— MethodmlirFuncSetArgAttr(op, pos, name, attr)
Sets the argument attribute 'name' of an argument at index 'pos'. Asserts that the operation is a FuncOp.
Reactant.MLIR.API.mlirFunctionTypeGet
— MethodmlirFunctionTypeGet(ctx, numInputs, inputs, numResults, results)
Creates a function type, mapping a list of input types to result types.
Reactant.MLIR.API.mlirFunctionTypeGetInput
— MethodmlirFunctionTypeGetInput(type, pos)
Returns the pos-th input type.
Reactant.MLIR.API.mlirFunctionTypeGetNumInputs
— MethodmlirFunctionTypeGetNumInputs(type)
Returns the number of input types.
Reactant.MLIR.API.mlirFunctionTypeGetNumResults
— MethodmlirFunctionTypeGetNumResults(type)
Returns the number of result types.
Reactant.MLIR.API.mlirFunctionTypeGetResult
— MethodmlirFunctionTypeGetResult(type, pos)
Returns the pos-th result type.
Reactant.MLIR.API.mlirFunctionTypeGetTypeID
— MethodmlirFunctionTypeGetTypeID()
Returns the typeID of an Function type.
Reactant.MLIR.API.mlirIdentifierEqual
— MethodmlirIdentifierEqual(ident, other)
Checks whether two identifiers are the same.
Reactant.MLIR.API.mlirIdentifierGet
— MethodmlirIdentifierGet(context, str)
Gets an identifier with the given string value.
Reactant.MLIR.API.mlirIdentifierGetContext
— MethodmlirIdentifierGetContext(arg1)
Returns the context associated with this identifier
Reactant.MLIR.API.mlirIdentifierStr
— MethodmlirIdentifierStr(ident)
Gets the string value of the identifier.
Reactant.MLIR.API.mlirIndexTypeGet
— MethodmlirIndexTypeGet(ctx)
Creates an index type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirIndexTypeGetTypeID
— MethodmlirIndexTypeGetTypeID()
Returns the typeID of an Index type.
Reactant.MLIR.API.mlirInferShapedTypeOpInterfaceInferReturnTypes
— MethodmlirInferShapedTypeOpInterfaceInferReturnTypes(opName, context, location, nOperands, operands, attributes, properties, nRegions, regions, callback, userData)
Infers the return shaped type components of the operation. Calls callback
with the types of inferred arguments on success. Returns failure otherwise.
Reactant.MLIR.API.mlirInferShapedTypeOpInterfaceTypeID
— MethodmlirInferShapedTypeOpInterfaceTypeID()
Returns the interface TypeID of the InferShapedTypeOpInterface.
Reactant.MLIR.API.mlirInferTypeOpInterfaceInferReturnTypes
— MethodmlirInferTypeOpInterfaceInferReturnTypes(opName, context, location, nOperands, operands, attributes, properties, nRegions, regions, callback, userData)
Infers the return types of the operation identified by its canonical given the arguments that will be supplied to its generic builder. Calls callback
with the types of inferred arguments, potentially several times, on success. Returns failure otherwise.
Reactant.MLIR.API.mlirInferTypeOpInterfaceTypeID
— MethodmlirInferTypeOpInterfaceTypeID()
Returns the interface TypeID of the InferTypeOpInterface.
Reactant.MLIR.API.mlirIntegerAttrGet
— MethodmlirIntegerAttrGet(type, value)
Creates an integer attribute of the given type with the given integer value.
Reactant.MLIR.API.mlirIntegerAttrGetTypeID
— MethodmlirIntegerAttrGetTypeID()
Returns the typeID of an Integer attribute.
Reactant.MLIR.API.mlirIntegerAttrGetValueInt
— MethodmlirIntegerAttrGetValueInt(attr)
Returns the value stored in the given integer attribute, assuming the value is of signless type and fits into a signed 64-bit integer.
Reactant.MLIR.API.mlirIntegerAttrGetValueSInt
— MethodmlirIntegerAttrGetValueSInt(attr)
Returns the value stored in the given integer attribute, assuming the value is of signed type and fits into a signed 64-bit integer.
Reactant.MLIR.API.mlirIntegerAttrGetValueUInt
— MethodmlirIntegerAttrGetValueUInt(attr)
Returns the value stored in the given integer attribute, assuming the value is of unsigned type and fits into an unsigned 64-bit integer.
Reactant.MLIR.API.mlirIntegerSetAttrGetTypeID
— MethodmlirIntegerSetAttrGetTypeID()
Returns the typeID of an IntegerSet attribute.
Reactant.MLIR.API.mlirIntegerSetDump
— MethodmlirIntegerSetDump(set)
Prints an integer set to the standard error stream.
Reactant.MLIR.API.mlirIntegerSetEmptyGet
— MethodmlirIntegerSetEmptyGet(context, numDims, numSymbols)
Gets or creates a new canonically empty integer set with the give number of dimensions and symbols in the given context.
Reactant.MLIR.API.mlirIntegerSetEqual
— MethodmlirIntegerSetEqual(s1, s2)
Checks if two integer set objects are equal. This is a "shallow" comparison of two objects. Only the sets with some small number of constraints are uniqued and compare equal here. Set objects that represent the same integer set with different constraints may be considered non-equal by this check. Set difference followed by an (expensive) emptiness check should be used to check equivalence of the underlying integer sets.
Reactant.MLIR.API.mlirIntegerSetGet
— MethodmlirIntegerSetGet(context, numDims, numSymbols, numConstraints, constraints, eqFlags)
Gets or creates a new integer set in the given context. The set is defined by a list of affine constraints, with the given number of input dimensions and symbols, which are treated as either equalities (eqFlags is 1) or inequalities (eqFlags is 0). Both constraints
and eqFlags
are expected to point to at least numConstraint
consecutive values.
Reactant.MLIR.API.mlirIntegerSetGetConstraint
— MethodmlirIntegerSetGetConstraint(set, pos)
Returns pos
-th constraint of the set.
Reactant.MLIR.API.mlirIntegerSetGetContext
— MethodmlirIntegerSetGetContext(set)
Gets the context in which the given integer set lives.
Reactant.MLIR.API.mlirIntegerSetGetNumConstraints
— MethodmlirIntegerSetGetNumConstraints(set)
Returns the number of constraints (equalities + inequalities) in the given set.
Reactant.MLIR.API.mlirIntegerSetGetNumDims
— MethodmlirIntegerSetGetNumDims(set)
Returns the number of dimensions in the given set.
Reactant.MLIR.API.mlirIntegerSetGetNumEqualities
— MethodmlirIntegerSetGetNumEqualities(set)
Returns the number of equalities in the given set.
Reactant.MLIR.API.mlirIntegerSetGetNumInequalities
— MethodmlirIntegerSetGetNumInequalities(set)
Returns the number of inequalities in the given set.
Reactant.MLIR.API.mlirIntegerSetGetNumInputs
— MethodmlirIntegerSetGetNumInputs(set)
Returns the number of inputs (dimensions + symbols) in the given set.
Reactant.MLIR.API.mlirIntegerSetGetNumSymbols
— MethodmlirIntegerSetGetNumSymbols(set)
Returns the number of symbols in the given set.
Reactant.MLIR.API.mlirIntegerSetIsCanonicalEmpty
— MethodmlirIntegerSetIsCanonicalEmpty(set)
Checks whether the given set is a canonical empty set, e.g., the set returned by mlirIntegerSetEmptyGet
.
Reactant.MLIR.API.mlirIntegerSetIsConstraintEq
— MethodmlirIntegerSetIsConstraintEq(set, pos)
Returns true
of the pos
-th constraint of the set is an equality constraint, false
otherwise.
Reactant.MLIR.API.mlirIntegerSetIsNull
— MethodmlirIntegerSetIsNull(set)
Checks whether an integer set is a null object.
Reactant.MLIR.API.mlirIntegerSetPrint
— MethodmlirIntegerSetPrint(set, callback, userData)
Prints an integer set by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirIntegerSetReplaceGet
— MethodmlirIntegerSetReplaceGet(set, dimReplacements, symbolReplacements, numResultDims, numResultSymbols)
Gets or creates a new integer set in which the values and dimensions of the given set are replaced with the given affine expressions. dimReplacements
and symbolReplacements
are expected to point to at least as many consecutive expressions as the given set has dimensions and symbols, respectively. The new set will have numResultDims
and numResultSymbols
dimensions and symbols, respectively.
Reactant.MLIR.API.mlirIntegerTypeGet
— MethodmlirIntegerTypeGet(ctx, bitwidth)
Creates a signless integer type of the given bitwidth in the context. The type is owned by the context.
Reactant.MLIR.API.mlirIntegerTypeGetTypeID
— MethodmlirIntegerTypeGetTypeID()
Returns the typeID of an Integer type.
Reactant.MLIR.API.mlirIntegerTypeGetWidth
— MethodmlirIntegerTypeGetWidth(type)
Returns the bitwidth of an integer type.
Reactant.MLIR.API.mlirIntegerTypeIsSigned
— MethodmlirIntegerTypeIsSigned(type)
Checks whether the given integer type is signed.
Reactant.MLIR.API.mlirIntegerTypeIsSignless
— MethodmlirIntegerTypeIsSignless(type)
Checks whether the given integer type is signless.
Reactant.MLIR.API.mlirIntegerTypeIsUnsigned
— MethodmlirIntegerTypeIsUnsigned(type)
Checks whether the given integer type is unsigned.
Reactant.MLIR.API.mlirIntegerTypeSignedGet
— MethodmlirIntegerTypeSignedGet(ctx, bitwidth)
Creates a signed integer type of the given bitwidth in the context. The type is owned by the context.
Reactant.MLIR.API.mlirIntegerTypeUnsignedGet
— MethodmlirIntegerTypeUnsignedGet(ctx, bitwidth)
Creates an unsigned integer type of the given bitwidth in the context. The type is owned by the context.
Reactant.MLIR.API.mlirIsGlobalDebugEnabled
— MethodmlirIsGlobalDebugEnabled()
Retuns true
if the global debugging flag is set, false otherwise.
Reactant.MLIR.API.mlirLLVMArrayTypeGet
— MethodmlirLLVMArrayTypeGet(elementType, numElements)
Creates an llvm.array type.
Reactant.MLIR.API.mlirLLVMCConvAttrGet
— MethodmlirLLVMCConvAttrGet(ctx, cconv)
Creates a LLVM CConv attribute.
Reactant.MLIR.API.mlirLLVMComdatAttrGet
— MethodmlirLLVMComdatAttrGet(ctx, comdat)
Creates a LLVM Comdat attribute.
Reactant.MLIR.API.mlirLLVMDIBasicTypeAttrGet
— MethodmlirLLVMDIBasicTypeAttrGet(ctx, tag, name, sizeInBits, encoding)
Creates a LLVM DIBasicType attribute.
Reactant.MLIR.API.mlirLLVMDICompileUnitAttrGet
— MethodmlirLLVMDICompileUnitAttrGet(ctx, id, sourceLanguage, file, producer, isOptimized, emissionKind)
Creates a LLVM DICompileUnit attribute.
Reactant.MLIR.API.mlirLLVMDICompositeTypeAttrGet
— MethodmlirLLVMDICompositeTypeAttrGet(ctx, tag, recId, name, file, line, scope, baseType, flags, sizeInBits, alignInBits, nElements, elements)
Creates a LLVM DICompositeType attribute.
Reactant.MLIR.API.mlirLLVMDIDerivedTypeAttrGet
— MethodmlirLLVMDIDerivedTypeAttrGet(ctx, tag, name, baseType, sizeInBits, alignInBits, offsetInBits, extraData)
Creates a LLVM DIDerivedType attribute.
Reactant.MLIR.API.mlirLLVMDIDerivedTypeAttrGetBaseType
— MethodmlirLLVMDIDerivedTypeAttrGetBaseType(diDerivedType)
Gets the base type from a LLVM DIDerivedType attribute.
Reactant.MLIR.API.mlirLLVMDIExpressionAttrGet
— MethodmlirLLVMDIExpressionAttrGet(ctx, nOperations, operations)
Creates a LLVM DIExpression attribute.
Reactant.MLIR.API.mlirLLVMDIExpressionElemAttrGet
— MethodmlirLLVMDIExpressionElemAttrGet(ctx, opcode, nArguments, arguments)
Creates a LLVM DIExpressionElem attribute.
Reactant.MLIR.API.mlirLLVMDIFileAttrGet
— MethodmlirLLVMDIFileAttrGet(ctx, name, directory)
Creates a LLVM DIFileAttr attribute.
Reactant.MLIR.API.mlirLLVMDIFlagsAttrGet
— MethodmlirLLVMDIFlagsAttrGet(ctx, value)
Creates a LLVM DIFlags attribute.
Reactant.MLIR.API.mlirLLVMDILexicalBlockAttrGet
— MethodmlirLLVMDILexicalBlockAttrGet(ctx, scope, file, line, column)
Creates a LLVM DILexicalBlock attribute.
Reactant.MLIR.API.mlirLLVMDILexicalBlockFileAttrGet
— MethodmlirLLVMDILexicalBlockFileAttrGet(ctx, scope, file, discriminator)
Creates a LLVM DILexicalBlockFile attribute.
Reactant.MLIR.API.mlirLLVMDILocalVariableAttrGet
— MethodmlirLLVMDILocalVariableAttrGet(ctx, scope, name, diFile, line, arg, alignInBits, diType)
Creates a LLVM DILocalVariableAttr attribute.
Reactant.MLIR.API.mlirLLVMDIModuleAttrGet
— MethodmlirLLVMDIModuleAttrGet(ctx, file, scope, name, configMacros, includePath, apinotes, line, isDecl)
Creates a LLVM DIModuleAttr attribute.
Reactant.MLIR.API.mlirLLVMDIModuleAttrGetScope
— MethodmlirLLVMDIModuleAttrGetScope(diModule)
Gets the scope of this DIModuleAttr.
Reactant.MLIR.API.mlirLLVMDINullTypeAttrGet
— MethodmlirLLVMDINullTypeAttrGet(ctx)
Creates a LLVM DINullType attribute.
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGet
— MethodmlirLLVMDISubprogramAttrGet(ctx, id, compileUnit, scope, name, linkageName, file, line, scopeLine, subprogramFlags, type)
Creates a LLVM DISubprogramAttr attribute.
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetCompileUnit
— MethodmlirLLVMDISubprogramAttrGetCompileUnit(diSubprogram)
Gets the compile unit from this DISubprogram.
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetFile
— MethodmlirLLVMDISubprogramAttrGetFile(diSubprogram)
Gets the file from this DISubprogramAttr.
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetLine
— MethodmlirLLVMDISubprogramAttrGetLine(diSubprogram)
Gets the line from this DISubprogramAttr.
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetScope
— MethodmlirLLVMDISubprogramAttrGetScope(diSubprogram)
Gets the scope from this DISubprogramAttr.
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetScopeLine
— MethodmlirLLVMDISubprogramAttrGetScopeLine(diSubprogram)
Gets the scope line from this DISubprogram.
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetType
— MethodmlirLLVMDISubprogramAttrGetType(diSubprogram)
Gets the type from this DISubprogramAttr.
Reactant.MLIR.API.mlirLLVMDISubroutineTypeAttrGet
— MethodmlirLLVMDISubroutineTypeAttrGet(ctx, callingConvention, nTypes, types)
Creates a LLVM DISubroutineTypeAttr attribute.
Reactant.MLIR.API.mlirLLVMFunctionTypeGet
— MethodmlirLLVMFunctionTypeGet(resultType, nArgumentTypes, argumentTypes, isVarArg)
Creates an llvm.func type.
Reactant.MLIR.API.mlirLLVMLinkageAttrGet
— MethodmlirLLVMLinkageAttrGet(ctx, linkage)
Creates a LLVM Linkage attribute.
Reactant.MLIR.API.mlirLLVMPointerTypeGet
— MethodmlirLLVMPointerTypeGet(ctx, addressSpace)
Creates an llvm.ptr type.
Reactant.MLIR.API.mlirLLVMStructTypeGetElementType
— MethodmlirLLVMStructTypeGetElementType(type, position)
Returns the positions
-th field of the struct. Asserts if the struct is opaque, not yet initialized or if the position is out of range.
Reactant.MLIR.API.mlirLLVMStructTypeGetIdentifier
— MethodmlirLLVMStructTypeGetIdentifier(type)
Returns the identifier of the identified struct. Asserts that the struct is identified, i.e., not literal.
Reactant.MLIR.API.mlirLLVMStructTypeGetNumElementTypes
— MethodmlirLLVMStructTypeGetNumElementTypes(type)
Returns the number of fields in the struct. Asserts if the struct is opaque or not yet initialized.
Reactant.MLIR.API.mlirLLVMStructTypeIdentifiedGet
— MethodmlirLLVMStructTypeIdentifiedGet(ctx, name)
Creates an LLVM identified struct type with no body. If a struct type with this name already exists in the context, returns that type. Use mlirLLVMStructTypeIdentifiedNewGet
to create a fresh struct type, potentially renaming it. The body should be set separatelty by calling mlirLLVMStructTypeSetBody
, if it isn't set already.
Reactant.MLIR.API.mlirLLVMStructTypeIdentifiedNewGet
— MethodmlirLLVMStructTypeIdentifiedNewGet(ctx, name, nFieldTypes, fieldTypes, isPacked)
Creates an LLVM identified struct type with no body and a name starting with the given prefix. If a struct with the exact name as the given prefix already exists, appends an unspecified suffix to the name so that the name is unique in context.
Reactant.MLIR.API.mlirLLVMStructTypeIsLiteral
— MethodmlirLLVMStructTypeIsLiteral(type)
Returns true
if the type is a literal (unnamed) LLVM struct type.
Reactant.MLIR.API.mlirLLVMStructTypeIsOpaque
— MethodmlirLLVMStructTypeIsOpaque(type)
Returns true
is the struct is explicitly opaque (will not have a body) or uninitialized (will eventually have a body).
Reactant.MLIR.API.mlirLLVMStructTypeIsPacked
— MethodmlirLLVMStructTypeIsPacked(type)
Returns true
if the struct is packed.
Reactant.MLIR.API.mlirLLVMStructTypeLiteralGet
— MethodmlirLLVMStructTypeLiteralGet(ctx, nFieldTypes, fieldTypes, isPacked)
Creates an LLVM literal (unnamed) struct type. This may assert if the fields have types not compatible with the LLVM dialect. For a graceful failure, use the checked version.
Reactant.MLIR.API.mlirLLVMStructTypeLiteralGetChecked
— MethodmlirLLVMStructTypeLiteralGetChecked(loc, nFieldTypes, fieldTypes, isPacked)
Creates an LLVM literal (unnamed) struct type if possible. Emits a diagnostic at the given location and returns null otherwise.
Reactant.MLIR.API.mlirLLVMStructTypeSetBody
— MethodmlirLLVMStructTypeSetBody(structType, nFieldTypes, fieldTypes, isPacked)
Sets the body of the identified struct if it hasn't been set yet. Returns whether the operation was successful.
Reactant.MLIR.API.mlirLLVMVoidTypeGet
— MethodmlirLLVMVoidTypeGet(ctx)
Creates an llmv.void type.
Reactant.MLIR.API.mlirLinalgFillBuiltinNamedOpRegion
— MethodmlirLinalgFillBuiltinNamedOpRegion(mlirOp)
Apply the special region builder for the builtin named Linalg op. Assert that mlirOp
is a builtin named Linalg op.
Reactant.MLIR.API.mlirLlvmThreadPoolCreate
— MethodmlirLlvmThreadPoolCreate()
Create an LLVM thread pool. This is reexported here to avoid directly pulling in the LLVM headers directly.
Reactant.MLIR.API.mlirLlvmThreadPoolDestroy
— MethodmlirLlvmThreadPoolDestroy(pool)
Destroy an LLVM thread pool.
Reactant.MLIR.API.mlirLocationCallSiteGet
— MethodmlirLocationCallSiteGet(callee, caller)
Creates a call site location with a callee and a caller.
Reactant.MLIR.API.mlirLocationEqual
— MethodmlirLocationEqual(l1, l2)
Checks if two locations are equal.
Reactant.MLIR.API.mlirLocationFileLineColGet
— MethodmlirLocationFileLineColGet(context, filename, line, col)
Creates an File/Line/Column location owned by the given context.
Reactant.MLIR.API.mlirLocationFromAttribute
— MethodmlirLocationFromAttribute(attribute)
Creates a location from a location attribute.
Reactant.MLIR.API.mlirLocationFusedGet
— MethodmlirLocationFusedGet(ctx, nLocations, locations, metadata)
Creates a fused location with an array of locations and metadata.
Reactant.MLIR.API.mlirLocationGetAttribute
— MethodmlirLocationGetAttribute(location)
Returns the underlying location attribute of this location.
Reactant.MLIR.API.mlirLocationGetContext
— MethodmlirLocationGetContext(location)
Gets the context that a location was created with.
Reactant.MLIR.API.mlirLocationIsNull
— MethodmlirLocationIsNull(location)
Checks if the location is null.
Reactant.MLIR.API.mlirLocationNameGet
— MethodmlirLocationNameGet(context, name, childLoc)
Creates a name location owned by the given context. Providing null location for childLoc is allowed and if childLoc is null location, then the behavior is the same as having unknown child location.
Reactant.MLIR.API.mlirLocationPrint
— MethodmlirLocationPrint(location, callback, userData)
Prints a location by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirLocationUnknownGet
— MethodmlirLocationUnknownGet(context)
Creates a location with unknown position owned by the given context.
Reactant.MLIR.API.mlirLogicalResultFailure
— MethodmlirLogicalResultFailure()
Creates a logical result representing a failure.
Reactant.MLIR.API.mlirLogicalResultIsFailure
— MethodmlirLogicalResultIsFailure(res)
Checks if the given logical result represents a failure.
Reactant.MLIR.API.mlirLogicalResultIsSuccess
— MethodmlirLogicalResultIsSuccess(res)
Checks if the given logical result represents a success.
Reactant.MLIR.API.mlirLogicalResultSuccess
— MethodmlirLogicalResultSuccess()
Creates a logical result representing a success.
Reactant.MLIR.API.mlirMemRefTypeContiguousGet
— MethodmlirMemRefTypeContiguousGet(elementType, rank, shape, memorySpace)
Creates a MemRef type with the given rank, shape, memory space and element type in the same context as the element type. The type has no affine maps, i.e. represents a default row-major contiguous memref. The type is owned by the context.
Reactant.MLIR.API.mlirMemRefTypeContiguousGetChecked
— MethodmlirMemRefTypeContiguousGetChecked(loc, elementType, rank, shape, memorySpace)
Same as "mlirMemRefTypeContiguousGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
Reactant.MLIR.API.mlirMemRefTypeGet
— MethodmlirMemRefTypeGet(elementType, rank, shape, layout, memorySpace)
Creates a MemRef type with the given rank and shape, a potentially empty list of affine layout maps, the given memory space and element type, in the same context as element type. The type is owned by the context.
Reactant.MLIR.API.mlirMemRefTypeGetAffineMap
— MethodmlirMemRefTypeGetAffineMap(type)
Returns the affine map of the given MemRef type.
Reactant.MLIR.API.mlirMemRefTypeGetChecked
— MethodmlirMemRefTypeGetChecked(loc, elementType, rank, shape, layout, memorySpace)
Same as "mlirMemRefTypeGet
" but returns a nullptr-wrapping MlirType
o illegal arguments, emitting appropriate diagnostics.
Reactant.MLIR.API.mlirMemRefTypeGetLayout
— MethodmlirMemRefTypeGetLayout(type)
Returns the layout of the given MemRef type.
Reactant.MLIR.API.mlirMemRefTypeGetMemorySpace
— MethodmlirMemRefTypeGetMemorySpace(type)
Returns the memory space of the given MemRef type.
Reactant.MLIR.API.mlirMemRefTypeGetStridesAndOffset
— MethodmlirMemRefTypeGetStridesAndOffset(type, strides, offset)
Returns the strides of the MemRef if the layout map is in strided form. Both strides and offset are out params. strides must point to pre-allocated memory of length equal to the rank of the memref.
Reactant.MLIR.API.mlirMemRefTypeGetTypeID
— MethodmlirMemRefTypeGetTypeID()
Returns the typeID of an MemRef type.
Reactant.MLIR.API.mlirModuleCreateEmpty
— MethodmlirModuleCreateEmpty(location)
Creates a new, empty module and transfers ownership to the caller.
Reactant.MLIR.API.mlirModuleCreateParse
— MethodmlirModuleCreateParse(context, _module)
Parses a module from the string and transfers ownership to the caller.
Reactant.MLIR.API.mlirModuleDestroy
— MethodmlirModuleDestroy(_module)
Takes a module owned by the caller and deletes it.
Reactant.MLIR.API.mlirModuleFromOperation
— MethodmlirModuleFromOperation(op)
Views the generic operation as a module. The returned module is null when the input operation was not a ModuleOp.
Reactant.MLIR.API.mlirModuleGetBody
— MethodmlirModuleGetBody(_module)
Gets the body of the module, i.e. the only block it contains.
Reactant.MLIR.API.mlirModuleGetContext
— MethodmlirModuleGetContext(_module)
Gets the context that a module was created with.
Reactant.MLIR.API.mlirModuleGetOperation
— MethodmlirModuleGetOperation(_module)
Views the module as a generic operation.
Reactant.MLIR.API.mlirModuleIsNull
— MethodmlirModuleIsNull(_module)
Checks whether a module is null.
Reactant.MLIR.API.mlirNamedAttributeGet
— MethodmlirNamedAttributeGet(name, attr)
Associates an attribute with the name. Takes ownership of neither.
Reactant.MLIR.API.mlirNoneTypeGet
— MethodmlirNoneTypeGet(ctx)
Creates a None type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirNoneTypeGetTypeID
— MethodmlirNoneTypeGetTypeID()
Returns the typeID of an None type.
Reactant.MLIR.API.mlirOpOperandGetNextUse
— MethodmlirOpOperandGetNextUse(opOperand)
Returns an op operand representing the next use of the value, or a null op operand if there is no next use.
Reactant.MLIR.API.mlirOpOperandGetOperandNumber
— MethodmlirOpOperandGetOperandNumber(opOperand)
Returns the operand number of an op operand.
Reactant.MLIR.API.mlirOpOperandGetOwner
— MethodmlirOpOperandGetOwner(opOperand)
Returns the owner operation of an op operand.
Reactant.MLIR.API.mlirOpOperandGetValue
— MethodmlirOpOperandGetValue(opOperand)
Returns the value of an op operand.
Reactant.MLIR.API.mlirOpOperandIsNull
— MethodmlirOpOperandIsNull(opOperand)
Returns whether the op operand is null.
Reactant.MLIR.API.mlirOpPassManagerAddOwnedPass
— MethodmlirOpPassManagerAddOwnedPass(passManager, pass)
Add a pass and transfer ownership to the provided mlirOpPassManager. If the pass is not a generic operation pass or matching the type of the provided PassManager, a new OpPassManager is implicitly nested under the provided PassManager.
Reactant.MLIR.API.mlirOpPassManagerAddPipeline
— MethodmlirOpPassManagerAddPipeline(passManager, pipelineElements, callback, userData)
Parse a sequence of textual MLIR pass pipeline elements and add them to the provided OpPassManager. If parsing fails an error message is reported using the provided callback.
Reactant.MLIR.API.mlirOpPassManagerGetNestedUnder
— MethodmlirOpPassManagerGetNestedUnder(passManager, operationName)
Nest an OpPassManager under the provided OpPassManager, the nested passmanager will only run on operations matching the provided name. The returned OpPassManager will be destroyed when the parent is destroyed.
Reactant.MLIR.API.mlirOpPrintingFlagsAssumeVerified
— MethodmlirOpPrintingFlagsAssumeVerified(flags)
Do not verify the operation when using custom operation printers.
Reactant.MLIR.API.mlirOpPrintingFlagsCreate
— MethodmlirOpPrintingFlagsCreate()
Creates new printing flags with defaults, intended for customization. Must be freed with a call to mlirOpPrintingFlagsDestroy
().
Reactant.MLIR.API.mlirOpPrintingFlagsDestroy
— MethodmlirOpPrintingFlagsDestroy(flags)
Destroys printing flags created with mlirOpPrintingFlagsCreate
.
Reactant.MLIR.API.mlirOpPrintingFlagsElideLargeElementsAttrs
— MethodmlirOpPrintingFlagsElideLargeElementsAttrs(flags, largeElementLimit)
Enables the elision of large elements attributes by printing a lexically valid but otherwise meaningless form instead of the element data. The largeElementLimit
is used to configure what is considered to be a "large" ElementsAttr by providing an upper limit to the number of elements.
Reactant.MLIR.API.mlirOpPrintingFlagsEnableDebugInfo
— MethodmlirOpPrintingFlagsEnableDebugInfo(flags, enable, prettyForm)
Enable or disable printing of debug information (based on enable
). If 'prettyForm' is set to true, debug information is printed in a more readable 'pretty' form. Note: The IR generated with 'prettyForm' is not parsable.
Reactant.MLIR.API.mlirOpPrintingFlagsPrintGenericOpForm
— MethodmlirOpPrintingFlagsPrintGenericOpForm(flags)
Always print operations in the generic form.
Reactant.MLIR.API.mlirOpPrintingFlagsUseLocalScope
— MethodmlirOpPrintingFlagsUseLocalScope(flags)
Use local scope when printing the operation. This allows for using the printer in a more localized and thread-safe setting, but may not necessarily be identical to what the IR will look like when dumping the full module.
Reactant.MLIR.API.mlirOpResultGetOwner
— MethodmlirOpResultGetOwner(value)
Returns an operation that produced this value as its result. Asserts if the value is not an op result.
Reactant.MLIR.API.mlirOpResultGetResultNumber
— MethodmlirOpResultGetResultNumber(value)
Returns the position of the value in the list of results of the operation that produced it.
Reactant.MLIR.API.mlirOpaqueAttrGet
— MethodmlirOpaqueAttrGet(ctx, dialectNamespace, dataLength, data, type)
Creates an opaque attribute in the given context associated with the dialect identified by its namespace. The attribute contains opaque byte data of the specified length (data need not be null-terminated).
Reactant.MLIR.API.mlirOpaqueAttrGetData
— MethodmlirOpaqueAttrGetData(attr)
Returns the raw data as a string reference. The data remains live as long as the context in which the attribute lives.
Reactant.MLIR.API.mlirOpaqueAttrGetDialectNamespace
— MethodmlirOpaqueAttrGetDialectNamespace(attr)
Returns the namespace of the dialect with which the given opaque attribute is associated. The namespace string is owned by the context.
Reactant.MLIR.API.mlirOpaqueAttrGetTypeID
— MethodmlirOpaqueAttrGetTypeID()
Returns the typeID of an Opaque attribute.
Reactant.MLIR.API.mlirOpaqueTypeGet
— MethodmlirOpaqueTypeGet(ctx, dialectNamespace, typeData)
Creates an opaque type in the given context associated with the dialect identified by its namespace. The type contains opaque byte data of the specified length (data need not be null-terminated).
Reactant.MLIR.API.mlirOpaqueTypeGetData
— MethodmlirOpaqueTypeGetData(type)
Returns the raw data as a string reference. The data remains live as long as the context in which the type lives.
Reactant.MLIR.API.mlirOpaqueTypeGetDialectNamespace
— MethodmlirOpaqueTypeGetDialectNamespace(type)
Returns the namespace of the dialect with which the given opaque type is associated. The namespace string is owned by the context.
Reactant.MLIR.API.mlirOpaqueTypeGetTypeID
— MethodmlirOpaqueTypeGetTypeID()
Returns the typeID of an Opaque type.
Reactant.MLIR.API.mlirOperationClone
— MethodmlirOperationClone(op)
Creates a deep copy of an operation. The operation is not inserted and ownership is transferred to the caller.
Reactant.MLIR.API.mlirOperationCreate
— MethodmlirOperationCreate(state)
Creates an operation and transfers ownership to the caller. Note that caller owned child objects are transferred in this call and must not be further used. Particularly, this applies to any regions added to the state (the implementation may invalidate any such pointers).
This call can fail under the following conditions, in which case, it will return a null operation and emit diagnostics: - Result type inference is enabled and cannot be performed.
Reactant.MLIR.API.mlirOperationCreateParse
— MethodmlirOperationCreateParse(context, sourceStr, sourceName)
Parses an operation, giving ownership to the caller. If parsing fails a null operation will be returned, and an error diagnostic emitted.
sourceStr
may be either the text assembly format, or binary bytecode format. sourceName
is used as the file name of the source; any IR without locations will get a FileLineColLoc
location with sourceName
as the file name.
Reactant.MLIR.API.mlirOperationDestroy
— MethodmlirOperationDestroy(op)
Takes an operation owned by the caller and destroys it.
Reactant.MLIR.API.mlirOperationDump
— MethodmlirOperationDump(op)
Prints an operation to stderr.
Reactant.MLIR.API.mlirOperationEqual
— MethodmlirOperationEqual(op, other)
Checks whether two operation handles point to the same operation. This does not perform deep comparison.
Reactant.MLIR.API.mlirOperationGetAttribute
— MethodmlirOperationGetAttribute(op, pos)
Return pos
-th attribute of the operation. Deprecated, please use mlirOperationGetInherentAttribute
or mlirOperationGetDiscardableAttribute
.
Reactant.MLIR.API.mlirOperationGetAttributeByName
— MethodmlirOperationGetAttributeByName(op, name)
Returns an attribute attached to the operation given its name. Deprecated, please use mlirOperationGetInherentAttributeByName
or mlirOperationGetDiscardableAttributeByName
.
Reactant.MLIR.API.mlirOperationGetBlock
— MethodmlirOperationGetBlock(op)
Gets the block that owns this operation, returning null if the operation is not owned.
Reactant.MLIR.API.mlirOperationGetContext
— MethodmlirOperationGetContext(op)
Gets the context this operation is associated with
Reactant.MLIR.API.mlirOperationGetDiscardableAttribute
— MethodmlirOperationGetDiscardableAttribute(op, pos)
Return pos
-th discardable attribute of the operation.
Reactant.MLIR.API.mlirOperationGetDiscardableAttributeByName
— MethodmlirOperationGetDiscardableAttributeByName(op, name)
Returns a discardable attribute attached to the operation given its name.
Reactant.MLIR.API.mlirOperationGetFirstRegion
— MethodmlirOperationGetFirstRegion(op)
Returns first region attached to the operation.
Reactant.MLIR.API.mlirOperationGetInherentAttributeByName
— MethodmlirOperationGetInherentAttributeByName(op, name)
Returns an inherent attribute attached to the operation given its name.
Reactant.MLIR.API.mlirOperationGetLocation
— MethodmlirOperationGetLocation(op)
Gets the location of the operation.
Reactant.MLIR.API.mlirOperationGetName
— MethodmlirOperationGetName(op)
Gets the name of the operation as an identifier.
Reactant.MLIR.API.mlirOperationGetNextInBlock
— MethodmlirOperationGetNextInBlock(op)
Returns an operation immediately following the given operation it its enclosing block.
Reactant.MLIR.API.mlirOperationGetNumAttributes
— MethodmlirOperationGetNumAttributes(op)
Returns the number of attributes attached to the operation. Deprecated, please use mlirOperationGetNumInherentAttributes
or mlirOperationGetNumDiscardableAttributes
.
Reactant.MLIR.API.mlirOperationGetNumDiscardableAttributes
— MethodmlirOperationGetNumDiscardableAttributes(op)
Returns the number of discardable attributes attached to the operation.
Reactant.MLIR.API.mlirOperationGetNumOperands
— MethodmlirOperationGetNumOperands(op)
Returns the number of operands of the operation.
Reactant.MLIR.API.mlirOperationGetNumRegions
— MethodmlirOperationGetNumRegions(op)
Returns the number of regions attached to the given operation.
Reactant.MLIR.API.mlirOperationGetNumResults
— MethodmlirOperationGetNumResults(op)
Returns the number of results of the operation.
Reactant.MLIR.API.mlirOperationGetNumSuccessors
— MethodmlirOperationGetNumSuccessors(op)
Returns the number of successor blocks of the operation.
Reactant.MLIR.API.mlirOperationGetOperand
— MethodmlirOperationGetOperand(op, pos)
Returns pos
-th operand of the operation.
Reactant.MLIR.API.mlirOperationGetParentOperation
— MethodmlirOperationGetParentOperation(op)
Gets the operation that owns this operation, returning null if the operation is not owned.
Reactant.MLIR.API.mlirOperationGetRegion
— MethodmlirOperationGetRegion(op, pos)
Returns pos
-th region attached to the operation.
Reactant.MLIR.API.mlirOperationGetResult
— MethodmlirOperationGetResult(op, pos)
Returns pos
-th result of the operation.
Reactant.MLIR.API.mlirOperationGetSuccessor
— MethodmlirOperationGetSuccessor(op, pos)
Returns pos
-th successor of the operation.
Reactant.MLIR.API.mlirOperationGetTypeID
— MethodmlirOperationGetTypeID(op)
Gets the type id of the operation. Returns null if the operation does not have a registered operation description.
Reactant.MLIR.API.mlirOperationHasInherentAttributeByName
— MethodmlirOperationHasInherentAttributeByName(op, name)
Returns true if this operation defines an inherent attribute with this name. Note: the attribute can be optional, so mlirOperationGetInherentAttributeByName
can still return a null attribute.
Reactant.MLIR.API.mlirOperationImplementsInterface
— MethodmlirOperationImplementsInterface(operation, interfaceTypeID)
Returns true
if the given operation implements an interface identified by its TypeID.
Reactant.MLIR.API.mlirOperationImplementsInterfaceStatic
— MethodmlirOperationImplementsInterfaceStatic(operationName, context, interfaceTypeID)
Returns true
if the operation identified by its canonical string name implements the interface identified by its TypeID in the given context. Note that interfaces may be attached to operations in some contexts and not others.
Reactant.MLIR.API.mlirOperationIsNull
— MethodmlirOperationIsNull(op)
Checks whether the underlying operation is null.
Reactant.MLIR.API.mlirOperationMoveAfter
— MethodmlirOperationMoveAfter(op, other)
Moves the given operation immediately after the other operation in its parent block. The given operation may be owned by the caller or by its current block. The other operation must belong to a block. In any case, the ownership is transferred to the block of the other operation.
Reactant.MLIR.API.mlirOperationMoveBefore
— MethodmlirOperationMoveBefore(op, other)
Moves the given operation immediately before the other operation in its parent block. The given operation may be owner by the caller or by its current block. The other operation must belong to a block. In any case, the ownership is transferred to the block of the other operation.
Reactant.MLIR.API.mlirOperationPrint
— MethodmlirOperationPrint(op, callback, userData)
Prints an operation by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirOperationPrintWithFlags
— MethodmlirOperationPrintWithFlags(op, flags, callback, userData)
Same as mlirOperationPrint
but accepts flags controlling the printing behavior.
Reactant.MLIR.API.mlirOperationPrintWithState
— MethodmlirOperationPrintWithState(op, state, callback, userData)
Same as mlirOperationPrint
but accepts AsmState controlling the printing behavior as well as caching computed names.
Reactant.MLIR.API.mlirOperationRemoveAttributeByName
— MethodmlirOperationRemoveAttributeByName(op, name)
Removes an attribute by name. Returns false if the attribute was not found and true if removed. Deprecated, please use mlirOperationRemoveInherentAttributeByName
or mlirOperationRemoveDiscardableAttributeByName
.
Reactant.MLIR.API.mlirOperationRemoveDiscardableAttributeByName
— MethodmlirOperationRemoveDiscardableAttributeByName(op, name)
Removes a discardable attribute by name. Returns false if the attribute was not found and true if removed.
Reactant.MLIR.API.mlirOperationRemoveFromParent
— MethodmlirOperationRemoveFromParent(op)
Removes the given operation from its parent block. The operation is not destroyed. The ownership of the operation is transferred to the caller.
Reactant.MLIR.API.mlirOperationSetAttributeByName
— MethodmlirOperationSetAttributeByName(op, name, attr)
Sets an attribute by name, replacing the existing if it exists or adding a new one otherwise. Deprecated, please use mlirOperationSetInherentAttributeByName
or mlirOperationSetDiscardableAttributeByName
.
Reactant.MLIR.API.mlirOperationSetDiscardableAttributeByName
— MethodmlirOperationSetDiscardableAttributeByName(op, name, attr)
Sets a discardable attribute by name, replacing the existing if it exists or adding a new one otherwise. The new attr
Attribute is not allowed to be null, use mlirOperationRemoveDiscardableAttributeByName
to remove an Attribute instead.
Reactant.MLIR.API.mlirOperationSetInherentAttributeByName
— MethodmlirOperationSetInherentAttributeByName(op, name, attr)
Sets an inherent attribute by name, replacing the existing if it exists. This has no effect if "name" does not match an inherent attribute.
Reactant.MLIR.API.mlirOperationSetOperand
— MethodmlirOperationSetOperand(op, pos, newValue)
Sets the pos
-th operand of the operation.
Reactant.MLIR.API.mlirOperationSetOperands
— MethodmlirOperationSetOperands(op, nOperands, operands)
Replaces the operands of the operation.
Reactant.MLIR.API.mlirOperationSetSuccessor
— MethodmlirOperationSetSuccessor(op, pos, block)
Set pos
-th successor of the operation.
Reactant.MLIR.API.mlirOperationStateAddResults
— MethodmlirOperationStateAddResults(state, n, results)
Adds a list of components to the operation state.
Reactant.MLIR.API.mlirOperationStateEnableResultTypeInference
— MethodmlirOperationStateEnableResultTypeInference(state)
Enables result type inference for the operation under construction. If enabled, then the caller must not have called mlirOperationStateAddResults
(). Note that if enabled, the mlirOperationCreate
() call is failable: it will return a null operation on inference failure and will emit diagnostics.
Reactant.MLIR.API.mlirOperationStateGet
— MethodmlirOperationStateGet(name, loc)
Constructs an operation state from a name and a location.
Reactant.MLIR.API.mlirOperationVerify
— MethodmlirOperationVerify(op)
Verify the operation and return true if it passes, false if it fails.
Reactant.MLIR.API.mlirOperationWalk
— MethodmlirOperationWalk(op, callback, userData, walkOrder)
Walks operation op
in walkOrder
and calls callback
on that operation. *userData
is passed to the callback as well and can be used to tunnel some context or other data into the callback.
Reactant.MLIR.API.mlirOperationWriteBytecode
— MethodmlirOperationWriteBytecode(op, callback, userData)
Same as mlirOperationPrint
but writing the bytecode format.
Reactant.MLIR.API.mlirOperationWriteBytecodeWithConfig
— MethodmlirOperationWriteBytecodeWithConfig(op, config, callback, userData)
Same as mlirOperationWriteBytecode
but with writer config and returns failure only if desired bytecode could not be honored.
Reactant.MLIR.API.mlirParsePassPipeline
— MethodmlirParsePassPipeline(passManager, pipeline, callback, userData)
Parse a textual MLIR pass pipeline and assign it to the provided OpPassManager. If parsing fails an error message is reported using the provided callback.
Reactant.MLIR.API.mlirPassManagerAddOwnedPass
— MethodmlirPassManagerAddOwnedPass(passManager, pass)
Add a pass and transfer ownership to the provided top-level mlirPassManager. If the pass is not a generic operation pass or a ModulePass, a new OpPassManager is implicitly nested under the provided PassManager.
Reactant.MLIR.API.mlirPassManagerCreate
— MethodmlirPassManagerCreate(ctx)
Create a new top-level PassManager with the default anchor.
Reactant.MLIR.API.mlirPassManagerCreateOnOperation
— MethodmlirPassManagerCreateOnOperation(ctx, anchorOp)
Create a new top-level PassManager anchored on anchorOp
.
Reactant.MLIR.API.mlirPassManagerDestroy
— MethodmlirPassManagerDestroy(passManager)
Destroy the provided PassManager.
Reactant.MLIR.API.mlirPassManagerEnableIRPrinting
— MethodmlirPassManagerEnableIRPrinting(passManager)
Enable mlir-print-ir-after-all.
Reactant.MLIR.API.mlirPassManagerEnableVerifier
— MethodmlirPassManagerEnableVerifier(passManager, enable)
Enable / disable verify-each.
Reactant.MLIR.API.mlirPassManagerGetAsOpPassManager
— MethodmlirPassManagerGetAsOpPassManager(passManager)
Cast a top-level PassManager to a generic OpPassManager.
Reactant.MLIR.API.mlirPassManagerGetNestedUnder
— MethodmlirPassManagerGetNestedUnder(passManager, operationName)
Nest an OpPassManager under the top-level PassManager, the nested passmanager will only run on operations matching the provided name. The returned OpPassManager will be destroyed when the parent is destroyed. To further nest more OpPassManager under the newly returned one, see mlirOpPassManagerNest
below.
Reactant.MLIR.API.mlirPassManagerIsNull
— MethodmlirPassManagerIsNull(passManager)
Checks if a PassManager is null.
Reactant.MLIR.API.mlirPassManagerRunOnOp
— MethodmlirPassManagerRunOnOp(passManager, op)
Run the provided passManager
on the given op
.
Reactant.MLIR.API.mlirPrintPassPipeline
— MethodmlirPrintPassPipeline(passManager, callback, userData)
Print a textual MLIR pass pipeline by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirQuantizedTypeCastExpressedToStorageType
— MethodmlirQuantizedTypeCastExpressedToStorageType(type, candidate)
Casts from a type based on the expressed type of the given quantized type to equivalent type based on storage type of the same quantized type.
Reactant.MLIR.API.mlirQuantizedTypeCastFromExpressedType
— MethodmlirQuantizedTypeCastFromExpressedType(type, candidate)
Casts from a type based on the expressed type of the given type to a corresponding type based on the given type. Returns a null type if the cast is not valid.
Reactant.MLIR.API.mlirQuantizedTypeCastFromStorageType
— MethodmlirQuantizedTypeCastFromStorageType(type, candidate)
Casts from a type based on the storage type of the given type to a corresponding type based on the given type. Returns a null type if the cast is not valid.
Reactant.MLIR.API.mlirQuantizedTypeCastToExpressedType
— MethodmlirQuantizedTypeCastToExpressedType(type)
Casts from a type based on a quantized type to a corresponding typed based on the expressed type. Returns a null type if the cast is not valid.
Reactant.MLIR.API.mlirQuantizedTypeCastToStorageType
— MethodmlirQuantizedTypeCastToStorageType(type)
Casts from a type based on a quantized type to a corresponding typed based on the storage type. Returns a null type if the cast is not valid.
Reactant.MLIR.API.mlirQuantizedTypeGetDefaultMaximumForInteger
— MethodmlirQuantizedTypeGetDefaultMaximumForInteger(isSigned, integralWidth)
Returns the maximum possible value stored by a quantized type.
Reactant.MLIR.API.mlirQuantizedTypeGetDefaultMinimumForInteger
— MethodmlirQuantizedTypeGetDefaultMinimumForInteger(isSigned, integralWidth)
Returns the minimum possible value stored by a quantized type.
Reactant.MLIR.API.mlirQuantizedTypeGetExpressedType
— MethodmlirQuantizedTypeGetExpressedType(type)
Gets the original type approximated by the given quantized type.
Reactant.MLIR.API.mlirQuantizedTypeGetFlags
— MethodmlirQuantizedTypeGetFlags(type)
Gets the flags associated with the given quantized type.
Reactant.MLIR.API.mlirQuantizedTypeGetQuantizedElementType
— MethodmlirQuantizedTypeGetQuantizedElementType(type)
Returns the element type of the given quantized type as another quantized type.
Reactant.MLIR.API.mlirQuantizedTypeGetSignedFlag
— MethodmlirQuantizedTypeGetSignedFlag()
Returns the bit flag used to indicate signedness of a quantized type.
Reactant.MLIR.API.mlirQuantizedTypeGetStorageType
— MethodmlirQuantizedTypeGetStorageType(type)
Returns the underlying type used to store the values.
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeIntegralWidth
— MethodmlirQuantizedTypeGetStorageTypeIntegralWidth(type)
Returns the integral bitwidth that the storage type of the given quantized type can represent exactly.
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeMax
— MethodmlirQuantizedTypeGetStorageTypeMax(type)
Returns the maximum value that the storage type of the given quantized type can take.
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeMin
— MethodmlirQuantizedTypeGetStorageTypeMin(type)
Returns the minimum value that the storage type of the given quantized type can take.
Reactant.MLIR.API.mlirQuantizedTypeIsCompatibleExpressedType
— MethodmlirQuantizedTypeIsCompatibleExpressedType(type, candidate)
Returns true
if the candidate
type is compatible with the given quantized type
.
Reactant.MLIR.API.mlirQuantizedTypeIsSigned
— MethodmlirQuantizedTypeIsSigned(type)
Returns true
if the given type is signed, false
otherwise.
Reactant.MLIR.API.mlirRankedTensorTypeGet
— MethodmlirRankedTensorTypeGet(rank, shape, elementType, encoding)
Creates a tensor type of a fixed rank with the given shape, element type, and optional encoding in the same context as the element type. The type is owned by the context. Tensor types without any specific encoding field should assign mlirAttributeGetNull
() to this parameter.
Reactant.MLIR.API.mlirRankedTensorTypeGetChecked
— MethodmlirRankedTensorTypeGetChecked(loc, rank, shape, elementType, encoding)
Same as "mlirRankedTensorTypeGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
Reactant.MLIR.API.mlirRankedTensorTypeGetEncoding
— MethodmlirRankedTensorTypeGetEncoding(type)
Gets the 'encoding' attribute from the ranked tensor type, returning a null attribute if none.
Reactant.MLIR.API.mlirRankedTensorTypeGetTypeID
— MethodmlirRankedTensorTypeGetTypeID()
Returns the typeID of an RankedTensor type.
Reactant.MLIR.API.mlirRegionAppendOwnedBlock
— MethodmlirRegionAppendOwnedBlock(region, block)
Takes a block owned by the caller and appends it to the given region.
Reactant.MLIR.API.mlirRegionCreate
— MethodmlirRegionCreate()
Creates a new empty region and transfers ownership to the caller.
Reactant.MLIR.API.mlirRegionDestroy
— MethodmlirRegionDestroy(region)
Takes a region owned by the caller and destroys it.
Reactant.MLIR.API.mlirRegionEqual
— MethodmlirRegionEqual(region, other)
Checks whether two region handles point to the same region. This does not perform deep comparison.
Reactant.MLIR.API.mlirRegionGetFirstBlock
— MethodmlirRegionGetFirstBlock(region)
Gets the first block in the region.
Reactant.MLIR.API.mlirRegionGetNextInOperation
— MethodmlirRegionGetNextInOperation(region)
Returns the region immediately following the given region in its parent operation.
Reactant.MLIR.API.mlirRegionInsertOwnedBlock
— MethodmlirRegionInsertOwnedBlock(region, pos, block)
Takes a block owned by the caller and inserts it at pos
to the given region. This is an expensive operation that linearly scans the region, prefer insertAfter/Before instead.
Reactant.MLIR.API.mlirRegionInsertOwnedBlockAfter
— MethodmlirRegionInsertOwnedBlockAfter(region, reference, block)
Takes a block owned by the caller and inserts it after the (non-owned) reference block in the given region. The reference block must belong to the region. If the reference block is null, prepends the block to the region.
Reactant.MLIR.API.mlirRegionInsertOwnedBlockBefore
— MethodmlirRegionInsertOwnedBlockBefore(region, reference, block)
Takes a block owned by the caller and inserts it before the (non-owned) reference block in the given region. The reference block must belong to the region. If the reference block is null, appends the block to the region.
Reactant.MLIR.API.mlirRegionIsNull
— MethodmlirRegionIsNull(region)
Checks whether a region is null.
Reactant.MLIR.API.mlirRegionTakeBody
— MethodmlirRegionTakeBody(target, source)
Moves the entire content of the source region to the target region.
Reactant.MLIR.API.mlirRegisterAllDialects
— MethodmlirRegisterAllDialects(registry)
Appends all upstream dialects and extensions to the dialect registry.
Reactant.MLIR.API.mlirRegisterAllLLVMTranslations
— MethodmlirRegisterAllLLVMTranslations(context)
Register all translations to LLVM IR for dialects that can support it.
Reactant.MLIR.API.mlirRegisterAllPasses
— MethodmlirRegisterAllPasses()
Register all compiler passes of MLIR.
Reactant.MLIR.API.mlirShapedTypeGetDimSize
— MethodmlirShapedTypeGetDimSize(type, dim)
Returns the dim-th dimension of the given ranked shaped type.
Reactant.MLIR.API.mlirShapedTypeGetDynamicSize
— MethodmlirShapedTypeGetDynamicSize()
Returns the value indicating a dynamic size in a shaped type. Prefer mlirShapedTypeIsDynamicSize
to direct comparisons with this value.
Reactant.MLIR.API.mlirShapedTypeGetDynamicStrideOrOffset
— MethodmlirShapedTypeGetDynamicStrideOrOffset()
Returns the value indicating a dynamic stride or offset in a shaped type. Prefer mlirShapedTypeGetDynamicStrideOrOffset
to direct comparisons with this value.
Reactant.MLIR.API.mlirShapedTypeGetElementType
— MethodmlirShapedTypeGetElementType(type)
Returns the element type of the shaped type.
Reactant.MLIR.API.mlirShapedTypeGetRank
— MethodmlirShapedTypeGetRank(type)
Returns the rank of the given ranked shaped type.
Reactant.MLIR.API.mlirShapedTypeHasRank
— MethodmlirShapedTypeHasRank(type)
Checks whether the given shaped type is ranked.
Reactant.MLIR.API.mlirShapedTypeHasStaticShape
— MethodmlirShapedTypeHasStaticShape(type)
Checks whether the given shaped type has a static shape.
Reactant.MLIR.API.mlirShapedTypeIsDynamicDim
— MethodmlirShapedTypeIsDynamicDim(type, dim)
Checks wither the dim-th dimension of the given shaped type is dynamic.
Reactant.MLIR.API.mlirShapedTypeIsDynamicSize
— MethodmlirShapedTypeIsDynamicSize(size)
Checks whether the given value is used as a placeholder for dynamic sizes in shaped types.
Reactant.MLIR.API.mlirShapedTypeIsDynamicStrideOrOffset
— MethodmlirShapedTypeIsDynamicStrideOrOffset(val)
Checks whether the given value is used as a placeholder for dynamic strides and offsets in shaped types.
Reactant.MLIR.API.mlirSparseElementsAttrGetIndices
— MethodmlirSparseElementsAttrGetIndices(attr)
Returns the dense elements attribute containing 64-bit integer indices of non-null elements in the given sparse elements attribute.
Reactant.MLIR.API.mlirSparseElementsAttrGetTypeID
— MethodmlirSparseElementsAttrGetTypeID()
Returns the typeID of a SparseElements attribute.
Reactant.MLIR.API.mlirSparseElementsAttrGetValues
— MethodmlirSparseElementsAttrGetValues(attr)
Returns the dense elements attribute containing the non-null elements in the given sparse elements attribute.
Reactant.MLIR.API.mlirSparseElementsAttribute
— MethodmlirSparseElementsAttribute(shapedType, denseIndices, denseValues)
Creates a sparse elements attribute of the given shape from a list of indices and a list of associated values. Both lists are expected to be dense elements attributes with the same number of elements. The list of indices is expected to contain 64-bit integers. The attribute is created in the same context as the type.
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGet
— MethodmlirSparseTensorEncodingAttrGet(ctx, lvlRank, lvlTypes, dimToLvl, lvlTodim, posWidth, crdWidth)
Creates a sparse\_tensor.encoding
attribute with the given parameters.
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetCrdWidth
— MethodmlirSparseTensorEncodingAttrGetCrdWidth(attr)
Returns the coordinate bitwidth of the sparse\_tensor.encoding
attribute.
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetDimToLvl
— MethodmlirSparseTensorEncodingAttrGetDimToLvl(attr)
Returns the dimension-to-level mapping of the sparse\_tensor.encoding
attribute.
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlFmt
— MethodmlirSparseTensorEncodingAttrGetLvlFmt(attr, lvl)
Returns a specified level-format of the sparse\_tensor.encoding
attribute.
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlToDim
— MethodmlirSparseTensorEncodingAttrGetLvlToDim(attr)
Returns the level-to-dimension mapping of the sparse\_tensor.encoding
attribute.
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlType
— MethodmlirSparseTensorEncodingAttrGetLvlType(attr, lvl)
Returns a specified level-type of the sparse\_tensor.encoding
attribute.
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetPosWidth
— MethodmlirSparseTensorEncodingAttrGetPosWidth(attr)
Returns the position bitwidth of the sparse\_tensor.encoding
attribute.
Reactant.MLIR.API.mlirSparseTensorEncodingGetLvlRank
— MethodmlirSparseTensorEncodingGetLvlRank(attr)
Returns the level-rank of the sparse\_tensor.encoding
attribute.
Reactant.MLIR.API.mlirStridedLayoutAttrGetTypeID
— MethodmlirStridedLayoutAttrGetTypeID()
Returns the typeID of a StridedLayout attribute.
Reactant.MLIR.API.mlirStringAttrGet
— MethodmlirStringAttrGet(ctx, str)
Creates a string attribute in the given context containing the given string.
Reactant.MLIR.API.mlirStringAttrGetTypeID
— MethodmlirStringAttrGetTypeID()
Returns the typeID of a String attribute.
Reactant.MLIR.API.mlirStringAttrGetValue
— MethodmlirStringAttrGetValue(attr)
Returns the attribute values as a string reference. The data remains live as long as the context in which the attribute lives.
Reactant.MLIR.API.mlirStringAttrTypedGet
— MethodmlirStringAttrTypedGet(type, str)
Creates a string attribute in the given context containing the given string. Additionally, the attribute has the given type.
Reactant.MLIR.API.mlirStringRefCreate
— MethodmlirStringRefCreate(str, length)
Constructs a string reference from the pointer and length. The pointer need not reference to a null-terminated string.
Reactant.MLIR.API.mlirStringRefCreateFromCString
— MethodmlirStringRefCreateFromCString(str)
Constructs a string reference from a null-terminated C string. Prefer mlirStringRefCreate
if the length of the string is known.
Reactant.MLIR.API.mlirStringRefEqual
— MethodmlirStringRefEqual(string, other)
Returns true if two string references are equal, false otherwise.
Reactant.MLIR.API.mlirSymbolRefAttrGet
— MethodmlirSymbolRefAttrGet(ctx, symbol, numReferences, references)
Creates a symbol reference attribute in the given context referencing a symbol identified by the given string inside a list of nested references. Each of the references in the list must not be nested.
Reactant.MLIR.API.mlirSymbolRefAttrGetLeafReference
— MethodmlirSymbolRefAttrGetLeafReference(attr)
Returns the string reference to the leaf referenced symbol. The data remains live as long as the context in which the attribute lives.
Reactant.MLIR.API.mlirSymbolRefAttrGetNestedReference
— MethodmlirSymbolRefAttrGetNestedReference(attr, pos)
Returns pos-th reference nested in the given symbol reference attribute.
Reactant.MLIR.API.mlirSymbolRefAttrGetNumNestedReferences
— MethodmlirSymbolRefAttrGetNumNestedReferences(attr)
Returns the number of references nested in the given symbol reference attribute.
Reactant.MLIR.API.mlirSymbolRefAttrGetRootReference
— MethodmlirSymbolRefAttrGetRootReference(attr)
Returns the string reference to the root referenced symbol. The data remains live as long as the context in which the attribute lives.
Reactant.MLIR.API.mlirSymbolRefAttrGetTypeID
— MethodmlirSymbolRefAttrGetTypeID()
Returns the typeID of an SymbolRef attribute.
Reactant.MLIR.API.mlirSymbolTableCreate
— MethodmlirSymbolTableCreate(operation)
Creates a symbol table for the given operation. If the operation does not have the SymbolTable trait, returns a null symbol table.
Reactant.MLIR.API.mlirSymbolTableDestroy
— MethodmlirSymbolTableDestroy(symbolTable)
Destroys the symbol table created with mlirSymbolTableCreate
. This does not affect the operations in the table.
Reactant.MLIR.API.mlirSymbolTableErase
— MethodmlirSymbolTableErase(symbolTable, operation)
Removes the given operation from the symbol table and erases it.
Reactant.MLIR.API.mlirSymbolTableGetSymbolAttributeName
— MethodmlirSymbolTableGetSymbolAttributeName()
Returns the name of the attribute used to store symbol names compatible with symbol tables.
Reactant.MLIR.API.mlirSymbolTableGetVisibilityAttributeName
— MethodmlirSymbolTableGetVisibilityAttributeName()
Returns the name of the attribute used to store symbol visibility.
Reactant.MLIR.API.mlirSymbolTableInsert
— MethodmlirSymbolTableInsert(symbolTable, operation)
Inserts the given operation into the given symbol table. The operation must have the symbol trait. If the symbol table already has a symbol with the same name, renames the symbol being inserted to ensure name uniqueness. Note that this does not move the operation itself into the block of the symbol table operation, this should be done separately. Returns the name of the symbol after insertion.
Reactant.MLIR.API.mlirSymbolTableIsNull
— MethodmlirSymbolTableIsNull(symbolTable)
Returns true if the symbol table is null.
Reactant.MLIR.API.mlirSymbolTableLookup
— MethodmlirSymbolTableLookup(symbolTable, name)
Looks up a symbol with the given name in the given symbol table and returns the operation that corresponds to the symbol. If the symbol cannot be found, returns a null operation.
Reactant.MLIR.API.mlirSymbolTableReplaceAllSymbolUses
— MethodmlirSymbolTableReplaceAllSymbolUses(oldSymbol, newSymbol, from)
Attempt to replace all uses that are nested within the given operation of the given symbol 'oldSymbol' with the provided 'newSymbol'. This does not traverse into nested symbol tables. Will fail atomically if there are any unknown operations that may be potential symbol tables.
Reactant.MLIR.API.mlirSymbolTableWalkSymbolTables
— MethodmlirSymbolTableWalkSymbolTables(from, allSymUsesVisible, callback, userData)
Walks all symbol table operations nested within, and including, op
. For each symbol table operation, the provided callback is invoked with the op and a boolean signifying if the symbols within that symbol table can be treated as if all uses within the IR are visible to the caller. allSymUsesVisible
identifies whether all of the symbol uses of symbols within op
are visible.
Reactant.MLIR.API.mlirTF32TypeGet
— MethodmlirTF32TypeGet(ctx)
Creates a TF32 type in the given context. The type is owned by the context.
Reactant.MLIR.API.mlirTransformApplyNamedSequence
— MethodmlirTransformApplyNamedSequence(payload, transformRoot, transformModule, transformOptions)
Applies the transformation script starting at the given transform root operation to the given payload operation. The module containing the transform root as well as the transform options should be provided. The transform operation must implement TransformOpInterface and the module must be a ModuleOp. Returns the status of the application.
Reactant.MLIR.API.mlirTransformOptionsCreate
— MethodmlirTransformOptionsCreate()
Creates a default-initialized transform options object.
Reactant.MLIR.API.mlirTransformOptionsDestroy
— MethodmlirTransformOptionsDestroy(transformOptions)
Destroys a transform options object previously created by mlirTransformOptionsCreate
.
Reactant.MLIR.API.mlirTransformOptionsEnableExpensiveChecks
— MethodmlirTransformOptionsEnableExpensiveChecks(transformOptions, enable)
Enables or disables expensive checks in transform options.
Reactant.MLIR.API.mlirTransformOptionsEnforceSingleTopLevelTransformOp
— MethodmlirTransformOptionsEnforceSingleTopLevelTransformOp(transformOptions, enable)
Enables or disables the enforcement of the top-level transform op being single in transform options.
Reactant.MLIR.API.mlirTransformOptionsGetEnforceSingleTopLevelTransformOp
— MethodmlirTransformOptionsGetEnforceSingleTopLevelTransformOp(transformOptions)
Returns true if the enforcement of the top-level transform op being single is enabled in transform options.
Reactant.MLIR.API.mlirTransformOptionsGetExpensiveChecksEnabled
— MethodmlirTransformOptionsGetExpensiveChecksEnabled(transformOptions)
Returns true if expensive checks are enabled in transform options.
Reactant.MLIR.API.mlirTranslateModuleToLLVMIR
— MethodmlirTranslateModuleToLLVMIR(_module, context)
Translate operation that satisfies LLVM dialect module requirements into an LLVM IR module living in the given context. This translates operations from any dilalect that has a registered implementation of LLVMTranslationDialectInterface.
Returns
the generated LLVM IR Module from the translated MLIR module, it is owned by the caller.
Reactant.MLIR.API.mlirTupleTypeGet
— MethodmlirTupleTypeGet(ctx, numElements, elements)
Creates a tuple type that consists of the given list of elemental types. The type is owned by the context.
Reactant.MLIR.API.mlirTupleTypeGetNumTypes
— MethodmlirTupleTypeGetNumTypes(type)
Returns the number of types contained in a tuple.
Reactant.MLIR.API.mlirTupleTypeGetType
— MethodmlirTupleTypeGetType(type, pos)
Returns the pos-th type in the tuple type.
Reactant.MLIR.API.mlirTupleTypeGetTypeID
— MethodmlirTupleTypeGetTypeID()
Returns the typeID of an Tuple type.
Reactant.MLIR.API.mlirTypeAttrGet
— MethodmlirTypeAttrGet(type)
Creates a type attribute wrapping the given type in the same context as the type.
Reactant.MLIR.API.mlirTypeAttrGetTypeID
— MethodmlirTypeAttrGetTypeID()
Returns the typeID of a Type attribute.
Reactant.MLIR.API.mlirTypeAttrGetValue
— MethodmlirTypeAttrGetValue(attr)
Returns the type stored in the given type attribute.
Reactant.MLIR.API.mlirTypeDump
— MethodmlirTypeDump(type)
Prints the type to the standard error stream.
Reactant.MLIR.API.mlirTypeEqual
— MethodmlirTypeEqual(t1, t2)
Checks if two types are equal.
Reactant.MLIR.API.mlirTypeGetContext
— MethodmlirTypeGetContext(type)
Gets the context that a type was created with.
Reactant.MLIR.API.mlirTypeGetDialect
— MethodmlirTypeGetDialect(type)
Gets the dialect a type belongs to.
Reactant.MLIR.API.mlirTypeGetTypeID
— MethodmlirTypeGetTypeID(type)
Gets the type ID of the type.
Reactant.MLIR.API.mlirTypeIDAllocatorAllocateTypeID
— MethodmlirTypeIDAllocatorAllocateTypeID(allocator)
Allocates a type id that is valid for the lifetime of the allocator
Reactant.MLIR.API.mlirTypeIDAllocatorCreate
— MethodmlirTypeIDAllocatorCreate()
Creates a type id allocator for dynamic type id creation
Reactant.MLIR.API.mlirTypeIDAllocatorDestroy
— MethodmlirTypeIDAllocatorDestroy(allocator)
Deallocates the allocator and all allocated type ids
Reactant.MLIR.API.mlirTypeIDCreate
— MethodmlirTypeIDCreate(ptr)
ptr
must be 8 byte aligned and unique to a type valid for the duration of the returned type id's usage
Reactant.MLIR.API.mlirTypeIDEqual
— MethodmlirTypeIDEqual(typeID1, typeID2)
Checks if two type ids are equal.
Reactant.MLIR.API.mlirTypeIDHashValue
— MethodmlirTypeIDHashValue(typeID)
Returns the hash value of the type id.
Reactant.MLIR.API.mlirTypeIDIsNull
— MethodmlirTypeIDIsNull(typeID)
Checks whether a type id is null.
Reactant.MLIR.API.mlirTypeIsAAnyQuantizedType
— MethodmlirTypeIsAAnyQuantizedType(type)
Returns true
if the given type is an AnyQuantizedType.
Reactant.MLIR.API.mlirTypeIsABF16
— MethodmlirTypeIsABF16(type)
Checks whether the given type is a bf16 type.
Reactant.MLIR.API.mlirTypeIsACalibratedQuantizedType
— MethodmlirTypeIsACalibratedQuantizedType(type)
Returns true
if the given type is a CalibratedQuantizedType.
Reactant.MLIR.API.mlirTypeIsAComplex
— MethodmlirTypeIsAComplex(type)
Checks whether the given type is a Complex type.
Reactant.MLIR.API.mlirTypeIsAF16
— MethodmlirTypeIsAF16(type)
Checks whether the given type is an f16 type.
Reactant.MLIR.API.mlirTypeIsAF32
— MethodmlirTypeIsAF32(type)
Checks whether the given type is an f32 type.
Reactant.MLIR.API.mlirTypeIsAF64
— MethodmlirTypeIsAF64(type)
Checks whether the given type is an f64 type.
Reactant.MLIR.API.mlirTypeIsAFloat
— MethodmlirTypeIsAFloat(type)
Checks whether the given type is a floating-point type.
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3B11FNUZ
— MethodmlirTypeIsAFloat8E4M3B11FNUZ(type)
Checks whether the given type is an f8E4M3B11FNUZ type.
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3FN
— MethodmlirTypeIsAFloat8E4M3FN(type)
Checks whether the given type is an f8E4M3FN type.
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3FNUZ
— MethodmlirTypeIsAFloat8E4M3FNUZ(type)
Checks whether the given type is an f8E4M3FNUZ type.
Reactant.MLIR.API.mlirTypeIsAFloat8E5M2
— MethodmlirTypeIsAFloat8E5M2(type)
Checks whether the given type is an f8E5M2 type.
Reactant.MLIR.API.mlirTypeIsAFloat8E5M2FNUZ
— MethodmlirTypeIsAFloat8E5M2FNUZ(type)
Checks whether the given type is an f8E5M2FNUZ type.
Reactant.MLIR.API.mlirTypeIsAFunction
— MethodmlirTypeIsAFunction(type)
Checks whether the given type is a function type.
Reactant.MLIR.API.mlirTypeIsAIndex
— MethodmlirTypeIsAIndex(type)
Checks whether the given type is an index type.
Reactant.MLIR.API.mlirTypeIsAInteger
— MethodmlirTypeIsAInteger(type)
Checks whether the given type is an integer type.
Reactant.MLIR.API.mlirTypeIsALLVMStructType
— MethodmlirTypeIsALLVMStructType(type)
Returns true
if the type is an LLVM dialect struct type.
Reactant.MLIR.API.mlirTypeIsAMemRef
— MethodmlirTypeIsAMemRef(type)
Checks whether the given type is a MemRef type.
Reactant.MLIR.API.mlirTypeIsANone
— MethodmlirTypeIsANone(type)
Checks whether the given type is a None type.
Reactant.MLIR.API.mlirTypeIsAOpaque
— MethodmlirTypeIsAOpaque(type)
Checks whether the given type is an opaque type.
Reactant.MLIR.API.mlirTypeIsAQuantizedType
— MethodmlirTypeIsAQuantizedType(type)
Returns true
if the given type is a quantization dialect type.
Reactant.MLIR.API.mlirTypeIsARankedTensor
— MethodmlirTypeIsARankedTensor(type)
Checks whether the given type is a ranked tensor type.
Reactant.MLIR.API.mlirTypeIsAShaped
— MethodmlirTypeIsAShaped(type)
Checks whether the given type is a Shaped type.
Reactant.MLIR.API.mlirTypeIsATF32
— MethodmlirTypeIsATF32(type)
Checks whether the given type is an TF32 type.
Reactant.MLIR.API.mlirTypeIsATensor
— MethodmlirTypeIsATensor(type)
Checks whether the given type is a Tensor type.
Reactant.MLIR.API.mlirTypeIsATuple
— MethodmlirTypeIsATuple(type)
Checks whether the given type is a tuple type.
Reactant.MLIR.API.mlirTypeIsAUniformQuantizedPerAxisType
— MethodmlirTypeIsAUniformQuantizedPerAxisType(type)
Returns true
if the given type is a UniformQuantizedPerAxisType.
Reactant.MLIR.API.mlirTypeIsAUniformQuantizedType
— MethodmlirTypeIsAUniformQuantizedType(type)
Returns true
if the given type is a UniformQuantizedType.
Reactant.MLIR.API.mlirTypeIsAUnrankedMemRef
— MethodmlirTypeIsAUnrankedMemRef(type)
Checks whether the given type is an UnrankedMemRef type.
Reactant.MLIR.API.mlirTypeIsAUnrankedTensor
— MethodmlirTypeIsAUnrankedTensor(type)
Checks whether the given type is an unranked tensor type.
Reactant.MLIR.API.mlirTypeIsAVector
— MethodmlirTypeIsAVector(type)
Checks whether the given type is a Vector type.
Reactant.MLIR.API.mlirTypeIsNull
— MethodmlirTypeIsNull(type)
Checks whether a type is null.
Reactant.MLIR.API.mlirTypeParseGet
— MethodmlirTypeParseGet(context, type)
Parses a type. The type is owned by the context.
Reactant.MLIR.API.mlirTypePrint
— MethodmlirTypePrint(type, callback, userData)
Prints a location by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGet
— MethodmlirUniformQuantizedPerAxisTypeGet(flags, storageType, expressedType, nDims, scales, zeroPoints, quantizedDimension, storageTypeMin, storageTypeMax)
Creates an instance of UniformQuantizedPerAxisType with the given parameters in the same context as storageType
and returns it. scales
and zeroPoints
point to nDims
number of elements. The instance is owned by the context.
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetNumDims
— MethodmlirUniformQuantizedPerAxisTypeGetNumDims(type)
Returns the number of axes in the given quantized per-axis type.
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetQuantizedDimension
— MethodmlirUniformQuantizedPerAxisTypeGetQuantizedDimension(type)
Returns the index of the quantized dimension in the given quantized per-axis type.
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetScale
— MethodmlirUniformQuantizedPerAxisTypeGetScale(type, pos)
Returns pos
-th scale of the given quantized per-axis type.
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetZeroPoint
— MethodmlirUniformQuantizedPerAxisTypeGetZeroPoint(type, pos)
Returns pos
-th zero point of the given quantized per-axis type.
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeIsFixedPoint
— MethodmlirUniformQuantizedPerAxisTypeIsFixedPoint(type)
Returns true
if the given uniform quantized per-axis type is fixed-point.
Reactant.MLIR.API.mlirUniformQuantizedTypeGet
— MethodmlirUniformQuantizedTypeGet(flags, storageType, expressedType, scale, zeroPoint, storageTypeMin, storageTypeMax)
Creates an instance of UniformQuantizedType with the given parameters in the same context as storageType
and returns it. The instance is owned by the context.
Reactant.MLIR.API.mlirUniformQuantizedTypeGetScale
— MethodmlirUniformQuantizedTypeGetScale(type)
Returns the scale of the given uniform quantized type.
Reactant.MLIR.API.mlirUniformQuantizedTypeGetZeroPoint
— MethodmlirUniformQuantizedTypeGetZeroPoint(type)
Returns the zero point of the given uniform quantized type.
Reactant.MLIR.API.mlirUniformQuantizedTypeIsFixedPoint
— MethodmlirUniformQuantizedTypeIsFixedPoint(type)
Returns true
if the given uniform quantized type is fixed-point.
Reactant.MLIR.API.mlirUnitAttrGet
— MethodmlirUnitAttrGet(ctx)
Creates a unit attribute in the given context.
Reactant.MLIR.API.mlirUnitAttrGetTypeID
— MethodmlirUnitAttrGetTypeID()
Returns the typeID of a Unit attribute.
Reactant.MLIR.API.mlirUnmanagedDenseResourceElementsAttrGet
— MethodmlirUnmanagedDenseResourceElementsAttrGet(shapedType, name, data, dataLength, dataAlignment, dataIsMutable, deleter, userData)
Unlike the typed accessors below, constructs the attribute with a raw data buffer and no type/alignment checking. Use a more strongly typed accessor if possible. If dataIsMutable is false, then an immutable AsmResourceBlob will be created and that passed data contents will be treated as const. If the deleter is non NULL, then it will be called when the data buffer can no longer be accessed (passing userData to it).
Reactant.MLIR.API.mlirUnrankedMemRefTypeGet
— MethodmlirUnrankedMemRefTypeGet(elementType, memorySpace)
Creates an Unranked MemRef type with the given element type and in the given memory space. The type is owned by the context of element type.
Reactant.MLIR.API.mlirUnrankedMemRefTypeGetChecked
— MethodmlirUnrankedMemRefTypeGetChecked(loc, elementType, memorySpace)
Same as "mlirUnrankedMemRefTypeGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
Reactant.MLIR.API.mlirUnrankedMemRefTypeGetTypeID
— MethodmlirUnrankedMemRefTypeGetTypeID()
Returns the typeID of an UnrankedMemRef type.
Reactant.MLIR.API.mlirUnrankedMemrefGetMemorySpace
— MethodmlirUnrankedMemrefGetMemorySpace(type)
Returns the memory spcae of the given Unranked MemRef type.
Reactant.MLIR.API.mlirUnrankedTensorTypeGet
— MethodmlirUnrankedTensorTypeGet(elementType)
Creates an unranked tensor type with the given element type in the same context as the element type. The type is owned by the context.
Reactant.MLIR.API.mlirUnrankedTensorTypeGetChecked
— MethodmlirUnrankedTensorTypeGetChecked(loc, elementType)
Same as "mlirUnrankedTensorTypeGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
Reactant.MLIR.API.mlirUnrankedTensorTypeGetTypeID
— MethodmlirUnrankedTensorTypeGetTypeID()
Returns the typeID of an UnrankedTensor type.
Reactant.MLIR.API.mlirValueDump
— MethodmlirValueDump(value)
Prints the value to the standard error stream.
Reactant.MLIR.API.mlirValueEqual
— MethodmlirValueEqual(value1, value2)
Returns 1 if two values are equal, 0 otherwise.
Reactant.MLIR.API.mlirValueGetFirstUse
— MethodmlirValueGetFirstUse(value)
Returns an op operand representing the first use of the value, or a null op operand if there are no uses.
Reactant.MLIR.API.mlirValueGetType
— MethodmlirValueGetType(value)
Returns the type of the value.
Reactant.MLIR.API.mlirValueIsABlockArgument
— MethodmlirValueIsABlockArgument(value)
Returns 1 if the value is a block argument, 0 otherwise.
Reactant.MLIR.API.mlirValueIsAOpResult
— MethodmlirValueIsAOpResult(value)
Returns 1 if the value is an operation result, 0 otherwise.
Reactant.MLIR.API.mlirValueIsNull
— MethodmlirValueIsNull(value)
Returns whether the value is null.
Reactant.MLIR.API.mlirValuePrint
— MethodmlirValuePrint(value, callback, userData)
Prints a value by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
Reactant.MLIR.API.mlirValuePrintAsOperand
— MethodmlirValuePrintAsOperand(value, state, callback, userData)
Prints a value as an operand (i.e., the ValueID).
Reactant.MLIR.API.mlirValueReplaceAllUsesOfWith
— MethodmlirValueReplaceAllUsesOfWith(of, with)
Replace all uses of 'of' value with the 'with' value, updating anything in the IR that uses 'of' to use the other value instead. When this returns there are zero uses of 'of'.
Reactant.MLIR.API.mlirValueSetType
— MethodmlirValueSetType(value, type)
Set the type of the value.
Reactant.MLIR.API.mlirVectorTypeGet
— MethodmlirVectorTypeGet(rank, shape, elementType)
Creates a vector type of the shape identified by its rank and dimensions, with the given element type in the same context as the element type. The type is owned by the context.
Reactant.MLIR.API.mlirVectorTypeGetChecked
— MethodmlirVectorTypeGetChecked(loc, rank, shape, elementType)
Same as "mlirVectorTypeGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
Reactant.MLIR.API.mlirVectorTypeGetScalable
— MethodmlirVectorTypeGetScalable(rank, shape, scalable, elementType)
Creates a scalable vector type with the shape identified by its rank and dimensions. A subset of dimensions may be marked as scalable via the corresponding flag list, which is expected to have as many entries as the rank of the vector. The vector is created in the same context as the element type.
Reactant.MLIR.API.mlirVectorTypeGetScalableChecked
— MethodmlirVectorTypeGetScalableChecked(loc, rank, shape, scalable, elementType)
Same as "mlirVectorTypeGetScalable
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
Reactant.MLIR.API.mlirVectorTypeGetTypeID
— MethodmlirVectorTypeGetTypeID()
Returns the typeID of an Vector type.
Reactant.MLIR.API.mlirVectorTypeIsDimScalable
— MethodmlirVectorTypeIsDimScalable(type, dim)
Checks whether the "dim"-th dimension of the given vector is scalable.
Reactant.MLIR.API.mlirVectorTypeIsScalable
— MethodmlirVectorTypeIsScalable(type)
Checks whether the given vector type is scalable, i.e., has at least one scalable dimension.
Core.Bool
— MethodBool(attr)
Returns the value stored in the given bool attribute.
Core.Float64
— MethodFloat64(attr)
Returns the value stored in the given floating point attribute, interpreting the value as double.
Core.Int64
— MethodInt64(attr)
Returns the value stored in the given integer attribute, assuming the value is of signed type and fits into a signed 64-bit integer.
Core.String
— MethodString(attr)
Returns the attribute values as a string reference. The data remains live as long as the context in which the attribute lives.
Core.String
— MethodString(ident)
Gets the string value of the identifier.
Core.UInt64
— MethodUInt64(attr)
Returns the value stored in the given integer attribute, assuming the value is of unsigned type and fits into an unsigned 64-bit integer.
Reactant.MLIR.IR.AffineMap
— MethodAffineMap(ndims, nsymbols, affineExprs; context=context())
Creates an affine map with results defined by the given list of affine expressions. The map resulting map also has the requested number of input dimensions and symbols, regardless of them being used in the results.
Reactant.MLIR.IR.AffineMap
— MethodAffineMap(ndims, nsymbols; context=context())
Creates a zero result affine map of the given dimensions and symbols in the context. The affine map is owned by the context.
Reactant.MLIR.IR.AffineMap
— MethodAffineMap(attr)
Returns the affine map wrapped in the given affine map attribute.
Reactant.MLIR.IR.AffineMap
— MethodAffineMap(; context=context())
Creates a zero result affine map with no dimensions or symbols in the context. The affine map is owned by the context.
Reactant.MLIR.IR.Attribute
— MethodAttribute(str; context=context())
Creates a string attribute in the given context containing the given string.
Reactant.MLIR.IR.Attribute
— MethodAttribute(value; context=context())
Creates a bool attribute in the given context with the given value.
Reactant.MLIR.IR.Attribute
— MethodAttribute(elements; context=context())
Creates a dictionary attribute containing the given list of elements in the provided context.
Reactant.MLIR.IR.Attribute
— MethodAttribute(affineMap)
Creates an affine map attribute wrapping the given map. The attribute belongs to the same context as the affine map.
Reactant.MLIR.IR.Attribute
— MethodAttribute(type, str)
Creates a string attribute in the given context containing the given string. Additionally, the attribute has the given type.
Reactant.MLIR.IR.Attribute
— MethodAttribute(type)
Creates a type attribute wrapping the given type in the same context as the type.
Reactant.MLIR.IR.Attribute
— MethodAttribute(float; context=context(), location=Location(), check=false)
Creates a floating point attribute in the given context with the given double value and double-precision FP semantics. If check=true
, emits appropriate diagnostics on illegal arguments.
Reactant.MLIR.IR.Attribute
— MethodAttribute(elements; context=context())
Creates an array element containing the given list of elements in the given context.
Reactant.MLIR.IR.Attribute
— MethodAttribute()
Returns an empty attribute.
Reactant.MLIR.IR.Attribute
— MethodAttribute(int)
Creates an integer attribute of the given type with the given integer value.
Reactant.MLIR.IR.Block
— MethodBlock(args, locs)
Creates a new empty block with the given argument types and transfers ownership to the caller.
Reactant.MLIR.IR.BlockIterator
— TypeBlockIterator(region::Region)
Iterates over all blocks in the given region.
Reactant.MLIR.IR.Context
— MethodContext()
Creates an MLIR context and transfers its ownership to the caller.
Reactant.MLIR.IR.ExecutionEngine
— TypeExecutionEngine(op, optLevel, sharedlibs = [])
Creates an ExecutionEngine for the provided ModuleOp. The ModuleOp is expected to be "translatable" to LLVM IR (only contains operations in dialects that implement the LLVMTranslationDialectInterface
). The module ownership stays with the client and can be destroyed as soon as the call returns. optLevel
is the optimization level to be used for transformation and code generation. LLVM passes at optLevel
are run before code generation. The number and array of paths corresponding to shared libraries that will be loaded are specified via numPaths
and sharedLibPaths
respectively. TODO: figure out other options.
Reactant.MLIR.IR.Identifier
— MethodIdentifier(context, str)
Gets an identifier with the given string value.
Reactant.MLIR.IR.IntegerSet
— MethodIntegerSet(ndims, nsymbols, constraints, eqflags; context=context())
Gets or creates a new integer set in the given context. The set is defined by a list of affine constraints, with the given number of input dimensions and symbols, which are treated as either equalities (eqflags is 1) or inequalities (eqflags is 0). Both constraints
and eqflags
need to be arrays of the same length.
Reactant.MLIR.IR.IntegerSet
— MethodIntegerset(ndims, nsymbols; context=context())
Gets or creates a new canonically empty integer set with the give number of dimensions and symbols in the given context.
Reactant.MLIR.IR.LogicalResult
— TypeLogicalResult
A logical result value, essentially a boolean with named states. LLVM convention for using boolean values to designate success or failure of an operation is a moving target, so MLIR opted for an explicit class. Instances of LogicalResult
must only be inspected using the associated functions.
Reactant.MLIR.IR.Module
— TypeModule(location=Location())
Creates a new, empty module and transfers ownership to the caller.
Reactant.MLIR.IR.NamedAttribute
— MethodNamedAttribute(name, attr)
Associates an attribute with the name. Takes ownership of neither.
Reactant.MLIR.IR.OpPassManager
— MethodOpPassManager(opPassManager, operationName)
Nest an OpPassManager
under the provided OpPassManager
, the nested passmanager will only run on operations matching the provided name. The returned OpPassManager
will be destroyed when the parent is destroyed.
Reactant.MLIR.IR.OpPassManager
— MethodOpPassManager(passManager, operationName)
Nest an OpPassManager
under the top-level PassManager, the nested passmanager will only run on operations matching the provided name. The returned OpPassManager
will be destroyed when the parent is destroyed. To further nest more OpPassManager
under the newly returned one, see mlirOpPassManagerNest
below.
Reactant.MLIR.IR.OpPassManager
— MethodOpPassManager(passManager)
Cast a top-level PassManager
to a generic OpPassManager
.
Reactant.MLIR.IR.Operation
— MethodOperation(module)
Views the module as a generic operation.
Reactant.MLIR.IR.OperationIterator
— TypeOperationIterator(block::Block)
Iterates over all operations for the given block.
Reactant.MLIR.IR.PassManager
— MethodPassManager(anchorOp; context=context())
Create a new top-level PassManager anchored on anchorOp
.
Reactant.MLIR.IR.PassManager
— MethodPassManager(; context=context())
Create a new top-level PassManager.
Reactant.MLIR.IR.Region
— MethodRegion()
Creates a new empty region and transfers ownership to the caller.
Reactant.MLIR.IR.RegionIterator
— TypeRegionIterator(::Operation)
Iterates over all sub-regions for the given operation.
Reactant.MLIR.IR.SymbolTable
— MethodmlirSymbolTableCreate(operation)
Creates a symbol table for the given operation. If the operation does not have the SymbolTable trait, returns a null symbol table.
Reactant.MLIR.IR.Type
— MethodType(attr)
Returns the type stored in the given type attribute.
Reactant.MLIR.IR.Type
— MethodType(T::Core.Type{<:Integer}; context=context()
Creates a signless integer type of the given bitwidth in the context. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(T::Core.Type{<:Signed}; context=context()
Creates a signed integer type of the given bitwidth in the context. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(T::Core.Type{<:Unsigned}; context=context()
Creates an unsigned integer type of the given bitwidth in the context. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(T::Core.Type{Bool}; context=context()
Creates a 1-bit signless integer type in the context. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(::Core.Type{Float16}; context=context())
Creates an f16 type in the given context. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(Core.Type{Float32}; context=context())
Creates an f32 type in the given context. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(Core.Type{Float64}; context=context())
Creates a f64 type in the given context. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(::Core.Type{Nothing}; context=context())
Creates a None type in the given context. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(elements; context=context())
-Type(::Core.Type{<:Tuple{T...}}; context=context())
Creates a tuple type that consists of the given list of elemental types. The type is owned by the context.
Reactant.MLIR.IR.Type
— MethodType(Complex{T}) where {T}
Creates a complex type with the given element type in the same context as the element type. The type is owned by the context.
Reactant.MLIR.IR.@affinemap
— Macro@affinemap (d1, d2, d3, ...)[s1, s2, ...] -> (d0 + d1, ...)
Returns an affine map from the provided Julia expression. On the right hand side are allowed the following function calls:
- +, *, ÷, %, fld, cld
The rhs can only contains dimensions and symbols present on the left hand side or integer literals.
julia> using MLIR: IR, AffineUtils
+API reference · Reactant.jl API reference
Types and constants
Reactant.MLIR.API.LLVMAttributeRef
Reactant.MLIR.API.LLVMBasicBlockRef
Reactant.MLIR.API.LLVMBinaryRef
Reactant.MLIR.API.LLVMBool
Reactant.MLIR.API.LLVMBuilderRef
Reactant.MLIR.API.LLVMComdatRef
Reactant.MLIR.API.LLVMContextRef
Reactant.MLIR.API.LLVMDIBuilderRef
Reactant.MLIR.API.LLVMDbgRecordRef
Reactant.MLIR.API.LLVMDiagnosticInfoRef
Reactant.MLIR.API.LLVMJITEventListenerRef
Reactant.MLIR.API.LLVMMemoryBufferRef
Reactant.MLIR.API.LLVMMetadataRef
Reactant.MLIR.API.LLVMModuleFlagEntry
Reactant.MLIR.API.LLVMModuleProviderRef
Reactant.MLIR.API.LLVMModuleRef
Reactant.MLIR.API.LLVMNamedMDNodeRef
Reactant.MLIR.API.LLVMOperandBundleRef
Reactant.MLIR.API.LLVMPassManagerRef
Reactant.MLIR.API.LLVMTypeRef
Reactant.MLIR.API.LLVMUseRef
Reactant.MLIR.API.LLVMValueMetadataEntry
Reactant.MLIR.API.LLVMValueRef
Reactant.MLIR.API.MlirDiagnostic
Reactant.MLIR.API.MlirDiagnosticHandler
Reactant.MLIR.API.MlirDiagnosticHandlerID
Reactant.MLIR.API.MlirDiagnosticSeverity
Reactant.MLIR.API.MlirExternalPassCallbacks
Reactant.MLIR.API.MlirLlvmThreadPool
Reactant.MLIR.API.MlirLogicalResult
Reactant.MLIR.API.MlirNamedAttribute
Reactant.MLIR.API.MlirOperationState
Reactant.MLIR.API.MlirOperationWalkCallback
Reactant.MLIR.API.MlirShapedTypeComponentsCallback
Reactant.MLIR.API.MlirSparseTensorLevelType
Reactant.MLIR.API.MlirStringCallback
Reactant.MLIR.API.MlirStringRef
Reactant.MLIR.API.MlirTypesCallback
Reactant.MLIR.API.MlirWalkOrder
Reactant.MLIR.IR.AffineMap
Reactant.MLIR.IR.AffineMap
Reactant.MLIR.IR.AffineMap
Reactant.MLIR.IR.AffineMap
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Attribute
Reactant.MLIR.IR.Block
Reactant.MLIR.IR.BlockIterator
Reactant.MLIR.IR.Context
Reactant.MLIR.IR.ExecutionEngine
Reactant.MLIR.IR.Identifier
Reactant.MLIR.IR.IntegerSet
Reactant.MLIR.IR.IntegerSet
Reactant.MLIR.IR.LogicalResult
Reactant.MLIR.IR.Module
Reactant.MLIR.IR.NamedAttribute
Reactant.MLIR.IR.OpPassManager
Reactant.MLIR.IR.OpPassManager
Reactant.MLIR.IR.OpPassManager
Reactant.MLIR.IR.Operation
Reactant.MLIR.IR.OperationIterator
Reactant.MLIR.IR.PassManager
Reactant.MLIR.IR.PassManager
Reactant.MLIR.IR.Region
Reactant.MLIR.IR.RegionIterator
Reactant.MLIR.IR.SymbolTable
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Reactant.MLIR.IR.Type
Functions and macros
Reactant.@code_hlo
Reactant.MLIR.API.LLVMAddSymbol
Reactant.MLIR.API.LLVMLoadLibraryPermanently
Reactant.MLIR.API.LLVMParseCommandLineOptions
Reactant.MLIR.API.LLVMSearchForAddressOfSymbol
Reactant.MLIR.API.mlirAffineAddExprGet
Reactant.MLIR.API.mlirAffineBinaryOpExprGetLHS
Reactant.MLIR.API.mlirAffineBinaryOpExprGetRHS
Reactant.MLIR.API.mlirAffineCeilDivExprGet
Reactant.MLIR.API.mlirAffineConstantExprGet
Reactant.MLIR.API.mlirAffineConstantExprGetValue
Reactant.MLIR.API.mlirAffineDimExprGet
Reactant.MLIR.API.mlirAffineDimExprGetPosition
Reactant.MLIR.API.mlirAffineExprCompose
Reactant.MLIR.API.mlirAffineExprDump
Reactant.MLIR.API.mlirAffineExprEqual
Reactant.MLIR.API.mlirAffineExprGetContext
Reactant.MLIR.API.mlirAffineExprGetLargestKnownDivisor
Reactant.MLIR.API.mlirAffineExprIsAAdd
Reactant.MLIR.API.mlirAffineExprIsABinary
Reactant.MLIR.API.mlirAffineExprIsACeilDiv
Reactant.MLIR.API.mlirAffineExprIsAConstant
Reactant.MLIR.API.mlirAffineExprIsADim
Reactant.MLIR.API.mlirAffineExprIsAFloorDiv
Reactant.MLIR.API.mlirAffineExprIsAMod
Reactant.MLIR.API.mlirAffineExprIsAMul
Reactant.MLIR.API.mlirAffineExprIsASymbol
Reactant.MLIR.API.mlirAffineExprIsFunctionOfDim
Reactant.MLIR.API.mlirAffineExprIsMultipleOf
Reactant.MLIR.API.mlirAffineExprIsNull
Reactant.MLIR.API.mlirAffineExprIsPureAffine
Reactant.MLIR.API.mlirAffineExprIsSymbolicOrConstant
Reactant.MLIR.API.mlirAffineExprPrint
Reactant.MLIR.API.mlirAffineFloorDivExprGet
Reactant.MLIR.API.mlirAffineMapAttrGet
Reactant.MLIR.API.mlirAffineMapAttrGetTypeID
Reactant.MLIR.API.mlirAffineMapAttrGetValue
Reactant.MLIR.API.mlirAffineMapCompressUnusedSymbols
Reactant.MLIR.API.mlirAffineMapConstantGet
Reactant.MLIR.API.mlirAffineMapDump
Reactant.MLIR.API.mlirAffineMapEmptyGet
Reactant.MLIR.API.mlirAffineMapEqual
Reactant.MLIR.API.mlirAffineMapGet
Reactant.MLIR.API.mlirAffineMapGetContext
Reactant.MLIR.API.mlirAffineMapGetMajorSubMap
Reactant.MLIR.API.mlirAffineMapGetMinorSubMap
Reactant.MLIR.API.mlirAffineMapGetNumDims
Reactant.MLIR.API.mlirAffineMapGetNumInputs
Reactant.MLIR.API.mlirAffineMapGetNumResults
Reactant.MLIR.API.mlirAffineMapGetNumSymbols
Reactant.MLIR.API.mlirAffineMapGetResult
Reactant.MLIR.API.mlirAffineMapGetSingleConstantResult
Reactant.MLIR.API.mlirAffineMapGetSubMap
Reactant.MLIR.API.mlirAffineMapIsEmpty
Reactant.MLIR.API.mlirAffineMapIsIdentity
Reactant.MLIR.API.mlirAffineMapIsMinorIdentity
Reactant.MLIR.API.mlirAffineMapIsNull
Reactant.MLIR.API.mlirAffineMapIsPermutation
Reactant.MLIR.API.mlirAffineMapIsProjectedPermutation
Reactant.MLIR.API.mlirAffineMapIsSingleConstant
Reactant.MLIR.API.mlirAffineMapMinorIdentityGet
Reactant.MLIR.API.mlirAffineMapMultiDimIdentityGet
Reactant.MLIR.API.mlirAffineMapPermutationGet
Reactant.MLIR.API.mlirAffineMapPrint
Reactant.MLIR.API.mlirAffineMapReplace
Reactant.MLIR.API.mlirAffineMapZeroResultGet
Reactant.MLIR.API.mlirAffineModExprGet
Reactant.MLIR.API.mlirAffineMulExprGet
Reactant.MLIR.API.mlirAffineSymbolExprGet
Reactant.MLIR.API.mlirAffineSymbolExprGetPosition
Reactant.MLIR.API.mlirAnyQuantizedTypeGet
Reactant.MLIR.API.mlirArrayAttrGet
Reactant.MLIR.API.mlirArrayAttrGetElement
Reactant.MLIR.API.mlirArrayAttrGetNumElements
Reactant.MLIR.API.mlirArrayAttrGetTypeID
Reactant.MLIR.API.mlirAsmStateCreateForOperation
Reactant.MLIR.API.mlirAsmStateCreateForValue
Reactant.MLIR.API.mlirAsmStateDestroy
Reactant.MLIR.API.mlirAttributeDump
Reactant.MLIR.API.mlirAttributeEqual
Reactant.MLIR.API.mlirAttributeGetContext
Reactant.MLIR.API.mlirAttributeGetDialect
Reactant.MLIR.API.mlirAttributeGetNull
Reactant.MLIR.API.mlirAttributeGetType
Reactant.MLIR.API.mlirAttributeGetTypeID
Reactant.MLIR.API.mlirAttributeIsAAffineMap
Reactant.MLIR.API.mlirAttributeIsAArray
Reactant.MLIR.API.mlirAttributeIsABool
Reactant.MLIR.API.mlirAttributeIsADenseBoolArray
Reactant.MLIR.API.mlirAttributeIsADenseElements
Reactant.MLIR.API.mlirAttributeIsADictionary
Reactant.MLIR.API.mlirAttributeIsAElements
Reactant.MLIR.API.mlirAttributeIsAFlatSymbolRef
Reactant.MLIR.API.mlirAttributeIsAFloat
Reactant.MLIR.API.mlirAttributeIsAInteger
Reactant.MLIR.API.mlirAttributeIsAIntegerSet
Reactant.MLIR.API.mlirAttributeIsAOpaque
Reactant.MLIR.API.mlirAttributeIsASparseElements
Reactant.MLIR.API.mlirAttributeIsASparseTensorEncodingAttr
Reactant.MLIR.API.mlirAttributeIsAString
Reactant.MLIR.API.mlirAttributeIsASymbolRef
Reactant.MLIR.API.mlirAttributeIsAType
Reactant.MLIR.API.mlirAttributeIsAUnit
Reactant.MLIR.API.mlirAttributeIsNull
Reactant.MLIR.API.mlirAttributeParseGet
Reactant.MLIR.API.mlirAttributePrint
Reactant.MLIR.API.mlirBF16TypeGet
Reactant.MLIR.API.mlirBFloat16TypeGetTypeID
Reactant.MLIR.API.mlirBlockAddArgument
Reactant.MLIR.API.mlirBlockAppendOwnedOperation
Reactant.MLIR.API.mlirBlockArgumentGetArgNumber
Reactant.MLIR.API.mlirBlockArgumentGetOwner
Reactant.MLIR.API.mlirBlockArgumentSetType
Reactant.MLIR.API.mlirBlockCreate
Reactant.MLIR.API.mlirBlockDestroy
Reactant.MLIR.API.mlirBlockDetach
Reactant.MLIR.API.mlirBlockEqual
Reactant.MLIR.API.mlirBlockGetArgument
Reactant.MLIR.API.mlirBlockGetFirstOperation
Reactant.MLIR.API.mlirBlockGetNextInRegion
Reactant.MLIR.API.mlirBlockGetNumArguments
Reactant.MLIR.API.mlirBlockGetParentOperation
Reactant.MLIR.API.mlirBlockGetParentRegion
Reactant.MLIR.API.mlirBlockGetTerminator
Reactant.MLIR.API.mlirBlockInsertArgument
Reactant.MLIR.API.mlirBlockInsertOwnedOperation
Reactant.MLIR.API.mlirBlockInsertOwnedOperationAfter
Reactant.MLIR.API.mlirBlockInsertOwnedOperationBefore
Reactant.MLIR.API.mlirBlockIsNull
Reactant.MLIR.API.mlirBlockPrint
Reactant.MLIR.API.mlirBoolAttrGet
Reactant.MLIR.API.mlirBoolAttrGetValue
Reactant.MLIR.API.mlirBytecodeWriterConfigCreate
Reactant.MLIR.API.mlirBytecodeWriterConfigDesiredEmitVersion
Reactant.MLIR.API.mlirBytecodeWriterConfigDestroy
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGet
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGetMax
Reactant.MLIR.API.mlirCalibratedQuantizedTypeGetMin
Reactant.MLIR.API.mlirComplexTypeGet
Reactant.MLIR.API.mlirComplexTypeGetElementType
Reactant.MLIR.API.mlirComplexTypeGetTypeID
Reactant.MLIR.API.mlirContextAppendDialectRegistry
Reactant.MLIR.API.mlirContextAttachDiagnosticHandler
Reactant.MLIR.API.mlirContextCreate
Reactant.MLIR.API.mlirContextCreateWithRegistry
Reactant.MLIR.API.mlirContextCreateWithThreading
Reactant.MLIR.API.mlirContextDestroy
Reactant.MLIR.API.mlirContextDetachDiagnosticHandler
Reactant.MLIR.API.mlirContextEnableMultithreading
Reactant.MLIR.API.mlirContextEqual
Reactant.MLIR.API.mlirContextGetAllowUnregisteredDialects
Reactant.MLIR.API.mlirContextGetNumLoadedDialects
Reactant.MLIR.API.mlirContextGetNumRegisteredDialects
Reactant.MLIR.API.mlirContextGetOrLoadDialect
Reactant.MLIR.API.mlirContextIsNull
Reactant.MLIR.API.mlirContextIsRegisteredOperation
Reactant.MLIR.API.mlirContextLoadAllAvailableDialects
Reactant.MLIR.API.mlirContextSetAllowUnregisteredDialects
Reactant.MLIR.API.mlirContextSetThreadPool
Reactant.MLIR.API.mlirCreateExternalPass
Reactant.MLIR.API.mlirDenseArrayGetNumElements
Reactant.MLIR.API.mlirDenseBoolArrayGet
Reactant.MLIR.API.mlirDenseBoolArrayGetElement
Reactant.MLIR.API.mlirDenseBoolResourceElementsAttrGetValue
Reactant.MLIR.API.mlirDenseElementsAttrBoolGet
Reactant.MLIR.API.mlirDenseElementsAttrGet
Reactant.MLIR.API.mlirDenseElementsAttrGetBoolValue
Reactant.MLIR.API.mlirDenseElementsAttrGetRawData
Reactant.MLIR.API.mlirDenseElementsAttrGetSplatValue
Reactant.MLIR.API.mlirDenseElementsAttrIsSplat
Reactant.MLIR.API.mlirDenseElementsAttrRawBufferGet
Reactant.MLIR.API.mlirDenseElementsAttrReshapeGet
Reactant.MLIR.API.mlirDenseElementsAttrSplatGet
Reactant.MLIR.API.mlirDenseElementsAttrStringGet
Reactant.MLIR.API.mlirDenseIntOrFPElementsAttrGetTypeID
Reactant.MLIR.API.mlirDiagnosticGetLocation
Reactant.MLIR.API.mlirDiagnosticGetNote
Reactant.MLIR.API.mlirDiagnosticGetNumNotes
Reactant.MLIR.API.mlirDiagnosticGetSeverity
Reactant.MLIR.API.mlirDiagnosticPrint
Reactant.MLIR.API.mlirDialectEqual
Reactant.MLIR.API.mlirDialectGetContext
Reactant.MLIR.API.mlirDialectGetNamespace
Reactant.MLIR.API.mlirDialectHandleGetNamespace
Reactant.MLIR.API.mlirDialectHandleInsertDialect
Reactant.MLIR.API.mlirDialectHandleLoadDialect
Reactant.MLIR.API.mlirDialectHandleRegisterDialect
Reactant.MLIR.API.mlirDialectIsNull
Reactant.MLIR.API.mlirDialectRegistryCreate
Reactant.MLIR.API.mlirDialectRegistryDestroy
Reactant.MLIR.API.mlirDialectRegistryIsNull
Reactant.MLIR.API.mlirDictionaryAttrGet
Reactant.MLIR.API.mlirDictionaryAttrGetElement
Reactant.MLIR.API.mlirDictionaryAttrGetElementByName
Reactant.MLIR.API.mlirDictionaryAttrGetNumElements
Reactant.MLIR.API.mlirDictionaryAttrGetTypeID
Reactant.MLIR.API.mlirDisctinctAttrCreate
Reactant.MLIR.API.mlirElementsAttrGetNumElements
Reactant.MLIR.API.mlirElementsAttrGetValue
Reactant.MLIR.API.mlirElementsAttrIsValidIndex
Reactant.MLIR.API.mlirEmitError
Reactant.MLIR.API.mlirEnableGlobalDebug
Reactant.MLIR.API.mlirExecutionEngineCreate
Reactant.MLIR.API.mlirExecutionEngineDestroy
Reactant.MLIR.API.mlirExecutionEngineDumpToObjectFile
Reactant.MLIR.API.mlirExecutionEngineInvokePacked
Reactant.MLIR.API.mlirExecutionEngineIsNull
Reactant.MLIR.API.mlirExecutionEngineLookup
Reactant.MLIR.API.mlirExecutionEngineLookupPacked
Reactant.MLIR.API.mlirExecutionEngineRegisterSymbol
Reactant.MLIR.API.mlirExternalPassSignalFailure
Reactant.MLIR.API.mlirF16TypeGet
Reactant.MLIR.API.mlirF32TypeGet
Reactant.MLIR.API.mlirF64TypeGet
Reactant.MLIR.API.mlirFlatSymbolRefAttrGet
Reactant.MLIR.API.mlirFlatSymbolRefAttrGetValue
Reactant.MLIR.API.mlirFloat16TypeGetTypeID
Reactant.MLIR.API.mlirFloat32TypeGetTypeID
Reactant.MLIR.API.mlirFloat64TypeGetTypeID
Reactant.MLIR.API.mlirFloat8E4M3B11FNUZTypeGet
Reactant.MLIR.API.mlirFloat8E4M3B11FNUZTypeGetTypeID
Reactant.MLIR.API.mlirFloat8E4M3FNTypeGet
Reactant.MLIR.API.mlirFloat8E4M3FNTypeGetTypeID
Reactant.MLIR.API.mlirFloat8E4M3FNUZTypeGet
Reactant.MLIR.API.mlirFloat8E4M3FNUZTypeGetTypeID
Reactant.MLIR.API.mlirFloat8E5M2FNUZTypeGet
Reactant.MLIR.API.mlirFloat8E5M2FNUZTypeGetTypeID
Reactant.MLIR.API.mlirFloat8E5M2TypeGet
Reactant.MLIR.API.mlirFloat8E5M2TypeGetTypeID
Reactant.MLIR.API.mlirFloatAttrDoubleGet
Reactant.MLIR.API.mlirFloatAttrDoubleGetChecked
Reactant.MLIR.API.mlirFloatAttrGetTypeID
Reactant.MLIR.API.mlirFloatAttrGetValueDouble
Reactant.MLIR.API.mlirFloatTF32TypeGetTypeID
Reactant.MLIR.API.mlirFloatTypeGetWidth
Reactant.MLIR.API.mlirFuncSetArgAttr
Reactant.MLIR.API.mlirFunctionTypeGet
Reactant.MLIR.API.mlirFunctionTypeGetInput
Reactant.MLIR.API.mlirFunctionTypeGetNumInputs
Reactant.MLIR.API.mlirFunctionTypeGetNumResults
Reactant.MLIR.API.mlirFunctionTypeGetResult
Reactant.MLIR.API.mlirFunctionTypeGetTypeID
Reactant.MLIR.API.mlirIdentifierEqual
Reactant.MLIR.API.mlirIdentifierGet
Reactant.MLIR.API.mlirIdentifierGetContext
Reactant.MLIR.API.mlirIdentifierStr
Reactant.MLIR.API.mlirIndexTypeGet
Reactant.MLIR.API.mlirIndexTypeGetTypeID
Reactant.MLIR.API.mlirInferShapedTypeOpInterfaceInferReturnTypes
Reactant.MLIR.API.mlirInferShapedTypeOpInterfaceTypeID
Reactant.MLIR.API.mlirInferTypeOpInterfaceInferReturnTypes
Reactant.MLIR.API.mlirInferTypeOpInterfaceTypeID
Reactant.MLIR.API.mlirIntegerAttrGet
Reactant.MLIR.API.mlirIntegerAttrGetTypeID
Reactant.MLIR.API.mlirIntegerAttrGetValueInt
Reactant.MLIR.API.mlirIntegerAttrGetValueSInt
Reactant.MLIR.API.mlirIntegerAttrGetValueUInt
Reactant.MLIR.API.mlirIntegerSetAttrGetTypeID
Reactant.MLIR.API.mlirIntegerSetDump
Reactant.MLIR.API.mlirIntegerSetEmptyGet
Reactant.MLIR.API.mlirIntegerSetEqual
Reactant.MLIR.API.mlirIntegerSetGet
Reactant.MLIR.API.mlirIntegerSetGetConstraint
Reactant.MLIR.API.mlirIntegerSetGetContext
Reactant.MLIR.API.mlirIntegerSetGetNumConstraints
Reactant.MLIR.API.mlirIntegerSetGetNumDims
Reactant.MLIR.API.mlirIntegerSetGetNumEqualities
Reactant.MLIR.API.mlirIntegerSetGetNumInequalities
Reactant.MLIR.API.mlirIntegerSetGetNumInputs
Reactant.MLIR.API.mlirIntegerSetGetNumSymbols
Reactant.MLIR.API.mlirIntegerSetIsCanonicalEmpty
Reactant.MLIR.API.mlirIntegerSetIsConstraintEq
Reactant.MLIR.API.mlirIntegerSetIsNull
Reactant.MLIR.API.mlirIntegerSetPrint
Reactant.MLIR.API.mlirIntegerSetReplaceGet
Reactant.MLIR.API.mlirIntegerTypeGet
Reactant.MLIR.API.mlirIntegerTypeGetTypeID
Reactant.MLIR.API.mlirIntegerTypeGetWidth
Reactant.MLIR.API.mlirIntegerTypeIsSigned
Reactant.MLIR.API.mlirIntegerTypeIsSignless
Reactant.MLIR.API.mlirIntegerTypeIsUnsigned
Reactant.MLIR.API.mlirIntegerTypeSignedGet
Reactant.MLIR.API.mlirIntegerTypeUnsignedGet
Reactant.MLIR.API.mlirIsGlobalDebugEnabled
Reactant.MLIR.API.mlirLLVMArrayTypeGet
Reactant.MLIR.API.mlirLLVMCConvAttrGet
Reactant.MLIR.API.mlirLLVMComdatAttrGet
Reactant.MLIR.API.mlirLLVMDIBasicTypeAttrGet
Reactant.MLIR.API.mlirLLVMDICompileUnitAttrGet
Reactant.MLIR.API.mlirLLVMDICompositeTypeAttrGet
Reactant.MLIR.API.mlirLLVMDIDerivedTypeAttrGet
Reactant.MLIR.API.mlirLLVMDIDerivedTypeAttrGetBaseType
Reactant.MLIR.API.mlirLLVMDIExpressionAttrGet
Reactant.MLIR.API.mlirLLVMDIExpressionElemAttrGet
Reactant.MLIR.API.mlirLLVMDIFileAttrGet
Reactant.MLIR.API.mlirLLVMDIFlagsAttrGet
Reactant.MLIR.API.mlirLLVMDILexicalBlockAttrGet
Reactant.MLIR.API.mlirLLVMDILexicalBlockFileAttrGet
Reactant.MLIR.API.mlirLLVMDILocalVariableAttrGet
Reactant.MLIR.API.mlirLLVMDIModuleAttrGet
Reactant.MLIR.API.mlirLLVMDIModuleAttrGetScope
Reactant.MLIR.API.mlirLLVMDINullTypeAttrGet
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGet
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetCompileUnit
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetFile
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetLine
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetScope
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetScopeLine
Reactant.MLIR.API.mlirLLVMDISubprogramAttrGetType
Reactant.MLIR.API.mlirLLVMDISubroutineTypeAttrGet
Reactant.MLIR.API.mlirLLVMFunctionTypeGet
Reactant.MLIR.API.mlirLLVMLinkageAttrGet
Reactant.MLIR.API.mlirLLVMPointerTypeGet
Reactant.MLIR.API.mlirLLVMStructTypeGetElementType
Reactant.MLIR.API.mlirLLVMStructTypeGetIdentifier
Reactant.MLIR.API.mlirLLVMStructTypeGetNumElementTypes
Reactant.MLIR.API.mlirLLVMStructTypeIdentifiedGet
Reactant.MLIR.API.mlirLLVMStructTypeIdentifiedNewGet
Reactant.MLIR.API.mlirLLVMStructTypeIsLiteral
Reactant.MLIR.API.mlirLLVMStructTypeIsOpaque
Reactant.MLIR.API.mlirLLVMStructTypeIsPacked
Reactant.MLIR.API.mlirLLVMStructTypeLiteralGet
Reactant.MLIR.API.mlirLLVMStructTypeLiteralGetChecked
Reactant.MLIR.API.mlirLLVMStructTypeSetBody
Reactant.MLIR.API.mlirLLVMVoidTypeGet
Reactant.MLIR.API.mlirLinalgFillBuiltinNamedOpRegion
Reactant.MLIR.API.mlirLlvmThreadPoolCreate
Reactant.MLIR.API.mlirLlvmThreadPoolDestroy
Reactant.MLIR.API.mlirLocationCallSiteGet
Reactant.MLIR.API.mlirLocationEqual
Reactant.MLIR.API.mlirLocationFileLineColGet
Reactant.MLIR.API.mlirLocationFromAttribute
Reactant.MLIR.API.mlirLocationFusedGet
Reactant.MLIR.API.mlirLocationGetAttribute
Reactant.MLIR.API.mlirLocationGetContext
Reactant.MLIR.API.mlirLocationIsNull
Reactant.MLIR.API.mlirLocationNameGet
Reactant.MLIR.API.mlirLocationPrint
Reactant.MLIR.API.mlirLocationUnknownGet
Reactant.MLIR.API.mlirLogicalResultFailure
Reactant.MLIR.API.mlirLogicalResultIsFailure
Reactant.MLIR.API.mlirLogicalResultIsSuccess
Reactant.MLIR.API.mlirLogicalResultSuccess
Reactant.MLIR.API.mlirMemRefTypeContiguousGet
Reactant.MLIR.API.mlirMemRefTypeContiguousGetChecked
Reactant.MLIR.API.mlirMemRefTypeGet
Reactant.MLIR.API.mlirMemRefTypeGetAffineMap
Reactant.MLIR.API.mlirMemRefTypeGetChecked
Reactant.MLIR.API.mlirMemRefTypeGetLayout
Reactant.MLIR.API.mlirMemRefTypeGetMemorySpace
Reactant.MLIR.API.mlirMemRefTypeGetStridesAndOffset
Reactant.MLIR.API.mlirMemRefTypeGetTypeID
Reactant.MLIR.API.mlirModuleCreateEmpty
Reactant.MLIR.API.mlirModuleCreateParse
Reactant.MLIR.API.mlirModuleDestroy
Reactant.MLIR.API.mlirModuleFromOperation
Reactant.MLIR.API.mlirModuleGetBody
Reactant.MLIR.API.mlirModuleGetContext
Reactant.MLIR.API.mlirModuleGetOperation
Reactant.MLIR.API.mlirModuleIsNull
Reactant.MLIR.API.mlirNamedAttributeGet
Reactant.MLIR.API.mlirNoneTypeGet
Reactant.MLIR.API.mlirNoneTypeGetTypeID
Reactant.MLIR.API.mlirOpOperandGetNextUse
Reactant.MLIR.API.mlirOpOperandGetOperandNumber
Reactant.MLIR.API.mlirOpOperandGetOwner
Reactant.MLIR.API.mlirOpOperandGetValue
Reactant.MLIR.API.mlirOpOperandIsNull
Reactant.MLIR.API.mlirOpPassManagerAddOwnedPass
Reactant.MLIR.API.mlirOpPassManagerAddPipeline
Reactant.MLIR.API.mlirOpPassManagerGetNestedUnder
Reactant.MLIR.API.mlirOpPrintingFlagsAssumeVerified
Reactant.MLIR.API.mlirOpPrintingFlagsCreate
Reactant.MLIR.API.mlirOpPrintingFlagsDestroy
Reactant.MLIR.API.mlirOpPrintingFlagsElideLargeElementsAttrs
Reactant.MLIR.API.mlirOpPrintingFlagsEnableDebugInfo
Reactant.MLIR.API.mlirOpPrintingFlagsPrintGenericOpForm
Reactant.MLIR.API.mlirOpPrintingFlagsUseLocalScope
Reactant.MLIR.API.mlirOpResultGetOwner
Reactant.MLIR.API.mlirOpResultGetResultNumber
Reactant.MLIR.API.mlirOpaqueAttrGet
Reactant.MLIR.API.mlirOpaqueAttrGetData
Reactant.MLIR.API.mlirOpaqueAttrGetDialectNamespace
Reactant.MLIR.API.mlirOpaqueAttrGetTypeID
Reactant.MLIR.API.mlirOpaqueTypeGet
Reactant.MLIR.API.mlirOpaqueTypeGetData
Reactant.MLIR.API.mlirOpaqueTypeGetDialectNamespace
Reactant.MLIR.API.mlirOpaqueTypeGetTypeID
Reactant.MLIR.API.mlirOperationClone
Reactant.MLIR.API.mlirOperationCreate
Reactant.MLIR.API.mlirOperationCreateParse
Reactant.MLIR.API.mlirOperationDestroy
Reactant.MLIR.API.mlirOperationDump
Reactant.MLIR.API.mlirOperationEqual
Reactant.MLIR.API.mlirOperationGetAttribute
Reactant.MLIR.API.mlirOperationGetAttributeByName
Reactant.MLIR.API.mlirOperationGetBlock
Reactant.MLIR.API.mlirOperationGetContext
Reactant.MLIR.API.mlirOperationGetDiscardableAttribute
Reactant.MLIR.API.mlirOperationGetDiscardableAttributeByName
Reactant.MLIR.API.mlirOperationGetFirstRegion
Reactant.MLIR.API.mlirOperationGetInherentAttributeByName
Reactant.MLIR.API.mlirOperationGetLocation
Reactant.MLIR.API.mlirOperationGetName
Reactant.MLIR.API.mlirOperationGetNextInBlock
Reactant.MLIR.API.mlirOperationGetNumAttributes
Reactant.MLIR.API.mlirOperationGetNumDiscardableAttributes
Reactant.MLIR.API.mlirOperationGetNumOperands
Reactant.MLIR.API.mlirOperationGetNumRegions
Reactant.MLIR.API.mlirOperationGetNumResults
Reactant.MLIR.API.mlirOperationGetNumSuccessors
Reactant.MLIR.API.mlirOperationGetOperand
Reactant.MLIR.API.mlirOperationGetParentOperation
Reactant.MLIR.API.mlirOperationGetRegion
Reactant.MLIR.API.mlirOperationGetResult
Reactant.MLIR.API.mlirOperationGetSuccessor
Reactant.MLIR.API.mlirOperationGetTypeID
Reactant.MLIR.API.mlirOperationHasInherentAttributeByName
Reactant.MLIR.API.mlirOperationImplementsInterface
Reactant.MLIR.API.mlirOperationImplementsInterfaceStatic
Reactant.MLIR.API.mlirOperationIsNull
Reactant.MLIR.API.mlirOperationMoveAfter
Reactant.MLIR.API.mlirOperationMoveBefore
Reactant.MLIR.API.mlirOperationPrint
Reactant.MLIR.API.mlirOperationPrintWithFlags
Reactant.MLIR.API.mlirOperationPrintWithState
Reactant.MLIR.API.mlirOperationRemoveAttributeByName
Reactant.MLIR.API.mlirOperationRemoveDiscardableAttributeByName
Reactant.MLIR.API.mlirOperationRemoveFromParent
Reactant.MLIR.API.mlirOperationSetAttributeByName
Reactant.MLIR.API.mlirOperationSetDiscardableAttributeByName
Reactant.MLIR.API.mlirOperationSetInherentAttributeByName
Reactant.MLIR.API.mlirOperationSetOperand
Reactant.MLIR.API.mlirOperationSetOperands
Reactant.MLIR.API.mlirOperationSetSuccessor
Reactant.MLIR.API.mlirOperationStateAddResults
Reactant.MLIR.API.mlirOperationStateEnableResultTypeInference
Reactant.MLIR.API.mlirOperationStateGet
Reactant.MLIR.API.mlirOperationVerify
Reactant.MLIR.API.mlirOperationWalk
Reactant.MLIR.API.mlirOperationWriteBytecode
Reactant.MLIR.API.mlirOperationWriteBytecodeWithConfig
Reactant.MLIR.API.mlirParsePassPipeline
Reactant.MLIR.API.mlirPassManagerAddOwnedPass
Reactant.MLIR.API.mlirPassManagerCreate
Reactant.MLIR.API.mlirPassManagerCreateOnOperation
Reactant.MLIR.API.mlirPassManagerDestroy
Reactant.MLIR.API.mlirPassManagerEnableIRPrinting
Reactant.MLIR.API.mlirPassManagerEnableVerifier
Reactant.MLIR.API.mlirPassManagerGetAsOpPassManager
Reactant.MLIR.API.mlirPassManagerGetNestedUnder
Reactant.MLIR.API.mlirPassManagerIsNull
Reactant.MLIR.API.mlirPassManagerRunOnOp
Reactant.MLIR.API.mlirPrintPassPipeline
Reactant.MLIR.API.mlirQuantizedTypeCastExpressedToStorageType
Reactant.MLIR.API.mlirQuantizedTypeCastFromExpressedType
Reactant.MLIR.API.mlirQuantizedTypeCastFromStorageType
Reactant.MLIR.API.mlirQuantizedTypeCastToExpressedType
Reactant.MLIR.API.mlirQuantizedTypeCastToStorageType
Reactant.MLIR.API.mlirQuantizedTypeGetDefaultMaximumForInteger
Reactant.MLIR.API.mlirQuantizedTypeGetDefaultMinimumForInteger
Reactant.MLIR.API.mlirQuantizedTypeGetExpressedType
Reactant.MLIR.API.mlirQuantizedTypeGetFlags
Reactant.MLIR.API.mlirQuantizedTypeGetQuantizedElementType
Reactant.MLIR.API.mlirQuantizedTypeGetSignedFlag
Reactant.MLIR.API.mlirQuantizedTypeGetStorageType
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeIntegralWidth
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeMax
Reactant.MLIR.API.mlirQuantizedTypeGetStorageTypeMin
Reactant.MLIR.API.mlirQuantizedTypeIsCompatibleExpressedType
Reactant.MLIR.API.mlirQuantizedTypeIsSigned
Reactant.MLIR.API.mlirRankedTensorTypeGet
Reactant.MLIR.API.mlirRankedTensorTypeGetChecked
Reactant.MLIR.API.mlirRankedTensorTypeGetEncoding
Reactant.MLIR.API.mlirRankedTensorTypeGetTypeID
Reactant.MLIR.API.mlirRegionAppendOwnedBlock
Reactant.MLIR.API.mlirRegionCreate
Reactant.MLIR.API.mlirRegionDestroy
Reactant.MLIR.API.mlirRegionEqual
Reactant.MLIR.API.mlirRegionGetFirstBlock
Reactant.MLIR.API.mlirRegionGetNextInOperation
Reactant.MLIR.API.mlirRegionInsertOwnedBlock
Reactant.MLIR.API.mlirRegionInsertOwnedBlockAfter
Reactant.MLIR.API.mlirRegionInsertOwnedBlockBefore
Reactant.MLIR.API.mlirRegionIsNull
Reactant.MLIR.API.mlirRegionTakeBody
Reactant.MLIR.API.mlirRegisterAllDialects
Reactant.MLIR.API.mlirRegisterAllLLVMTranslations
Reactant.MLIR.API.mlirRegisterAllPasses
Reactant.MLIR.API.mlirShapedTypeGetDimSize
Reactant.MLIR.API.mlirShapedTypeGetDynamicSize
Reactant.MLIR.API.mlirShapedTypeGetDynamicStrideOrOffset
Reactant.MLIR.API.mlirShapedTypeGetElementType
Reactant.MLIR.API.mlirShapedTypeGetRank
Reactant.MLIR.API.mlirShapedTypeHasRank
Reactant.MLIR.API.mlirShapedTypeHasStaticShape
Reactant.MLIR.API.mlirShapedTypeIsDynamicDim
Reactant.MLIR.API.mlirShapedTypeIsDynamicSize
Reactant.MLIR.API.mlirShapedTypeIsDynamicStrideOrOffset
Reactant.MLIR.API.mlirSparseElementsAttrGetIndices
Reactant.MLIR.API.mlirSparseElementsAttrGetTypeID
Reactant.MLIR.API.mlirSparseElementsAttrGetValues
Reactant.MLIR.API.mlirSparseElementsAttribute
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGet
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetCrdWidth
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetDimToLvl
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlFmt
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlToDim
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlType
Reactant.MLIR.API.mlirSparseTensorEncodingAttrGetPosWidth
Reactant.MLIR.API.mlirSparseTensorEncodingGetLvlRank
Reactant.MLIR.API.mlirStridedLayoutAttrGetTypeID
Reactant.MLIR.API.mlirStringAttrGet
Reactant.MLIR.API.mlirStringAttrGetTypeID
Reactant.MLIR.API.mlirStringAttrGetValue
Reactant.MLIR.API.mlirStringAttrTypedGet
Reactant.MLIR.API.mlirStringRefCreate
Reactant.MLIR.API.mlirStringRefCreateFromCString
Reactant.MLIR.API.mlirStringRefEqual
Reactant.MLIR.API.mlirSymbolRefAttrGet
Reactant.MLIR.API.mlirSymbolRefAttrGetLeafReference
Reactant.MLIR.API.mlirSymbolRefAttrGetNestedReference
Reactant.MLIR.API.mlirSymbolRefAttrGetNumNestedReferences
Reactant.MLIR.API.mlirSymbolRefAttrGetRootReference
Reactant.MLIR.API.mlirSymbolRefAttrGetTypeID
Reactant.MLIR.API.mlirSymbolTableCreate
Reactant.MLIR.API.mlirSymbolTableDestroy
Reactant.MLIR.API.mlirSymbolTableErase
Reactant.MLIR.API.mlirSymbolTableGetSymbolAttributeName
Reactant.MLIR.API.mlirSymbolTableGetVisibilityAttributeName
Reactant.MLIR.API.mlirSymbolTableInsert
Reactant.MLIR.API.mlirSymbolTableIsNull
Reactant.MLIR.API.mlirSymbolTableLookup
Reactant.MLIR.API.mlirSymbolTableReplaceAllSymbolUses
Reactant.MLIR.API.mlirSymbolTableWalkSymbolTables
Reactant.MLIR.API.mlirTF32TypeGet
Reactant.MLIR.API.mlirTransformApplyNamedSequence
Reactant.MLIR.API.mlirTransformOptionsCreate
Reactant.MLIR.API.mlirTransformOptionsDestroy
Reactant.MLIR.API.mlirTransformOptionsEnableExpensiveChecks
Reactant.MLIR.API.mlirTransformOptionsEnforceSingleTopLevelTransformOp
Reactant.MLIR.API.mlirTransformOptionsGetEnforceSingleTopLevelTransformOp
Reactant.MLIR.API.mlirTransformOptionsGetExpensiveChecksEnabled
Reactant.MLIR.API.mlirTranslateModuleToLLVMIR
Reactant.MLIR.API.mlirTupleTypeGet
Reactant.MLIR.API.mlirTupleTypeGetNumTypes
Reactant.MLIR.API.mlirTupleTypeGetType
Reactant.MLIR.API.mlirTupleTypeGetTypeID
Reactant.MLIR.API.mlirTypeAttrGet
Reactant.MLIR.API.mlirTypeAttrGetTypeID
Reactant.MLIR.API.mlirTypeAttrGetValue
Reactant.MLIR.API.mlirTypeDump
Reactant.MLIR.API.mlirTypeEqual
Reactant.MLIR.API.mlirTypeGetContext
Reactant.MLIR.API.mlirTypeGetDialect
Reactant.MLIR.API.mlirTypeGetTypeID
Reactant.MLIR.API.mlirTypeIDAllocatorAllocateTypeID
Reactant.MLIR.API.mlirTypeIDAllocatorCreate
Reactant.MLIR.API.mlirTypeIDAllocatorDestroy
Reactant.MLIR.API.mlirTypeIDCreate
Reactant.MLIR.API.mlirTypeIDEqual
Reactant.MLIR.API.mlirTypeIDHashValue
Reactant.MLIR.API.mlirTypeIDIsNull
Reactant.MLIR.API.mlirTypeIsAAnyQuantizedType
Reactant.MLIR.API.mlirTypeIsABF16
Reactant.MLIR.API.mlirTypeIsACalibratedQuantizedType
Reactant.MLIR.API.mlirTypeIsAComplex
Reactant.MLIR.API.mlirTypeIsAF16
Reactant.MLIR.API.mlirTypeIsAF32
Reactant.MLIR.API.mlirTypeIsAF64
Reactant.MLIR.API.mlirTypeIsAFloat
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3B11FNUZ
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3FN
Reactant.MLIR.API.mlirTypeIsAFloat8E4M3FNUZ
Reactant.MLIR.API.mlirTypeIsAFloat8E5M2
Reactant.MLIR.API.mlirTypeIsAFloat8E5M2FNUZ
Reactant.MLIR.API.mlirTypeIsAFunction
Reactant.MLIR.API.mlirTypeIsAIndex
Reactant.MLIR.API.mlirTypeIsAInteger
Reactant.MLIR.API.mlirTypeIsALLVMStructType
Reactant.MLIR.API.mlirTypeIsAMemRef
Reactant.MLIR.API.mlirTypeIsANone
Reactant.MLIR.API.mlirTypeIsAOpaque
Reactant.MLIR.API.mlirTypeIsAQuantizedType
Reactant.MLIR.API.mlirTypeIsARankedTensor
Reactant.MLIR.API.mlirTypeIsAShaped
Reactant.MLIR.API.mlirTypeIsATF32
Reactant.MLIR.API.mlirTypeIsATensor
Reactant.MLIR.API.mlirTypeIsATuple
Reactant.MLIR.API.mlirTypeIsAUniformQuantizedPerAxisType
Reactant.MLIR.API.mlirTypeIsAUniformQuantizedType
Reactant.MLIR.API.mlirTypeIsAUnrankedMemRef
Reactant.MLIR.API.mlirTypeIsAUnrankedTensor
Reactant.MLIR.API.mlirTypeIsAVector
Reactant.MLIR.API.mlirTypeIsNull
Reactant.MLIR.API.mlirTypeParseGet
Reactant.MLIR.API.mlirTypePrint
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGet
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetNumDims
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetQuantizedDimension
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetScale
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetZeroPoint
Reactant.MLIR.API.mlirUniformQuantizedPerAxisTypeIsFixedPoint
Reactant.MLIR.API.mlirUniformQuantizedTypeGet
Reactant.MLIR.API.mlirUniformQuantizedTypeGetScale
Reactant.MLIR.API.mlirUniformQuantizedTypeGetZeroPoint
Reactant.MLIR.API.mlirUniformQuantizedTypeIsFixedPoint
Reactant.MLIR.API.mlirUnitAttrGet
Reactant.MLIR.API.mlirUnitAttrGetTypeID
Reactant.MLIR.API.mlirUnmanagedDenseResourceElementsAttrGet
Reactant.MLIR.API.mlirUnrankedMemRefTypeGet
Reactant.MLIR.API.mlirUnrankedMemRefTypeGetChecked
Reactant.MLIR.API.mlirUnrankedMemRefTypeGetTypeID
Reactant.MLIR.API.mlirUnrankedMemrefGetMemorySpace
Reactant.MLIR.API.mlirUnrankedTensorTypeGet
Reactant.MLIR.API.mlirUnrankedTensorTypeGetChecked
Reactant.MLIR.API.mlirUnrankedTensorTypeGetTypeID
Reactant.MLIR.API.mlirValueDump
Reactant.MLIR.API.mlirValueEqual
Reactant.MLIR.API.mlirValueGetFirstUse
Reactant.MLIR.API.mlirValueGetType
Reactant.MLIR.API.mlirValueIsABlockArgument
Reactant.MLIR.API.mlirValueIsAOpResult
Reactant.MLIR.API.mlirValueIsNull
Reactant.MLIR.API.mlirValuePrint
Reactant.MLIR.API.mlirValuePrintAsOperand
Reactant.MLIR.API.mlirValueReplaceAllUsesOfWith
Reactant.MLIR.API.mlirValueSetType
Reactant.MLIR.API.mlirVectorTypeGet
Reactant.MLIR.API.mlirVectorTypeGetChecked
Reactant.MLIR.API.mlirVectorTypeGetScalable
Reactant.MLIR.API.mlirVectorTypeGetScalableChecked
Reactant.MLIR.API.mlirVectorTypeGetTypeID
Reactant.MLIR.API.mlirVectorTypeIsDimScalable
Reactant.MLIR.API.mlirVectorTypeIsScalable
Reactant.MLIR.IR.@affinemap
Reactant.MLIR.IR.AffineDimensionExpr
Reactant.MLIR.IR.BFloat16Type
Reactant.MLIR.IR.ConstantAffineMap
Reactant.MLIR.IR.ConstantExpr
Reactant.MLIR.IR.DenseElementsAttribute
Reactant.MLIR.IR.DenseElementsAttribute
Reactant.MLIR.IR.DenseElementsAttribute
Reactant.MLIR.IR.FlatSymbolRefAttribute
Reactant.MLIR.IR.Float8E4M3FN
Reactant.MLIR.IR.Float8E5M2
Reactant.MLIR.IR.FunctionType
Reactant.MLIR.IR.IdentityAffineMap
Reactant.MLIR.IR.IndexType
Reactant.MLIR.IR.MemRefType
Reactant.MLIR.IR.MemRefType
Reactant.MLIR.IR.MemRefType
Reactant.MLIR.IR.MinorIdentityAffineMap
Reactant.MLIR.IR.OpaqueAttribute
Reactant.MLIR.IR.OpaqueType
Reactant.MLIR.IR.PermutationAffineMap
Reactant.MLIR.IR.SymbolExpr
Reactant.MLIR.IR.SymbolRefAttribute
Reactant.MLIR.IR.TensorType
Reactant.MLIR.IR.TensorType
Reactant.MLIR.IR.UnitAttribute
Reactant.MLIR.IR.VectorType
Reactant.MLIR.IR.add_owned_pass!
Reactant.MLIR.IR.add_owned_pass!
Reactant.MLIR.IR.add_pipeline!
Reactant.MLIR.IR.affinemap
Reactant.MLIR.IR.argument
Reactant.MLIR.IR.attr
Reactant.MLIR.IR.attr
Reactant.MLIR.IR.attr!
Reactant.MLIR.IR.bitwidth
Reactant.MLIR.IR.block
Reactant.MLIR.IR.block_arg_num
Reactant.MLIR.IR.block_owner
Reactant.MLIR.IR.body
Reactant.MLIR.IR.compose
Reactant.MLIR.IR.constraint
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.context
Reactant.MLIR.IR.data
Reactant.MLIR.IR.data
Reactant.MLIR.IR.delete!
Reactant.MLIR.IR.dynsize
Reactant.MLIR.IR.dynstrideoroffset
Reactant.MLIR.IR.enable_ir_printing!
Reactant.MLIR.IR.enable_verifier!
Reactant.MLIR.IR.encoding
Reactant.MLIR.IR.failure
Reactant.MLIR.IR.first_block
Reactant.MLIR.IR.first_op
Reactant.MLIR.IR.first_use
Reactant.MLIR.IR.flatsymbol
Reactant.MLIR.IR.hasrank
Reactant.MLIR.IR.hasstaticshape
Reactant.MLIR.IR.input
Reactant.MLIR.IR.insert_after!
Reactant.MLIR.IR.insert_after!
Reactant.MLIR.IR.insert_before!
Reactant.MLIR.IR.insert_before!
Reactant.MLIR.IR.is_block_arg
Reactant.MLIR.IR.is_op_res
Reactant.MLIR.IR.is_pure_affine
Reactant.MLIR.IR.is_registered
Reactant.MLIR.IR.is_symbolic_or_constant
Reactant.MLIR.IR.isadd
Reactant.MLIR.IR.isaffinemap
Reactant.MLIR.IR.isarray
Reactant.MLIR.IR.isbf16
Reactant.MLIR.IR.isbinary
Reactant.MLIR.IR.isbool
Reactant.MLIR.IR.isceildiv
Reactant.MLIR.IR.iscomplex
Reactant.MLIR.IR.isconstantexpr
Reactant.MLIR.IR.isconstrainteq
Reactant.MLIR.IR.isdenseelements
Reactant.MLIR.IR.isdict
Reactant.MLIR.IR.isdimexpr
Reactant.MLIR.IR.isdyndim
Reactant.MLIR.IR.isdynsize
Reactant.MLIR.IR.isdynstrideoroffset
Reactant.MLIR.IR.iselements
Reactant.MLIR.IR.isempty
Reactant.MLIR.IR.isf16
Reactant.MLIR.IR.isf32
Reactant.MLIR.IR.isf64
Reactant.MLIR.IR.isf8e4m3fn
Reactant.MLIR.IR.isf8e5m2
Reactant.MLIR.IR.isfailure
Reactant.MLIR.IR.isflatsymbolref
Reactant.MLIR.IR.isfloat
Reactant.MLIR.IR.isfloordiv
Reactant.MLIR.IR.isfunction
Reactant.MLIR.IR.isfunctionofdimexpr
Reactant.MLIR.IR.isidentity
Reactant.MLIR.IR.isindex
Reactant.MLIR.IR.isinteger
Reactant.MLIR.IR.isinteger
Reactant.MLIR.IR.isintegerset
Reactant.MLIR.IR.ismemref
Reactant.MLIR.IR.isminoridentity
Reactant.MLIR.IR.ismod
Reactant.MLIR.IR.ismul
Reactant.MLIR.IR.ismultipleof
Reactant.MLIR.IR.isnone
Reactant.MLIR.IR.isopaque
Reactant.MLIR.IR.isopaque
Reactant.MLIR.IR.isprojperm
Reactant.MLIR.IR.isrankedtensor
Reactant.MLIR.IR.isshaped
Reactant.MLIR.IR.issigned
Reactant.MLIR.IR.issignless
Reactant.MLIR.IR.issingleconstant
Reactant.MLIR.IR.issparseelements
Reactant.MLIR.IR.issplat
Reactant.MLIR.IR.isstring
Reactant.MLIR.IR.issuccess
Reactant.MLIR.IR.issymbolexpr
Reactant.MLIR.IR.issymbolref
Reactant.MLIR.IR.istensor
Reactant.MLIR.IR.istuple
Reactant.MLIR.IR.istype
Reactant.MLIR.IR.isunit
Reactant.MLIR.IR.isunrankedmemref
Reactant.MLIR.IR.isunrankedtensor
Reactant.MLIR.IR.isunsigned
Reactant.MLIR.IR.isvector
Reactant.MLIR.IR.layout
Reactant.MLIR.IR.leafref
Reactant.MLIR.IR.lhs
Reactant.MLIR.IR.location
Reactant.MLIR.IR.lookup
Reactant.MLIR.IR.lookup
Reactant.MLIR.IR.majorsubmap
Reactant.MLIR.IR.memspace
Reactant.MLIR.IR.minorsubmap
Reactant.MLIR.IR.move_after!
Reactant.MLIR.IR.move_before!
Reactant.MLIR.IR.name
Reactant.MLIR.IR.namespace
Reactant.MLIR.IR.namespace
Reactant.MLIR.IR.nargs
Reactant.MLIR.IR.nattrs
Reactant.MLIR.IR.nconstraints
Reactant.MLIR.IR.nequalities
Reactant.MLIR.IR.next
Reactant.MLIR.IR.next
Reactant.MLIR.IR.ninequalities
Reactant.MLIR.IR.ninputs
Reactant.MLIR.IR.ninputs
Reactant.MLIR.IR.ninputs
Reactant.MLIR.IR.nnestedrefs
Reactant.MLIR.IR.noperands
Reactant.MLIR.IR.nregions
Reactant.MLIR.IR.nresults
Reactant.MLIR.IR.nresults
Reactant.MLIR.IR.nresults
Reactant.MLIR.IR.nsuccessors
Reactant.MLIR.IR.nsymbols
Reactant.MLIR.IR.nsymbols
Reactant.MLIR.IR.op_owner
Reactant.MLIR.IR.op_res_num
Reactant.MLIR.IR.operand
Reactant.MLIR.IR.operand!
Reactant.MLIR.IR.operandindex
Reactant.MLIR.IR.owner
Reactant.MLIR.IR.parent_op
Reactant.MLIR.IR.parent_op
Reactant.MLIR.IR.parent_region
Reactant.MLIR.IR.position
Reactant.MLIR.IR.push_argument!
Reactant.MLIR.IR.region
Reactant.MLIR.IR.result
Reactant.MLIR.IR.result
Reactant.MLIR.IR.result
Reactant.MLIR.IR.result
Reactant.MLIR.IR.rhs
Reactant.MLIR.IR.rmattr!
Reactant.MLIR.IR.rmfromparent!
Reactant.MLIR.IR.rootref
Reactant.MLIR.IR.run!
Reactant.MLIR.IR.submap
Reactant.MLIR.IR.success
Reactant.MLIR.IR.successor
Reactant.MLIR.IR.terminator
Reactant.MLIR.IR.type
Reactant.MLIR.IR.type
Reactant.MLIR.IR.type!
Reactant.MLIR.IR.typeid
Reactant.MLIR.IR.typeid
Reactant.MLIR.IR.typeid
Reactant.MLIR.IR.value
Reactant.MLIR.IR.verify
Reactant.MLIR.IR.verifyall
Reactant.MLIR.Dialects.chlo.acos
Reactant.MLIR.Dialects.chlo.acosh
Reactant.MLIR.Dialects.chlo.asin
Reactant.MLIR.Dialects.chlo.asinh
Reactant.MLIR.Dialects.chlo.atan
Reactant.MLIR.Dialects.chlo.atanh
Reactant.MLIR.Dialects.chlo.bessel_i1e
Reactant.MLIR.Dialects.chlo.broadcast_add
Reactant.MLIR.Dialects.chlo.broadcast_and
Reactant.MLIR.Dialects.chlo.broadcast_atan2
Reactant.MLIR.Dialects.chlo.broadcast_compare
Reactant.MLIR.Dialects.chlo.broadcast_complex
Reactant.MLIR.Dialects.chlo.broadcast_divide
Reactant.MLIR.Dialects.chlo.broadcast_maximum
Reactant.MLIR.Dialects.chlo.broadcast_minimum
Reactant.MLIR.Dialects.chlo.broadcast_multiply
Reactant.MLIR.Dialects.chlo.broadcast_next_after
Reactant.MLIR.Dialects.chlo.broadcast_or
Reactant.MLIR.Dialects.chlo.broadcast_polygamma
Reactant.MLIR.Dialects.chlo.broadcast_power
Reactant.MLIR.Dialects.chlo.broadcast_remainder
Reactant.MLIR.Dialects.chlo.broadcast_select
Reactant.MLIR.Dialects.chlo.broadcast_shift_left
Reactant.MLIR.Dialects.chlo.broadcast_shift_right_arithmetic
Reactant.MLIR.Dialects.chlo.broadcast_shift_right_logical
Reactant.MLIR.Dialects.chlo.broadcast_subtract
Reactant.MLIR.Dialects.chlo.broadcast_xor
Reactant.MLIR.Dialects.chlo.broadcast_zeta
Reactant.MLIR.Dialects.chlo.conj
Reactant.MLIR.Dialects.chlo.constant
Reactant.MLIR.Dialects.chlo.constant_like
Reactant.MLIR.Dialects.chlo.cosh
Reactant.MLIR.Dialects.chlo.digamma
Reactant.MLIR.Dialects.chlo.erf
Reactant.MLIR.Dialects.chlo.erf_inv
Reactant.MLIR.Dialects.chlo.erfc
Reactant.MLIR.Dialects.chlo.is_inf
Reactant.MLIR.Dialects.chlo.is_neg_inf
Reactant.MLIR.Dialects.chlo.is_pos_inf
Reactant.MLIR.Dialects.chlo.lgamma
Reactant.MLIR.Dialects.chlo.next_after
Reactant.MLIR.Dialects.chlo.polygamma
Reactant.MLIR.Dialects.chlo.sinh
Reactant.MLIR.Dialects.chlo.tan
Reactant.MLIR.Dialects.chlo.top_k
Reactant.MLIR.Dialects.chlo.zeta
Reactant.MLIR.Dialects.vhlo.abs_v1
Reactant.MLIR.Dialects.vhlo.add_v1
Reactant.MLIR.Dialects.vhlo.after_all_v1
Reactant.MLIR.Dialects.vhlo.all_gather_v1
Reactant.MLIR.Dialects.vhlo.all_reduce_v1
Reactant.MLIR.Dialects.vhlo.all_to_all_v1
Reactant.MLIR.Dialects.vhlo.and_v1
Reactant.MLIR.Dialects.vhlo.atan2_v1
Reactant.MLIR.Dialects.vhlo.batch_norm_grad_v1
Reactant.MLIR.Dialects.vhlo.batch_norm_inference_v1
Reactant.MLIR.Dialects.vhlo.batch_norm_training_v1
Reactant.MLIR.Dialects.vhlo.bitcast_convert_v1
Reactant.MLIR.Dialects.vhlo.broadcast_in_dim_v1
Reactant.MLIR.Dialects.vhlo.broadcast_v1
Reactant.MLIR.Dialects.vhlo.call_v1
Reactant.MLIR.Dialects.vhlo.case_v1
Reactant.MLIR.Dialects.vhlo.cbrt_v1
Reactant.MLIR.Dialects.vhlo.ceil_v1
Reactant.MLIR.Dialects.vhlo.cholesky_v1
Reactant.MLIR.Dialects.vhlo.clamp_v1
Reactant.MLIR.Dialects.vhlo.collective_broadcast_v1
Reactant.MLIR.Dialects.vhlo.collective_permute_v1
Reactant.MLIR.Dialects.vhlo.compare_v1
Reactant.MLIR.Dialects.vhlo.complex_v1
Reactant.MLIR.Dialects.vhlo.composite_v1
Reactant.MLIR.Dialects.vhlo.concatenate_v1
Reactant.MLIR.Dialects.vhlo.constant_v1
Reactant.MLIR.Dialects.vhlo.convert_v1
Reactant.MLIR.Dialects.vhlo.convolution_v1
Reactant.MLIR.Dialects.vhlo.cosine_v1
Reactant.MLIR.Dialects.vhlo.count_leading_zeros_v1
Reactant.MLIR.Dialects.vhlo.create_token_v1
Reactant.MLIR.Dialects.vhlo.cross_replica_sum_v1
Reactant.MLIR.Dialects.vhlo.custom_call_v1
Reactant.MLIR.Dialects.vhlo.divide_v1
Reactant.MLIR.Dialects.vhlo.dot_general_v1
Reactant.MLIR.Dialects.vhlo.dot_v1
Reactant.MLIR.Dialects.vhlo.dynamic_broadcast_in_dim_v1
Reactant.MLIR.Dialects.vhlo.dynamic_conv_v1
Reactant.MLIR.Dialects.vhlo.dynamic_conv_v2
Reactant.MLIR.Dialects.vhlo.dynamic_gather_v1
Reactant.MLIR.Dialects.vhlo.dynamic_gather_v2
Reactant.MLIR.Dialects.vhlo.dynamic_iota_v1
Reactant.MLIR.Dialects.vhlo.dynamic_pad_v1
Reactant.MLIR.Dialects.vhlo.dynamic_reshape_v1
Reactant.MLIR.Dialects.vhlo.dynamic_slice_v1
Reactant.MLIR.Dialects.vhlo.dynamic_update_slice_v1
Reactant.MLIR.Dialects.vhlo.einsum_v1
Reactant.MLIR.Dialects.vhlo.exponential_minus_one_v1
Reactant.MLIR.Dialects.vhlo.exponential_v1
Reactant.MLIR.Dialects.vhlo.fft_v1
Reactant.MLIR.Dialects.vhlo.floor_v1
Reactant.MLIR.Dialects.vhlo.func_v1
Reactant.MLIR.Dialects.vhlo.gather_v1
Reactant.MLIR.Dialects.vhlo.gather_v2
Reactant.MLIR.Dialects.vhlo.get_dimension_size_v1
Reactant.MLIR.Dialects.vhlo.get_tuple_element_v1
Reactant.MLIR.Dialects.vhlo.if_v1
Reactant.MLIR.Dialects.vhlo.imag_v1
Reactant.MLIR.Dialects.vhlo.infeed_v1
Reactant.MLIR.Dialects.vhlo.iota_v1
Reactant.MLIR.Dialects.vhlo.is_finite_v1
Reactant.MLIR.Dialects.vhlo.log_plus_one_v1
Reactant.MLIR.Dialects.vhlo.log_v1
Reactant.MLIR.Dialects.vhlo.logistic_v1
Reactant.MLIR.Dialects.vhlo.map_v1
Reactant.MLIR.Dialects.vhlo.maximum_v1
Reactant.MLIR.Dialects.vhlo.minimum_v1
Reactant.MLIR.Dialects.vhlo.multiply_v1
Reactant.MLIR.Dialects.vhlo.negate_v1
Reactant.MLIR.Dialects.vhlo.not_v1
Reactant.MLIR.Dialects.vhlo.optimization_barrier_v1
Reactant.MLIR.Dialects.vhlo.or_v1
Reactant.MLIR.Dialects.vhlo.outfeed_v1
Reactant.MLIR.Dialects.vhlo.pad_v1
Reactant.MLIR.Dialects.vhlo.partition_id_v1
Reactant.MLIR.Dialects.vhlo.popcnt_v1
Reactant.MLIR.Dialects.vhlo.power_v1
Reactant.MLIR.Dialects.vhlo.real_dynamic_slice_v1
Reactant.MLIR.Dialects.vhlo.real_v1
Reactant.MLIR.Dialects.vhlo.recv_v1
Reactant.MLIR.Dialects.vhlo.reduce_precision_v1
Reactant.MLIR.Dialects.vhlo.reduce_scatter_v1
Reactant.MLIR.Dialects.vhlo.reduce_v1
Reactant.MLIR.Dialects.vhlo.reduce_window_v1
Reactant.MLIR.Dialects.vhlo.remainder_v1
Reactant.MLIR.Dialects.vhlo.replica_id_v1
Reactant.MLIR.Dialects.vhlo.reshape_v1
Reactant.MLIR.Dialects.vhlo.return_v1
Reactant.MLIR.Dialects.vhlo.reverse_v1
Reactant.MLIR.Dialects.vhlo.rng_bit_generator_v1
Reactant.MLIR.Dialects.vhlo.rng_v1
Reactant.MLIR.Dialects.vhlo.round_nearest_afz_v1
Reactant.MLIR.Dialects.vhlo.round_nearest_even_v1
Reactant.MLIR.Dialects.vhlo.rsqrt_v1
Reactant.MLIR.Dialects.vhlo.scatter_v1
Reactant.MLIR.Dialects.vhlo.scatter_v2
Reactant.MLIR.Dialects.vhlo.select_and_scatter_v1
Reactant.MLIR.Dialects.vhlo.select_v1
Reactant.MLIR.Dialects.vhlo.send_v1
Reactant.MLIR.Dialects.vhlo.set_dimension_size_v1
Reactant.MLIR.Dialects.vhlo.shift_left_v1
Reactant.MLIR.Dialects.vhlo.shift_right_arithmetic_v1
Reactant.MLIR.Dialects.vhlo.shift_right_logical_v1
Reactant.MLIR.Dialects.vhlo.sign_v1
Reactant.MLIR.Dialects.vhlo.sine_v1
Reactant.MLIR.Dialects.vhlo.slice_v1
Reactant.MLIR.Dialects.vhlo.sort_v1
Reactant.MLIR.Dialects.vhlo.sqrt_v1
Reactant.MLIR.Dialects.vhlo.subtract_v1
Reactant.MLIR.Dialects.vhlo.tanh_v1
Reactant.MLIR.Dialects.vhlo.torch_index_select_v1
Reactant.MLIR.Dialects.vhlo.transpose_v1
Reactant.MLIR.Dialects.vhlo.triangular_solve_v1
Reactant.MLIR.Dialects.vhlo.tuple_v1
Reactant.MLIR.Dialects.vhlo.unary_einsum_v1
Reactant.MLIR.Dialects.vhlo.uniform_dequantize_v1
Reactant.MLIR.Dialects.vhlo.uniform_quantize_v1
Reactant.MLIR.Dialects.vhlo.while_v1
Reactant.MLIR.Dialects.vhlo.xor_v1
Reactant.MLIR.Dialects.stablehlo.abs
Reactant.MLIR.Dialects.stablehlo.add
Reactant.MLIR.Dialects.stablehlo.after_all
Reactant.MLIR.Dialects.stablehlo.all_gather
Reactant.MLIR.Dialects.stablehlo.all_reduce
Reactant.MLIR.Dialects.stablehlo.all_to_all
Reactant.MLIR.Dialects.stablehlo.and
Reactant.MLIR.Dialects.stablehlo.atan2
Reactant.MLIR.Dialects.stablehlo.batch_norm_grad
Reactant.MLIR.Dialects.stablehlo.batch_norm_inference
Reactant.MLIR.Dialects.stablehlo.batch_norm_training
Reactant.MLIR.Dialects.stablehlo.bitcast_convert
Reactant.MLIR.Dialects.stablehlo.broadcast
Reactant.MLIR.Dialects.stablehlo.broadcast_in_dim
Reactant.MLIR.Dialects.stablehlo.case
Reactant.MLIR.Dialects.stablehlo.cbrt
Reactant.MLIR.Dialects.stablehlo.ceil
Reactant.MLIR.Dialects.stablehlo.cholesky
Reactant.MLIR.Dialects.stablehlo.clamp
Reactant.MLIR.Dialects.stablehlo.collective_broadcast
Reactant.MLIR.Dialects.stablehlo.collective_permute
Reactant.MLIR.Dialects.stablehlo.compare
Reactant.MLIR.Dialects.stablehlo.complex
Reactant.MLIR.Dialects.stablehlo.composite
Reactant.MLIR.Dialects.stablehlo.concatenate
Reactant.MLIR.Dialects.stablehlo.constant
Reactant.MLIR.Dialects.stablehlo.convert
Reactant.MLIR.Dialects.stablehlo.convolution
Reactant.MLIR.Dialects.stablehlo.cosine
Reactant.MLIR.Dialects.stablehlo.count_leading_zeros
Reactant.MLIR.Dialects.stablehlo.create_token
Reactant.MLIR.Dialects.stablehlo.cross_replica_sum
Reactant.MLIR.Dialects.stablehlo.custom_call
Reactant.MLIR.Dialects.stablehlo.divide
Reactant.MLIR.Dialects.stablehlo.dot
Reactant.MLIR.Dialects.stablehlo.dot_general
Reactant.MLIR.Dialects.stablehlo.dynamic_broadcast_in_dim
Reactant.MLIR.Dialects.stablehlo.dynamic_conv
Reactant.MLIR.Dialects.stablehlo.dynamic_gather
Reactant.MLIR.Dialects.stablehlo.dynamic_iota
Reactant.MLIR.Dialects.stablehlo.dynamic_pad
Reactant.MLIR.Dialects.stablehlo.dynamic_reshape
Reactant.MLIR.Dialects.stablehlo.dynamic_slice
Reactant.MLIR.Dialects.stablehlo.dynamic_update_slice
Reactant.MLIR.Dialects.stablehlo.einsum
Reactant.MLIR.Dialects.stablehlo.exponential
Reactant.MLIR.Dialects.stablehlo.exponential_minus_one
Reactant.MLIR.Dialects.stablehlo.fft
Reactant.MLIR.Dialects.stablehlo.floor
Reactant.MLIR.Dialects.stablehlo.gather
Reactant.MLIR.Dialects.stablehlo.get_dimension_size
Reactant.MLIR.Dialects.stablehlo.get_tuple_element
Reactant.MLIR.Dialects.stablehlo.if_
Reactant.MLIR.Dialects.stablehlo.imag
Reactant.MLIR.Dialects.stablehlo.infeed
Reactant.MLIR.Dialects.stablehlo.iota
Reactant.MLIR.Dialects.stablehlo.is_finite
Reactant.MLIR.Dialects.stablehlo.log
Reactant.MLIR.Dialects.stablehlo.log_plus_one
Reactant.MLIR.Dialects.stablehlo.logistic
Reactant.MLIR.Dialects.stablehlo.map
Reactant.MLIR.Dialects.stablehlo.maximum
Reactant.MLIR.Dialects.stablehlo.minimum
Reactant.MLIR.Dialects.stablehlo.multiply
Reactant.MLIR.Dialects.stablehlo.negate
Reactant.MLIR.Dialects.stablehlo.not
Reactant.MLIR.Dialects.stablehlo.optimization_barrier
Reactant.MLIR.Dialects.stablehlo.or
Reactant.MLIR.Dialects.stablehlo.outfeed
Reactant.MLIR.Dialects.stablehlo.pad
Reactant.MLIR.Dialects.stablehlo.partition_id
Reactant.MLIR.Dialects.stablehlo.popcnt
Reactant.MLIR.Dialects.stablehlo.power
Reactant.MLIR.Dialects.stablehlo.real
Reactant.MLIR.Dialects.stablehlo.real_dynamic_slice
Reactant.MLIR.Dialects.stablehlo.recv
Reactant.MLIR.Dialects.stablehlo.reduce
Reactant.MLIR.Dialects.stablehlo.reduce_precision
Reactant.MLIR.Dialects.stablehlo.reduce_scatter
Reactant.MLIR.Dialects.stablehlo.reduce_window
Reactant.MLIR.Dialects.stablehlo.remainder
Reactant.MLIR.Dialects.stablehlo.replica_id
Reactant.MLIR.Dialects.stablehlo.reshape
Reactant.MLIR.Dialects.stablehlo.return_
Reactant.MLIR.Dialects.stablehlo.reverse
Reactant.MLIR.Dialects.stablehlo.rng
Reactant.MLIR.Dialects.stablehlo.rng_bit_generator
Reactant.MLIR.Dialects.stablehlo.round_nearest_afz
Reactant.MLIR.Dialects.stablehlo.round_nearest_even
Reactant.MLIR.Dialects.stablehlo.rsqrt
Reactant.MLIR.Dialects.stablehlo.scatter
Reactant.MLIR.Dialects.stablehlo.select
Reactant.MLIR.Dialects.stablehlo.select_and_scatter
Reactant.MLIR.Dialects.stablehlo.send
Reactant.MLIR.Dialects.stablehlo.set_dimension_size
Reactant.MLIR.Dialects.stablehlo.shift_left
Reactant.MLIR.Dialects.stablehlo.shift_right_arithmetic
Reactant.MLIR.Dialects.stablehlo.shift_right_logical
Reactant.MLIR.Dialects.stablehlo.sign
Reactant.MLIR.Dialects.stablehlo.sine
Reactant.MLIR.Dialects.stablehlo.slice
Reactant.MLIR.Dialects.stablehlo.sort
Reactant.MLIR.Dialects.stablehlo.sqrt
Reactant.MLIR.Dialects.stablehlo.subtract
Reactant.MLIR.Dialects.stablehlo.tanh
Reactant.MLIR.Dialects.stablehlo.torch_index_select
Reactant.MLIR.Dialects.stablehlo.transpose
Reactant.MLIR.Dialects.stablehlo.triangular_solve
Reactant.MLIR.Dialects.stablehlo.tuple
Reactant.MLIR.Dialects.stablehlo.unary_einsum
Reactant.MLIR.Dialects.stablehlo.uniform_dequantize
Reactant.MLIR.Dialects.stablehlo.uniform_quantize
Reactant.MLIR.Dialects.stablehlo.while_
Reactant.MLIR.Dialects.stablehlo.xor
Reactant.MLIR.Dialects.enzyme.addTo
Reactant.MLIR.Dialects.enzyme.autodiff
Reactant.MLIR.Dialects.enzyme.batch
Reactant.MLIR.Dialects.enzyme.fwddiff
Reactant.MLIR.Dialects.enzyme.genericAdjoint
Reactant.MLIR.Dialects.enzyme.get
Reactant.MLIR.Dialects.enzyme.init
Reactant.MLIR.Dialects.enzyme.placeholder
Reactant.MLIR.Dialects.enzyme.pop
Reactant.MLIR.Dialects.enzyme.push
Reactant.MLIR.Dialects.enzyme.set
Reactant.MLIR.Dialects.arith.addf
Reactant.MLIR.Dialects.arith.addi
Reactant.MLIR.Dialects.arith.addui_extended
Reactant.MLIR.Dialects.arith.andi
Reactant.MLIR.Dialects.arith.bitcast
Reactant.MLIR.Dialects.arith.ceildivsi
Reactant.MLIR.Dialects.arith.ceildivui
Reactant.MLIR.Dialects.arith.cmpf
Reactant.MLIR.Dialects.arith.cmpi
Reactant.MLIR.Dialects.arith.constant
Reactant.MLIR.Dialects.arith.divf
Reactant.MLIR.Dialects.arith.divsi
Reactant.MLIR.Dialects.arith.divui
Reactant.MLIR.Dialects.arith.extf
Reactant.MLIR.Dialects.arith.extsi
Reactant.MLIR.Dialects.arith.extui
Reactant.MLIR.Dialects.arith.floordivsi
Reactant.MLIR.Dialects.arith.fptosi
Reactant.MLIR.Dialects.arith.fptoui
Reactant.MLIR.Dialects.arith.index_cast
Reactant.MLIR.Dialects.arith.index_castui
Reactant.MLIR.Dialects.arith.maximumf
Reactant.MLIR.Dialects.arith.maxnumf
Reactant.MLIR.Dialects.arith.maxsi
Reactant.MLIR.Dialects.arith.maxui
Reactant.MLIR.Dialects.arith.minimumf
Reactant.MLIR.Dialects.arith.minnumf
Reactant.MLIR.Dialects.arith.minsi
Reactant.MLIR.Dialects.arith.minui
Reactant.MLIR.Dialects.arith.mulf
Reactant.MLIR.Dialects.arith.muli
Reactant.MLIR.Dialects.arith.mulsi_extended
Reactant.MLIR.Dialects.arith.mului_extended
Reactant.MLIR.Dialects.arith.negf
Reactant.MLIR.Dialects.arith.ori
Reactant.MLIR.Dialects.arith.remf
Reactant.MLIR.Dialects.arith.remsi
Reactant.MLIR.Dialects.arith.remui
Reactant.MLIR.Dialects.arith.select
Reactant.MLIR.Dialects.arith.shli
Reactant.MLIR.Dialects.arith.shrsi
Reactant.MLIR.Dialects.arith.shrui
Reactant.MLIR.Dialects.arith.sitofp
Reactant.MLIR.Dialects.arith.subf
Reactant.MLIR.Dialects.arith.subi
Reactant.MLIR.Dialects.arith.truncf
Reactant.MLIR.Dialects.arith.trunci
Reactant.MLIR.Dialects.arith.uitofp
Reactant.MLIR.Dialects.arith.xori
Reactant.MLIR.Dialects.func.call
Reactant.MLIR.Dialects.func.call_indirect
Reactant.MLIR.Dialects.func.constant
Reactant.MLIR.Dialects.func.func_
Reactant.MLIR.Dialects.func.return_
Reactant.MLIR.Dialects.affine.apply
Reactant.MLIR.Dialects.affine.delinearize_index
Reactant.MLIR.Dialects.affine.for_
Reactant.MLIR.Dialects.affine.if_
Reactant.MLIR.Dialects.affine.load
Reactant.MLIR.Dialects.affine.max
Reactant.MLIR.Dialects.affine.min
Reactant.MLIR.Dialects.affine.parallel
Reactant.MLIR.Dialects.affine.prefetch
Reactant.MLIR.Dialects.affine.store
Reactant.MLIR.Dialects.affine.vector_load
Reactant.MLIR.Dialects.affine.vector_store
Reactant.MLIR.Dialects.affine.yield
Reactant.MLIR.Dialects.builtin.module_
Reactant.MLIR.Dialects.builtin.unrealized_conversion_cast
Documentation
Reactant.@code_hlo
— Macro@code_hlo [optimize = ...] f(args...)
sourceReactant.MLIR.API.LLVMAttributeRef
— TypeUsed to represent an attributes.
See also
llvm::Attribute
sourceReactant.MLIR.API.LLVMBasicBlockRef
— TypeRepresents a basic block of instructions in LLVM IR.
This models llvm::BasicBlock.
sourceReactant.MLIR.API.LLVMBinaryRef
— TypeSee also
llvm::object::Binary
sourceReactant.MLIR.API.LLVMBool
— TypeLLVMCSupportTypes Types and Enumerations
@{
sourceReactant.MLIR.API.LLVMBuilderRef
— TypeRepresents an LLVM basic block builder.
This models llvm::IRBuilder.
sourceReactant.MLIR.API.LLVMComdatRef
— TypeSee also
llvm::Comdat
sourceReactant.MLIR.API.LLVMContextRef
— TypeThe top-level container for all LLVM global data. See the LLVMContext class.
sourceReactant.MLIR.API.LLVMDIBuilderRef
— TypeRepresents an LLVM debug info builder.
This models llvm::DIBuilder.
sourceReactant.MLIR.API.LLVMDbgRecordRef
— TypeSee also
llvm::DbgRecord
sourceReactant.MLIR.API.LLVMDiagnosticInfoRef
— TypeSee also
llvm::DiagnosticInfo
sourceReactant.MLIR.API.LLVMJITEventListenerRef
— TypeSee also
llvm::JITEventListener
sourceReactant.MLIR.API.LLVMMemoryBufferRef
— TypeUsed to pass regions of memory through LLVM interfaces.
See also
llvm::MemoryBuffer
sourceReactant.MLIR.API.LLVMMetadataRef
— TypeRepresents an LLVM Metadata.
This models llvm::Metadata.
sourceReactant.MLIR.API.LLVMModuleFlagEntry
— TypeSee also
llvm::Module::ModuleFlagEntry
sourceReactant.MLIR.API.LLVMModuleProviderRef
— TypeInterface used to provide a module to JIT or interpreter. This is now just a synonym for llvm::Module, but we have to keep using the different type to keep binary compatibility.
sourceReactant.MLIR.API.LLVMModuleRef
— TypeThe top-level container for all other LLVM Intermediate Representation (IR) objects.
See also
llvm::Module
sourceReactant.MLIR.API.LLVMNamedMDNodeRef
— TypeRepresents an LLVM Named Metadata Node.
This models llvm::NamedMDNode.
sourceReactant.MLIR.API.LLVMOperandBundleRef
— TypeSee also
llvm::OperandBundleDef
sourceReactant.MLIR.API.LLVMPassManagerRef
— TypeSee also
llvm::PassManagerBase
sourceReactant.MLIR.API.LLVMTypeRef
— Typesource Reactant.MLIR.API.LLVMUseRef
— TypeUsed to get the users and usees of a Value.
See also
llvm::Use
sourceReactant.MLIR.API.LLVMValueMetadataEntry
— TypeRepresents an entry in a Global Object's metadata attachments.
This models std::pair<unsigned, MDNode *>
sourceReactant.MLIR.API.LLVMValueRef
— TypeRepresents an individual value in LLVM IR.
This models llvm::Value.
sourceReactant.MLIR.API.MlirDiagnostic
— TypeMlirDiagnostic
An opaque reference to a diagnostic, always owned by the diagnostics engine (context). Must not be stored outside of the diagnostic handler.
sourceReactant.MLIR.API.MlirDiagnosticHandler
— TypeDiagnostic handler type. Accepts a reference to a diagnostic, which is only guaranteed to be live during the call. The handler is passed the userData
that was provided when the handler was attached to a context. If the handler processed the diagnostic completely, it is expected to return success. Otherwise, it is expected to return failure to indicate that other handlers should attempt to process the diagnostic.
sourceReactant.MLIR.API.MlirDiagnosticHandlerID
— TypeOpaque identifier of a diagnostic handler, useful to detach a handler.
sourceReactant.MLIR.API.MlirDiagnosticSeverity
— TypeMlirDiagnosticSeverity
Severity of a diagnostic.
sourceReactant.MLIR.API.MlirExternalPassCallbacks
— TypeMlirExternalPassCallbacks
Structure of external MlirPass
callbacks. All callbacks are required to be set unless otherwise specified.
Field Note construct This callback is called from the pass is created. This is analogous to a C++ pass constructor. destruct This callback is called when the pass is destroyed This is analogous to a C++ pass destructor. initialize This callback is optional. The callback is called before the pass is run, allowing a chance to initialize any complex state necessary for running the pass. See Pass::initialize(MLIRContext *). clone This callback is called when the pass is cloned. See Pass::clonePass(). run This callback is called when the pass is run. See Pass::runOnOperation().
sourceReactant.MLIR.API.MlirLlvmThreadPool
— TypeMlirLlvmThreadPool
Re-export llvm::ThreadPool so as to avoid including the LLVM C API directly.
sourceReactant.MLIR.API.MlirLogicalResult
— TypeMlirLogicalResult
A logical result value, essentially a boolean with named states. LLVM convention for using boolean values to designate success or failure of an operation is a moving target, so MLIR opted for an explicit class. Instances of MlirLogicalResult
must only be inspected using the associated functions.
sourceReactant.MLIR.API.MlirNamedAttribute
— TypeMlirNamedAttribute
Named MLIR attribute.
A named attribute is essentially a (name, attribute) pair where the name is a string.
sourceReactant.MLIR.API.MlirOperationState
— TypeMlirOperationState
An auxiliary class for constructing operations.
This class contains all the information necessary to construct the operation. It owns the MlirRegions it has pointers to and does not own anything else. By default, the state can be constructed from a name and location, the latter being also used to access the context, and has no other components. These components can be added progressively until the operation is constructed. Users are not expected to rely on the internals of this class and should use mlirOperationState* functions instead.
sourceReactant.MLIR.API.MlirOperationWalkCallback
— TypeOperation walker type. The handler is passed an (opaque) reference to an operation and a pointer to a userData
.
sourceReactant.MLIR.API.MlirShapedTypeComponentsCallback
— TypeThese callbacks are used to return multiple shaped type components from functions while transferring ownership to the caller. The first argument is the has rank boolean followed by the the rank and a pointer to the shape (if applicable). The next argument is the element type, then the attribute. The last argument is an opaque pointer forwarded to the callback by the caller. This callback will be called potentially multiple times for each shaped type components.
sourceReactant.MLIR.API.MlirSparseTensorLevelType
— TypeDimension level types (and properties) that define sparse tensors. See the documentation in SparseTensorAttrDefs.td for their meaning.
These correspond to SparseTensorEncodingAttr::LevelType in the C++ API. If updating, keep them in sync and update the static_assert in the impl file.
sourceReactant.MLIR.API.MlirStringCallback
— TypeA callback for returning string references.
This function is called back by the functions that need to return a reference to the portion of the string with the following arguments: - an MlirStringRef
representing the current portion of the string - a pointer to user data forwarded from the printing call.
sourceReactant.MLIR.API.MlirStringRef
— TypeMlirStringRef
A pointer to a sized fragment of a string, not necessarily null-terminated. Does not own the underlying string. This is equivalent to llvm::StringRef.
Field Note data Pointer to the first symbol. length Length of the fragment.
sourceReactant.MLIR.API.MlirTypesCallback
— TypeThese callbacks are used to return multiple types from functions while transferring ownership to the caller. The first argument is the number of consecutive elements pointed to by the second argument. The third argument is an opaque pointer forwarded to the callback by the caller.
sourceReactant.MLIR.API.MlirWalkOrder
— TypeMlirWalkOrder
Traversal order for operation walk.
sourceReactant.MLIR.API.LLVMAddSymbol
— MethodLLVMAddSymbol(symbolName, symbolValue)
This functions permanently adds the symbol symbolName
with the value symbolValue
. These symbols are searched before any libraries.
See also
sys::DynamicLibrary::AddSymbol()
sourceReactant.MLIR.API.LLVMLoadLibraryPermanently
— MethodLLVMLoadLibraryPermanently(Filename)
This function permanently loads the dynamic library at the given path. It is safe to call this function multiple times for the same library.
See also
sys::DynamicLibrary::LoadLibraryPermanently()
sourceReactant.MLIR.API.LLVMParseCommandLineOptions
— MethodLLVMParseCommandLineOptions(argc, argv, Overview)
This function parses the given arguments using the LLVM command line parser. Note that the only stable thing about this function is its signature; you cannot rely on any particular set of command line arguments being interpreted the same way across LLVM versions.
See also
llvm::cl::ParseCommandLineOptions()
sourceReactant.MLIR.API.LLVMSearchForAddressOfSymbol
— MethodLLVMSearchForAddressOfSymbol(symbolName)
This function will search through all previously loaded dynamic libraries for the symbol symbolName
. If it is found, the address of that symbol is returned. If not, null is returned.
See also
sys::DynamicLibrary::SearchForAddressOfSymbol()
sourceReactant.MLIR.API.mlirAffineAddExprGet
— MethodmlirAffineAddExprGet(lhs, rhs)
Creates an affine add expression with 'lhs' and 'rhs'.
sourceReactant.MLIR.API.mlirAffineBinaryOpExprGetLHS
— MethodmlirAffineBinaryOpExprGetLHS(affineExpr)
Returns the left hand side affine expression of the given affine binary operation expression.
sourceReactant.MLIR.API.mlirAffineBinaryOpExprGetRHS
— MethodmlirAffineBinaryOpExprGetRHS(affineExpr)
Returns the right hand side affine expression of the given affine binary operation expression.
sourceReactant.MLIR.API.mlirAffineCeilDivExprGet
— MethodmlirAffineCeilDivExprGet(lhs, rhs)
Creates an affine ceildiv expression with 'lhs' and 'rhs'.
sourceReactant.MLIR.API.mlirAffineConstantExprGet
— MethodmlirAffineConstantExprGet(ctx, constant)
Creates an affine constant expression with 'constant' in the context.
sourceReactant.MLIR.API.mlirAffineConstantExprGetValue
— MethodmlirAffineConstantExprGetValue(affineExpr)
Returns the value of the given affine constant expression.
sourceReactant.MLIR.API.mlirAffineDimExprGet
— MethodmlirAffineDimExprGet(ctx, position)
Creates an affine dimension expression with 'position' in the context.
sourceReactant.MLIR.API.mlirAffineDimExprGetPosition
— MethodmlirAffineDimExprGetPosition(affineExpr)
Returns the position of the given affine dimension expression.
sourceReactant.MLIR.API.mlirAffineExprCompose
— MethodmlirAffineExprCompose(affineExpr, affineMap)
Composes the given map with the given expression.
sourceReactant.MLIR.API.mlirAffineExprDump
— MethodmlirAffineExprDump(affineExpr)
Prints the affine expression to the standard error stream.
sourceReactant.MLIR.API.mlirAffineExprEqual
— MethodmlirAffineExprEqual(lhs, rhs)
Returns true
if the two affine expressions are equal.
sourceReactant.MLIR.API.mlirAffineExprGetContext
— MethodmlirAffineExprGetContext(affineExpr)
Gets the context that owns the affine expression.
sourceReactant.MLIR.API.mlirAffineExprGetLargestKnownDivisor
— MethodmlirAffineExprGetLargestKnownDivisor(affineExpr)
Returns the greatest known integral divisor of this affine expression. The result is always positive.
sourceReactant.MLIR.API.mlirAffineExprIsAAdd
— MethodmlirAffineExprIsAAdd(affineExpr)
Checks whether the given affine expression is an add expression.
sourceReactant.MLIR.API.mlirAffineExprIsABinary
— MethodmlirAffineExprIsABinary(affineExpr)
Checks whether the given affine expression is binary.
sourceReactant.MLIR.API.mlirAffineExprIsACeilDiv
— MethodmlirAffineExprIsACeilDiv(affineExpr)
Checks whether the given affine expression is an ceildiv expression.
sourceReactant.MLIR.API.mlirAffineExprIsAConstant
— MethodmlirAffineExprIsAConstant(affineExpr)
Checks whether the given affine expression is a constant expression.
sourceReactant.MLIR.API.mlirAffineExprIsADim
— MethodmlirAffineExprIsADim(affineExpr)
Checks whether the given affine expression is a dimension expression.
sourceReactant.MLIR.API.mlirAffineExprIsAFloorDiv
— MethodmlirAffineExprIsAFloorDiv(affineExpr)
Checks whether the given affine expression is an floordiv expression.
sourceReactant.MLIR.API.mlirAffineExprIsAMod
— MethodmlirAffineExprIsAMod(affineExpr)
Checks whether the given affine expression is an mod expression.
sourceReactant.MLIR.API.mlirAffineExprIsAMul
— MethodmlirAffineExprIsAMul(affineExpr)
Checks whether the given affine expression is an mul expression.
sourceReactant.MLIR.API.mlirAffineExprIsASymbol
— MethodmlirAffineExprIsASymbol(affineExpr)
Checks whether the given affine expression is a symbol expression.
sourceReactant.MLIR.API.mlirAffineExprIsFunctionOfDim
— MethodmlirAffineExprIsFunctionOfDim(affineExpr, position)
Checks whether the given affine expression involves AffineDimExpr 'position'.
sourceReactant.MLIR.API.mlirAffineExprIsMultipleOf
— MethodmlirAffineExprIsMultipleOf(affineExpr, factor)
Checks whether the given affine expression is a multiple of 'factor'.
sourceReactant.MLIR.API.mlirAffineExprIsNull
— MethodmlirAffineExprIsNull(affineExpr)
Returns true
if the given affine expression is a null expression. Note constant zero is not a null expression.
sourceReactant.MLIR.API.mlirAffineExprIsPureAffine
— MethodmlirAffineExprIsPureAffine(affineExpr)
Checks whether the given affine expression is a pure affine expression, i.e. mul, floordiv, ceildic, and mod is only allowed w.r.t constants.
sourceReactant.MLIR.API.mlirAffineExprIsSymbolicOrConstant
— MethodmlirAffineExprIsSymbolicOrConstant(affineExpr)
Checks whether the given affine expression is made out of only symbols and constants.
sourceReactant.MLIR.API.mlirAffineExprPrint
— MethodmlirAffineExprPrint(affineExpr, callback, userData)
Prints an affine expression by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirAffineFloorDivExprGet
— MethodmlirAffineFloorDivExprGet(lhs, rhs)
Creates an affine floordiv expression with 'lhs' and 'rhs'.
sourceReactant.MLIR.API.mlirAffineMapAttrGet
— MethodmlirAffineMapAttrGet(map)
Creates an affine map attribute wrapping the given map. The attribute belongs to the same context as the affine map.
sourceReactant.MLIR.API.mlirAffineMapAttrGetTypeID
— MethodmlirAffineMapAttrGetTypeID()
Returns the typeID of an AffineMap attribute.
sourceReactant.MLIR.API.mlirAffineMapAttrGetValue
— MethodmlirAffineMapAttrGetValue(attr)
Returns the affine map wrapped in the given affine map attribute.
sourceReactant.MLIR.API.mlirAffineMapCompressUnusedSymbols
— MethodmlirAffineMapCompressUnusedSymbols(affineMaps, size, result, populateResult)
Returns the simplified affine map resulting from dropping the symbols that do not appear in any of the individual maps in affineMaps
. Asserts that all maps in affineMaps
are normalized to the same number of dims and symbols. Takes a callback populateResult
to fill the res
container with value m
at entry idx
. This allows returning without worrying about ownership considerations.
sourceReactant.MLIR.API.mlirAffineMapConstantGet
— MethodmlirAffineMapConstantGet(ctx, val)
Creates a single constant result affine map in the context. The affine map is owned by the context.
sourceReactant.MLIR.API.mlirAffineMapDump
— MethodmlirAffineMapDump(affineMap)
Prints the affine map to the standard error stream.
sourceReactant.MLIR.API.mlirAffineMapEmptyGet
— MethodmlirAffineMapEmptyGet(ctx)
Creates a zero result affine map with no dimensions or symbols in the context. The affine map is owned by the context.
sourceReactant.MLIR.API.mlirAffineMapEqual
— MethodmlirAffineMapEqual(a1, a2)
Checks if two affine maps are equal.
sourceReactant.MLIR.API.mlirAffineMapGet
— MethodmlirAffineMapGet(ctx, dimCount, symbolCount, nAffineExprs, affineExprs)
Creates an affine map with results defined by the given list of affine expressions. The map resulting map also has the requested number of input dimensions and symbols, regardless of them being used in the results.
sourceReactant.MLIR.API.mlirAffineMapGetContext
— MethodmlirAffineMapGetContext(affineMap)
Gets the context that the given affine map was created with
sourceReactant.MLIR.API.mlirAffineMapGetMajorSubMap
— MethodmlirAffineMapGetMajorSubMap(affineMap, numResults)
Returns the affine map consisting of the most major numResults
results. Returns the null AffineMap if the numResults
is equal to zero. Returns the affineMap
if numResults
is greater or equals to number of results of the given affine map.
sourceReactant.MLIR.API.mlirAffineMapGetMinorSubMap
— MethodmlirAffineMapGetMinorSubMap(affineMap, numResults)
Returns the affine map consisting of the most minor numResults
results. Returns the null AffineMap if the numResults
is equal to zero. Returns the affineMap
if numResults
is greater or equals to number of results of the given affine map.
sourceReactant.MLIR.API.mlirAffineMapGetNumDims
— MethodmlirAffineMapGetNumDims(affineMap)
Returns the number of dimensions of the given affine map.
sourceReactant.MLIR.API.mlirAffineMapGetNumInputs
— MethodmlirAffineMapGetNumInputs(affineMap)
Returns the number of inputs (dimensions + symbols) of the given affine map.
sourceReactant.MLIR.API.mlirAffineMapGetNumResults
— MethodmlirAffineMapGetNumResults(affineMap)
Returns the number of results of the given affine map.
sourceReactant.MLIR.API.mlirAffineMapGetNumSymbols
— MethodmlirAffineMapGetNumSymbols(affineMap)
Returns the number of symbols of the given affine map.
sourceReactant.MLIR.API.mlirAffineMapGetResult
— MethodmlirAffineMapGetResult(affineMap, pos)
Returns the result at the given position.
sourceReactant.MLIR.API.mlirAffineMapGetSingleConstantResult
— MethodmlirAffineMapGetSingleConstantResult(affineMap)
Returns the constant result of the given affine map. The function asserts that the map has a single constant result.
sourceReactant.MLIR.API.mlirAffineMapGetSubMap
— MethodmlirAffineMapGetSubMap(affineMap, size, resultPos)
Returns the affine map consisting of the resultPos
subset.
sourceReactant.MLIR.API.mlirAffineMapIsEmpty
— MethodmlirAffineMapIsEmpty(affineMap)
Checks whether the given affine map is an empty affine map.
sourceReactant.MLIR.API.mlirAffineMapIsIdentity
— MethodmlirAffineMapIsIdentity(affineMap)
Checks whether the given affine map is an identity affine map. The function asserts that the number of dimensions is greater or equal to the number of results.
sourceReactant.MLIR.API.mlirAffineMapIsMinorIdentity
— MethodmlirAffineMapIsMinorIdentity(affineMap)
Checks whether the given affine map is a minor identity affine map.
sourceReactant.MLIR.API.mlirAffineMapIsNull
— MethodmlirAffineMapIsNull(affineMap)
Checks whether an affine map is null.
sourceReactant.MLIR.API.mlirAffineMapIsPermutation
— MethodmlirAffineMapIsPermutation(affineMap)
Checks whether the given affine map represents a symbol-less permutation map.
sourceReactant.MLIR.API.mlirAffineMapIsProjectedPermutation
— MethodmlirAffineMapIsProjectedPermutation(affineMap)
Checks whether the given affine map represents a subset of a symbol-less permutation map.
sourceReactant.MLIR.API.mlirAffineMapIsSingleConstant
— MethodmlirAffineMapIsSingleConstant(affineMap)
Checks whether the given affine map is a single result constant affine map.
sourceReactant.MLIR.API.mlirAffineMapMinorIdentityGet
— MethodmlirAffineMapMinorIdentityGet(ctx, dims, results)
Creates an identity affine map on the most minor dimensions in the context. The affine map is owned by the context. The function asserts that the number of dimensions is greater or equal to the number of results.
sourceReactant.MLIR.API.mlirAffineMapMultiDimIdentityGet
— MethodmlirAffineMapMultiDimIdentityGet(ctx, numDims)
Creates an affine map with 'numDims' identity in the context. The affine map is owned by the context.
sourceReactant.MLIR.API.mlirAffineMapPermutationGet
— MethodmlirAffineMapPermutationGet(ctx, size, permutation)
Creates an affine map with a permutation expression and its size in the context. The permutation expression is a non-empty vector of integers. The elements of the permutation vector must be continuous from 0 and cannot be repeated (i.e. [1,2,0]
is a valid permutation. [2,0]
or [1,1,2]
is an invalid permutation.) The affine map is owned by the context.
sourceReactant.MLIR.API.mlirAffineMapPrint
— MethodmlirAffineMapPrint(affineMap, callback, userData)
Prints an affine map by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirAffineMapReplace
— MethodmlirAffineMapReplace(affineMap, expression, replacement, numResultDims, numResultSyms)
Apply AffineExpr::replace(map
) to each of the results and return a new new AffineMap with the new results and the specified number of dims and symbols.
sourceReactant.MLIR.API.mlirAffineMapZeroResultGet
— MethodmlirAffineMapZeroResultGet(ctx, dimCount, symbolCount)
Creates a zero result affine map of the given dimensions and symbols in the context. The affine map is owned by the context.
sourceReactant.MLIR.API.mlirAffineModExprGet
— MethodmlirAffineModExprGet(lhs, rhs)
Creates an affine mod expression with 'lhs' and 'rhs'.
sourceReactant.MLIR.API.mlirAffineMulExprGet
— MethodmlirAffineMulExprGet(lhs, rhs)
Creates an affine mul expression with 'lhs' and 'rhs'.
sourceReactant.MLIR.API.mlirAffineSymbolExprGet
— MethodmlirAffineSymbolExprGet(ctx, position)
Creates an affine symbol expression with 'position' in the context.
sourceReactant.MLIR.API.mlirAffineSymbolExprGetPosition
— MethodmlirAffineSymbolExprGetPosition(affineExpr)
Returns the position of the given affine symbol expression.
sourceReactant.MLIR.API.mlirAnyQuantizedTypeGet
— MethodmlirAnyQuantizedTypeGet(flags, storageType, expressedType, storageTypeMin, storageTypeMax)
Creates an instance of AnyQuantizedType with the given parameters in the same context as storageType
and returns it. The instance is owned by the context.
sourceReactant.MLIR.API.mlirArrayAttrGet
— MethodmlirArrayAttrGet(ctx, numElements, elements)
Creates an array element containing the given list of elements in the given context.
sourceReactant.MLIR.API.mlirArrayAttrGetElement
— MethodmlirArrayAttrGetElement(attr, pos)
Returns pos-th element stored in the given array attribute.
sourceReactant.MLIR.API.mlirArrayAttrGetNumElements
— MethodmlirArrayAttrGetNumElements(attr)
Returns the number of elements stored in the given array attribute.
sourceReactant.MLIR.API.mlirArrayAttrGetTypeID
— MethodmlirArrayAttrGetTypeID()
Returns the typeID of an Array attribute.
sourceReactant.MLIR.API.mlirAsmStateCreateForOperation
— MethodmlirAsmStateCreateForOperation(op, flags)
Creates new AsmState, as with AsmState the IR should not be mutated in-between using this state. Must be freed with a call to mlirAsmStateDestroy
().
sourceReactant.MLIR.API.mlirAsmStateCreateForValue
— MethodmlirAsmStateCreateForValue(value, flags)
Creates new AsmState from value. Must be freed with a call to mlirAsmStateDestroy
().
sourceReactant.MLIR.API.mlirAsmStateDestroy
— MethodmlirAsmStateDestroy(state)
Destroys printing flags created with mlirAsmStateCreate.
sourceReactant.MLIR.API.mlirAttributeDump
— MethodmlirAttributeDump(attr)
Prints the attribute to the standard error stream.
sourceReactant.MLIR.API.mlirAttributeEqual
— MethodmlirAttributeEqual(a1, a2)
Checks if two attributes are equal.
sourceReactant.MLIR.API.mlirAttributeGetContext
— MethodmlirAttributeGetContext(attribute)
Gets the context that an attribute was created with.
sourceReactant.MLIR.API.mlirAttributeGetDialect
— MethodmlirAttributeGetDialect(attribute)
Gets the dialect of the attribute.
sourceReactant.MLIR.API.mlirAttributeGetNull
— MethodmlirAttributeGetNull()
Returns an empty attribute.
sourceReactant.MLIR.API.mlirAttributeGetType
— MethodmlirAttributeGetType(attribute)
Gets the type of this attribute.
sourceReactant.MLIR.API.mlirAttributeGetTypeID
— MethodmlirAttributeGetTypeID(attribute)
Gets the type id of the attribute.
sourceReactant.MLIR.API.mlirAttributeIsAAffineMap
— MethodmlirAttributeIsAAffineMap(attr)
Checks whether the given attribute is an affine map attribute.
sourceReactant.MLIR.API.mlirAttributeIsAArray
— MethodmlirAttributeIsAArray(attr)
Checks whether the given attribute is an array attribute.
sourceReactant.MLIR.API.mlirAttributeIsABool
— MethodmlirAttributeIsABool(attr)
Checks whether the given attribute is a bool attribute.
sourceReactant.MLIR.API.mlirAttributeIsADenseBoolArray
— MethodmlirAttributeIsADenseBoolArray(attr)
Checks whether the given attribute is a dense array attribute.
sourceReactant.MLIR.API.mlirAttributeIsADenseElements
— MethodmlirAttributeIsADenseElements(attr)
Checks whether the given attribute is a dense elements attribute.
sourceReactant.MLIR.API.mlirAttributeIsADictionary
— MethodmlirAttributeIsADictionary(attr)
Checks whether the given attribute is a dictionary attribute.
sourceReactant.MLIR.API.mlirAttributeIsAElements
— MethodmlirAttributeIsAElements(attr)
Checks whether the given attribute is an elements attribute.
sourceReactant.MLIR.API.mlirAttributeIsAFlatSymbolRef
— MethodmlirAttributeIsAFlatSymbolRef(attr)
Checks whether the given attribute is a flat symbol reference attribute.
sourceReactant.MLIR.API.mlirAttributeIsAFloat
— MethodmlirAttributeIsAFloat(attr)
Checks whether the given attribute is a floating point attribute.
sourceReactant.MLIR.API.mlirAttributeIsAInteger
— MethodmlirAttributeIsAInteger(attr)
Checks whether the given attribute is an integer attribute.
sourceReactant.MLIR.API.mlirAttributeIsAIntegerSet
— MethodmlirAttributeIsAIntegerSet(attr)
Checks whether the given attribute is an integer set attribute.
sourceReactant.MLIR.API.mlirAttributeIsAOpaque
— MethodmlirAttributeIsAOpaque(attr)
Checks whether the given attribute is an opaque attribute.
sourceReactant.MLIR.API.mlirAttributeIsASparseElements
— MethodmlirAttributeIsASparseElements(attr)
Checks whether the given attribute is a sparse elements attribute.
sourceReactant.MLIR.API.mlirAttributeIsASparseTensorEncodingAttr
— MethodmlirAttributeIsASparseTensorEncodingAttr(attr)
Checks whether the given attribute is a sparse\_tensor.encoding
attribute.
sourceReactant.MLIR.API.mlirAttributeIsAString
— MethodmlirAttributeIsAString(attr)
Checks whether the given attribute is a string attribute.
sourceReactant.MLIR.API.mlirAttributeIsASymbolRef
— MethodmlirAttributeIsASymbolRef(attr)
Checks whether the given attribute is a symbol reference attribute.
sourceReactant.MLIR.API.mlirAttributeIsAType
— MethodmlirAttributeIsAType(attr)
Checks whether the given attribute is a type attribute.
sourceReactant.MLIR.API.mlirAttributeIsAUnit
— MethodmlirAttributeIsAUnit(attr)
Checks whether the given attribute is a unit attribute.
sourceReactant.MLIR.API.mlirAttributeIsNull
— MethodmlirAttributeIsNull(attr)
Checks whether an attribute is null.
sourceReactant.MLIR.API.mlirAttributeParseGet
— MethodmlirAttributeParseGet(context, attr)
Parses an attribute. The attribute is owned by the context.
sourceReactant.MLIR.API.mlirAttributePrint
— MethodmlirAttributePrint(attr, callback, userData)
Prints an attribute by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirBF16TypeGet
— MethodmlirBF16TypeGet(ctx)
Creates a bf16 type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirBFloat16TypeGetTypeID
— MethodmlirBFloat16TypeGetTypeID()
Returns the typeID of an BFloat16 type.
sourceReactant.MLIR.API.mlirBlockAddArgument
— MethodmlirBlockAddArgument(block, type, loc)
Appends an argument of the specified type to the block. Returns the newly added argument.
sourceReactant.MLIR.API.mlirBlockAppendOwnedOperation
— MethodmlirBlockAppendOwnedOperation(block, operation)
Takes an operation owned by the caller and appends it to the block.
sourceReactant.MLIR.API.mlirBlockArgumentGetArgNumber
— MethodmlirBlockArgumentGetArgNumber(value)
Returns the position of the value in the argument list of its block.
sourceReactant.MLIR.API.mlirBlockArgumentGetOwner
— MethodmlirBlockArgumentGetOwner(value)
Returns the block in which this value is defined as an argument. Asserts if the value is not a block argument.
sourceReactant.MLIR.API.mlirBlockArgumentSetType
— MethodmlirBlockArgumentSetType(value, type)
Sets the type of the block argument to the given type.
sourceReactant.MLIR.API.mlirBlockCreate
— MethodmlirBlockCreate(nArgs, args, locs)
Creates a new empty block with the given argument types and transfers ownership to the caller.
sourceReactant.MLIR.API.mlirBlockDestroy
— MethodmlirBlockDestroy(block)
Takes a block owned by the caller and destroys it.
sourceReactant.MLIR.API.mlirBlockDetach
— MethodmlirBlockDetach(block)
Detach a block from the owning region and assume ownership.
sourceReactant.MLIR.API.mlirBlockEqual
— MethodmlirBlockEqual(block, other)
Checks whether two blocks handles point to the same block. This does not perform deep comparison.
sourceReactant.MLIR.API.mlirBlockGetArgument
— MethodmlirBlockGetArgument(block, pos)
Returns pos
-th argument of the block.
sourceReactant.MLIR.API.mlirBlockGetFirstOperation
— MethodmlirBlockGetFirstOperation(block)
Returns the first operation in the block.
sourceReactant.MLIR.API.mlirBlockGetNextInRegion
— MethodmlirBlockGetNextInRegion(block)
Returns the block immediately following the given block in its parent region.
sourceReactant.MLIR.API.mlirBlockGetNumArguments
— MethodmlirBlockGetNumArguments(block)
Returns the number of arguments of the block.
sourceReactant.MLIR.API.mlirBlockGetParentOperation
— MethodmlirBlockGetParentOperation(arg1)
Returns the closest surrounding operation that contains this block.
sourceReactant.MLIR.API.mlirBlockGetParentRegion
— MethodmlirBlockGetParentRegion(block)
Returns the region that contains this block.
sourceReactant.MLIR.API.mlirBlockGetTerminator
— MethodmlirBlockGetTerminator(block)
Returns the terminator operation in the block or null if no terminator.
sourceReactant.MLIR.API.mlirBlockInsertArgument
— MethodmlirBlockInsertArgument(block, pos, type, loc)
Inserts an argument of the specified type at a specified index to the block. Returns the newly added argument.
sourceReactant.MLIR.API.mlirBlockInsertOwnedOperation
— MethodmlirBlockInsertOwnedOperation(block, pos, operation)
Takes an operation owned by the caller and inserts it as pos
to the block. This is an expensive operation that scans the block linearly, prefer insertBefore/After instead.
sourceReactant.MLIR.API.mlirBlockInsertOwnedOperationAfter
— MethodmlirBlockInsertOwnedOperationAfter(block, reference, operation)
Takes an operation owned by the caller and inserts it after the (non-owned) reference operation in the given block. If the reference is null, prepends the operation. Otherwise, the reference must belong to the block.
sourceReactant.MLIR.API.mlirBlockInsertOwnedOperationBefore
— MethodmlirBlockInsertOwnedOperationBefore(block, reference, operation)
Takes an operation owned by the caller and inserts it before the (non-owned) reference operation in the given block. If the reference is null, appends the operation. Otherwise, the reference must belong to the block.
sourceReactant.MLIR.API.mlirBlockIsNull
— MethodmlirBlockIsNull(block)
Checks whether a block is null.
sourceReactant.MLIR.API.mlirBlockPrint
— MethodmlirBlockPrint(block, callback, userData)
Prints a block by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirBoolAttrGet
— MethodmlirBoolAttrGet(ctx, value)
Creates a bool attribute in the given context with the given value.
sourceReactant.MLIR.API.mlirBoolAttrGetValue
— MethodmlirBoolAttrGetValue(attr)
Returns the value stored in the given bool attribute.
sourceReactant.MLIR.API.mlirBytecodeWriterConfigCreate
— MethodmlirBytecodeWriterConfigCreate()
Creates new printing flags with defaults, intended for customization. Must be freed with a call to mlirBytecodeWriterConfigDestroy
().
sourceReactant.MLIR.API.mlirBytecodeWriterConfigDesiredEmitVersion
— MethodmlirBytecodeWriterConfigDesiredEmitVersion(flags, version)
Sets the version to emit in the writer config.
sourceReactant.MLIR.API.mlirBytecodeWriterConfigDestroy
— MethodmlirBytecodeWriterConfigDestroy(config)
Destroys printing flags created with mlirBytecodeWriterConfigCreate
.
sourceReactant.MLIR.API.mlirCalibratedQuantizedTypeGet
— MethodmlirCalibratedQuantizedTypeGet(expressedType, min, max)
Creates an instance of CalibratedQuantizedType with the given parameters in the same context as expressedType
and returns it. The instance is owned by the context.
sourceReactant.MLIR.API.mlirCalibratedQuantizedTypeGetMax
— MethodmlirCalibratedQuantizedTypeGetMax(type)
Returns the max value of the given calibrated quantized type.
sourceReactant.MLIR.API.mlirCalibratedQuantizedTypeGetMin
— MethodmlirCalibratedQuantizedTypeGetMin(type)
Returns the min value of the given calibrated quantized type.
sourceReactant.MLIR.API.mlirComplexTypeGet
— MethodmlirComplexTypeGet(elementType)
Creates a complex type with the given element type in the same context as the element type. The type is owned by the context.
sourceReactant.MLIR.API.mlirComplexTypeGetElementType
— MethodmlirComplexTypeGetElementType(type)
Returns the element type of the given complex type.
sourceReactant.MLIR.API.mlirComplexTypeGetTypeID
— MethodmlirComplexTypeGetTypeID()
Returns the typeID of an Complex type.
sourceReactant.MLIR.API.mlirContextAppendDialectRegistry
— MethodmlirContextAppendDialectRegistry(ctx, registry)
Append the contents of the given dialect registry to the registry associated with the context.
sourceReactant.MLIR.API.mlirContextAttachDiagnosticHandler
— MethodmlirContextAttachDiagnosticHandler(context, handler, userData, deleteUserData)
Attaches the diagnostic handler to the context. Handlers are invoked in the reverse order of attachment until one of them processes the diagnostic completely. When a handler is invoked it is passed the userData
that was provided when it was attached. If non-NULL, deleteUserData
is called once the system no longer needs to call the handler (for instance after the handler is detached or the context is destroyed). Returns an identifier that can be used to detach the handler.
sourceReactant.MLIR.API.mlirContextCreate
— MethodmlirContextCreate()
Creates an MLIR context and transfers its ownership to the caller. This sets the default multithreading option (enabled).
sourceReactant.MLIR.API.mlirContextCreateWithRegistry
— MethodmlirContextCreateWithRegistry(registry, threadingEnabled)
Creates an MLIR context, setting the multithreading setting explicitly and pre-loading the dialects from the provided DialectRegistry.
sourceReactant.MLIR.API.mlirContextCreateWithThreading
— MethodmlirContextCreateWithThreading(threadingEnabled)
Creates an MLIR context with an explicit setting of the multithreading setting and transfers its ownership to the caller.
sourceReactant.MLIR.API.mlirContextDestroy
— MethodmlirContextDestroy(context)
Takes an MLIR context owned by the caller and destroys it.
sourceReactant.MLIR.API.mlirContextDetachDiagnosticHandler
— MethodmlirContextDetachDiagnosticHandler(context, id)
Detaches an attached diagnostic handler from the context given its identifier.
sourceReactant.MLIR.API.mlirContextEnableMultithreading
— MethodmlirContextEnableMultithreading(context, enable)
Set threading mode (must be set to false to mlir-print-ir-after-all).
sourceReactant.MLIR.API.mlirContextEqual
— MethodmlirContextEqual(ctx1, ctx2)
Checks if two contexts are equal.
sourceReactant.MLIR.API.mlirContextGetAllowUnregisteredDialects
— MethodmlirContextGetAllowUnregisteredDialects(context)
Returns whether the context allows unregistered dialects.
sourceReactant.MLIR.API.mlirContextGetNumLoadedDialects
— MethodmlirContextGetNumLoadedDialects(context)
Returns the number of dialects loaded by the context.
sourceReactant.MLIR.API.mlirContextGetNumRegisteredDialects
— MethodmlirContextGetNumRegisteredDialects(context)
Returns the number of dialects registered with the given context. A registered dialect will be loaded if needed by the parser.
sourceReactant.MLIR.API.mlirContextGetOrLoadDialect
— MethodmlirContextGetOrLoadDialect(context, name)
Gets the dialect instance owned by the given context using the dialect namespace to identify it, loads (i.e., constructs the instance of) the dialect if necessary. If the dialect is not registered with the context, returns null. Use mlirContextLoad<Name>Dialect to load an unregistered dialect.
sourceReactant.MLIR.API.mlirContextIsNull
— MethodmlirContextIsNull(context)
Checks whether a context is null.
sourceReactant.MLIR.API.mlirContextIsRegisteredOperation
— MethodmlirContextIsRegisteredOperation(context, name)
Returns whether the given fully-qualified operation (i.e. 'dialect.operation') is registered with the context. This will return true if the dialect is loaded and the operation is registered within the dialect.
sourceReactant.MLIR.API.mlirContextLoadAllAvailableDialects
— MethodmlirContextLoadAllAvailableDialects(context)
Eagerly loads all available dialects registered with a context, making them available for use for IR construction.
sourceReactant.MLIR.API.mlirContextSetAllowUnregisteredDialects
— MethodmlirContextSetAllowUnregisteredDialects(context, allow)
Sets whether unregistered dialects are allowed in this context.
sourceReactant.MLIR.API.mlirContextSetThreadPool
— MethodmlirContextSetThreadPool(context, threadPool)
Sets the thread pool of the context explicitly, enabling multithreading in the process. This API should be used to avoid re-creating thread pools in long-running applications that perform multiple compilations, see the C++ documentation for MLIRContext for details.
sourceReactant.MLIR.API.mlirCreateExternalPass
— MethodmlirCreateExternalPass(passID, name, argument, description, opName, nDependentDialects, dependentDialects, callbacks, userData)
Creates an external MlirPass
that calls the supplied callbacks
using the supplied userData
. If opName
is empty, the pass is a generic operation pass. Otherwise it is an operation pass specific to the specified pass name.
sourceReactant.MLIR.API.mlirDenseArrayGetNumElements
— MethodmlirDenseArrayGetNumElements(attr)
Get the size of a dense array.
sourceReactant.MLIR.API.mlirDenseBoolArrayGet
— MethodmlirDenseBoolArrayGet(ctx, size, values)
Create a dense array attribute with the given elements.
sourceReactant.MLIR.API.mlirDenseBoolArrayGetElement
— MethodmlirDenseBoolArrayGetElement(attr, pos)
Get an element of a dense array.
sourceReactant.MLIR.API.mlirDenseBoolResourceElementsAttrGetValue
— MethodmlirDenseBoolResourceElementsAttrGetValue(attr, pos)
Returns the pos-th value (flat contiguous indexing) of a specific type contained by the given dense resource elements attribute.
sourceReactant.MLIR.API.mlirDenseElementsAttrBoolGet
— MethodmlirDenseElementsAttrBoolGet(shapedType, numElements, elements)
Creates a dense elements attribute with the given shaped type from elements of a specific type. Expects the element type of the shaped type to match the data element type.
sourceReactant.MLIR.API.mlirDenseElementsAttrGet
— MethodmlirDenseElementsAttrGet(shapedType, numElements, elements)
Creates a dense elements attribute with the given Shaped type and elements in the same context as the type.
sourceReactant.MLIR.API.mlirDenseElementsAttrGetBoolValue
— MethodmlirDenseElementsAttrGetBoolValue(attr, pos)
Returns the pos-th value (flat contiguous indexing) of a specific type contained by the given dense elements attribute.
sourceReactant.MLIR.API.mlirDenseElementsAttrGetRawData
— MethodmlirDenseElementsAttrGetRawData(attr)
Returns the raw data of the given dense elements attribute.
sourceReactant.MLIR.API.mlirDenseElementsAttrGetSplatValue
— MethodmlirDenseElementsAttrGetSplatValue(attr)
Returns the single replicated value (splat) of a specific type contained by the given dense elements attribute.
sourceReactant.MLIR.API.mlirDenseElementsAttrIsSplat
— MethodmlirDenseElementsAttrIsSplat(attr)
Checks whether the given dense elements attribute contains a single replicated value (splat).
sourceReactant.MLIR.API.mlirDenseElementsAttrRawBufferGet
— MethodmlirDenseElementsAttrRawBufferGet(shapedType, rawBufferSize, rawBuffer)
Creates a dense elements attribute with the given Shaped type and elements populated from a packed, row-major opaque buffer of contents.
The format of the raw buffer is a densely packed array of values that can be bitcast to the storage format of the element type specified. Types that are not byte aligned will be: - For bitwidth > 1: Rounded up to the next byte. - For bitwidth = 1: Packed into 8bit bytes with bits corresponding to the linear order of the shape type from MSB to LSB, padded to on the right.
A raw buffer of a single element (or for 1-bit, a byte of value 0 or 255) will be interpreted as a splat. User code should be prepared for additional, conformant patterns to be identified as splats in the future.
sourceReactant.MLIR.API.mlirDenseElementsAttrReshapeGet
— MethodmlirDenseElementsAttrReshapeGet(attr, shapedType)
Creates a dense elements attribute that has the same data as the given dense elements attribute and a different shaped type. The new type must have the same total number of elements.
sourceReactant.MLIR.API.mlirDenseElementsAttrSplatGet
— MethodmlirDenseElementsAttrSplatGet(shapedType, element)
Creates a dense elements attribute with the given Shaped type containing a single replicated element (splat).
sourceReactant.MLIR.API.mlirDenseElementsAttrStringGet
— MethodmlirDenseElementsAttrStringGet(shapedType, numElements, strs)
Creates a dense elements attribute with the given shaped type from string elements.
sourceReactant.MLIR.API.mlirDenseIntOrFPElementsAttrGetTypeID
— MethodmlirDenseIntOrFPElementsAttrGetTypeID()
Returns the typeID of an DenseIntOrFPElements attribute.
sourceReactant.MLIR.API.mlirDiagnosticGetLocation
— MethodmlirDiagnosticGetLocation(diagnostic)
Returns the location at which the diagnostic is reported.
sourceReactant.MLIR.API.mlirDiagnosticGetNote
— MethodmlirDiagnosticGetNote(diagnostic, pos)
Returns pos
-th note attached to the diagnostic. Expects pos
to be a valid zero-based index into the list of notes.
sourceReactant.MLIR.API.mlirDiagnosticGetNumNotes
— MethodmlirDiagnosticGetNumNotes(diagnostic)
Returns the number of notes attached to the diagnostic.
sourceReactant.MLIR.API.mlirDiagnosticGetSeverity
— MethodmlirDiagnosticGetSeverity(diagnostic)
Returns the severity of the diagnostic.
sourceReactant.MLIR.API.mlirDiagnosticPrint
— MethodmlirDiagnosticPrint(diagnostic, callback, userData)
Prints a diagnostic using the provided callback.
sourceReactant.MLIR.API.mlirDialectEqual
— MethodmlirDialectEqual(dialect1, dialect2)
Checks if two dialects that belong to the same context are equal. Dialects from different contexts will not compare equal.
sourceReactant.MLIR.API.mlirDialectGetContext
— MethodmlirDialectGetContext(dialect)
Returns the context that owns the dialect.
sourceReactant.MLIR.API.mlirDialectGetNamespace
— MethodmlirDialectGetNamespace(dialect)
Returns the namespace of the given dialect.
sourceReactant.MLIR.API.mlirDialectHandleGetNamespace
— MethodmlirDialectHandleGetNamespace(arg1)
Returns the namespace associated with the provided dialect handle.
sourceReactant.MLIR.API.mlirDialectHandleInsertDialect
— MethodmlirDialectHandleInsertDialect(arg1, arg2)
Inserts the dialect associated with the provided dialect handle into the provided dialect registry
sourceReactant.MLIR.API.mlirDialectHandleLoadDialect
— MethodmlirDialectHandleLoadDialect(arg1, arg2)
Loads the dialect associated with the provided dialect handle.
sourceReactant.MLIR.API.mlirDialectHandleRegisterDialect
— MethodmlirDialectHandleRegisterDialect(arg1, arg2)
Registers the dialect associated with the provided dialect handle.
sourceReactant.MLIR.API.mlirDialectIsNull
— MethodmlirDialectIsNull(dialect)
Checks if the dialect is null.
sourceReactant.MLIR.API.mlirDialectRegistryCreate
— MethodmlirDialectRegistryCreate()
Creates a dialect registry and transfers its ownership to the caller.
sourceReactant.MLIR.API.mlirDialectRegistryDestroy
— MethodmlirDialectRegistryDestroy(registry)
Takes a dialect registry owned by the caller and destroys it.
sourceReactant.MLIR.API.mlirDialectRegistryIsNull
— MethodmlirDialectRegistryIsNull(registry)
Checks if the dialect registry is null.
sourceReactant.MLIR.API.mlirDictionaryAttrGet
— MethodmlirDictionaryAttrGet(ctx, numElements, elements)
Creates a dictionary attribute containing the given list of elements in the provided context.
sourceReactant.MLIR.API.mlirDictionaryAttrGetElement
— MethodmlirDictionaryAttrGetElement(attr, pos)
Returns pos-th element of the given dictionary attribute.
sourceReactant.MLIR.API.mlirDictionaryAttrGetElementByName
— MethodmlirDictionaryAttrGetElementByName(attr, name)
Returns the dictionary attribute element with the given name or NULL if the given name does not exist in the dictionary.
sourceReactant.MLIR.API.mlirDictionaryAttrGetNumElements
— MethodmlirDictionaryAttrGetNumElements(attr)
Returns the number of attributes contained in a dictionary attribute.
sourceReactant.MLIR.API.mlirDictionaryAttrGetTypeID
— MethodmlirDictionaryAttrGetTypeID()
Returns the typeID of a Dictionary attribute.
sourceReactant.MLIR.API.mlirDisctinctAttrCreate
— MethodmlirDisctinctAttrCreate(referencedAttr)
Creates a DisctinctAttr with the referenced attribute.
sourceReactant.MLIR.API.mlirElementsAttrGetNumElements
— MethodmlirElementsAttrGetNumElements(attr)
Gets the total number of elements in the given elements attribute. In order to iterate over the attribute, obtain its type, which must be a statically shaped type and use its sizes to build a multi-dimensional index.
sourceReactant.MLIR.API.mlirElementsAttrGetValue
— MethodmlirElementsAttrGetValue(attr, rank, idxs)
Returns the element at the given rank-dimensional index.
sourceReactant.MLIR.API.mlirElementsAttrIsValidIndex
— MethodmlirElementsAttrIsValidIndex(attr, rank, idxs)
Checks whether the given rank-dimensional index is valid in the given elements attribute.
sourceReactant.MLIR.API.mlirEmitError
— MethodmlirEmitError(location, message)
Emits an error at the given location through the diagnostics engine. Used for testing purposes.
sourceReactant.MLIR.API.mlirEnableGlobalDebug
— MethodmlirEnableGlobalDebug(enable)
Sets the global debugging flag.
sourceReactant.MLIR.API.mlirExecutionEngineCreate
— MethodmlirExecutionEngineCreate(op, optLevel, numPaths, sharedLibPaths, enableObjectDump)
Creates an ExecutionEngine for the provided ModuleOp. The ModuleOp is expected to be "translatable" to LLVM IR (only contains operations in dialects that implement the LLVMTranslationDialectInterface
). The module ownership stays with the client and can be destroyed as soon as the call returns. optLevel
is the optimization level to be used for transformation and code generation. LLVM passes at optLevel
are run before code generation. The number and array of paths corresponding to shared libraries that will be loaded are specified via numPaths
and sharedLibPaths
respectively. TODO: figure out other options.
sourceReactant.MLIR.API.mlirExecutionEngineDestroy
— MethodmlirExecutionEngineDestroy(jit)
Destroy an ExecutionEngine instance.
sourceReactant.MLIR.API.mlirExecutionEngineDumpToObjectFile
— MethodmlirExecutionEngineDumpToObjectFile(jit, fileName)
Dump as an object in fileName
.
sourceReactant.MLIR.API.mlirExecutionEngineInvokePacked
— MethodmlirExecutionEngineInvokePacked(jit, name, arguments)
Invoke a native function in the execution engine by name with the arguments and result of the invoked function passed as an array of pointers. The function must have been tagged with the llvm.emit\_c\_interface
attribute. Returns a failure if the execution fails for any reason (the function name can't be resolved for instance).
sourceReactant.MLIR.API.mlirExecutionEngineIsNull
— MethodmlirExecutionEngineIsNull(jit)
Checks whether an execution engine is null.
sourceReactant.MLIR.API.mlirExecutionEngineLookup
— MethodmlirExecutionEngineLookup(jit, name)
Lookup a native function in the execution engine by name, returns nullptr if the name can't be looked-up.
sourceReactant.MLIR.API.mlirExecutionEngineLookupPacked
— MethodmlirExecutionEngineLookupPacked(jit, name)
Lookup the wrapper of the native function in the execution engine with the given name, returns nullptr if the function can't be looked-up.
sourceReactant.MLIR.API.mlirExecutionEngineRegisterSymbol
— MethodmlirExecutionEngineRegisterSymbol(jit, name, sym)
Register a symbol with the jit: this symbol will be accessible to the jitted code.
sourceReactant.MLIR.API.mlirExternalPassSignalFailure
— MethodmlirExternalPassSignalFailure(pass)
This signals that the pass has failed. This is only valid to call during the run
callback of MlirExternalPassCallbacks
. See Pass::signalPassFailure().
sourceReactant.MLIR.API.mlirF16TypeGet
— MethodmlirF16TypeGet(ctx)
Creates an f16 type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirF32TypeGet
— MethodmlirF32TypeGet(ctx)
Creates an f32 type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirF64TypeGet
— MethodmlirF64TypeGet(ctx)
Creates a f64 type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirFlatSymbolRefAttrGet
— MethodmlirFlatSymbolRefAttrGet(ctx, symbol)
Creates a flat symbol reference attribute in the given context referencing a symbol identified by the given string.
sourceReactant.MLIR.API.mlirFlatSymbolRefAttrGetValue
— MethodmlirFlatSymbolRefAttrGetValue(attr)
Returns the referenced symbol as a string reference. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.API.mlirFloat16TypeGetTypeID
— MethodmlirFloat16TypeGetTypeID()
Returns the typeID of an Float16 type.
sourceReactant.MLIR.API.mlirFloat32TypeGetTypeID
— MethodmlirFloat32TypeGetTypeID()
Returns the typeID of an Float32 type.
sourceReactant.MLIR.API.mlirFloat64TypeGetTypeID
— MethodmlirFloat64TypeGetTypeID()
Returns the typeID of an Float64 type.
sourceReactant.MLIR.API.mlirFloat8E4M3B11FNUZTypeGet
— MethodmlirFloat8E4M3B11FNUZTypeGet(ctx)
Creates an f8E4M3B11FNUZ type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirFloat8E4M3B11FNUZTypeGetTypeID
— MethodmlirFloat8E4M3B11FNUZTypeGetTypeID()
Returns the typeID of an Float8E4M3B11FNUZ type.
sourceReactant.MLIR.API.mlirFloat8E4M3FNTypeGet
— MethodmlirFloat8E4M3FNTypeGet(ctx)
Creates an f8E4M3FN type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirFloat8E4M3FNTypeGetTypeID
— MethodmlirFloat8E4M3FNTypeGetTypeID()
Returns the typeID of an Float8E4M3FN type.
sourceReactant.MLIR.API.mlirFloat8E4M3FNUZTypeGet
— MethodmlirFloat8E4M3FNUZTypeGet(ctx)
Creates an f8E4M3FNUZ type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirFloat8E4M3FNUZTypeGetTypeID
— MethodmlirFloat8E4M3FNUZTypeGetTypeID()
Returns the typeID of an Float8E4M3FNUZ type.
sourceReactant.MLIR.API.mlirFloat8E5M2FNUZTypeGet
— MethodmlirFloat8E5M2FNUZTypeGet(ctx)
Creates an f8E5M2FNUZ type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirFloat8E5M2FNUZTypeGetTypeID
— MethodmlirFloat8E5M2FNUZTypeGetTypeID()
Returns the typeID of an Float8E5M2FNUZ type.
sourceReactant.MLIR.API.mlirFloat8E5M2TypeGet
— MethodmlirFloat8E5M2TypeGet(ctx)
Creates an f8E5M2 type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirFloat8E5M2TypeGetTypeID
— MethodmlirFloat8E5M2TypeGetTypeID()
Returns the typeID of an Float8E5M2 type.
sourceReactant.MLIR.API.mlirFloatAttrDoubleGet
— MethodmlirFloatAttrDoubleGet(ctx, type, value)
Creates a floating point attribute in the given context with the given double value and double-precision FP semantics.
sourceReactant.MLIR.API.mlirFloatAttrDoubleGetChecked
— MethodmlirFloatAttrDoubleGetChecked(loc, type, value)
Same as "mlirFloatAttrDoubleGet
", but if the type is not valid for a construction of a FloatAttr, returns a null MlirAttribute
.
sourceReactant.MLIR.API.mlirFloatAttrGetTypeID
— MethodmlirFloatAttrGetTypeID()
Returns the typeID of a Float attribute.
sourceReactant.MLIR.API.mlirFloatAttrGetValueDouble
— MethodmlirFloatAttrGetValueDouble(attr)
Returns the value stored in the given floating point attribute, interpreting the value as double.
sourceReactant.MLIR.API.mlirFloatTF32TypeGetTypeID
— MethodmlirFloatTF32TypeGetTypeID()
Returns the typeID of a TF32 type.
sourceReactant.MLIR.API.mlirFloatTypeGetWidth
— MethodmlirFloatTypeGetWidth(type)
Returns the bitwidth of a floating-point type.
sourceReactant.MLIR.API.mlirFuncSetArgAttr
— MethodmlirFuncSetArgAttr(op, pos, name, attr)
Sets the argument attribute 'name' of an argument at index 'pos'. Asserts that the operation is a FuncOp.
sourceReactant.MLIR.API.mlirFunctionTypeGet
— MethodmlirFunctionTypeGet(ctx, numInputs, inputs, numResults, results)
Creates a function type, mapping a list of input types to result types.
sourceReactant.MLIR.API.mlirFunctionTypeGetInput
— MethodmlirFunctionTypeGetInput(type, pos)
Returns the pos-th input type.
sourceReactant.MLIR.API.mlirFunctionTypeGetNumInputs
— MethodmlirFunctionTypeGetNumInputs(type)
Returns the number of input types.
sourceReactant.MLIR.API.mlirFunctionTypeGetNumResults
— MethodmlirFunctionTypeGetNumResults(type)
Returns the number of result types.
sourceReactant.MLIR.API.mlirFunctionTypeGetResult
— MethodmlirFunctionTypeGetResult(type, pos)
Returns the pos-th result type.
sourceReactant.MLIR.API.mlirFunctionTypeGetTypeID
— MethodmlirFunctionTypeGetTypeID()
Returns the typeID of an Function type.
sourceReactant.MLIR.API.mlirIdentifierEqual
— MethodmlirIdentifierEqual(ident, other)
Checks whether two identifiers are the same.
sourceReactant.MLIR.API.mlirIdentifierGet
— MethodmlirIdentifierGet(context, str)
Gets an identifier with the given string value.
sourceReactant.MLIR.API.mlirIdentifierGetContext
— MethodmlirIdentifierGetContext(arg1)
Returns the context associated with this identifier
sourceReactant.MLIR.API.mlirIdentifierStr
— MethodmlirIdentifierStr(ident)
Gets the string value of the identifier.
sourceReactant.MLIR.API.mlirIndexTypeGet
— MethodmlirIndexTypeGet(ctx)
Creates an index type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirIndexTypeGetTypeID
— MethodmlirIndexTypeGetTypeID()
Returns the typeID of an Index type.
sourceReactant.MLIR.API.mlirInferShapedTypeOpInterfaceInferReturnTypes
— MethodmlirInferShapedTypeOpInterfaceInferReturnTypes(opName, context, location, nOperands, operands, attributes, properties, nRegions, regions, callback, userData)
Infers the return shaped type components of the operation. Calls callback
with the types of inferred arguments on success. Returns failure otherwise.
sourceReactant.MLIR.API.mlirInferShapedTypeOpInterfaceTypeID
— MethodmlirInferShapedTypeOpInterfaceTypeID()
Returns the interface TypeID of the InferShapedTypeOpInterface.
sourceReactant.MLIR.API.mlirInferTypeOpInterfaceInferReturnTypes
— MethodmlirInferTypeOpInterfaceInferReturnTypes(opName, context, location, nOperands, operands, attributes, properties, nRegions, regions, callback, userData)
Infers the return types of the operation identified by its canonical given the arguments that will be supplied to its generic builder. Calls callback
with the types of inferred arguments, potentially several times, on success. Returns failure otherwise.
sourceReactant.MLIR.API.mlirInferTypeOpInterfaceTypeID
— MethodmlirInferTypeOpInterfaceTypeID()
Returns the interface TypeID of the InferTypeOpInterface.
sourceReactant.MLIR.API.mlirIntegerAttrGet
— MethodmlirIntegerAttrGet(type, value)
Creates an integer attribute of the given type with the given integer value.
sourceReactant.MLIR.API.mlirIntegerAttrGetTypeID
— MethodmlirIntegerAttrGetTypeID()
Returns the typeID of an Integer attribute.
sourceReactant.MLIR.API.mlirIntegerAttrGetValueInt
— MethodmlirIntegerAttrGetValueInt(attr)
Returns the value stored in the given integer attribute, assuming the value is of signless type and fits into a signed 64-bit integer.
sourceReactant.MLIR.API.mlirIntegerAttrGetValueSInt
— MethodmlirIntegerAttrGetValueSInt(attr)
Returns the value stored in the given integer attribute, assuming the value is of signed type and fits into a signed 64-bit integer.
sourceReactant.MLIR.API.mlirIntegerAttrGetValueUInt
— MethodmlirIntegerAttrGetValueUInt(attr)
Returns the value stored in the given integer attribute, assuming the value is of unsigned type and fits into an unsigned 64-bit integer.
sourceReactant.MLIR.API.mlirIntegerSetAttrGetTypeID
— MethodmlirIntegerSetAttrGetTypeID()
Returns the typeID of an IntegerSet attribute.
sourceReactant.MLIR.API.mlirIntegerSetDump
— MethodmlirIntegerSetDump(set)
Prints an integer set to the standard error stream.
sourceReactant.MLIR.API.mlirIntegerSetEmptyGet
— MethodmlirIntegerSetEmptyGet(context, numDims, numSymbols)
Gets or creates a new canonically empty integer set with the give number of dimensions and symbols in the given context.
sourceReactant.MLIR.API.mlirIntegerSetEqual
— MethodmlirIntegerSetEqual(s1, s2)
Checks if two integer set objects are equal. This is a "shallow" comparison of two objects. Only the sets with some small number of constraints are uniqued and compare equal here. Set objects that represent the same integer set with different constraints may be considered non-equal by this check. Set difference followed by an (expensive) emptiness check should be used to check equivalence of the underlying integer sets.
sourceReactant.MLIR.API.mlirIntegerSetGet
— MethodmlirIntegerSetGet(context, numDims, numSymbols, numConstraints, constraints, eqFlags)
Gets or creates a new integer set in the given context. The set is defined by a list of affine constraints, with the given number of input dimensions and symbols, which are treated as either equalities (eqFlags is 1) or inequalities (eqFlags is 0). Both constraints
and eqFlags
are expected to point to at least numConstraint
consecutive values.
sourceReactant.MLIR.API.mlirIntegerSetGetConstraint
— MethodmlirIntegerSetGetConstraint(set, pos)
Returns pos
-th constraint of the set.
sourceReactant.MLIR.API.mlirIntegerSetGetContext
— MethodmlirIntegerSetGetContext(set)
Gets the context in which the given integer set lives.
sourceReactant.MLIR.API.mlirIntegerSetGetNumConstraints
— MethodmlirIntegerSetGetNumConstraints(set)
Returns the number of constraints (equalities + inequalities) in the given set.
sourceReactant.MLIR.API.mlirIntegerSetGetNumDims
— MethodmlirIntegerSetGetNumDims(set)
Returns the number of dimensions in the given set.
sourceReactant.MLIR.API.mlirIntegerSetGetNumEqualities
— MethodmlirIntegerSetGetNumEqualities(set)
Returns the number of equalities in the given set.
sourceReactant.MLIR.API.mlirIntegerSetGetNumInequalities
— MethodmlirIntegerSetGetNumInequalities(set)
Returns the number of inequalities in the given set.
sourceReactant.MLIR.API.mlirIntegerSetGetNumInputs
— MethodmlirIntegerSetGetNumInputs(set)
Returns the number of inputs (dimensions + symbols) in the given set.
sourceReactant.MLIR.API.mlirIntegerSetGetNumSymbols
— MethodmlirIntegerSetGetNumSymbols(set)
Returns the number of symbols in the given set.
sourceReactant.MLIR.API.mlirIntegerSetIsCanonicalEmpty
— MethodmlirIntegerSetIsCanonicalEmpty(set)
Checks whether the given set is a canonical empty set, e.g., the set returned by mlirIntegerSetEmptyGet
.
sourceReactant.MLIR.API.mlirIntegerSetIsConstraintEq
— MethodmlirIntegerSetIsConstraintEq(set, pos)
Returns true
of the pos
-th constraint of the set is an equality constraint, false
otherwise.
sourceReactant.MLIR.API.mlirIntegerSetIsNull
— MethodmlirIntegerSetIsNull(set)
Checks whether an integer set is a null object.
sourceReactant.MLIR.API.mlirIntegerSetPrint
— MethodmlirIntegerSetPrint(set, callback, userData)
Prints an integer set by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirIntegerSetReplaceGet
— MethodmlirIntegerSetReplaceGet(set, dimReplacements, symbolReplacements, numResultDims, numResultSymbols)
Gets or creates a new integer set in which the values and dimensions of the given set are replaced with the given affine expressions. dimReplacements
and symbolReplacements
are expected to point to at least as many consecutive expressions as the given set has dimensions and symbols, respectively. The new set will have numResultDims
and numResultSymbols
dimensions and symbols, respectively.
sourceReactant.MLIR.API.mlirIntegerTypeGet
— MethodmlirIntegerTypeGet(ctx, bitwidth)
Creates a signless integer type of the given bitwidth in the context. The type is owned by the context.
sourceReactant.MLIR.API.mlirIntegerTypeGetTypeID
— MethodmlirIntegerTypeGetTypeID()
Returns the typeID of an Integer type.
sourceReactant.MLIR.API.mlirIntegerTypeGetWidth
— MethodmlirIntegerTypeGetWidth(type)
Returns the bitwidth of an integer type.
sourceReactant.MLIR.API.mlirIntegerTypeIsSigned
— MethodmlirIntegerTypeIsSigned(type)
Checks whether the given integer type is signed.
sourceReactant.MLIR.API.mlirIntegerTypeIsSignless
— MethodmlirIntegerTypeIsSignless(type)
Checks whether the given integer type is signless.
sourceReactant.MLIR.API.mlirIntegerTypeIsUnsigned
— MethodmlirIntegerTypeIsUnsigned(type)
Checks whether the given integer type is unsigned.
sourceReactant.MLIR.API.mlirIntegerTypeSignedGet
— MethodmlirIntegerTypeSignedGet(ctx, bitwidth)
Creates a signed integer type of the given bitwidth in the context. The type is owned by the context.
sourceReactant.MLIR.API.mlirIntegerTypeUnsignedGet
— MethodmlirIntegerTypeUnsignedGet(ctx, bitwidth)
Creates an unsigned integer type of the given bitwidth in the context. The type is owned by the context.
sourceReactant.MLIR.API.mlirIsGlobalDebugEnabled
— MethodmlirIsGlobalDebugEnabled()
Retuns true
if the global debugging flag is set, false otherwise.
sourceReactant.MLIR.API.mlirLLVMArrayTypeGet
— MethodmlirLLVMArrayTypeGet(elementType, numElements)
Creates an llvm.array type.
sourceReactant.MLIR.API.mlirLLVMCConvAttrGet
— MethodmlirLLVMCConvAttrGet(ctx, cconv)
Creates a LLVM CConv attribute.
sourceReactant.MLIR.API.mlirLLVMComdatAttrGet
— MethodmlirLLVMComdatAttrGet(ctx, comdat)
Creates a LLVM Comdat attribute.
sourceReactant.MLIR.API.mlirLLVMDIBasicTypeAttrGet
— MethodmlirLLVMDIBasicTypeAttrGet(ctx, tag, name, sizeInBits, encoding)
Creates a LLVM DIBasicType attribute.
sourceReactant.MLIR.API.mlirLLVMDICompileUnitAttrGet
— MethodmlirLLVMDICompileUnitAttrGet(ctx, id, sourceLanguage, file, producer, isOptimized, emissionKind)
Creates a LLVM DICompileUnit attribute.
sourceReactant.MLIR.API.mlirLLVMDICompositeTypeAttrGet
— MethodmlirLLVMDICompositeTypeAttrGet(ctx, tag, recId, name, file, line, scope, baseType, flags, sizeInBits, alignInBits, nElements, elements)
Creates a LLVM DICompositeType attribute.
sourceReactant.MLIR.API.mlirLLVMDIDerivedTypeAttrGet
— MethodmlirLLVMDIDerivedTypeAttrGet(ctx, tag, name, baseType, sizeInBits, alignInBits, offsetInBits, extraData)
Creates a LLVM DIDerivedType attribute.
sourceReactant.MLIR.API.mlirLLVMDIDerivedTypeAttrGetBaseType
— MethodmlirLLVMDIDerivedTypeAttrGetBaseType(diDerivedType)
Gets the base type from a LLVM DIDerivedType attribute.
sourceReactant.MLIR.API.mlirLLVMDIExpressionAttrGet
— MethodmlirLLVMDIExpressionAttrGet(ctx, nOperations, operations)
Creates a LLVM DIExpression attribute.
sourceReactant.MLIR.API.mlirLLVMDIExpressionElemAttrGet
— MethodmlirLLVMDIExpressionElemAttrGet(ctx, opcode, nArguments, arguments)
Creates a LLVM DIExpressionElem attribute.
sourceReactant.MLIR.API.mlirLLVMDIFileAttrGet
— MethodmlirLLVMDIFileAttrGet(ctx, name, directory)
Creates a LLVM DIFileAttr attribute.
sourceReactant.MLIR.API.mlirLLVMDIFlagsAttrGet
— MethodmlirLLVMDIFlagsAttrGet(ctx, value)
Creates a LLVM DIFlags attribute.
sourceReactant.MLIR.API.mlirLLVMDILexicalBlockAttrGet
— MethodmlirLLVMDILexicalBlockAttrGet(ctx, scope, file, line, column)
Creates a LLVM DILexicalBlock attribute.
sourceReactant.MLIR.API.mlirLLVMDILexicalBlockFileAttrGet
— MethodmlirLLVMDILexicalBlockFileAttrGet(ctx, scope, file, discriminator)
Creates a LLVM DILexicalBlockFile attribute.
sourceReactant.MLIR.API.mlirLLVMDILocalVariableAttrGet
— MethodmlirLLVMDILocalVariableAttrGet(ctx, scope, name, diFile, line, arg, alignInBits, diType)
Creates a LLVM DILocalVariableAttr attribute.
sourceReactant.MLIR.API.mlirLLVMDIModuleAttrGet
— MethodmlirLLVMDIModuleAttrGet(ctx, file, scope, name, configMacros, includePath, apinotes, line, isDecl)
Creates a LLVM DIModuleAttr attribute.
sourceReactant.MLIR.API.mlirLLVMDIModuleAttrGetScope
— MethodmlirLLVMDIModuleAttrGetScope(diModule)
Gets the scope of this DIModuleAttr.
sourceReactant.MLIR.API.mlirLLVMDINullTypeAttrGet
— MethodmlirLLVMDINullTypeAttrGet(ctx)
Creates a LLVM DINullType attribute.
sourceReactant.MLIR.API.mlirLLVMDISubprogramAttrGet
— MethodmlirLLVMDISubprogramAttrGet(ctx, id, compileUnit, scope, name, linkageName, file, line, scopeLine, subprogramFlags, type)
Creates a LLVM DISubprogramAttr attribute.
sourceReactant.MLIR.API.mlirLLVMDISubprogramAttrGetCompileUnit
— MethodmlirLLVMDISubprogramAttrGetCompileUnit(diSubprogram)
Gets the compile unit from this DISubprogram.
sourceReactant.MLIR.API.mlirLLVMDISubprogramAttrGetFile
— MethodmlirLLVMDISubprogramAttrGetFile(diSubprogram)
Gets the file from this DISubprogramAttr.
sourceReactant.MLIR.API.mlirLLVMDISubprogramAttrGetLine
— MethodmlirLLVMDISubprogramAttrGetLine(diSubprogram)
Gets the line from this DISubprogramAttr.
sourceReactant.MLIR.API.mlirLLVMDISubprogramAttrGetScope
— MethodmlirLLVMDISubprogramAttrGetScope(diSubprogram)
Gets the scope from this DISubprogramAttr.
sourceReactant.MLIR.API.mlirLLVMDISubprogramAttrGetScopeLine
— MethodmlirLLVMDISubprogramAttrGetScopeLine(diSubprogram)
Gets the scope line from this DISubprogram.
sourceReactant.MLIR.API.mlirLLVMDISubprogramAttrGetType
— MethodmlirLLVMDISubprogramAttrGetType(diSubprogram)
Gets the type from this DISubprogramAttr.
sourceReactant.MLIR.API.mlirLLVMDISubroutineTypeAttrGet
— MethodmlirLLVMDISubroutineTypeAttrGet(ctx, callingConvention, nTypes, types)
Creates a LLVM DISubroutineTypeAttr attribute.
sourceReactant.MLIR.API.mlirLLVMFunctionTypeGet
— MethodmlirLLVMFunctionTypeGet(resultType, nArgumentTypes, argumentTypes, isVarArg)
Creates an llvm.func type.
sourceReactant.MLIR.API.mlirLLVMLinkageAttrGet
— MethodmlirLLVMLinkageAttrGet(ctx, linkage)
Creates a LLVM Linkage attribute.
sourceReactant.MLIR.API.mlirLLVMPointerTypeGet
— MethodmlirLLVMPointerTypeGet(ctx, addressSpace)
Creates an llvm.ptr type.
sourceReactant.MLIR.API.mlirLLVMStructTypeGetElementType
— MethodmlirLLVMStructTypeGetElementType(type, position)
Returns the positions
-th field of the struct. Asserts if the struct is opaque, not yet initialized or if the position is out of range.
sourceReactant.MLIR.API.mlirLLVMStructTypeGetIdentifier
— MethodmlirLLVMStructTypeGetIdentifier(type)
Returns the identifier of the identified struct. Asserts that the struct is identified, i.e., not literal.
sourceReactant.MLIR.API.mlirLLVMStructTypeGetNumElementTypes
— MethodmlirLLVMStructTypeGetNumElementTypes(type)
Returns the number of fields in the struct. Asserts if the struct is opaque or not yet initialized.
sourceReactant.MLIR.API.mlirLLVMStructTypeIdentifiedGet
— MethodmlirLLVMStructTypeIdentifiedGet(ctx, name)
Creates an LLVM identified struct type with no body. If a struct type with this name already exists in the context, returns that type. Use mlirLLVMStructTypeIdentifiedNewGet
to create a fresh struct type, potentially renaming it. The body should be set separatelty by calling mlirLLVMStructTypeSetBody
, if it isn't set already.
sourceReactant.MLIR.API.mlirLLVMStructTypeIdentifiedNewGet
— MethodmlirLLVMStructTypeIdentifiedNewGet(ctx, name, nFieldTypes, fieldTypes, isPacked)
Creates an LLVM identified struct type with no body and a name starting with the given prefix. If a struct with the exact name as the given prefix already exists, appends an unspecified suffix to the name so that the name is unique in context.
sourceReactant.MLIR.API.mlirLLVMStructTypeIsLiteral
— MethodmlirLLVMStructTypeIsLiteral(type)
Returns true
if the type is a literal (unnamed) LLVM struct type.
sourceReactant.MLIR.API.mlirLLVMStructTypeIsOpaque
— MethodmlirLLVMStructTypeIsOpaque(type)
Returns true
is the struct is explicitly opaque (will not have a body) or uninitialized (will eventually have a body).
sourceReactant.MLIR.API.mlirLLVMStructTypeIsPacked
— MethodmlirLLVMStructTypeIsPacked(type)
Returns true
if the struct is packed.
sourceReactant.MLIR.API.mlirLLVMStructTypeLiteralGet
— MethodmlirLLVMStructTypeLiteralGet(ctx, nFieldTypes, fieldTypes, isPacked)
Creates an LLVM literal (unnamed) struct type. This may assert if the fields have types not compatible with the LLVM dialect. For a graceful failure, use the checked version.
sourceReactant.MLIR.API.mlirLLVMStructTypeLiteralGetChecked
— MethodmlirLLVMStructTypeLiteralGetChecked(loc, nFieldTypes, fieldTypes, isPacked)
Creates an LLVM literal (unnamed) struct type if possible. Emits a diagnostic at the given location and returns null otherwise.
sourceReactant.MLIR.API.mlirLLVMStructTypeSetBody
— MethodmlirLLVMStructTypeSetBody(structType, nFieldTypes, fieldTypes, isPacked)
Sets the body of the identified struct if it hasn't been set yet. Returns whether the operation was successful.
sourceReactant.MLIR.API.mlirLLVMVoidTypeGet
— MethodmlirLLVMVoidTypeGet(ctx)
Creates an llmv.void type.
sourceReactant.MLIR.API.mlirLinalgFillBuiltinNamedOpRegion
— MethodmlirLinalgFillBuiltinNamedOpRegion(mlirOp)
Apply the special region builder for the builtin named Linalg op. Assert that mlirOp
is a builtin named Linalg op.
sourceReactant.MLIR.API.mlirLlvmThreadPoolCreate
— MethodmlirLlvmThreadPoolCreate()
Create an LLVM thread pool. This is reexported here to avoid directly pulling in the LLVM headers directly.
sourceReactant.MLIR.API.mlirLlvmThreadPoolDestroy
— MethodmlirLlvmThreadPoolDestroy(pool)
Destroy an LLVM thread pool.
sourceReactant.MLIR.API.mlirLocationCallSiteGet
— MethodmlirLocationCallSiteGet(callee, caller)
Creates a call site location with a callee and a caller.
sourceReactant.MLIR.API.mlirLocationEqual
— MethodmlirLocationEqual(l1, l2)
Checks if two locations are equal.
sourceReactant.MLIR.API.mlirLocationFileLineColGet
— MethodmlirLocationFileLineColGet(context, filename, line, col)
Creates an File/Line/Column location owned by the given context.
sourceReactant.MLIR.API.mlirLocationFromAttribute
— MethodmlirLocationFromAttribute(attribute)
Creates a location from a location attribute.
sourceReactant.MLIR.API.mlirLocationFusedGet
— MethodmlirLocationFusedGet(ctx, nLocations, locations, metadata)
Creates a fused location with an array of locations and metadata.
sourceReactant.MLIR.API.mlirLocationGetAttribute
— MethodmlirLocationGetAttribute(location)
Returns the underlying location attribute of this location.
sourceReactant.MLIR.API.mlirLocationGetContext
— MethodmlirLocationGetContext(location)
Gets the context that a location was created with.
sourceReactant.MLIR.API.mlirLocationIsNull
— MethodmlirLocationIsNull(location)
Checks if the location is null.
sourceReactant.MLIR.API.mlirLocationNameGet
— MethodmlirLocationNameGet(context, name, childLoc)
Creates a name location owned by the given context. Providing null location for childLoc is allowed and if childLoc is null location, then the behavior is the same as having unknown child location.
sourceReactant.MLIR.API.mlirLocationPrint
— MethodmlirLocationPrint(location, callback, userData)
Prints a location by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirLocationUnknownGet
— MethodmlirLocationUnknownGet(context)
Creates a location with unknown position owned by the given context.
sourceReactant.MLIR.API.mlirLogicalResultFailure
— MethodmlirLogicalResultFailure()
Creates a logical result representing a failure.
sourceReactant.MLIR.API.mlirLogicalResultIsFailure
— MethodmlirLogicalResultIsFailure(res)
Checks if the given logical result represents a failure.
sourceReactant.MLIR.API.mlirLogicalResultIsSuccess
— MethodmlirLogicalResultIsSuccess(res)
Checks if the given logical result represents a success.
sourceReactant.MLIR.API.mlirLogicalResultSuccess
— MethodmlirLogicalResultSuccess()
Creates a logical result representing a success.
sourceReactant.MLIR.API.mlirMemRefTypeContiguousGet
— MethodmlirMemRefTypeContiguousGet(elementType, rank, shape, memorySpace)
Creates a MemRef type with the given rank, shape, memory space and element type in the same context as the element type. The type has no affine maps, i.e. represents a default row-major contiguous memref. The type is owned by the context.
sourceReactant.MLIR.API.mlirMemRefTypeContiguousGetChecked
— MethodmlirMemRefTypeContiguousGetChecked(loc, elementType, rank, shape, memorySpace)
Same as "mlirMemRefTypeContiguousGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
sourceReactant.MLIR.API.mlirMemRefTypeGet
— MethodmlirMemRefTypeGet(elementType, rank, shape, layout, memorySpace)
Creates a MemRef type with the given rank and shape, a potentially empty list of affine layout maps, the given memory space and element type, in the same context as element type. The type is owned by the context.
sourceReactant.MLIR.API.mlirMemRefTypeGetAffineMap
— MethodmlirMemRefTypeGetAffineMap(type)
Returns the affine map of the given MemRef type.
sourceReactant.MLIR.API.mlirMemRefTypeGetChecked
— MethodmlirMemRefTypeGetChecked(loc, elementType, rank, shape, layout, memorySpace)
Same as "mlirMemRefTypeGet
" but returns a nullptr-wrapping MlirType
o illegal arguments, emitting appropriate diagnostics.
sourceReactant.MLIR.API.mlirMemRefTypeGetLayout
— MethodmlirMemRefTypeGetLayout(type)
Returns the layout of the given MemRef type.
sourceReactant.MLIR.API.mlirMemRefTypeGetMemorySpace
— MethodmlirMemRefTypeGetMemorySpace(type)
Returns the memory space of the given MemRef type.
sourceReactant.MLIR.API.mlirMemRefTypeGetStridesAndOffset
— MethodmlirMemRefTypeGetStridesAndOffset(type, strides, offset)
Returns the strides of the MemRef if the layout map is in strided form. Both strides and offset are out params. strides must point to pre-allocated memory of length equal to the rank of the memref.
sourceReactant.MLIR.API.mlirMemRefTypeGetTypeID
— MethodmlirMemRefTypeGetTypeID()
Returns the typeID of an MemRef type.
sourceReactant.MLIR.API.mlirModuleCreateEmpty
— MethodmlirModuleCreateEmpty(location)
Creates a new, empty module and transfers ownership to the caller.
sourceReactant.MLIR.API.mlirModuleCreateParse
— MethodmlirModuleCreateParse(context, _module)
Parses a module from the string and transfers ownership to the caller.
sourceReactant.MLIR.API.mlirModuleDestroy
— MethodmlirModuleDestroy(_module)
Takes a module owned by the caller and deletes it.
sourceReactant.MLIR.API.mlirModuleFromOperation
— MethodmlirModuleFromOperation(op)
Views the generic operation as a module. The returned module is null when the input operation was not a ModuleOp.
sourceReactant.MLIR.API.mlirModuleGetBody
— MethodmlirModuleGetBody(_module)
Gets the body of the module, i.e. the only block it contains.
sourceReactant.MLIR.API.mlirModuleGetContext
— MethodmlirModuleGetContext(_module)
Gets the context that a module was created with.
sourceReactant.MLIR.API.mlirModuleGetOperation
— MethodmlirModuleGetOperation(_module)
Views the module as a generic operation.
sourceReactant.MLIR.API.mlirModuleIsNull
— MethodmlirModuleIsNull(_module)
Checks whether a module is null.
sourceReactant.MLIR.API.mlirNamedAttributeGet
— MethodmlirNamedAttributeGet(name, attr)
Associates an attribute with the name. Takes ownership of neither.
sourceReactant.MLIR.API.mlirNoneTypeGet
— MethodmlirNoneTypeGet(ctx)
Creates a None type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirNoneTypeGetTypeID
— MethodmlirNoneTypeGetTypeID()
Returns the typeID of an None type.
sourceReactant.MLIR.API.mlirOpOperandGetNextUse
— MethodmlirOpOperandGetNextUse(opOperand)
Returns an op operand representing the next use of the value, or a null op operand if there is no next use.
sourceReactant.MLIR.API.mlirOpOperandGetOperandNumber
— MethodmlirOpOperandGetOperandNumber(opOperand)
Returns the operand number of an op operand.
sourceReactant.MLIR.API.mlirOpOperandGetOwner
— MethodmlirOpOperandGetOwner(opOperand)
Returns the owner operation of an op operand.
sourceReactant.MLIR.API.mlirOpOperandGetValue
— MethodmlirOpOperandGetValue(opOperand)
Returns the value of an op operand.
sourceReactant.MLIR.API.mlirOpOperandIsNull
— MethodmlirOpOperandIsNull(opOperand)
Returns whether the op operand is null.
sourceReactant.MLIR.API.mlirOpPassManagerAddOwnedPass
— MethodmlirOpPassManagerAddOwnedPass(passManager, pass)
Add a pass and transfer ownership to the provided mlirOpPassManager. If the pass is not a generic operation pass or matching the type of the provided PassManager, a new OpPassManager is implicitly nested under the provided PassManager.
sourceReactant.MLIR.API.mlirOpPassManagerAddPipeline
— MethodmlirOpPassManagerAddPipeline(passManager, pipelineElements, callback, userData)
Parse a sequence of textual MLIR pass pipeline elements and add them to the provided OpPassManager. If parsing fails an error message is reported using the provided callback.
sourceReactant.MLIR.API.mlirOpPassManagerGetNestedUnder
— MethodmlirOpPassManagerGetNestedUnder(passManager, operationName)
Nest an OpPassManager under the provided OpPassManager, the nested passmanager will only run on operations matching the provided name. The returned OpPassManager will be destroyed when the parent is destroyed.
sourceReactant.MLIR.API.mlirOpPrintingFlagsAssumeVerified
— MethodmlirOpPrintingFlagsAssumeVerified(flags)
Do not verify the operation when using custom operation printers.
sourceReactant.MLIR.API.mlirOpPrintingFlagsCreate
— MethodmlirOpPrintingFlagsCreate()
Creates new printing flags with defaults, intended for customization. Must be freed with a call to mlirOpPrintingFlagsDestroy
().
sourceReactant.MLIR.API.mlirOpPrintingFlagsDestroy
— MethodmlirOpPrintingFlagsDestroy(flags)
Destroys printing flags created with mlirOpPrintingFlagsCreate
.
sourceReactant.MLIR.API.mlirOpPrintingFlagsElideLargeElementsAttrs
— MethodmlirOpPrintingFlagsElideLargeElementsAttrs(flags, largeElementLimit)
Enables the elision of large elements attributes by printing a lexically valid but otherwise meaningless form instead of the element data. The largeElementLimit
is used to configure what is considered to be a "large" ElementsAttr by providing an upper limit to the number of elements.
sourceReactant.MLIR.API.mlirOpPrintingFlagsEnableDebugInfo
— MethodmlirOpPrintingFlagsEnableDebugInfo(flags, enable, prettyForm)
Enable or disable printing of debug information (based on enable
). If 'prettyForm' is set to true, debug information is printed in a more readable 'pretty' form. Note: The IR generated with 'prettyForm' is not parsable.
sourceReactant.MLIR.API.mlirOpPrintingFlagsPrintGenericOpForm
— MethodmlirOpPrintingFlagsPrintGenericOpForm(flags)
Always print operations in the generic form.
sourceReactant.MLIR.API.mlirOpPrintingFlagsUseLocalScope
— MethodmlirOpPrintingFlagsUseLocalScope(flags)
Use local scope when printing the operation. This allows for using the printer in a more localized and thread-safe setting, but may not necessarily be identical to what the IR will look like when dumping the full module.
sourceReactant.MLIR.API.mlirOpResultGetOwner
— MethodmlirOpResultGetOwner(value)
Returns an operation that produced this value as its result. Asserts if the value is not an op result.
sourceReactant.MLIR.API.mlirOpResultGetResultNumber
— MethodmlirOpResultGetResultNumber(value)
Returns the position of the value in the list of results of the operation that produced it.
sourceReactant.MLIR.API.mlirOpaqueAttrGet
— MethodmlirOpaqueAttrGet(ctx, dialectNamespace, dataLength, data, type)
Creates an opaque attribute in the given context associated with the dialect identified by its namespace. The attribute contains opaque byte data of the specified length (data need not be null-terminated).
sourceReactant.MLIR.API.mlirOpaqueAttrGetData
— MethodmlirOpaqueAttrGetData(attr)
Returns the raw data as a string reference. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.API.mlirOpaqueAttrGetDialectNamespace
— MethodmlirOpaqueAttrGetDialectNamespace(attr)
Returns the namespace of the dialect with which the given opaque attribute is associated. The namespace string is owned by the context.
sourceReactant.MLIR.API.mlirOpaqueAttrGetTypeID
— MethodmlirOpaqueAttrGetTypeID()
Returns the typeID of an Opaque attribute.
sourceReactant.MLIR.API.mlirOpaqueTypeGet
— MethodmlirOpaqueTypeGet(ctx, dialectNamespace, typeData)
Creates an opaque type in the given context associated with the dialect identified by its namespace. The type contains opaque byte data of the specified length (data need not be null-terminated).
sourceReactant.MLIR.API.mlirOpaqueTypeGetData
— MethodmlirOpaqueTypeGetData(type)
Returns the raw data as a string reference. The data remains live as long as the context in which the type lives.
sourceReactant.MLIR.API.mlirOpaqueTypeGetDialectNamespace
— MethodmlirOpaqueTypeGetDialectNamespace(type)
Returns the namespace of the dialect with which the given opaque type is associated. The namespace string is owned by the context.
sourceReactant.MLIR.API.mlirOpaqueTypeGetTypeID
— MethodmlirOpaqueTypeGetTypeID()
Returns the typeID of an Opaque type.
sourceReactant.MLIR.API.mlirOperationClone
— MethodmlirOperationClone(op)
Creates a deep copy of an operation. The operation is not inserted and ownership is transferred to the caller.
sourceReactant.MLIR.API.mlirOperationCreate
— MethodmlirOperationCreate(state)
Creates an operation and transfers ownership to the caller. Note that caller owned child objects are transferred in this call and must not be further used. Particularly, this applies to any regions added to the state (the implementation may invalidate any such pointers).
This call can fail under the following conditions, in which case, it will return a null operation and emit diagnostics: - Result type inference is enabled and cannot be performed.
sourceReactant.MLIR.API.mlirOperationCreateParse
— MethodmlirOperationCreateParse(context, sourceStr, sourceName)
Parses an operation, giving ownership to the caller. If parsing fails a null operation will be returned, and an error diagnostic emitted.
sourceStr
may be either the text assembly format, or binary bytecode format. sourceName
is used as the file name of the source; any IR without locations will get a FileLineColLoc
location with sourceName
as the file name.
sourceReactant.MLIR.API.mlirOperationDestroy
— MethodmlirOperationDestroy(op)
Takes an operation owned by the caller and destroys it.
sourceReactant.MLIR.API.mlirOperationDump
— MethodmlirOperationDump(op)
Prints an operation to stderr.
sourceReactant.MLIR.API.mlirOperationEqual
— MethodmlirOperationEqual(op, other)
Checks whether two operation handles point to the same operation. This does not perform deep comparison.
sourceReactant.MLIR.API.mlirOperationGetAttribute
— MethodmlirOperationGetAttribute(op, pos)
Return pos
-th attribute of the operation. Deprecated, please use mlirOperationGetInherentAttribute
or mlirOperationGetDiscardableAttribute
.
sourceReactant.MLIR.API.mlirOperationGetAttributeByName
— MethodmlirOperationGetAttributeByName(op, name)
Returns an attribute attached to the operation given its name. Deprecated, please use mlirOperationGetInherentAttributeByName
or mlirOperationGetDiscardableAttributeByName
.
sourceReactant.MLIR.API.mlirOperationGetBlock
— MethodmlirOperationGetBlock(op)
Gets the block that owns this operation, returning null if the operation is not owned.
sourceReactant.MLIR.API.mlirOperationGetContext
— MethodmlirOperationGetContext(op)
Gets the context this operation is associated with
sourceReactant.MLIR.API.mlirOperationGetDiscardableAttribute
— MethodmlirOperationGetDiscardableAttribute(op, pos)
Return pos
-th discardable attribute of the operation.
sourceReactant.MLIR.API.mlirOperationGetDiscardableAttributeByName
— MethodmlirOperationGetDiscardableAttributeByName(op, name)
Returns a discardable attribute attached to the operation given its name.
sourceReactant.MLIR.API.mlirOperationGetFirstRegion
— MethodmlirOperationGetFirstRegion(op)
Returns first region attached to the operation.
sourceReactant.MLIR.API.mlirOperationGetInherentAttributeByName
— MethodmlirOperationGetInherentAttributeByName(op, name)
Returns an inherent attribute attached to the operation given its name.
sourceReactant.MLIR.API.mlirOperationGetLocation
— MethodmlirOperationGetLocation(op)
Gets the location of the operation.
sourceReactant.MLIR.API.mlirOperationGetName
— MethodmlirOperationGetName(op)
Gets the name of the operation as an identifier.
sourceReactant.MLIR.API.mlirOperationGetNextInBlock
— MethodmlirOperationGetNextInBlock(op)
Returns an operation immediately following the given operation it its enclosing block.
sourceReactant.MLIR.API.mlirOperationGetNumAttributes
— MethodmlirOperationGetNumAttributes(op)
Returns the number of attributes attached to the operation. Deprecated, please use mlirOperationGetNumInherentAttributes
or mlirOperationGetNumDiscardableAttributes
.
sourceReactant.MLIR.API.mlirOperationGetNumDiscardableAttributes
— MethodmlirOperationGetNumDiscardableAttributes(op)
Returns the number of discardable attributes attached to the operation.
sourceReactant.MLIR.API.mlirOperationGetNumOperands
— MethodmlirOperationGetNumOperands(op)
Returns the number of operands of the operation.
sourceReactant.MLIR.API.mlirOperationGetNumRegions
— MethodmlirOperationGetNumRegions(op)
Returns the number of regions attached to the given operation.
sourceReactant.MLIR.API.mlirOperationGetNumResults
— MethodmlirOperationGetNumResults(op)
Returns the number of results of the operation.
sourceReactant.MLIR.API.mlirOperationGetNumSuccessors
— MethodmlirOperationGetNumSuccessors(op)
Returns the number of successor blocks of the operation.
sourceReactant.MLIR.API.mlirOperationGetOperand
— MethodmlirOperationGetOperand(op, pos)
Returns pos
-th operand of the operation.
sourceReactant.MLIR.API.mlirOperationGetParentOperation
— MethodmlirOperationGetParentOperation(op)
Gets the operation that owns this operation, returning null if the operation is not owned.
sourceReactant.MLIR.API.mlirOperationGetRegion
— MethodmlirOperationGetRegion(op, pos)
Returns pos
-th region attached to the operation.
sourceReactant.MLIR.API.mlirOperationGetResult
— MethodmlirOperationGetResult(op, pos)
Returns pos
-th result of the operation.
sourceReactant.MLIR.API.mlirOperationGetSuccessor
— MethodmlirOperationGetSuccessor(op, pos)
Returns pos
-th successor of the operation.
sourceReactant.MLIR.API.mlirOperationGetTypeID
— MethodmlirOperationGetTypeID(op)
Gets the type id of the operation. Returns null if the operation does not have a registered operation description.
sourceReactant.MLIR.API.mlirOperationHasInherentAttributeByName
— MethodmlirOperationHasInherentAttributeByName(op, name)
Returns true if this operation defines an inherent attribute with this name. Note: the attribute can be optional, so mlirOperationGetInherentAttributeByName
can still return a null attribute.
sourceReactant.MLIR.API.mlirOperationImplementsInterface
— MethodmlirOperationImplementsInterface(operation, interfaceTypeID)
Returns true
if the given operation implements an interface identified by its TypeID.
sourceReactant.MLIR.API.mlirOperationImplementsInterfaceStatic
— MethodmlirOperationImplementsInterfaceStatic(operationName, context, interfaceTypeID)
Returns true
if the operation identified by its canonical string name implements the interface identified by its TypeID in the given context. Note that interfaces may be attached to operations in some contexts and not others.
sourceReactant.MLIR.API.mlirOperationIsNull
— MethodmlirOperationIsNull(op)
Checks whether the underlying operation is null.
sourceReactant.MLIR.API.mlirOperationMoveAfter
— MethodmlirOperationMoveAfter(op, other)
Moves the given operation immediately after the other operation in its parent block. The given operation may be owned by the caller or by its current block. The other operation must belong to a block. In any case, the ownership is transferred to the block of the other operation.
sourceReactant.MLIR.API.mlirOperationMoveBefore
— MethodmlirOperationMoveBefore(op, other)
Moves the given operation immediately before the other operation in its parent block. The given operation may be owner by the caller or by its current block. The other operation must belong to a block. In any case, the ownership is transferred to the block of the other operation.
sourceReactant.MLIR.API.mlirOperationPrint
— MethodmlirOperationPrint(op, callback, userData)
Prints an operation by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirOperationPrintWithFlags
— MethodmlirOperationPrintWithFlags(op, flags, callback, userData)
Same as mlirOperationPrint
but accepts flags controlling the printing behavior.
sourceReactant.MLIR.API.mlirOperationPrintWithState
— MethodmlirOperationPrintWithState(op, state, callback, userData)
Same as mlirOperationPrint
but accepts AsmState controlling the printing behavior as well as caching computed names.
sourceReactant.MLIR.API.mlirOperationRemoveAttributeByName
— MethodmlirOperationRemoveAttributeByName(op, name)
Removes an attribute by name. Returns false if the attribute was not found and true if removed. Deprecated, please use mlirOperationRemoveInherentAttributeByName
or mlirOperationRemoveDiscardableAttributeByName
.
sourceReactant.MLIR.API.mlirOperationRemoveDiscardableAttributeByName
— MethodmlirOperationRemoveDiscardableAttributeByName(op, name)
Removes a discardable attribute by name. Returns false if the attribute was not found and true if removed.
sourceReactant.MLIR.API.mlirOperationRemoveFromParent
— MethodmlirOperationRemoveFromParent(op)
Removes the given operation from its parent block. The operation is not destroyed. The ownership of the operation is transferred to the caller.
sourceReactant.MLIR.API.mlirOperationSetAttributeByName
— MethodmlirOperationSetAttributeByName(op, name, attr)
Sets an attribute by name, replacing the existing if it exists or adding a new one otherwise. Deprecated, please use mlirOperationSetInherentAttributeByName
or mlirOperationSetDiscardableAttributeByName
.
sourceReactant.MLIR.API.mlirOperationSetDiscardableAttributeByName
— MethodmlirOperationSetDiscardableAttributeByName(op, name, attr)
Sets a discardable attribute by name, replacing the existing if it exists or adding a new one otherwise. The new attr
Attribute is not allowed to be null, use mlirOperationRemoveDiscardableAttributeByName
to remove an Attribute instead.
sourceReactant.MLIR.API.mlirOperationSetInherentAttributeByName
— MethodmlirOperationSetInherentAttributeByName(op, name, attr)
Sets an inherent attribute by name, replacing the existing if it exists. This has no effect if "name" does not match an inherent attribute.
sourceReactant.MLIR.API.mlirOperationSetOperand
— MethodmlirOperationSetOperand(op, pos, newValue)
Sets the pos
-th operand of the operation.
sourceReactant.MLIR.API.mlirOperationSetOperands
— MethodmlirOperationSetOperands(op, nOperands, operands)
Replaces the operands of the operation.
sourceReactant.MLIR.API.mlirOperationSetSuccessor
— MethodmlirOperationSetSuccessor(op, pos, block)
Set pos
-th successor of the operation.
sourceReactant.MLIR.API.mlirOperationStateAddResults
— MethodmlirOperationStateAddResults(state, n, results)
Adds a list of components to the operation state.
sourceReactant.MLIR.API.mlirOperationStateEnableResultTypeInference
— MethodmlirOperationStateEnableResultTypeInference(state)
Enables result type inference for the operation under construction. If enabled, then the caller must not have called mlirOperationStateAddResults
(). Note that if enabled, the mlirOperationCreate
() call is failable: it will return a null operation on inference failure and will emit diagnostics.
sourceReactant.MLIR.API.mlirOperationStateGet
— MethodmlirOperationStateGet(name, loc)
Constructs an operation state from a name and a location.
sourceReactant.MLIR.API.mlirOperationVerify
— MethodmlirOperationVerify(op)
Verify the operation and return true if it passes, false if it fails.
sourceReactant.MLIR.API.mlirOperationWalk
— MethodmlirOperationWalk(op, callback, userData, walkOrder)
Walks operation op
in walkOrder
and calls callback
on that operation. *userData
is passed to the callback as well and can be used to tunnel some context or other data into the callback.
sourceReactant.MLIR.API.mlirOperationWriteBytecode
— MethodmlirOperationWriteBytecode(op, callback, userData)
Same as mlirOperationPrint
but writing the bytecode format.
sourceReactant.MLIR.API.mlirOperationWriteBytecodeWithConfig
— MethodmlirOperationWriteBytecodeWithConfig(op, config, callback, userData)
Same as mlirOperationWriteBytecode
but with writer config and returns failure only if desired bytecode could not be honored.
sourceReactant.MLIR.API.mlirParsePassPipeline
— MethodmlirParsePassPipeline(passManager, pipeline, callback, userData)
Parse a textual MLIR pass pipeline and assign it to the provided OpPassManager. If parsing fails an error message is reported using the provided callback.
sourceReactant.MLIR.API.mlirPassManagerAddOwnedPass
— MethodmlirPassManagerAddOwnedPass(passManager, pass)
Add a pass and transfer ownership to the provided top-level mlirPassManager. If the pass is not a generic operation pass or a ModulePass, a new OpPassManager is implicitly nested under the provided PassManager.
sourceReactant.MLIR.API.mlirPassManagerCreate
— MethodmlirPassManagerCreate(ctx)
Create a new top-level PassManager with the default anchor.
sourceReactant.MLIR.API.mlirPassManagerCreateOnOperation
— MethodmlirPassManagerCreateOnOperation(ctx, anchorOp)
Create a new top-level PassManager anchored on anchorOp
.
sourceReactant.MLIR.API.mlirPassManagerDestroy
— MethodmlirPassManagerDestroy(passManager)
Destroy the provided PassManager.
sourceReactant.MLIR.API.mlirPassManagerEnableIRPrinting
— MethodmlirPassManagerEnableIRPrinting(passManager)
Enable mlir-print-ir-after-all.
sourceReactant.MLIR.API.mlirPassManagerEnableVerifier
— MethodmlirPassManagerEnableVerifier(passManager, enable)
Enable / disable verify-each.
sourceReactant.MLIR.API.mlirPassManagerGetAsOpPassManager
— MethodmlirPassManagerGetAsOpPassManager(passManager)
Cast a top-level PassManager to a generic OpPassManager.
sourceReactant.MLIR.API.mlirPassManagerGetNestedUnder
— MethodmlirPassManagerGetNestedUnder(passManager, operationName)
Nest an OpPassManager under the top-level PassManager, the nested passmanager will only run on operations matching the provided name. The returned OpPassManager will be destroyed when the parent is destroyed. To further nest more OpPassManager under the newly returned one, see mlirOpPassManagerNest
below.
sourceReactant.MLIR.API.mlirPassManagerIsNull
— MethodmlirPassManagerIsNull(passManager)
Checks if a PassManager is null.
sourceReactant.MLIR.API.mlirPassManagerRunOnOp
— MethodmlirPassManagerRunOnOp(passManager, op)
Run the provided passManager
on the given op
.
sourceReactant.MLIR.API.mlirPrintPassPipeline
— MethodmlirPrintPassPipeline(passManager, callback, userData)
Print a textual MLIR pass pipeline by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirQuantizedTypeCastExpressedToStorageType
— MethodmlirQuantizedTypeCastExpressedToStorageType(type, candidate)
Casts from a type based on the expressed type of the given quantized type to equivalent type based on storage type of the same quantized type.
sourceReactant.MLIR.API.mlirQuantizedTypeCastFromExpressedType
— MethodmlirQuantizedTypeCastFromExpressedType(type, candidate)
Casts from a type based on the expressed type of the given type to a corresponding type based on the given type. Returns a null type if the cast is not valid.
sourceReactant.MLIR.API.mlirQuantizedTypeCastFromStorageType
— MethodmlirQuantizedTypeCastFromStorageType(type, candidate)
Casts from a type based on the storage type of the given type to a corresponding type based on the given type. Returns a null type if the cast is not valid.
sourceReactant.MLIR.API.mlirQuantizedTypeCastToExpressedType
— MethodmlirQuantizedTypeCastToExpressedType(type)
Casts from a type based on a quantized type to a corresponding typed based on the expressed type. Returns a null type if the cast is not valid.
sourceReactant.MLIR.API.mlirQuantizedTypeCastToStorageType
— MethodmlirQuantizedTypeCastToStorageType(type)
Casts from a type based on a quantized type to a corresponding typed based on the storage type. Returns a null type if the cast is not valid.
sourceReactant.MLIR.API.mlirQuantizedTypeGetDefaultMaximumForInteger
— MethodmlirQuantizedTypeGetDefaultMaximumForInteger(isSigned, integralWidth)
Returns the maximum possible value stored by a quantized type.
sourceReactant.MLIR.API.mlirQuantizedTypeGetDefaultMinimumForInteger
— MethodmlirQuantizedTypeGetDefaultMinimumForInteger(isSigned, integralWidth)
Returns the minimum possible value stored by a quantized type.
sourceReactant.MLIR.API.mlirQuantizedTypeGetExpressedType
— MethodmlirQuantizedTypeGetExpressedType(type)
Gets the original type approximated by the given quantized type.
sourceReactant.MLIR.API.mlirQuantizedTypeGetFlags
— MethodmlirQuantizedTypeGetFlags(type)
Gets the flags associated with the given quantized type.
sourceReactant.MLIR.API.mlirQuantizedTypeGetQuantizedElementType
— MethodmlirQuantizedTypeGetQuantizedElementType(type)
Returns the element type of the given quantized type as another quantized type.
sourceReactant.MLIR.API.mlirQuantizedTypeGetSignedFlag
— MethodmlirQuantizedTypeGetSignedFlag()
Returns the bit flag used to indicate signedness of a quantized type.
sourceReactant.MLIR.API.mlirQuantizedTypeGetStorageType
— MethodmlirQuantizedTypeGetStorageType(type)
Returns the underlying type used to store the values.
sourceReactant.MLIR.API.mlirQuantizedTypeGetStorageTypeIntegralWidth
— MethodmlirQuantizedTypeGetStorageTypeIntegralWidth(type)
Returns the integral bitwidth that the storage type of the given quantized type can represent exactly.
sourceReactant.MLIR.API.mlirQuantizedTypeGetStorageTypeMax
— MethodmlirQuantizedTypeGetStorageTypeMax(type)
Returns the maximum value that the storage type of the given quantized type can take.
sourceReactant.MLIR.API.mlirQuantizedTypeGetStorageTypeMin
— MethodmlirQuantizedTypeGetStorageTypeMin(type)
Returns the minimum value that the storage type of the given quantized type can take.
sourceReactant.MLIR.API.mlirQuantizedTypeIsCompatibleExpressedType
— MethodmlirQuantizedTypeIsCompatibleExpressedType(type, candidate)
Returns true
if the candidate
type is compatible with the given quantized type
.
sourceReactant.MLIR.API.mlirQuantizedTypeIsSigned
— MethodmlirQuantizedTypeIsSigned(type)
Returns true
if the given type is signed, false
otherwise.
sourceReactant.MLIR.API.mlirRankedTensorTypeGet
— MethodmlirRankedTensorTypeGet(rank, shape, elementType, encoding)
Creates a tensor type of a fixed rank with the given shape, element type, and optional encoding in the same context as the element type. The type is owned by the context. Tensor types without any specific encoding field should assign mlirAttributeGetNull
() to this parameter.
sourceReactant.MLIR.API.mlirRankedTensorTypeGetChecked
— MethodmlirRankedTensorTypeGetChecked(loc, rank, shape, elementType, encoding)
Same as "mlirRankedTensorTypeGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
sourceReactant.MLIR.API.mlirRankedTensorTypeGetEncoding
— MethodmlirRankedTensorTypeGetEncoding(type)
Gets the 'encoding' attribute from the ranked tensor type, returning a null attribute if none.
sourceReactant.MLIR.API.mlirRankedTensorTypeGetTypeID
— MethodmlirRankedTensorTypeGetTypeID()
Returns the typeID of an RankedTensor type.
sourceReactant.MLIR.API.mlirRegionAppendOwnedBlock
— MethodmlirRegionAppendOwnedBlock(region, block)
Takes a block owned by the caller and appends it to the given region.
sourceReactant.MLIR.API.mlirRegionCreate
— MethodmlirRegionCreate()
Creates a new empty region and transfers ownership to the caller.
sourceReactant.MLIR.API.mlirRegionDestroy
— MethodmlirRegionDestroy(region)
Takes a region owned by the caller and destroys it.
sourceReactant.MLIR.API.mlirRegionEqual
— MethodmlirRegionEqual(region, other)
Checks whether two region handles point to the same region. This does not perform deep comparison.
sourceReactant.MLIR.API.mlirRegionGetFirstBlock
— MethodmlirRegionGetFirstBlock(region)
Gets the first block in the region.
sourceReactant.MLIR.API.mlirRegionGetNextInOperation
— MethodmlirRegionGetNextInOperation(region)
Returns the region immediately following the given region in its parent operation.
sourceReactant.MLIR.API.mlirRegionInsertOwnedBlock
— MethodmlirRegionInsertOwnedBlock(region, pos, block)
Takes a block owned by the caller and inserts it at pos
to the given region. This is an expensive operation that linearly scans the region, prefer insertAfter/Before instead.
sourceReactant.MLIR.API.mlirRegionInsertOwnedBlockAfter
— MethodmlirRegionInsertOwnedBlockAfter(region, reference, block)
Takes a block owned by the caller and inserts it after the (non-owned) reference block in the given region. The reference block must belong to the region. If the reference block is null, prepends the block to the region.
sourceReactant.MLIR.API.mlirRegionInsertOwnedBlockBefore
— MethodmlirRegionInsertOwnedBlockBefore(region, reference, block)
Takes a block owned by the caller and inserts it before the (non-owned) reference block in the given region. The reference block must belong to the region. If the reference block is null, appends the block to the region.
sourceReactant.MLIR.API.mlirRegionIsNull
— MethodmlirRegionIsNull(region)
Checks whether a region is null.
sourceReactant.MLIR.API.mlirRegionTakeBody
— MethodmlirRegionTakeBody(target, source)
Moves the entire content of the source region to the target region.
sourceReactant.MLIR.API.mlirRegisterAllDialects
— MethodmlirRegisterAllDialects(registry)
Appends all upstream dialects and extensions to the dialect registry.
sourceReactant.MLIR.API.mlirRegisterAllLLVMTranslations
— MethodmlirRegisterAllLLVMTranslations(context)
Register all translations to LLVM IR for dialects that can support it.
sourceReactant.MLIR.API.mlirRegisterAllPasses
— MethodmlirRegisterAllPasses()
Register all compiler passes of MLIR.
sourceReactant.MLIR.API.mlirShapedTypeGetDimSize
— MethodmlirShapedTypeGetDimSize(type, dim)
Returns the dim-th dimension of the given ranked shaped type.
sourceReactant.MLIR.API.mlirShapedTypeGetDynamicSize
— MethodmlirShapedTypeGetDynamicSize()
Returns the value indicating a dynamic size in a shaped type. Prefer mlirShapedTypeIsDynamicSize
to direct comparisons with this value.
sourceReactant.MLIR.API.mlirShapedTypeGetDynamicStrideOrOffset
— MethodmlirShapedTypeGetDynamicStrideOrOffset()
Returns the value indicating a dynamic stride or offset in a shaped type. Prefer mlirShapedTypeGetDynamicStrideOrOffset
to direct comparisons with this value.
sourceReactant.MLIR.API.mlirShapedTypeGetElementType
— MethodmlirShapedTypeGetElementType(type)
Returns the element type of the shaped type.
sourceReactant.MLIR.API.mlirShapedTypeGetRank
— MethodmlirShapedTypeGetRank(type)
Returns the rank of the given ranked shaped type.
sourceReactant.MLIR.API.mlirShapedTypeHasRank
— MethodmlirShapedTypeHasRank(type)
Checks whether the given shaped type is ranked.
sourceReactant.MLIR.API.mlirShapedTypeHasStaticShape
— MethodmlirShapedTypeHasStaticShape(type)
Checks whether the given shaped type has a static shape.
sourceReactant.MLIR.API.mlirShapedTypeIsDynamicDim
— MethodmlirShapedTypeIsDynamicDim(type, dim)
Checks wither the dim-th dimension of the given shaped type is dynamic.
sourceReactant.MLIR.API.mlirShapedTypeIsDynamicSize
— MethodmlirShapedTypeIsDynamicSize(size)
Checks whether the given value is used as a placeholder for dynamic sizes in shaped types.
sourceReactant.MLIR.API.mlirShapedTypeIsDynamicStrideOrOffset
— MethodmlirShapedTypeIsDynamicStrideOrOffset(val)
Checks whether the given value is used as a placeholder for dynamic strides and offsets in shaped types.
sourceReactant.MLIR.API.mlirSparseElementsAttrGetIndices
— MethodmlirSparseElementsAttrGetIndices(attr)
Returns the dense elements attribute containing 64-bit integer indices of non-null elements in the given sparse elements attribute.
sourceReactant.MLIR.API.mlirSparseElementsAttrGetTypeID
— MethodmlirSparseElementsAttrGetTypeID()
Returns the typeID of a SparseElements attribute.
sourceReactant.MLIR.API.mlirSparseElementsAttrGetValues
— MethodmlirSparseElementsAttrGetValues(attr)
Returns the dense elements attribute containing the non-null elements in the given sparse elements attribute.
sourceReactant.MLIR.API.mlirSparseElementsAttribute
— MethodmlirSparseElementsAttribute(shapedType, denseIndices, denseValues)
Creates a sparse elements attribute of the given shape from a list of indices and a list of associated values. Both lists are expected to be dense elements attributes with the same number of elements. The list of indices is expected to contain 64-bit integers. The attribute is created in the same context as the type.
sourceReactant.MLIR.API.mlirSparseTensorEncodingAttrGet
— MethodmlirSparseTensorEncodingAttrGet(ctx, lvlRank, lvlTypes, dimToLvl, lvlTodim, posWidth, crdWidth)
Creates a sparse\_tensor.encoding
attribute with the given parameters.
sourceReactant.MLIR.API.mlirSparseTensorEncodingAttrGetCrdWidth
— MethodmlirSparseTensorEncodingAttrGetCrdWidth(attr)
Returns the coordinate bitwidth of the sparse\_tensor.encoding
attribute.
sourceReactant.MLIR.API.mlirSparseTensorEncodingAttrGetDimToLvl
— MethodmlirSparseTensorEncodingAttrGetDimToLvl(attr)
Returns the dimension-to-level mapping of the sparse\_tensor.encoding
attribute.
sourceReactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlFmt
— MethodmlirSparseTensorEncodingAttrGetLvlFmt(attr, lvl)
Returns a specified level-format of the sparse\_tensor.encoding
attribute.
sourceReactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlToDim
— MethodmlirSparseTensorEncodingAttrGetLvlToDim(attr)
Returns the level-to-dimension mapping of the sparse\_tensor.encoding
attribute.
sourceReactant.MLIR.API.mlirSparseTensorEncodingAttrGetLvlType
— MethodmlirSparseTensorEncodingAttrGetLvlType(attr, lvl)
Returns a specified level-type of the sparse\_tensor.encoding
attribute.
sourceReactant.MLIR.API.mlirSparseTensorEncodingAttrGetPosWidth
— MethodmlirSparseTensorEncodingAttrGetPosWidth(attr)
Returns the position bitwidth of the sparse\_tensor.encoding
attribute.
sourceReactant.MLIR.API.mlirSparseTensorEncodingGetLvlRank
— MethodmlirSparseTensorEncodingGetLvlRank(attr)
Returns the level-rank of the sparse\_tensor.encoding
attribute.
sourceReactant.MLIR.API.mlirStridedLayoutAttrGetTypeID
— MethodmlirStridedLayoutAttrGetTypeID()
Returns the typeID of a StridedLayout attribute.
sourceReactant.MLIR.API.mlirStringAttrGet
— MethodmlirStringAttrGet(ctx, str)
Creates a string attribute in the given context containing the given string.
sourceReactant.MLIR.API.mlirStringAttrGetTypeID
— MethodmlirStringAttrGetTypeID()
Returns the typeID of a String attribute.
sourceReactant.MLIR.API.mlirStringAttrGetValue
— MethodmlirStringAttrGetValue(attr)
Returns the attribute values as a string reference. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.API.mlirStringAttrTypedGet
— MethodmlirStringAttrTypedGet(type, str)
Creates a string attribute in the given context containing the given string. Additionally, the attribute has the given type.
sourceReactant.MLIR.API.mlirStringRefCreate
— MethodmlirStringRefCreate(str, length)
Constructs a string reference from the pointer and length. The pointer need not reference to a null-terminated string.
sourceReactant.MLIR.API.mlirStringRefCreateFromCString
— MethodmlirStringRefCreateFromCString(str)
Constructs a string reference from a null-terminated C string. Prefer mlirStringRefCreate
if the length of the string is known.
sourceReactant.MLIR.API.mlirStringRefEqual
— MethodmlirStringRefEqual(string, other)
Returns true if two string references are equal, false otherwise.
sourceReactant.MLIR.API.mlirSymbolRefAttrGet
— MethodmlirSymbolRefAttrGet(ctx, symbol, numReferences, references)
Creates a symbol reference attribute in the given context referencing a symbol identified by the given string inside a list of nested references. Each of the references in the list must not be nested.
sourceReactant.MLIR.API.mlirSymbolRefAttrGetLeafReference
— MethodmlirSymbolRefAttrGetLeafReference(attr)
Returns the string reference to the leaf referenced symbol. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.API.mlirSymbolRefAttrGetNestedReference
— MethodmlirSymbolRefAttrGetNestedReference(attr, pos)
Returns pos-th reference nested in the given symbol reference attribute.
sourceReactant.MLIR.API.mlirSymbolRefAttrGetNumNestedReferences
— MethodmlirSymbolRefAttrGetNumNestedReferences(attr)
Returns the number of references nested in the given symbol reference attribute.
sourceReactant.MLIR.API.mlirSymbolRefAttrGetRootReference
— MethodmlirSymbolRefAttrGetRootReference(attr)
Returns the string reference to the root referenced symbol. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.API.mlirSymbolRefAttrGetTypeID
— MethodmlirSymbolRefAttrGetTypeID()
Returns the typeID of an SymbolRef attribute.
sourceReactant.MLIR.API.mlirSymbolTableCreate
— MethodmlirSymbolTableCreate(operation)
Creates a symbol table for the given operation. If the operation does not have the SymbolTable trait, returns a null symbol table.
sourceReactant.MLIR.API.mlirSymbolTableDestroy
— MethodmlirSymbolTableDestroy(symbolTable)
Destroys the symbol table created with mlirSymbolTableCreate
. This does not affect the operations in the table.
sourceReactant.MLIR.API.mlirSymbolTableErase
— MethodmlirSymbolTableErase(symbolTable, operation)
Removes the given operation from the symbol table and erases it.
sourceReactant.MLIR.API.mlirSymbolTableGetSymbolAttributeName
— MethodmlirSymbolTableGetSymbolAttributeName()
Returns the name of the attribute used to store symbol names compatible with symbol tables.
sourceReactant.MLIR.API.mlirSymbolTableGetVisibilityAttributeName
— MethodmlirSymbolTableGetVisibilityAttributeName()
Returns the name of the attribute used to store symbol visibility.
sourceReactant.MLIR.API.mlirSymbolTableInsert
— MethodmlirSymbolTableInsert(symbolTable, operation)
Inserts the given operation into the given symbol table. The operation must have the symbol trait. If the symbol table already has a symbol with the same name, renames the symbol being inserted to ensure name uniqueness. Note that this does not move the operation itself into the block of the symbol table operation, this should be done separately. Returns the name of the symbol after insertion.
sourceReactant.MLIR.API.mlirSymbolTableIsNull
— MethodmlirSymbolTableIsNull(symbolTable)
Returns true if the symbol table is null.
sourceReactant.MLIR.API.mlirSymbolTableLookup
— MethodmlirSymbolTableLookup(symbolTable, name)
Looks up a symbol with the given name in the given symbol table and returns the operation that corresponds to the symbol. If the symbol cannot be found, returns a null operation.
sourceReactant.MLIR.API.mlirSymbolTableReplaceAllSymbolUses
— MethodmlirSymbolTableReplaceAllSymbolUses(oldSymbol, newSymbol, from)
Attempt to replace all uses that are nested within the given operation of the given symbol 'oldSymbol' with the provided 'newSymbol'. This does not traverse into nested symbol tables. Will fail atomically if there are any unknown operations that may be potential symbol tables.
sourceReactant.MLIR.API.mlirSymbolTableWalkSymbolTables
— MethodmlirSymbolTableWalkSymbolTables(from, allSymUsesVisible, callback, userData)
Walks all symbol table operations nested within, and including, op
. For each symbol table operation, the provided callback is invoked with the op and a boolean signifying if the symbols within that symbol table can be treated as if all uses within the IR are visible to the caller. allSymUsesVisible
identifies whether all of the symbol uses of symbols within op
are visible.
sourceReactant.MLIR.API.mlirTF32TypeGet
— MethodmlirTF32TypeGet(ctx)
Creates a TF32 type in the given context. The type is owned by the context.
sourceReactant.MLIR.API.mlirTransformApplyNamedSequence
— MethodmlirTransformApplyNamedSequence(payload, transformRoot, transformModule, transformOptions)
Applies the transformation script starting at the given transform root operation to the given payload operation. The module containing the transform root as well as the transform options should be provided. The transform operation must implement TransformOpInterface and the module must be a ModuleOp. Returns the status of the application.
sourceReactant.MLIR.API.mlirTransformOptionsCreate
— MethodmlirTransformOptionsCreate()
Creates a default-initialized transform options object.
sourceReactant.MLIR.API.mlirTransformOptionsDestroy
— MethodmlirTransformOptionsDestroy(transformOptions)
Destroys a transform options object previously created by mlirTransformOptionsCreate
.
sourceReactant.MLIR.API.mlirTransformOptionsEnableExpensiveChecks
— MethodmlirTransformOptionsEnableExpensiveChecks(transformOptions, enable)
Enables or disables expensive checks in transform options.
sourceReactant.MLIR.API.mlirTransformOptionsEnforceSingleTopLevelTransformOp
— MethodmlirTransformOptionsEnforceSingleTopLevelTransformOp(transformOptions, enable)
Enables or disables the enforcement of the top-level transform op being single in transform options.
sourceReactant.MLIR.API.mlirTransformOptionsGetEnforceSingleTopLevelTransformOp
— MethodmlirTransformOptionsGetEnforceSingleTopLevelTransformOp(transformOptions)
Returns true if the enforcement of the top-level transform op being single is enabled in transform options.
sourceReactant.MLIR.API.mlirTransformOptionsGetExpensiveChecksEnabled
— MethodmlirTransformOptionsGetExpensiveChecksEnabled(transformOptions)
Returns true if expensive checks are enabled in transform options.
sourceReactant.MLIR.API.mlirTranslateModuleToLLVMIR
— MethodmlirTranslateModuleToLLVMIR(_module, context)
Translate operation that satisfies LLVM dialect module requirements into an LLVM IR module living in the given context. This translates operations from any dilalect that has a registered implementation of LLVMTranslationDialectInterface.
Returns
the generated LLVM IR Module from the translated MLIR module, it is owned by the caller.
sourceReactant.MLIR.API.mlirTupleTypeGet
— MethodmlirTupleTypeGet(ctx, numElements, elements)
Creates a tuple type that consists of the given list of elemental types. The type is owned by the context.
sourceReactant.MLIR.API.mlirTupleTypeGetNumTypes
— MethodmlirTupleTypeGetNumTypes(type)
Returns the number of types contained in a tuple.
sourceReactant.MLIR.API.mlirTupleTypeGetType
— MethodmlirTupleTypeGetType(type, pos)
Returns the pos-th type in the tuple type.
sourceReactant.MLIR.API.mlirTupleTypeGetTypeID
— MethodmlirTupleTypeGetTypeID()
Returns the typeID of an Tuple type.
sourceReactant.MLIR.API.mlirTypeAttrGet
— MethodmlirTypeAttrGet(type)
Creates a type attribute wrapping the given type in the same context as the type.
sourceReactant.MLIR.API.mlirTypeAttrGetTypeID
— MethodmlirTypeAttrGetTypeID()
Returns the typeID of a Type attribute.
sourceReactant.MLIR.API.mlirTypeAttrGetValue
— MethodmlirTypeAttrGetValue(attr)
Returns the type stored in the given type attribute.
sourceReactant.MLIR.API.mlirTypeDump
— MethodmlirTypeDump(type)
Prints the type to the standard error stream.
sourceReactant.MLIR.API.mlirTypeEqual
— MethodmlirTypeEqual(t1, t2)
Checks if two types are equal.
sourceReactant.MLIR.API.mlirTypeGetContext
— MethodmlirTypeGetContext(type)
Gets the context that a type was created with.
sourceReactant.MLIR.API.mlirTypeGetDialect
— MethodmlirTypeGetDialect(type)
Gets the dialect a type belongs to.
sourceReactant.MLIR.API.mlirTypeGetTypeID
— MethodmlirTypeGetTypeID(type)
Gets the type ID of the type.
sourceReactant.MLIR.API.mlirTypeIDAllocatorAllocateTypeID
— MethodmlirTypeIDAllocatorAllocateTypeID(allocator)
Allocates a type id that is valid for the lifetime of the allocator
sourceReactant.MLIR.API.mlirTypeIDAllocatorCreate
— MethodmlirTypeIDAllocatorCreate()
Creates a type id allocator for dynamic type id creation
sourceReactant.MLIR.API.mlirTypeIDAllocatorDestroy
— MethodmlirTypeIDAllocatorDestroy(allocator)
Deallocates the allocator and all allocated type ids
sourceReactant.MLIR.API.mlirTypeIDCreate
— MethodmlirTypeIDCreate(ptr)
ptr
must be 8 byte aligned and unique to a type valid for the duration of the returned type id's usage
sourceReactant.MLIR.API.mlirTypeIDEqual
— MethodmlirTypeIDEqual(typeID1, typeID2)
Checks if two type ids are equal.
sourceReactant.MLIR.API.mlirTypeIDHashValue
— MethodmlirTypeIDHashValue(typeID)
Returns the hash value of the type id.
sourceReactant.MLIR.API.mlirTypeIDIsNull
— MethodmlirTypeIDIsNull(typeID)
Checks whether a type id is null.
sourceReactant.MLIR.API.mlirTypeIsAAnyQuantizedType
— MethodmlirTypeIsAAnyQuantizedType(type)
Returns true
if the given type is an AnyQuantizedType.
sourceReactant.MLIR.API.mlirTypeIsABF16
— MethodmlirTypeIsABF16(type)
Checks whether the given type is a bf16 type.
sourceReactant.MLIR.API.mlirTypeIsACalibratedQuantizedType
— MethodmlirTypeIsACalibratedQuantizedType(type)
Returns true
if the given type is a CalibratedQuantizedType.
sourceReactant.MLIR.API.mlirTypeIsAComplex
— MethodmlirTypeIsAComplex(type)
Checks whether the given type is a Complex type.
sourceReactant.MLIR.API.mlirTypeIsAF16
— MethodmlirTypeIsAF16(type)
Checks whether the given type is an f16 type.
sourceReactant.MLIR.API.mlirTypeIsAF32
— MethodmlirTypeIsAF32(type)
Checks whether the given type is an f32 type.
sourceReactant.MLIR.API.mlirTypeIsAF64
— MethodmlirTypeIsAF64(type)
Checks whether the given type is an f64 type.
sourceReactant.MLIR.API.mlirTypeIsAFloat
— MethodmlirTypeIsAFloat(type)
Checks whether the given type is a floating-point type.
sourceReactant.MLIR.API.mlirTypeIsAFloat8E4M3B11FNUZ
— MethodmlirTypeIsAFloat8E4M3B11FNUZ(type)
Checks whether the given type is an f8E4M3B11FNUZ type.
sourceReactant.MLIR.API.mlirTypeIsAFloat8E4M3FN
— MethodmlirTypeIsAFloat8E4M3FN(type)
Checks whether the given type is an f8E4M3FN type.
sourceReactant.MLIR.API.mlirTypeIsAFloat8E4M3FNUZ
— MethodmlirTypeIsAFloat8E4M3FNUZ(type)
Checks whether the given type is an f8E4M3FNUZ type.
sourceReactant.MLIR.API.mlirTypeIsAFloat8E5M2
— MethodmlirTypeIsAFloat8E5M2(type)
Checks whether the given type is an f8E5M2 type.
sourceReactant.MLIR.API.mlirTypeIsAFloat8E5M2FNUZ
— MethodmlirTypeIsAFloat8E5M2FNUZ(type)
Checks whether the given type is an f8E5M2FNUZ type.
sourceReactant.MLIR.API.mlirTypeIsAFunction
— MethodmlirTypeIsAFunction(type)
Checks whether the given type is a function type.
sourceReactant.MLIR.API.mlirTypeIsAIndex
— MethodmlirTypeIsAIndex(type)
Checks whether the given type is an index type.
sourceReactant.MLIR.API.mlirTypeIsAInteger
— MethodmlirTypeIsAInteger(type)
Checks whether the given type is an integer type.
sourceReactant.MLIR.API.mlirTypeIsALLVMStructType
— MethodmlirTypeIsALLVMStructType(type)
Returns true
if the type is an LLVM dialect struct type.
sourceReactant.MLIR.API.mlirTypeIsAMemRef
— MethodmlirTypeIsAMemRef(type)
Checks whether the given type is a MemRef type.
sourceReactant.MLIR.API.mlirTypeIsANone
— MethodmlirTypeIsANone(type)
Checks whether the given type is a None type.
sourceReactant.MLIR.API.mlirTypeIsAOpaque
— MethodmlirTypeIsAOpaque(type)
Checks whether the given type is an opaque type.
sourceReactant.MLIR.API.mlirTypeIsAQuantizedType
— MethodmlirTypeIsAQuantizedType(type)
Returns true
if the given type is a quantization dialect type.
sourceReactant.MLIR.API.mlirTypeIsARankedTensor
— MethodmlirTypeIsARankedTensor(type)
Checks whether the given type is a ranked tensor type.
sourceReactant.MLIR.API.mlirTypeIsAShaped
— MethodmlirTypeIsAShaped(type)
Checks whether the given type is a Shaped type.
sourceReactant.MLIR.API.mlirTypeIsATF32
— MethodmlirTypeIsATF32(type)
Checks whether the given type is an TF32 type.
sourceReactant.MLIR.API.mlirTypeIsATensor
— MethodmlirTypeIsATensor(type)
Checks whether the given type is a Tensor type.
sourceReactant.MLIR.API.mlirTypeIsATuple
— MethodmlirTypeIsATuple(type)
Checks whether the given type is a tuple type.
sourceReactant.MLIR.API.mlirTypeIsAUniformQuantizedPerAxisType
— MethodmlirTypeIsAUniformQuantizedPerAxisType(type)
Returns true
if the given type is a UniformQuantizedPerAxisType.
sourceReactant.MLIR.API.mlirTypeIsAUniformQuantizedType
— MethodmlirTypeIsAUniformQuantizedType(type)
Returns true
if the given type is a UniformQuantizedType.
sourceReactant.MLIR.API.mlirTypeIsAUnrankedMemRef
— MethodmlirTypeIsAUnrankedMemRef(type)
Checks whether the given type is an UnrankedMemRef type.
sourceReactant.MLIR.API.mlirTypeIsAUnrankedTensor
— MethodmlirTypeIsAUnrankedTensor(type)
Checks whether the given type is an unranked tensor type.
sourceReactant.MLIR.API.mlirTypeIsAVector
— MethodmlirTypeIsAVector(type)
Checks whether the given type is a Vector type.
sourceReactant.MLIR.API.mlirTypeIsNull
— MethodmlirTypeIsNull(type)
Checks whether a type is null.
sourceReactant.MLIR.API.mlirTypeParseGet
— MethodmlirTypeParseGet(context, type)
Parses a type. The type is owned by the context.
sourceReactant.MLIR.API.mlirTypePrint
— MethodmlirTypePrint(type, callback, userData)
Prints a location by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGet
— MethodmlirUniformQuantizedPerAxisTypeGet(flags, storageType, expressedType, nDims, scales, zeroPoints, quantizedDimension, storageTypeMin, storageTypeMax)
Creates an instance of UniformQuantizedPerAxisType with the given parameters in the same context as storageType
and returns it. scales
and zeroPoints
point to nDims
number of elements. The instance is owned by the context.
sourceReactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetNumDims
— MethodmlirUniformQuantizedPerAxisTypeGetNumDims(type)
Returns the number of axes in the given quantized per-axis type.
sourceReactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetQuantizedDimension
— MethodmlirUniformQuantizedPerAxisTypeGetQuantizedDimension(type)
Returns the index of the quantized dimension in the given quantized per-axis type.
sourceReactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetScale
— MethodmlirUniformQuantizedPerAxisTypeGetScale(type, pos)
Returns pos
-th scale of the given quantized per-axis type.
sourceReactant.MLIR.API.mlirUniformQuantizedPerAxisTypeGetZeroPoint
— MethodmlirUniformQuantizedPerAxisTypeGetZeroPoint(type, pos)
Returns pos
-th zero point of the given quantized per-axis type.
sourceReactant.MLIR.API.mlirUniformQuantizedPerAxisTypeIsFixedPoint
— MethodmlirUniformQuantizedPerAxisTypeIsFixedPoint(type)
Returns true
if the given uniform quantized per-axis type is fixed-point.
sourceReactant.MLIR.API.mlirUniformQuantizedTypeGet
— MethodmlirUniformQuantizedTypeGet(flags, storageType, expressedType, scale, zeroPoint, storageTypeMin, storageTypeMax)
Creates an instance of UniformQuantizedType with the given parameters in the same context as storageType
and returns it. The instance is owned by the context.
sourceReactant.MLIR.API.mlirUniformQuantizedTypeGetScale
— MethodmlirUniformQuantizedTypeGetScale(type)
Returns the scale of the given uniform quantized type.
sourceReactant.MLIR.API.mlirUniformQuantizedTypeGetZeroPoint
— MethodmlirUniformQuantizedTypeGetZeroPoint(type)
Returns the zero point of the given uniform quantized type.
sourceReactant.MLIR.API.mlirUniformQuantizedTypeIsFixedPoint
— MethodmlirUniformQuantizedTypeIsFixedPoint(type)
Returns true
if the given uniform quantized type is fixed-point.
sourceReactant.MLIR.API.mlirUnitAttrGet
— MethodmlirUnitAttrGet(ctx)
Creates a unit attribute in the given context.
sourceReactant.MLIR.API.mlirUnitAttrGetTypeID
— MethodmlirUnitAttrGetTypeID()
Returns the typeID of a Unit attribute.
sourceReactant.MLIR.API.mlirUnmanagedDenseResourceElementsAttrGet
— MethodmlirUnmanagedDenseResourceElementsAttrGet(shapedType, name, data, dataLength, dataAlignment, dataIsMutable, deleter, userData)
Unlike the typed accessors below, constructs the attribute with a raw data buffer and no type/alignment checking. Use a more strongly typed accessor if possible. If dataIsMutable is false, then an immutable AsmResourceBlob will be created and that passed data contents will be treated as const. If the deleter is non NULL, then it will be called when the data buffer can no longer be accessed (passing userData to it).
sourceReactant.MLIR.API.mlirUnrankedMemRefTypeGet
— MethodmlirUnrankedMemRefTypeGet(elementType, memorySpace)
Creates an Unranked MemRef type with the given element type and in the given memory space. The type is owned by the context of element type.
sourceReactant.MLIR.API.mlirUnrankedMemRefTypeGetChecked
— MethodmlirUnrankedMemRefTypeGetChecked(loc, elementType, memorySpace)
Same as "mlirUnrankedMemRefTypeGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
sourceReactant.MLIR.API.mlirUnrankedMemRefTypeGetTypeID
— MethodmlirUnrankedMemRefTypeGetTypeID()
Returns the typeID of an UnrankedMemRef type.
sourceReactant.MLIR.API.mlirUnrankedMemrefGetMemorySpace
— MethodmlirUnrankedMemrefGetMemorySpace(type)
Returns the memory spcae of the given Unranked MemRef type.
sourceReactant.MLIR.API.mlirUnrankedTensorTypeGet
— MethodmlirUnrankedTensorTypeGet(elementType)
Creates an unranked tensor type with the given element type in the same context as the element type. The type is owned by the context.
sourceReactant.MLIR.API.mlirUnrankedTensorTypeGetChecked
— MethodmlirUnrankedTensorTypeGetChecked(loc, elementType)
Same as "mlirUnrankedTensorTypeGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
sourceReactant.MLIR.API.mlirUnrankedTensorTypeGetTypeID
— MethodmlirUnrankedTensorTypeGetTypeID()
Returns the typeID of an UnrankedTensor type.
sourceReactant.MLIR.API.mlirValueDump
— MethodmlirValueDump(value)
Prints the value to the standard error stream.
sourceReactant.MLIR.API.mlirValueEqual
— MethodmlirValueEqual(value1, value2)
Returns 1 if two values are equal, 0 otherwise.
sourceReactant.MLIR.API.mlirValueGetFirstUse
— MethodmlirValueGetFirstUse(value)
Returns an op operand representing the first use of the value, or a null op operand if there are no uses.
sourceReactant.MLIR.API.mlirValueGetType
— MethodmlirValueGetType(value)
Returns the type of the value.
sourceReactant.MLIR.API.mlirValueIsABlockArgument
— MethodmlirValueIsABlockArgument(value)
Returns 1 if the value is a block argument, 0 otherwise.
sourceReactant.MLIR.API.mlirValueIsAOpResult
— MethodmlirValueIsAOpResult(value)
Returns 1 if the value is an operation result, 0 otherwise.
sourceReactant.MLIR.API.mlirValueIsNull
— MethodmlirValueIsNull(value)
Returns whether the value is null.
sourceReactant.MLIR.API.mlirValuePrint
— MethodmlirValuePrint(value, callback, userData)
Prints a value by sending chunks of the string representation and forwarding userData to
callback`. Note that the callback may be called several times with consecutive chunks of the string.
sourceReactant.MLIR.API.mlirValuePrintAsOperand
— MethodmlirValuePrintAsOperand(value, state, callback, userData)
Prints a value as an operand (i.e., the ValueID).
sourceReactant.MLIR.API.mlirValueReplaceAllUsesOfWith
— MethodmlirValueReplaceAllUsesOfWith(of, with)
Replace all uses of 'of' value with the 'with' value, updating anything in the IR that uses 'of' to use the other value instead. When this returns there are zero uses of 'of'.
sourceReactant.MLIR.API.mlirValueSetType
— MethodmlirValueSetType(value, type)
Set the type of the value.
sourceReactant.MLIR.API.mlirVectorTypeGet
— MethodmlirVectorTypeGet(rank, shape, elementType)
Creates a vector type of the shape identified by its rank and dimensions, with the given element type in the same context as the element type. The type is owned by the context.
sourceReactant.MLIR.API.mlirVectorTypeGetChecked
— MethodmlirVectorTypeGetChecked(loc, rank, shape, elementType)
Same as "mlirVectorTypeGet
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
sourceReactant.MLIR.API.mlirVectorTypeGetScalable
— MethodmlirVectorTypeGetScalable(rank, shape, scalable, elementType)
Creates a scalable vector type with the shape identified by its rank and dimensions. A subset of dimensions may be marked as scalable via the corresponding flag list, which is expected to have as many entries as the rank of the vector. The vector is created in the same context as the element type.
sourceReactant.MLIR.API.mlirVectorTypeGetScalableChecked
— MethodmlirVectorTypeGetScalableChecked(loc, rank, shape, scalable, elementType)
Same as "mlirVectorTypeGetScalable
" but returns a nullptr wrapping MlirType
on illegal arguments, emitting appropriate diagnostics.
sourceReactant.MLIR.API.mlirVectorTypeGetTypeID
— MethodmlirVectorTypeGetTypeID()
Returns the typeID of an Vector type.
sourceReactant.MLIR.API.mlirVectorTypeIsDimScalable
— MethodmlirVectorTypeIsDimScalable(type, dim)
Checks whether the "dim"-th dimension of the given vector is scalable.
sourceReactant.MLIR.API.mlirVectorTypeIsScalable
— MethodmlirVectorTypeIsScalable(type)
Checks whether the given vector type is scalable, i.e., has at least one scalable dimension.
sourceCore.Bool
— MethodBool(attr)
Returns the value stored in the given bool attribute.
sourceCore.Float64
— MethodFloat64(attr)
Returns the value stored in the given floating point attribute, interpreting the value as double.
sourceCore.Int64
— MethodInt64(attr)
Returns the value stored in the given integer attribute, assuming the value is of signed type and fits into a signed 64-bit integer.
sourceCore.String
— MethodString(attr)
Returns the attribute values as a string reference. The data remains live as long as the context in which the attribute lives.
sourceCore.String
— MethodString(ident)
Gets the string value of the identifier.
sourceCore.UInt64
— MethodUInt64(attr)
Returns the value stored in the given integer attribute, assuming the value is of unsigned type and fits into an unsigned 64-bit integer.
sourceReactant.MLIR.IR.AffineMap
— MethodAffineMap(ndims, nsymbols, affineExprs; context=context())
Creates an affine map with results defined by the given list of affine expressions. The map resulting map also has the requested number of input dimensions and symbols, regardless of them being used in the results.
sourceReactant.MLIR.IR.AffineMap
— MethodAffineMap(ndims, nsymbols; context=context())
Creates a zero result affine map of the given dimensions and symbols in the context. The affine map is owned by the context.
sourceReactant.MLIR.IR.AffineMap
— MethodAffineMap(attr)
Returns the affine map wrapped in the given affine map attribute.
sourceReactant.MLIR.IR.AffineMap
— MethodAffineMap(; context=context())
Creates a zero result affine map with no dimensions or symbols in the context. The affine map is owned by the context.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(str; context=context())
Creates a string attribute in the given context containing the given string.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(value; context=context())
Creates a bool attribute in the given context with the given value.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(elements; context=context())
Creates a dictionary attribute containing the given list of elements in the provided context.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(affineMap)
Creates an affine map attribute wrapping the given map. The attribute belongs to the same context as the affine map.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(type, str)
Creates a string attribute in the given context containing the given string. Additionally, the attribute has the given type.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(type)
Creates a type attribute wrapping the given type in the same context as the type.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(float; context=context(), location=Location(), check=false)
Creates a floating point attribute in the given context with the given double value and double-precision FP semantics. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(elements; context=context())
Creates an array element containing the given list of elements in the given context.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute()
Returns an empty attribute.
sourceReactant.MLIR.IR.Attribute
— MethodAttribute(int)
Creates an integer attribute of the given type with the given integer value.
sourceReactant.MLIR.IR.Block
— MethodBlock(args, locs)
Creates a new empty block with the given argument types and transfers ownership to the caller.
sourceReactant.MLIR.IR.BlockIterator
— TypeBlockIterator(region::Region)
Iterates over all blocks in the given region.
sourceReactant.MLIR.IR.Context
— MethodContext()
Creates an MLIR context and transfers its ownership to the caller.
sourceReactant.MLIR.IR.ExecutionEngine
— TypeExecutionEngine(op, optLevel, sharedlibs = [])
Creates an ExecutionEngine for the provided ModuleOp. The ModuleOp is expected to be "translatable" to LLVM IR (only contains operations in dialects that implement the LLVMTranslationDialectInterface
). The module ownership stays with the client and can be destroyed as soon as the call returns. optLevel
is the optimization level to be used for transformation and code generation. LLVM passes at optLevel
are run before code generation. The number and array of paths corresponding to shared libraries that will be loaded are specified via numPaths
and sharedLibPaths
respectively. TODO: figure out other options.
sourceReactant.MLIR.IR.Identifier
— MethodIdentifier(context, str)
Gets an identifier with the given string value.
sourceReactant.MLIR.IR.IntegerSet
— MethodIntegerSet(ndims, nsymbols, constraints, eqflags; context=context())
Gets or creates a new integer set in the given context. The set is defined by a list of affine constraints, with the given number of input dimensions and symbols, which are treated as either equalities (eqflags is 1) or inequalities (eqflags is 0). Both constraints
and eqflags
need to be arrays of the same length.
sourceReactant.MLIR.IR.IntegerSet
— MethodIntegerset(ndims, nsymbols; context=context())
Gets or creates a new canonically empty integer set with the give number of dimensions and symbols in the given context.
sourceReactant.MLIR.IR.LogicalResult
— TypeLogicalResult
A logical result value, essentially a boolean with named states. LLVM convention for using boolean values to designate success or failure of an operation is a moving target, so MLIR opted for an explicit class. Instances of LogicalResult
must only be inspected using the associated functions.
sourceReactant.MLIR.IR.Module
— TypeModule(location=Location())
Creates a new, empty module and transfers ownership to the caller.
sourceReactant.MLIR.IR.NamedAttribute
— MethodNamedAttribute(name, attr)
Associates an attribute with the name. Takes ownership of neither.
sourceReactant.MLIR.IR.OpPassManager
— MethodOpPassManager(opPassManager, operationName)
Nest an OpPassManager
under the provided OpPassManager
, the nested passmanager will only run on operations matching the provided name. The returned OpPassManager
will be destroyed when the parent is destroyed.
sourceReactant.MLIR.IR.OpPassManager
— MethodOpPassManager(passManager, operationName)
Nest an OpPassManager
under the top-level PassManager, the nested passmanager will only run on operations matching the provided name. The returned OpPassManager
will be destroyed when the parent is destroyed. To further nest more OpPassManager
under the newly returned one, see mlirOpPassManagerNest
below.
sourceReactant.MLIR.IR.OpPassManager
— MethodOpPassManager(passManager)
Cast a top-level PassManager
to a generic OpPassManager
.
sourceReactant.MLIR.IR.Operation
— MethodOperation(module)
Views the module as a generic operation.
sourceReactant.MLIR.IR.OperationIterator
— TypeOperationIterator(block::Block)
Iterates over all operations for the given block.
sourceReactant.MLIR.IR.PassManager
— MethodPassManager(anchorOp; context=context())
Create a new top-level PassManager anchored on anchorOp
.
sourceReactant.MLIR.IR.PassManager
— MethodPassManager(; context=context())
Create a new top-level PassManager.
sourceReactant.MLIR.IR.Region
— MethodRegion()
Creates a new empty region and transfers ownership to the caller.
sourceReactant.MLIR.IR.RegionIterator
— TypeRegionIterator(::Operation)
Iterates over all sub-regions for the given operation.
sourceReactant.MLIR.IR.SymbolTable
— MethodmlirSymbolTableCreate(operation)
Creates a symbol table for the given operation. If the operation does not have the SymbolTable trait, returns a null symbol table.
sourceReactant.MLIR.IR.Type
— MethodType(attr)
Returns the type stored in the given type attribute.
sourceReactant.MLIR.IR.Type
— MethodType(T::Core.Type{<:Integer}; context=context()
Creates a signless integer type of the given bitwidth in the context. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(T::Core.Type{<:Signed}; context=context()
Creates a signed integer type of the given bitwidth in the context. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(T::Core.Type{<:Unsigned}; context=context()
Creates an unsigned integer type of the given bitwidth in the context. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(T::Core.Type{Bool}; context=context()
Creates a 1-bit signless integer type in the context. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(::Core.Type{Float16}; context=context())
Creates an f16 type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(Core.Type{Float32}; context=context())
Creates an f32 type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(Core.Type{Float64}; context=context())
Creates a f64 type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(::Core.Type{Nothing}; context=context())
Creates a None type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(elements; context=context())
+Type(::Core.Type{<:Tuple{T...}}; context=context())
Creates a tuple type that consists of the given list of elemental types. The type is owned by the context.
sourceReactant.MLIR.IR.Type
— MethodType(Complex{T}) where {T}
Creates a complex type with the given element type in the same context as the element type. The type is owned by the context.
sourceReactant.MLIR.IR.@affinemap
— Macro@affinemap (d1, d2, d3, ...)[s1, s2, ...] -> (d0 + d1, ...)
Returns an affine map from the provided Julia expression. On the right hand side are allowed the following function calls:
- +, *, ÷, %, fld, cld
The rhs can only contains dimensions and symbols present on the left hand side or integer literals.
julia> using MLIR: IR, AffineUtils
julia> IR.context!(IR.Context()) do
IR.@affinemap (d1, d2)[s0] -> (d1 + s0, d2 % 10)
end
-MLIR.IR.AffineMap(#= (d0, d1)[s0] -> (d0 + s0, d1 mod 10) =#)
sourceBase.:*
— Method*(lhs, rhs)
Creates an affine mul expression with 'lhs' and 'rhs'.
sourceBase.:+
— Method+(lhs, rhs)
Creates an affine add expression with 'lhs' and 'rhs'.
sourceBase.:==
— Method==(a, b)
Returns true
if the two affine expressions are equal.
sourceBase.:==
— Method==(a, b)
Checks if two affine maps are equal.
sourceBase.:==
— Method==(a1, a2)
Checks if two attributes are equal.
sourceBase.:==
— Method==(block, other)
Checks whether two blocks handles point to the same block. This does not perform deep comparison.
sourceBase.:==
— Method==(ident, other)
Checks whether two identifiers are the same.
sourceBase.:==
— Method==(s1, s2)
Checks if two integer set objects are equal. This is a "shallow" comparison of two objects. Only the sets with some small number of constraints are uniqued and compare equal here. Set objects that represent the same integer set with different constraints may be considered non-equal by this check. Set difference followed by an (expensive) emptiness check should be used to check equivalence of the underlying integer sets.
sourceBase.:==
— Method==(region, other)
Checks whether two region handles point to the same region. This does not perform deep comparison.
sourceBase.:==
— Method==(t1, t2)
Checks if two types are equal.
sourceBase.:==
— Method==(typeID1, typeID2)
Checks if two type ids are equal.
sourceBase.:==
— Method==(value1, value2)
Returns 1 if two values are equal, 0 otherwise.
sourceBase.cld
— Methodcld(lhs, rhs)
Creates an affine ceildiv expression with 'lhs' and 'rhs'.
sourceBase.copy
— Methodcopy(op)
Creates a deep copy of an operation. The operation is not inserted and ownership is transferred to the caller.
sourceBase.div
— Methoddiv(lhs, rhs)
+MLIR.IR.AffineMap(#= (d0, d1)[s0] -> (d0 + s0, d1 mod 10) =#)
sourceBase.:*
— Method*(lhs, rhs)
Creates an affine mul expression with 'lhs' and 'rhs'.
sourceBase.:+
— Method+(lhs, rhs)
Creates an affine add expression with 'lhs' and 'rhs'.
sourceBase.:==
— Method==(a, b)
Returns true
if the two affine expressions are equal.
sourceBase.:==
— Method==(a, b)
Checks if two affine maps are equal.
sourceBase.:==
— Method==(a1, a2)
Checks if two attributes are equal.
sourceBase.:==
— Method==(block, other)
Checks whether two blocks handles point to the same block. This does not perform deep comparison.
sourceBase.:==
— Method==(ident, other)
Checks whether two identifiers are the same.
sourceBase.:==
— Method==(s1, s2)
Checks if two integer set objects are equal. This is a "shallow" comparison of two objects. Only the sets with some small number of constraints are uniqued and compare equal here. Set objects that represent the same integer set with different constraints may be considered non-equal by this check. Set difference followed by an (expensive) emptiness check should be used to check equivalence of the underlying integer sets.
sourceBase.:==
— Method==(region, other)
Checks whether two region handles point to the same region. This does not perform deep comparison.
sourceBase.:==
— Method==(t1, t2)
Checks if two types are equal.
sourceBase.:==
— Method==(typeID1, typeID2)
Checks if two type ids are equal.
sourceBase.:==
— Method==(value1, value2)
Returns 1 if two values are equal, 0 otherwise.
sourceBase.cld
— Methodcld(lhs, rhs)
Creates an affine ceildiv expression with 'lhs' and 'rhs'.
sourceBase.copy
— Methodcopy(op)
Creates a deep copy of an operation. The operation is not inserted and ownership is transferred to the caller.
sourceBase.div
— Methoddiv(lhs, rhs)
÷(lhs, rhs)
-fld(lhs, rhs)
Creates an affine floordiv expression with 'lhs' and 'rhs'.
sourceBase.fill
— Methodfill(attr, shapedType)
Creates a dense elements attribute with the given Shaped type containing a single replicated element (splat).
sourceBase.gcd
— Methodgcd(affineExpr)
Returns the greatest known integral divisor of this affine expression. The result is always positive.
sourceBase.hash
— Methodhash(typeID)
Returns the hash value of the type id.
sourceBase.insert!
— Methodinsert!(block, index, operation)
Takes an operation owned by the caller and inserts it as index
to the block. This is an expensive operation that scans the block linearly, prefer insertBefore/After instead.
sourceBase.insert!
— Methodinsert!(region, index, block)
Takes a block owned by the caller and inserts it at index
to the given region. This is an expensive operation that linearly scans the region, prefer insertAfter/Before instead.
sourceBase.isempty
— Methodisempty(affineMap)
Checks whether the given affine map is an empty affine map.
sourceBase.isperm
— Methodisperm(affineMap)
Checks whether the given affine map represents a symbol-less permutation map.
sourceBase.mod
— Methodmod(lhs, rhs)
Creates an affine mod expression with 'lhs' and 'rhs'.
sourceBase.ndims
— Methodndims(affineMap)
Returns the number of dimensions of the given affine map.
sourceBase.ndims
— Methodndims(set)
Returns the number of dimensions in the given set.
sourceBase.ndims
— Methodndims(type)
Returns the rank of the given ranked shaped type.
sourceBase.parse
— Methodparse(passManager, pipeline)
Parse a textual MLIR pass pipeline and add it to the provided OpPassManager
.
sourceBase.parse
— Methodparse(::Core.Type{Attribute}, str; context=context())
Parses an attribute. The attribute is owned by the context.
sourceBase.parse
— Methodparse(::Type{Module}, module; context=context())
Parses a module from the string and transfers ownership to the caller.
sourceBase.parse
— Methodparse(type; context=context())
Parses a type. The type is owned by the context.
sourceBase.push!
— Methodpush!(block, operation)
Takes an operation owned by the caller and appends it to the block.
sourceBase.push!
— Methodpush!(region, block)
Takes a block owned by the caller and appends it to the given region.
sourceBase.push!
— Methodpush!(symboltable, operation)
Inserts the given operation into the given symbol table. The operation must have the symbol trait. If the symbol table already has a symbol with the same name, renames the symbol being inserted to ensure name uniqueness. Note that this does not move the operation itself into the block of the symbol table operation, this should be done separately. Returns the name of the symbol after insertion.
sourceBase.replace
— MethodmlirAffineMapReplace(affineMap, expression => replacement, numResultDims, numResultSyms)
Apply AffineExpr::replace(map)
to each of the results and return a new new AffineMap with the new results and the specified number of dims and symbols.
sourceBase.replace
— MethodmlirIntegerSetReplaceGet(set, dimReplacements, symbolReplacements, numResultDims, numResultSymbols)
Gets or creates a new integer set in which the values and dimensions of the given set are replaced with the given affine expressions. dimReplacements
and symbolReplacements
are expected to point to at least as many consecutive expressions as the given set has dimensions and symbols, respectively. The new set will have numResultDims
and numResultSymbols
dimensions and symbols, respectively.
sourceBase.reshape
— MethodBase.reshape(attr, shapedType)
Creates a dense elements attribute that has the same data as the given dense elements attribute and a different shaped type. The new type must have the same total number of elements.
sourceBase.size
— Methodsize(type, i)
Returns the i
-th dimension of the given ranked shaped type.
sourceBase.write
— Methodwrite(fileName, jit)
Dump as an object in fileName
.
sourceReactant.MLIR.IR.AffineDimensionExpr
— MethodAffineDimensionExpr(position; context=context)
Creates an affine dimension expression with 'position' in the context.
sourceReactant.MLIR.IR.BFloat16Type
— MethodBFloat16Type(; context=context())
Creates a bf16 type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.ConstantAffineMap
— MethodConstantAffineMap(val; context=context())
Creates a single constant result affine map in the context. The affine map is owned by the context.
sourceReactant.MLIR.IR.ConstantExpr
— MethodConstantExpr(constant::Int; context=context())
Creates an affine constant expression with 'constant' in the context.
sourceReactant.MLIR.IR.DenseElementsAttribute
— MethodDenseElementsAttribute(array::AbstractArray{String})
Creates a dense elements attribute with the given shaped type from string elements.
sourceReactant.MLIR.IR.DenseElementsAttribute
— MethodDenseElementsAttribute(array::AbstractArray)
Creates a dense elements attribute with the given shaped type from elements of a specific type. Expects the element type of the shaped type to match the data element type.
sourceReactant.MLIR.IR.DenseElementsAttribute
— MethodDenseElementsAttribute(shapedType, elements)
Creates a dense elements attribute with the given Shaped type and elements in the same context as the type.
sourceReactant.MLIR.IR.FlatSymbolRefAttribute
— MethodFlatSymbolRefAttribute(ctx, symbol)
Creates a flat symbol reference attribute in the given context referencing a symbol identified by the given string.
sourceReactant.MLIR.IR.Float8E4M3FN
— MethodFloat8E4M3FN(; context=context())
Creates an f8E4M3FN type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.Float8E5M2
— MethodFloat8E5M2(; context=context())
Creates an f8E5M2 type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.FunctionType
— MethodFunctionType(inputs, results; context=context())
Creates a function type, mapping a list of input types to result types.
sourceReactant.MLIR.IR.IdentityAffineMap
— MethodIdentityAffineMap(ndims; context=context())
Creates an affine map with 'ndims' identity in the context. The affine map is owned by the context.
sourceReactant.MLIR.IR.IndexType
— MethodIndexType(; context=context())
Creates an index type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.MemRefType
— MethodMemRefType(elementType, rank, shape, layout, memorySpace; location=Location(), check=false)
Creates a MemRef type with the given rank and shape, a potentially empty list of affine layout maps, the given memory space and element type, in the same context as element type. The type is owned by the context. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.MemRefType
— MethodMemRefType(elementType, rank, shape, memorySpace; location=Location(), check=false)
Creates a MemRef type with the given rank, shape, memory space and element type in the same context as the element type. The type has no affine maps, i.e. represents a default row-major contiguous memref. The type is owned by the context. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.MemRefType
— MethodMemRefType(elementType, memorySpace)
Creates an Unranked MemRef type with the given element type and in the given memory space. The type is owned by the context of element type. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.MinorIdentityAffineMap
— MethodMinorIdentityAffineMap(ndims, nresults; context=context())
Creates an identity affine map on the most minor dimensions in the context. The affine map is owned by the context. The function asserts that the number of dimensions is greater or equal to the number of results.
sourceReactant.MLIR.IR.OpaqueAttribute
— MethodOpaqueAttribute(dialectNamespace, dataLength, data, type; context=context())
Creates an opaque attribute in the given context associated with the dialect identified by its namespace. The attribute contains opaque byte data of the specified length (data need not be null-terminated).
sourceReactant.MLIR.IR.OpaqueType
— MethodOpaqueType(dialectNamespace, typeData; context=context())
Creates an opaque type in the given context associated with the dialect identified by its namespace. The type contains opaque byte data of the specified length (data need not be null-terminated).
sourceReactant.MLIR.IR.PermutationAffineMap
— MethodPermutationAffineMap(permutation; context=context())
Creates an affine map with a permutation expression and its size in the context. The permutation expression is a non-empty vector of integers. The elements of the permutation vector must be continuous from 0 and cannot be repeated (i.e. [1,2,0]
is a valid permutation. [2,0]
or [1,1,2]
is an invalid invalid permutation). The affine map is owned by the context.
sourceReactant.MLIR.IR.SymbolExpr
— MethodSymbolExpr(position; context=context())
Creates an affine symbol expression with 'position' in the context.
sourceReactant.MLIR.IR.SymbolRefAttribute
— MethodSymbolRefAttribute(symbol, references; context=context())
Creates a symbol reference attribute in the given context referencing a symbol identified by the given string inside a list of nested references. Each of the references in the list must not be nested.
sourceReactant.MLIR.IR.TensorType
— FunctionTensorType(shape, elementType, encoding=Attribute(); location=Location(), check=false)
Creates a tensor type of a fixed rank with the given shape, element type, and optional encoding in the same context as the element type. The type is owned by the context. Tensor types without any specific encoding field should assign mlirAttributeGetNull
to this parameter. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.TensorType
— MethodTensorType(elementType)
Creates an unranked tensor type with the given element type in the same context as the element type. The type is owned by the context. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.UnitAttribute
— MethodUnitAttribute(; context=context())
Creates a unit attribute in the given context.
sourceReactant.MLIR.IR.VectorType
— MethodVectorType(rank, shape, elementType; location=Location(), check=false)
Creates a vector type of the shape identified by its rank and dimensions, with the given element type in the same context as the element type. The type is owned by the context. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.add_owned_pass!
— Methodadd_owned_pass!(opPassManager, pass)
Add a pass and transfer ownership to the provided OpPassManager
. If the pass is not a generic operation pass or matching the type of the provided OpPassManager
, a new OpPassManager
is implicitly nested under the provided OpPassManager
.
sourceReactant.MLIR.IR.add_owned_pass!
— Methodadd_owned_pass!(passManager, pass)
Add a pass and transfer ownership to the provided top-level PassManager
. If the pass is not a generic operation pass or a ModulePass
, a new OpPassManager
is implicitly nested under the provided PassManager.
sourceReactant.MLIR.IR.add_pipeline!
— Methodadd_pipeline!(passManager, pipelineElements, callback, userData)
Parse a sequence of textual MLIR pass pipeline elements and add them to the provided OpPassManager. If parsing fails an error message is reported using the provided callback.
sourceReactant.MLIR.IR.affinemap
— Methodaffinemap(type)
Returns the affine map of the given MemRef type.
sourceReactant.MLIR.IR.argument
— Methodargument(block, i)
Returns i
-th argument of the block.
sourceReactant.MLIR.IR.attr!
— Methodattr!(op, name, attr)
Sets an attribute by name, replacing the existing if it exists or adding a new one otherwise.
sourceReactant.MLIR.IR.attr
— Methodattr(op, name)
Returns an attribute attached to the operation given its name.
sourceReactant.MLIR.IR.attr
— Methodattr(op, i)
Return i
-th attribute of the operation.
sourceReactant.MLIR.IR.bitwidth
— Methodbitwidth(type)
Returns the bitwidth of an integer type.
sourceReactant.MLIR.IR.block
— Methodblock(op)
Gets the block that owns this operation, returning null if the operation is not owned.
sourceReactant.MLIR.IR.block_arg_num
— Methodblock_arg_num(value)
Returns the position of the value in the argument list of its block.
sourceReactant.MLIR.IR.block_owner
— Methodblock_owner(value)
Returns the block in which this value is defined as an argument. Asserts if the value is not a block argument.
sourceReactant.MLIR.IR.body
— Methodbody(module)
Gets the body of the module, i.e. the only block it contains.
sourceReactant.MLIR.IR.compose
— Methodcompose(affineExpr, affineMap)
Composes the given map with the given expression.
sourceReactant.MLIR.IR.constraint
— MethodmlirIntegerSetGetConstraint(set, i)
Returns i
-th constraint of the set.
sourceReactant.MLIR.IR.context
— Methodcontext(affineExpr)
Gets the context that owns the affine expression.
sourceReactant.MLIR.IR.context
— Methodcontext(affineMap)
Gets the context that the given affine map was created with.
sourceReactant.MLIR.IR.context
— Methodcontext(attribute)
Gets the context that an attribute was created with.
sourceReactant.MLIR.IR.context
— Methodcontext(ident)
Returns the context associated with this identifier
sourceReactant.MLIR.IR.context
— Methodcontext(set)
Gets the context in which the given integer set lives.
sourceReactant.MLIR.IR.context
— Methodcontext(module)
Gets the context that a module was created with.
sourceReactant.MLIR.IR.context
— Methodcontext(op)
Gets the context this operation is associated with.
sourceReactant.MLIR.IR.context
— Methodcontext(type)
Gets the context that a type was created with.
sourceReactant.MLIR.IR.data
— Methoddata(attr)
Returns the raw data as a string reference. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.IR.data
— MethodmlirOpaqueTypeGetData(type)
Returns the raw data as a string reference. The data remains live as long as the context in which the type lives.
sourceReactant.MLIR.IR.delete!
— Methoddelete!(symboltable, operation)
Removes the given operation from the symbol table and erases it.
sourceReactant.MLIR.IR.dynsize
— Methoddynsize()
Returns the value indicating a dynamic size in a shaped type. Prefer isdynsize
to direct comparisons with this value.
sourceReactant.MLIR.IR.dynstrideoroffset
— MethodmlirShapedTypeGetDynamicStrideOrOffset()
Returns the value indicating a dynamic stride or offset in a shaped type. Prefer isdynstrideoroffset
to direct comparisons with this value.
sourceReactant.MLIR.IR.enable_ir_printing!
— Methodenable_ir_printing!(passManager)
Enable mlir-print-ir-after-all.
sourceReactant.MLIR.IR.enable_verifier!
— Functionenable_verifier!(passManager, enable)
Enable / disable verify-each.
sourceReactant.MLIR.IR.encoding
— Methodencoding(type)
Gets the 'encoding' attribute from the ranked tensor type, returning a nothing
if none.
sourceReactant.MLIR.IR.failure
— Methodfailure()
Creates a logical result representing a failure.
sourceReactant.MLIR.IR.first_block
— Methodfirst_block(region)
Gets the first block in the region.
sourceReactant.MLIR.IR.first_op
— Methodfirst_op(block)
Returns the first operation in the block or nothing
if empty.
sourceReactant.MLIR.IR.first_use
— Methodfirst_use(value)
Returns an OpOperand
representing the first use of the value, or a nothing
if there are no uses.
sourceReactant.MLIR.IR.flatsymbol
— Methodflatsymbol(attr)
Returns the referenced symbol as a string reference. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.IR.hasrank
— Methodhasrank(type)
Checks whether the given shaped type is ranked.
sourceReactant.MLIR.IR.hasstaticshape
— Methodhasstaticshape(type)
Checks whether the given shaped type has a static shape.
sourceReactant.MLIR.IR.input
— Methodinput(type, i)
Returns the i
-th input type.
sourceReactant.MLIR.IR.insert_after!
— Methodinsert_after!(block, reference, operation)
Takes an operation owned by the caller and inserts it after the (non-owned) reference operation in the given block. If the reference is null, prepends the operation. Otherwise, the reference must belong to the block.
sourceReactant.MLIR.IR.insert_after!
— Methodinsert_after!(region, reference, block)
Takes a block owned by the caller and inserts it after the (non-owned) reference block in the given region. The reference block must belong to the region. If the reference block is null, prepends the block to the region.
sourceReactant.MLIR.IR.insert_before!
— Methodinsert_before!(block, reference, operation)
Takes an operation owned by the caller and inserts it before the (non-owned) reference operation in the given block. If the reference is null, appends the operation. Otherwise, the reference must belong to the block.
sourceReactant.MLIR.IR.insert_before!
— Methodinsert_before!(region, reference, block)
Takes a block owned by the caller and inserts it before the (non-owned) reference block in the given region. The reference block must belong to the region. If the reference block is null, appends the block to the region.
sourceReactant.MLIR.IR.is_block_arg
— Methodis_block_arg(value)
Returns 1 if the value is a block argument, 0 otherwise.
sourceReactant.MLIR.IR.is_op_res
— Methodis_op_res(value)
Returns 1 if the value is an operation result, 0 otherwise.
sourceReactant.MLIR.IR.is_pure_affine
— Methodis_pure_affine(affineExpr)
Checks whether the given affine expression is a pure affine expression, i.e. mul, floordiv, ceildic, and mod is only allowed w.r.t constants.
sourceReactant.MLIR.IR.is_registered
— Methodis_registered(name; context=context())
Returns whether the given fully-qualified operation (i.e. 'dialect.operation') is registered with the context. This will return true if the dialect is loaded and the operation is registered within the dialect.
sourceReactant.MLIR.IR.is_symbolic_or_constant
— Methodis_symbolic_or_constant(affineExpr)
Checks whether the given affine expression is made out of only symbols and constants.
sourceReactant.MLIR.IR.isadd
— Methodisadd(affineExpr)
Checks whether the given affine expression is an add expression.
sourceReactant.MLIR.IR.isaffinemap
— Methodisaffinemap(attr)
Checks whether the given attribute is an affine map attribute.
sourceReactant.MLIR.IR.isarray
— Methodisarray(attr)
Checks whether the given attribute is an array attribute.
sourceReactant.MLIR.IR.isbf16
— Methodisbf16(type)
Checks whether the given type is a bf16 type.
sourceReactant.MLIR.IR.isbinary
— Methodisbinary(affineExpr)
Checks whether the given affine expression is binary.
sourceReactant.MLIR.IR.isbool
— Methodisbool(attr)
Checks whether the given attribute is a bool attribute.
sourceReactant.MLIR.IR.isceildiv
— Methodisceildiv(affineExpr)
Checks whether the given affine expression is an ceildiv expression.
sourceReactant.MLIR.IR.iscomplex
— Methodiscomplex(type)
Checks whether the given type is a Complex type.
sourceReactant.MLIR.IR.isconstantexpr
— Methodisconstantexpr(affineExpr)
Checks whether the given affine expression is a constant expression.
sourceReactant.MLIR.IR.isconstrainteq
— MethodmlirIntegerSetIsConstraintEq(set, i)
Returns true
of the i
-th constraint of the set is an equality constraint, false
otherwise.
sourceReactant.MLIR.IR.isdenseelements
— Methodisdenseelements(attr)
Checks whether the given attribute is a dense elements attribute.
sourceReactant.MLIR.IR.isdict
— Methodisdict(attr)
Checks whether the given attribute is a dictionary attribute.
sourceReactant.MLIR.IR.isdimexpr
— Methodisdimexpr(affineExpr)
Checks whether the given affine expression is a dimension expression.
sourceReactant.MLIR.IR.isdyndim
— Methodisdyndim(type, i)
Checks wither the i
-th dimension of the given shaped type is dynamic.
sourceReactant.MLIR.IR.isdynsize
— Methodisdynsize(size)
Checks whether the given value is used as a placeholder for dynamic sizes in shaped types.
sourceReactant.MLIR.IR.isdynstrideoroffset
— MethodmlirShapedTypeIsDynamicStrideOrOffset(val)
Checks whether the given value is used as a placeholder for dynamic strides and offsets in shaped types.
sourceReactant.MLIR.IR.iselements
— Methodiselements(attr)
Checks whether the given attribute is an elements attribute.
sourceReactant.MLIR.IR.isempty
— Methodisempty(set)
Checks whether the given set is a canonical empty set, e.g., the set returned by mlirIntegerSetEmptyGet
.
sourceReactant.MLIR.IR.isf16
— Methodisf16(type)
Checks whether the given type is an f16 type.
sourceReactant.MLIR.IR.isf32
— Methodisf32(type)
Checks whether the given type is an f32 type.
sourceReactant.MLIR.IR.isf64
— Methodisf64(type)
Checks whether the given type is an f64 type.
sourceReactant.MLIR.IR.isf8e4m3fn
— Methodisf8e4m3fn(type)
Checks whether the given type is an f8E4M3FN type.
sourceReactant.MLIR.IR.isf8e5m2
— Methodisf8e5m2(type)
Checks whether the given type is an f8E5M2 type.
sourceReactant.MLIR.IR.isfailure
— Methodisfailure(res)
Checks if the given logical result represents a failure.
sourceReactant.MLIR.IR.isflatsymbolref
— Methodisflatsymbolref(attr)
Checks whether the given attribute is a flat symbol reference attribute.
sourceReactant.MLIR.IR.isfloat
— Methodisfloat(attr)
Checks whether the given attribute is a floating point attribute.
sourceReactant.MLIR.IR.isfloordiv
— Methodisfloordiv(affineExpr)
Checks whether the given affine expression is an floordiv expression.
sourceReactant.MLIR.IR.isfunction
— Methodisfunction(type)
Checks whether the given type is a function type.
sourceReactant.MLIR.IR.isfunctionofdimexpr
— Methodisfunctionofdimexpr(affineExpr, position)
Checks whether the given affine expression involves AffineDimExpr 'position'.
sourceReactant.MLIR.IR.isidentity
— Methodisidentity(affineMap)
Checks whether the given affine map is an identity affine map. The function asserts that the number of dimensions is greater or equal to the number of results.
sourceReactant.MLIR.IR.isindex
— Methodisindex(type)
Checks whether the given type is an index type.
sourceReactant.MLIR.IR.isinteger
— Methodisinteger(attr)
Checks whether the given attribute is an integer attribute.
sourceReactant.MLIR.IR.isinteger
— Methodisinteger(type)
Checks whether the given type is an integer type.
sourceReactant.MLIR.IR.isintegerset
— Methodisintegerset(attr)
Checks whether the given attribute is an integer set attribute.
sourceReactant.MLIR.IR.ismemref
— Methodismemref(type)
Checks whether the given type is a MemRef type.
sourceReactant.MLIR.IR.isminoridentity
— Methodisminoridentity(affineMap)
Checks whether the given affine map is a minor identity affine map.
sourceReactant.MLIR.IR.ismod
— Methodismod(affineExpr)
Checks whether the given affine expression is an mod expression.
sourceReactant.MLIR.IR.ismul
— Methodismul(affineExpr)
Checks whether the given affine expression is an mul expression.
sourceReactant.MLIR.IR.ismultipleof
— Methodismultipleof(affineExpr, factor)
Checks whether the given affine expression is a multiple of 'factor'.
sourceReactant.MLIR.IR.isnone
— MethodmlirTypeIsANone(type)
Checks whether the given type is a None type.
sourceReactant.MLIR.IR.isopaque
— Methodisopaque(attr)
Checks whether the given attribute is an opaque attribute.
sourceReactant.MLIR.IR.isopaque
— Methodisopaque(type)
Checks whether the given type is an opaque type.
sourceReactant.MLIR.IR.isprojperm
— Methodisprojperm(affineMap)
Checks whether the given affine map represents a subset of a symbol-less permutation map.
sourceReactant.MLIR.IR.isrankedtensor
— Methodisrankedtensor(type)
Checks whether the given type is a ranked tensor type.
sourceReactant.MLIR.IR.isshaped
— Methodisshaped(type)
Checks whether the given type is a Shaped type.
sourceReactant.MLIR.IR.issigned
— Methodissigned(type)
Checks whether the given integer type is signed.
sourceReactant.MLIR.IR.issignless
— Methodissignless(type)
Checks whether the given integer type is signless.
sourceReactant.MLIR.IR.issingleconstant
— Methodissingleconstant(affineMap)
Checks whether the given affine map is a single result constant affine map.
sourceReactant.MLIR.IR.issparseelements
— Methodissparseelements(attr)
Checks whether the given attribute is a sparse elements attribute.
sourceReactant.MLIR.IR.issplat
— Methodissplat(attr)
Checks whether the given dense elements attribute contains a single replicated value (splat).
sourceReactant.MLIR.IR.isstring
— Methodisstring(attr)
Checks whether the given attribute is a string attribute.
sourceReactant.MLIR.IR.issuccess
— Methodissuccess(res)
Checks if the given logical result represents a success.
sourceReactant.MLIR.IR.issymbolexpr
— Methodissymbolexpr(affineExpr)
Checks whether the given affine expression is a symbol expression.
sourceReactant.MLIR.IR.issymbolref
— Methodissymbolref(attr)
Checks whether the given attribute is a symbol reference attribute.
sourceReactant.MLIR.IR.istensor
— Methodistensor(type)
Checks whether the given type is a Tensor type.
sourceReactant.MLIR.IR.istuple
— Methodistuple(type)
Checks whether the given type is a tuple type.
sourceReactant.MLIR.IR.istype
— Methodistype(attr)
Checks whether the given attribute is a type attribute.
sourceReactant.MLIR.IR.isunit
— Methodisunit(attr)
Checks whether the given attribute is a unit attribute.
sourceReactant.MLIR.IR.isunrankedmemref
— MethodmlirTypeIsAUnrankedMemRef(type)
Checks whether the given type is an UnrankedMemRef type.
sourceReactant.MLIR.IR.isunrankedtensor
— Methodisunrankedtensor(type)
Checks whether the given type is an unranked tensor type.
sourceReactant.MLIR.IR.isunsigned
— Methodisunsigned(type)
Checks whether the given integer type is unsigned.
sourceReactant.MLIR.IR.isvector
— Methodisvector(type)
Checks whether the given type is a Vector type.
sourceReactant.MLIR.IR.layout
— Methodlayout(type)
Returns the layout of the given MemRef type.
sourceReactant.MLIR.IR.leafref
— Methodleafref(attr)
Returns the string reference to the leaf referenced symbol. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.IR.lhs
— Methodlhs(affineExpr)
Returns the left hand side affine expression of the given affine binary operation expression.
sourceReactant.MLIR.IR.location
— Methodlocation(op)
Gets the location of the operation.
sourceReactant.MLIR.IR.lookup
— Methodlookup(jit, name)
Lookup a native function in the execution engine by name, returns nullptr if the name can't be looked-up.
sourceReactant.MLIR.IR.lookup
— Methodlookup(symboltable, name)
Looks up a symbol with the given name in the given symbol table and returns the operation that corresponds to the symbol. If the symbol cannot be found, returns a null operation.
sourceReactant.MLIR.IR.majorsubmap
— Methodmajorsubmap(affineMap, nresults)
Returns the affine map consisting of the most major nresults
results. Returns the null AffineMap if the nresults
is equal to zero. Returns the affineMap
if nresults
is greater or equals to number of results of the given affine map.
sourceReactant.MLIR.IR.memspace
— MethodmlirMemRefTypeGetMemorySpace(type)
Returns the memory space of the given MemRef type.
sourceReactant.MLIR.IR.minorsubmap
— Methodminorsubmap(affineMap, nresults)
Returns the affine map consisting of the most minor nresults
results. Returns the null AffineMap if the nresults
is equal to zero. Returns the affineMap
if nresults
is greater or equals to number of results of the given affine map.
sourceReactant.MLIR.IR.move_after!
— Methodmove_after!(op, other)
Moves the given operation immediately after the other operation in its parent block. The given operation may be owned by the caller or by its current block. The other operation must belong to a block. In any case, the ownership is transferred to the block of the other operation.
sourceReactant.MLIR.IR.move_before!
— Methodmove_before!(op, other)
Moves the given operation immediately before the other operation in its parent block. The given operation may be owner by the caller or by its current block. The other operation must belong to a block. In any case, the ownership is transferred to the block of the other operation.
sourceReactant.MLIR.IR.name
— Methodname(op)
Gets the name of the operation as an identifier.
sourceReactant.MLIR.IR.namespace
— MethodmlirOpaqueAttrGetDialectNamespace(attr)
Returns the namespace of the dialect with which the given opaque attribute is associated. The namespace string is owned by the context.
sourceReactant.MLIR.IR.namespace
— MethodmlirOpaqueTypeGetDialectNamespace(type)
Returns the namespace of the dialect with which the given opaque type is associated. The namespace string is owned by the context.
sourceReactant.MLIR.IR.nargs
— Methodnargs(block)
Returns the number of arguments of the block.
sourceReactant.MLIR.IR.nattrs
— Methodnattrs(op)
Returns the number of attributes attached to the operation.
sourceReactant.MLIR.IR.nconstraints
— Methodnconstraints(set)
Returns the number of constraints (equalities + inequalities) in the given set.
sourceReactant.MLIR.IR.nequalities
— Methodnequalities(set)
Returns the number of equalities in the given set.
sourceReactant.MLIR.IR.next
— Methodnext(block)
Returns the block immediately following the given block in its parent region or nothing
if last.
sourceReactant.MLIR.IR.next
— Methodnext(opOperand)
Returns an op operand representing the next use of the value, or nothing
if there is no next use.
sourceReactant.MLIR.IR.ninequalities
— Methodninequalities(set)
Returns the number of inequalities in the given set.
sourceReactant.MLIR.IR.ninputs
— Methodninputs(affineMap)
Returns the number of inputs (dimensions + symbols) of the given affine map.
sourceReactant.MLIR.IR.ninputs
— Methodninputs(set)
Returns the number of inputs (dimensions + symbols) in the given set.
sourceReactant.MLIR.IR.ninputs
— Methodninputs(type)
Returns the number of input types.
sourceReactant.MLIR.IR.nnestedrefs
— Methodnnestedrefs(attr)
Returns the number of references nested in the given symbol reference attribute.
sourceReactant.MLIR.IR.noperands
— Methodnoperands(op)
Returns the number of operands of the operation.
sourceReactant.MLIR.IR.nregions
— Methodnregions(op)
Returns the number of regions attached to the given operation.
sourceReactant.MLIR.IR.nresults
— Methodnresults(affineMap)
Returns the number of results of the given affine map.
sourceReactant.MLIR.IR.nresults
— Methodnresults(op)
Returns the number of results of the operation.
sourceReactant.MLIR.IR.nresults
— Methodnresults(type)
Returns the number of result types.
sourceReactant.MLIR.IR.nsuccessors
— Methodnsuccessors(op)
Returns the number of successor blocks of the operation.
sourceReactant.MLIR.IR.nsymbols
— Methodnsymbols(affineMap)
Returns the number of symbols of the given affine map.
sourceReactant.MLIR.IR.nsymbols
— Methodnsymbols(set)
Returns the number of symbols in the given set.
sourceReactant.MLIR.IR.op_owner
— Methodop_owner(value)
Returns an operation that produced this value as its result. Asserts if the value is not an op result.
sourceReactant.MLIR.IR.op_res_num
— Methodop_res_num(value)
Returns the position of the value in the list of results of the operation that produced it.
sourceReactant.MLIR.IR.operand
— Functionoperand(op, i)
Returns i
-th operand of the operation.
sourceReactant.MLIR.IR.operand!
— Methodoperand!(op, i, value)
Sets the i
-th operand of the operation.
sourceReactant.MLIR.IR.operandindex
— Methodoperandindex(opOperand)
Returns the operand number of an op operand.
sourceReactant.MLIR.IR.owner
— Methodowner(opOperand)
Returns the owner operation of an op operand.
sourceReactant.MLIR.IR.parent_op
— Methodparent_op(block)
Returns the closest surrounding operation that contains this block.
sourceReactant.MLIR.IR.parent_op
— Methodparent_op(op)
Gets the operation that owns this operation, returning null if the operation is not owned.
sourceReactant.MLIR.IR.parent_region
— Methodparent_region(block)
Returns the region that contains this block.
sourceReactant.MLIR.IR.position
— Methodposition(affineExpr)
Returns the position of the given affine dimension expression, affine symbol expression or ...
sourceReactant.MLIR.IR.push_argument!
— Methodpush_argument!(block, type; location=Location())
Appends an argument of the specified type to the block. Returns the newly added argument.
sourceReactant.MLIR.IR.region
— Methodregion(op, i)
Returns i
-th region attached to the operation.
sourceReactant.MLIR.IR.result
— Functionresult(type, i)
Returns the i
-th result type.
sourceReactant.MLIR.IR.result
— Functionresult(op, i)
Returns i
-th result of the operation.
sourceReactant.MLIR.IR.result
— Methodresult(affineMap, pos)
Returns the result at the given position.
sourceReactant.MLIR.IR.result
— Methodresult(affineMap)
Returns the constant result of the given affine map. The function asserts that the map has a single constant result.
sourceReactant.MLIR.IR.rhs
— Methodrhs(affineExpr)
Returns the right hand side affine expression of the given affine binary operation expression.
sourceReactant.MLIR.IR.rmattr!
— Methodrmattr!(op, name)
Removes an attribute by name. Returns false if the attribute was not found and true if removed.
sourceReactant.MLIR.IR.rmfromparent!
— Methodrmfromparent(op)
Removes the given operation from its parent block. The operation is not destroyed. The ownership of the operation is transferred to the caller.
sourceReactant.MLIR.IR.rootref
— Methodrootref(attr)
Returns the string reference to the root referenced symbol. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.IR.run!
— Methodrun!(passManager, module)
Run the provided passManager
on the given module
.
sourceReactant.MLIR.IR.submap
— Methodsubmap(affineMap, positions)
Returns the affine map consisting of the positions
subset.
sourceReactant.MLIR.IR.success
— Methodsuccess()
Creates a logical result representing a success.
sourceReactant.MLIR.IR.successor
— Methodsuccessor(op, i)
Returns i
-th successor of the operation.
sourceReactant.MLIR.IR.terminator
— Methodterminator(block)
Returns the terminator operation in the block or nothing
if no terminator.
sourceReactant.MLIR.IR.type!
— Methodset_type!(value, type)
Sets the type of the block argument to the given type.
sourceReactant.MLIR.IR.type
— Methodtype(attribute)
Gets the type of this attribute.
sourceReactant.MLIR.IR.type
— Methodtype(value)
Returns the type of the value.
sourceReactant.MLIR.IR.typeid
— Methodtypeid(attribute)
Gets the type id of the attribute.
sourceReactant.MLIR.IR.typeid
— Methodtypeid(op)
Gets the type id of the operation. Returns null if the operation does not have a registered operation description.
sourceReactant.MLIR.IR.typeid
— Methodtypeid(type)
Gets the type ID of the type.
sourceReactant.MLIR.IR.value
— Methodvalue(affineExpr)
Returns the value of the given affine constant expression.
sourceReactant.MLIR.IR.verify
— Methodverify(op)
Verify the operation and return true if it passes, false if it fails.
sourceReactant.MLIR.IR.verifyall
— Methodverifyall(operation; debug=false)
Prints the operations which could not be verified.
sourceReactant.MLIR.Dialects.chlo.acos
— Methodacos
Returns Acos(operand)
element-wise.
$
\acos(x) = 2 * \atan(\sqrt(1 - x^2) / (1 + x)) if x != -1 = pi if x == -1 $
sourceReactant.MLIR.Dialects.chlo.acosh
— Methodacosh
Returns Acosh(operand)
element-wise.
$
\acosh(x) = log(x + sqrt(x^2 - 1)) if x >= -1 \acosh(x) = nan if x < -1 $
sourceReactant.MLIR.Dialects.chlo.asin
— Methodasin
Returns Asin(operand)
element-wise.
$
\asin(x) = 2 * atan(x / (1 + sqrt(1 - x^2))) $
sourceReactant.MLIR.Dialects.chlo.asinh
— Methodasinh
Returns Asinh(operand)
element-wise.
$
\asinh(x) = log(x + sqrt(x^2 + 1)) $
sourceReactant.MLIR.Dialects.chlo.atan
— Methodatan
Returns Atan(operand)
element-wise.
$
\atan(x) = \atan2(x, 1) $
sourceReactant.MLIR.Dialects.chlo.atanh
— Methodatanh
Returns Atanh(operand)
element-wise.
$
\atanh(x) = 0.5 * log((1 + x) / (1 - x)) if abs(x) <= 1 = nan otherwise $
sourceReactant.MLIR.Dialects.chlo.bessel_i1e
— Methodbessel_i1e
Returns bessel_i1e(operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.broadcast_add
— Methodbroadcast_add
Returns lhs + rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_and
— Methodbroadcast_and
Returns logical_and(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_atan2
— Methodbroadcast_atan2
Returns atan2(lhs/rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_compare
— Methodbroadcast_compare
Compares lhs
and rhs
elementwise according to comparison_direction
and compare_type
. If unspecified, compare_type
is FLOAT for float element types, SIGNED for signed element types and UNSIGNED for unsigned element types.
See https://www.tensorflow.org/xla/operationsemantics#element-wisecomparison_operations.
sourceReactant.MLIR.Dialects.chlo.broadcast_complex
— Methodbroadcast_complex
Performs element-wise conversion of a pair of real and imaginary values to a complex value.
sourceReactant.MLIR.Dialects.chlo.broadcast_divide
— Methodbroadcast_divide
Returns lhs / rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_maximum
— Methodbroadcast_maximum
Returns max(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_minimum
— Methodbroadcast_minimum
Returns min(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_multiply
— Methodbroadcast_multiply
Returns lhs * rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_next_after
— Methodbroadcast_next_after
Returns the next representable value of lhs
in the direction of rhs
, element-wise. It can also return a subnormal number.
Equivalent to the C++ std::nextafter function.
sourceReactant.MLIR.Dialects.chlo.broadcast_or
— Methodbroadcast_or
Returns logical_or(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_polygamma
— Methodbroadcast_polygamma
Returns Polygamma(operand, operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.broadcast_power
— Methodbroadcast_power
Returns lhs ^ rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_remainder
— Methodbroadcast_remainder
Returns lhs % rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_select
— Methodbroadcast_select
Constructs an output array from elements of two input arrays, based on the values of a predicate array.
See https://www.tensorflow.org/xla/operation_semantics#select
sourceReactant.MLIR.Dialects.chlo.broadcast_shift_left
— Methodbroadcast_shift_left
Returns lhs << rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_shift_right_arithmetic
— Methodbroadcast_shift_right_arithmetic
Returns lhs >> rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_shift_right_logical
— Methodbroadcast_shift_right_logical
Returns lhs >> rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_subtract
— Methodbroadcast_subtract
Returns lhs - rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_xor
— Methodbroadcast_xor
Returns logical_xor(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_zeta
— Methodbroadcast_zeta
Returns Zeta(operand, operand)
element-wise.
$
(\zeta(x, q) = \sum_{n=0}^{\infty} (q + n)^{-x}) $
sourceReactant.MLIR.Dialects.chlo.conj
— Methodconj
Returns Conj(operand)
element-wise.
$
\conj(x) = (\real(x), \neg(\imag(x))) $
sourceReactant.MLIR.Dialects.chlo.constant
— Methodconstant
Represents a constant value.
sourceReactant.MLIR.Dialects.chlo.constant_like
— Methodconstant_like
Returns a splat constant of the same shape as the operand.
sourceReactant.MLIR.Dialects.chlo.cosh
— Methodcosh
Returns Cosh(operand)
element-wise.
$
\cosh(x) = (e^x + e^-x) / 2 $
sourceReactant.MLIR.Dialects.chlo.digamma
— Methoddigamma
Returns Digamma(operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.erf
— Methoderf
Computes the Gauss error function of x
element-wise.
erf(x) = erfimpl(x) if |x| < 1 = 1 - erfcimpl(x) otherwise
sourceReactant.MLIR.Dialects.chlo.erf_inv
— Methoderf_inv
Returns ErfInv(operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.erfc
— Methoderfc
Computes an approximation of the error function complement (1 - erf(x)).
erfc(x) = erfcimpl(x) if |x| > 1 = 1 - erfimpl(x) otherwise
sourceReactant.MLIR.Dialects.chlo.is_inf
— Methodis_inf
Returns if a value is +/-inf element-wise.
sourceReactant.MLIR.Dialects.chlo.is_neg_inf
— Methodis_neg_inf
Returns if a value is -inf element-wise.
sourceReactant.MLIR.Dialects.chlo.is_pos_inf
— Methodis_pos_inf
Returns if a value is +inf element-wise.
sourceReactant.MLIR.Dialects.chlo.lgamma
— Methodlgamma
Returns Lgamma(operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.next_after
— Methodnext_after
Returns the next representable value of x
in the direction of y
, element-wise. It can also return a subnormal number.
Equivalent to the C++ std::nextafter function.
sourceReactant.MLIR.Dialects.chlo.polygamma
— Methodpolygamma
Returns Polygamma(operand, operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.sinh
— Methodsinh
Returns Sinh(operand)
element-wise.
$
\sinh(x) = (e^x - e^-x) / 2 if |x| < 1 = e^(x + log(1/2)) - e^(-x + log(1/2)) otherwise. $
sourceReactant.MLIR.Dialects.chlo.tan
— Methodtan
Returns Tan(operand)
element-wise.
$
\tan(x) = \sin(x) / \cos(x) $
sourceReactant.MLIR.Dialects.chlo.top_k
— Methodtop_k
If the input is a vector (rank-1), finds the k
largest entries in the vector and outputs their values and indices as vectors. Thus values[j]
is the j
-th largest entry in input
, and its index is indices[j]
.
For matrices (resp. higher rank input), computes the top k
entries in each row (resp. vector along the last dimension). Thus,
values.shape = indices.shape = input.shape[:-1] + [k]
If two elements are equal, the lower-index element appears first.
sourceReactant.MLIR.Dialects.chlo.zeta
— Methodzeta
Returns Zeta(operand, operand)
element-wise.
$
(\zeta(x, q) = \sum_{n=0}^{\infty} (q + n)^{-x}) $
sourceReactant.MLIR.Dialects.vhlo.abs_v1
— Methodabs_v1
sourceReactant.MLIR.Dialects.vhlo.add_v1
— Methodadd_v1
sourceReactant.MLIR.Dialects.vhlo.after_all_v1
— Methodafter_all_v1
sourceReactant.MLIR.Dialects.vhlo.all_gather_v1
— Methodall_gather_v1
sourceReactant.MLIR.Dialects.vhlo.all_reduce_v1
— Methodall_reduce_v1
sourceReactant.MLIR.Dialects.vhlo.all_to_all_v1
— Methodall_to_all_v1
sourceReactant.MLIR.Dialects.vhlo.and_v1
— Methodand_v1
sourceReactant.MLIR.Dialects.vhlo.atan2_v1
— Methodatan2_v1
sourceReactant.MLIR.Dialects.vhlo.batch_norm_grad_v1
— Methodbatch_norm_grad_v1
sourceReactant.MLIR.Dialects.vhlo.batch_norm_inference_v1
— Methodbatch_norm_inference_v1
sourceReactant.MLIR.Dialects.vhlo.batch_norm_training_v1
— Methodbatch_norm_training_v1
sourceReactant.MLIR.Dialects.vhlo.bitcast_convert_v1
— Methodbitcast_convert_v1
sourceReactant.MLIR.Dialects.vhlo.broadcast_in_dim_v1
— Methodbroadcast_in_dim_v1
sourceReactant.MLIR.Dialects.vhlo.broadcast_v1
— Methodbroadcast_v1
sourceReactant.MLIR.Dialects.vhlo.call_v1
— Methodcall_v1
sourceReactant.MLIR.Dialects.vhlo.case_v1
— Methodcase_v1
sourceReactant.MLIR.Dialects.vhlo.cbrt_v1
— Methodcbrt_v1
sourceReactant.MLIR.Dialects.vhlo.ceil_v1
— Methodceil_v1
sourceReactant.MLIR.Dialects.vhlo.cholesky_v1
— Methodcholesky_v1
sourceReactant.MLIR.Dialects.vhlo.clamp_v1
— Methodclamp_v1
sourceReactant.MLIR.Dialects.vhlo.collective_broadcast_v1
— Methodcollective_broadcast_v1
sourceReactant.MLIR.Dialects.vhlo.collective_permute_v1
— Methodcollective_permute_v1
sourceReactant.MLIR.Dialects.vhlo.compare_v1
— Methodcompare_v1
sourceReactant.MLIR.Dialects.vhlo.complex_v1
— Methodcomplex_v1
sourceReactant.MLIR.Dialects.vhlo.composite_v1
— Methodcomposite_v1
sourceReactant.MLIR.Dialects.vhlo.concatenate_v1
— Methodconcatenate_v1
sourceReactant.MLIR.Dialects.vhlo.constant_v1
— Methodconstant_v1
sourceReactant.MLIR.Dialects.vhlo.convert_v1
— Methodconvert_v1
sourceReactant.MLIR.Dialects.vhlo.convolution_v1
— Methodconvolution_v1
sourceReactant.MLIR.Dialects.vhlo.cosine_v1
— Methodcosine_v1
sourceReactant.MLIR.Dialects.vhlo.count_leading_zeros_v1
— Methodcount_leading_zeros_v1
sourceReactant.MLIR.Dialects.vhlo.create_token_v1
— Methodcreate_token_v1
sourceReactant.MLIR.Dialects.vhlo.cross_replica_sum_v1
— Methodcross_replica_sum_v1
sourceReactant.MLIR.Dialects.vhlo.custom_call_v1
— Methodcustom_call_v1
sourceReactant.MLIR.Dialects.vhlo.divide_v1
— Methoddivide_v1
sourceReactant.MLIR.Dialects.vhlo.dot_general_v1
— Methoddot_general_v1
sourceReactant.MLIR.Dialects.vhlo.dot_v1
— Methoddot_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_broadcast_in_dim_v1
— Methoddynamic_broadcast_in_dim_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_conv_v1
— Methoddynamic_conv_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_conv_v2
— Methoddynamic_conv_v2
sourceReactant.MLIR.Dialects.vhlo.dynamic_gather_v1
— Methoddynamic_gather_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_gather_v2
— Methoddynamic_gather_v2
sourceReactant.MLIR.Dialects.vhlo.dynamic_iota_v1
— Methoddynamic_iota_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_pad_v1
— Methoddynamic_pad_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_reshape_v1
— Methoddynamic_reshape_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_slice_v1
— Methoddynamic_slice_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_update_slice_v1
— Methoddynamic_update_slice_v1
sourceReactant.MLIR.Dialects.vhlo.einsum_v1
— Methodeinsum_v1
sourceReactant.MLIR.Dialects.vhlo.exponential_minus_one_v1
— Methodexponential_minus_one_v1
sourceReactant.MLIR.Dialects.vhlo.exponential_v1
— Methodexponential_v1
sourceReactant.MLIR.Dialects.vhlo.fft_v1
— Methodfft_v1
sourceReactant.MLIR.Dialects.vhlo.floor_v1
— Methodfloor_v1
sourceReactant.MLIR.Dialects.vhlo.func_v1
— Methodfunc_v1
sourceReactant.MLIR.Dialects.vhlo.gather_v1
— Methodgather_v1
sourceReactant.MLIR.Dialects.vhlo.gather_v2
— Methodgather_v2
sourceReactant.MLIR.Dialects.vhlo.get_dimension_size_v1
— Methodget_dimension_size_v1
sourceReactant.MLIR.Dialects.vhlo.get_tuple_element_v1
— Methodget_tuple_element_v1
sourceReactant.MLIR.Dialects.vhlo.if_v1
— Methodif_v1
sourceReactant.MLIR.Dialects.vhlo.imag_v1
— Methodimag_v1
sourceReactant.MLIR.Dialects.vhlo.infeed_v1
— Methodinfeed_v1
sourceReactant.MLIR.Dialects.vhlo.iota_v1
— Methodiota_v1
sourceReactant.MLIR.Dialects.vhlo.is_finite_v1
— Methodis_finite_v1
sourceReactant.MLIR.Dialects.vhlo.log_plus_one_v1
— Methodlog_plus_one_v1
sourceReactant.MLIR.Dialects.vhlo.log_v1
— Methodlog_v1
sourceReactant.MLIR.Dialects.vhlo.logistic_v1
— Methodlogistic_v1
sourceReactant.MLIR.Dialects.vhlo.map_v1
— Methodmap_v1
sourceReactant.MLIR.Dialects.vhlo.maximum_v1
— Methodmaximum_v1
sourceReactant.MLIR.Dialects.vhlo.minimum_v1
— Methodminimum_v1
sourceReactant.MLIR.Dialects.vhlo.multiply_v1
— Methodmultiply_v1
sourceReactant.MLIR.Dialects.vhlo.negate_v1
— Methodnegate_v1
sourceReactant.MLIR.Dialects.vhlo.not_v1
— Methodnot_v1
sourceReactant.MLIR.Dialects.vhlo.optimization_barrier_v1
— Methodoptimization_barrier_v1
sourceReactant.MLIR.Dialects.vhlo.or_v1
— Methodor_v1
sourceReactant.MLIR.Dialects.vhlo.outfeed_v1
— Methodoutfeed_v1
sourceReactant.MLIR.Dialects.vhlo.pad_v1
— Methodpad_v1
sourceReactant.MLIR.Dialects.vhlo.partition_id_v1
— Methodpartition_id_v1
sourceReactant.MLIR.Dialects.vhlo.popcnt_v1
— Methodpopcnt_v1
sourceReactant.MLIR.Dialects.vhlo.power_v1
— Methodpower_v1
sourceReactant.MLIR.Dialects.vhlo.real_dynamic_slice_v1
— Methodreal_dynamic_slice_v1
sourceReactant.MLIR.Dialects.vhlo.real_v1
— Methodreal_v1
sourceReactant.MLIR.Dialects.vhlo.recv_v1
— Methodrecv_v1
sourceReactant.MLIR.Dialects.vhlo.reduce_precision_v1
— Methodreduce_precision_v1
sourceReactant.MLIR.Dialects.vhlo.reduce_scatter_v1
— Methodreduce_scatter_v1
sourceReactant.MLIR.Dialects.vhlo.reduce_v1
— Methodreduce_v1
sourceReactant.MLIR.Dialects.vhlo.reduce_window_v1
— Methodreduce_window_v1
sourceReactant.MLIR.Dialects.vhlo.remainder_v1
— Methodremainder_v1
sourceReactant.MLIR.Dialects.vhlo.replica_id_v1
— Methodreplica_id_v1
sourceReactant.MLIR.Dialects.vhlo.reshape_v1
— Methodreshape_v1
sourceReactant.MLIR.Dialects.vhlo.return_v1
— Methodreturn_v1
sourceReactant.MLIR.Dialects.vhlo.reverse_v1
— Methodreverse_v1
sourceReactant.MLIR.Dialects.vhlo.rng_bit_generator_v1
— Methodrng_bit_generator_v1
sourceReactant.MLIR.Dialects.vhlo.rng_v1
— Methodrng_v1
sourceReactant.MLIR.Dialects.vhlo.round_nearest_afz_v1
— Methodround_nearest_afz_v1
sourceReactant.MLIR.Dialects.vhlo.round_nearest_even_v1
— Methodround_nearest_even_v1
sourceReactant.MLIR.Dialects.vhlo.rsqrt_v1
— Methodrsqrt_v1
sourceReactant.MLIR.Dialects.vhlo.scatter_v1
— Methodscatter_v1
sourceReactant.MLIR.Dialects.vhlo.scatter_v2
— Methodscatter_v2
sourceReactant.MLIR.Dialects.vhlo.select_and_scatter_v1
— Methodselect_and_scatter_v1
sourceReactant.MLIR.Dialects.vhlo.select_v1
— Methodselect_v1
sourceReactant.MLIR.Dialects.vhlo.send_v1
— Methodsend_v1
sourceReactant.MLIR.Dialects.vhlo.set_dimension_size_v1
— Methodset_dimension_size_v1
sourceReactant.MLIR.Dialects.vhlo.shift_left_v1
— Methodshift_left_v1
sourceReactant.MLIR.Dialects.vhlo.shift_right_arithmetic_v1
— Methodshift_right_arithmetic_v1
sourceReactant.MLIR.Dialects.vhlo.shift_right_logical_v1
— Methodshift_right_logical_v1
sourceReactant.MLIR.Dialects.vhlo.sign_v1
— Methodsign_v1
sourceReactant.MLIR.Dialects.vhlo.sine_v1
— Methodsine_v1
sourceReactant.MLIR.Dialects.vhlo.slice_v1
— Methodslice_v1
sourceReactant.MLIR.Dialects.vhlo.sort_v1
— Methodsort_v1
sourceReactant.MLIR.Dialects.vhlo.sqrt_v1
— Methodsqrt_v1
sourceReactant.MLIR.Dialects.vhlo.subtract_v1
— Methodsubtract_v1
sourceReactant.MLIR.Dialects.vhlo.tanh_v1
— Methodtanh_v1
sourceReactant.MLIR.Dialects.vhlo.torch_index_select_v1
— Methodtorch_index_select_v1
sourceReactant.MLIR.Dialects.vhlo.transpose_v1
— Methodtranspose_v1
sourceReactant.MLIR.Dialects.vhlo.triangular_solve_v1
— Methodtriangular_solve_v1
sourceReactant.MLIR.Dialects.vhlo.tuple_v1
— Methodtuple_v1
sourceReactant.MLIR.Dialects.vhlo.unary_einsum_v1
— Methodunary_einsum_v1
sourceReactant.MLIR.Dialects.vhlo.uniform_dequantize_v1
— Methoduniform_dequantize_v1
sourceReactant.MLIR.Dialects.vhlo.uniform_quantize_v1
— Methoduniform_quantize_v1
sourceReactant.MLIR.Dialects.vhlo.while_v1
— Methodwhile_v1
sourceReactant.MLIR.Dialects.vhlo.xor_v1
— Methodxor_v1
sourceReactant.MLIR.Dialects.stablehlo.abs
— Methodabs
Performs element-wise abs operation on operand
tensor and produces a result
tensor.
See: https://github.com/openxla/stablehlo/blob/main/docs/spec.md#abs
Example
%result = stablehlo.abs %operand : tensor<3xi32>
sourceReactant.MLIR.Dialects.stablehlo.add
— Methodadd
Performs element-wise addition of two tensors lhs
and rhs
and produces a result
tensor.
See: https://github.com/openxla/stablehlo/blob/main/docs/spec.md#add
Example
%result = stablehlo.add %lhs, %rhs : tensor<2x2xi32>
sourceReactant.MLIR.Dialects.stablehlo.after_all
— Methodafter_all
Ensures that the operations producing the inputs
are executed before any operations that depend on result
.
See: https://github.com/openxla/stablehlo/blob/main/docs/spec.md#after_all
Example
%result = stablehlo.after_all %input0, %input1 : !stablehlo.token
sourceReactant.MLIR.Dialects.stablehlo.all_gather
— Methodall_gather
Within each process group in the process grid, concatenates the values of the operand
tensor from each process along all_gather_dim
and produces a result
tensor.
See: https://github.com/openxla/stablehlo/blob/main/docs/spec.md#all_gather
Example
%result = "stablehlo.all_gather"(%operand) {
+fld(lhs, rhs)
Creates an affine floordiv expression with 'lhs' and 'rhs'.
sourceBase.fill
— Methodfill(attr, shapedType)
Creates a dense elements attribute with the given Shaped type containing a single replicated element (splat).
sourceBase.gcd
— Methodgcd(affineExpr)
Returns the greatest known integral divisor of this affine expression. The result is always positive.
sourceBase.hash
— Methodhash(typeID)
Returns the hash value of the type id.
sourceBase.insert!
— Methodinsert!(block, index, operation)
Takes an operation owned by the caller and inserts it as index
to the block. This is an expensive operation that scans the block linearly, prefer insertBefore/After instead.
sourceBase.insert!
— Methodinsert!(region, index, block)
Takes a block owned by the caller and inserts it at index
to the given region. This is an expensive operation that linearly scans the region, prefer insertAfter/Before instead.
sourceBase.isempty
— Methodisempty(affineMap)
Checks whether the given affine map is an empty affine map.
sourceBase.isperm
— Methodisperm(affineMap)
Checks whether the given affine map represents a symbol-less permutation map.
sourceBase.mod
— Methodmod(lhs, rhs)
Creates an affine mod expression with 'lhs' and 'rhs'.
sourceBase.ndims
— Methodndims(affineMap)
Returns the number of dimensions of the given affine map.
sourceBase.ndims
— Methodndims(set)
Returns the number of dimensions in the given set.
sourceBase.ndims
— Methodndims(type)
Returns the rank of the given ranked shaped type.
sourceBase.parse
— Methodparse(passManager, pipeline)
Parse a textual MLIR pass pipeline and add it to the provided OpPassManager
.
sourceBase.parse
— Methodparse(::Core.Type{Attribute}, str; context=context())
Parses an attribute. The attribute is owned by the context.
sourceBase.parse
— Methodparse(::Type{Module}, module; context=context())
Parses a module from the string and transfers ownership to the caller.
sourceBase.parse
— Methodparse(type; context=context())
Parses a type. The type is owned by the context.
sourceBase.push!
— Methodpush!(block, operation)
Takes an operation owned by the caller and appends it to the block.
sourceBase.push!
— Methodpush!(region, block)
Takes a block owned by the caller and appends it to the given region.
sourceBase.push!
— Methodpush!(symboltable, operation)
Inserts the given operation into the given symbol table. The operation must have the symbol trait. If the symbol table already has a symbol with the same name, renames the symbol being inserted to ensure name uniqueness. Note that this does not move the operation itself into the block of the symbol table operation, this should be done separately. Returns the name of the symbol after insertion.
sourceBase.replace
— MethodmlirAffineMapReplace(affineMap, expression => replacement, numResultDims, numResultSyms)
Apply AffineExpr::replace(map)
to each of the results and return a new new AffineMap with the new results and the specified number of dims and symbols.
sourceBase.replace
— MethodmlirIntegerSetReplaceGet(set, dimReplacements, symbolReplacements, numResultDims, numResultSymbols)
Gets or creates a new integer set in which the values and dimensions of the given set are replaced with the given affine expressions. dimReplacements
and symbolReplacements
are expected to point to at least as many consecutive expressions as the given set has dimensions and symbols, respectively. The new set will have numResultDims
and numResultSymbols
dimensions and symbols, respectively.
sourceBase.reshape
— MethodBase.reshape(attr, shapedType)
Creates a dense elements attribute that has the same data as the given dense elements attribute and a different shaped type. The new type must have the same total number of elements.
sourceBase.size
— Methodsize(type, i)
Returns the i
-th dimension of the given ranked shaped type.
sourceBase.write
— Methodwrite(fileName, jit)
Dump as an object in fileName
.
sourceReactant.MLIR.IR.AffineDimensionExpr
— MethodAffineDimensionExpr(position; context=context)
Creates an affine dimension expression with 'position' in the context.
sourceReactant.MLIR.IR.BFloat16Type
— MethodBFloat16Type(; context=context())
Creates a bf16 type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.ConstantAffineMap
— MethodConstantAffineMap(val; context=context())
Creates a single constant result affine map in the context. The affine map is owned by the context.
sourceReactant.MLIR.IR.ConstantExpr
— MethodConstantExpr(constant::Int; context=context())
Creates an affine constant expression with 'constant' in the context.
sourceReactant.MLIR.IR.DenseElementsAttribute
— MethodDenseElementsAttribute(array::AbstractArray{String})
Creates a dense elements attribute with the given shaped type from string elements.
sourceReactant.MLIR.IR.DenseElementsAttribute
— MethodDenseElementsAttribute(array::AbstractArray)
Creates a dense elements attribute with the given shaped type from elements of a specific type. Expects the element type of the shaped type to match the data element type.
sourceReactant.MLIR.IR.DenseElementsAttribute
— MethodDenseElementsAttribute(shapedType, elements)
Creates a dense elements attribute with the given Shaped type and elements in the same context as the type.
sourceReactant.MLIR.IR.FlatSymbolRefAttribute
— MethodFlatSymbolRefAttribute(ctx, symbol)
Creates a flat symbol reference attribute in the given context referencing a symbol identified by the given string.
sourceReactant.MLIR.IR.Float8E4M3FN
— MethodFloat8E4M3FN(; context=context())
Creates an f8E4M3FN type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.Float8E5M2
— MethodFloat8E5M2(; context=context())
Creates an f8E5M2 type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.FunctionType
— MethodFunctionType(inputs, results; context=context())
Creates a function type, mapping a list of input types to result types.
sourceReactant.MLIR.IR.IdentityAffineMap
— MethodIdentityAffineMap(ndims; context=context())
Creates an affine map with 'ndims' identity in the context. The affine map is owned by the context.
sourceReactant.MLIR.IR.IndexType
— MethodIndexType(; context=context())
Creates an index type in the given context. The type is owned by the context.
sourceReactant.MLIR.IR.MemRefType
— MethodMemRefType(elementType, rank, shape, layout, memorySpace; location=Location(), check=false)
Creates a MemRef type with the given rank and shape, a potentially empty list of affine layout maps, the given memory space and element type, in the same context as element type. The type is owned by the context. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.MemRefType
— MethodMemRefType(elementType, rank, shape, memorySpace; location=Location(), check=false)
Creates a MemRef type with the given rank, shape, memory space and element type in the same context as the element type. The type has no affine maps, i.e. represents a default row-major contiguous memref. The type is owned by the context. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.MemRefType
— MethodMemRefType(elementType, memorySpace)
Creates an Unranked MemRef type with the given element type and in the given memory space. The type is owned by the context of element type. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.MinorIdentityAffineMap
— MethodMinorIdentityAffineMap(ndims, nresults; context=context())
Creates an identity affine map on the most minor dimensions in the context. The affine map is owned by the context. The function asserts that the number of dimensions is greater or equal to the number of results.
sourceReactant.MLIR.IR.OpaqueAttribute
— MethodOpaqueAttribute(dialectNamespace, dataLength, data, type; context=context())
Creates an opaque attribute in the given context associated with the dialect identified by its namespace. The attribute contains opaque byte data of the specified length (data need not be null-terminated).
sourceReactant.MLIR.IR.OpaqueType
— MethodOpaqueType(dialectNamespace, typeData; context=context())
Creates an opaque type in the given context associated with the dialect identified by its namespace. The type contains opaque byte data of the specified length (data need not be null-terminated).
sourceReactant.MLIR.IR.PermutationAffineMap
— MethodPermutationAffineMap(permutation; context=context())
Creates an affine map with a permutation expression and its size in the context. The permutation expression is a non-empty vector of integers. The elements of the permutation vector must be continuous from 0 and cannot be repeated (i.e. [1,2,0]
is a valid permutation. [2,0]
or [1,1,2]
is an invalid invalid permutation). The affine map is owned by the context.
sourceReactant.MLIR.IR.SymbolExpr
— MethodSymbolExpr(position; context=context())
Creates an affine symbol expression with 'position' in the context.
sourceReactant.MLIR.IR.SymbolRefAttribute
— MethodSymbolRefAttribute(symbol, references; context=context())
Creates a symbol reference attribute in the given context referencing a symbol identified by the given string inside a list of nested references. Each of the references in the list must not be nested.
sourceReactant.MLIR.IR.TensorType
— FunctionTensorType(shape, elementType, encoding=Attribute(); location=Location(), check=false)
Creates a tensor type of a fixed rank with the given shape, element type, and optional encoding in the same context as the element type. The type is owned by the context. Tensor types without any specific encoding field should assign mlirAttributeGetNull
to this parameter. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.TensorType
— MethodTensorType(elementType)
Creates an unranked tensor type with the given element type in the same context as the element type. The type is owned by the context. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.UnitAttribute
— MethodUnitAttribute(; context=context())
Creates a unit attribute in the given context.
sourceReactant.MLIR.IR.VectorType
— MethodVectorType(rank, shape, elementType; location=Location(), check=false)
Creates a vector type of the shape identified by its rank and dimensions, with the given element type in the same context as the element type. The type is owned by the context. If check=true
, emits appropriate diagnostics on illegal arguments.
sourceReactant.MLIR.IR.add_owned_pass!
— Methodadd_owned_pass!(opPassManager, pass)
Add a pass and transfer ownership to the provided OpPassManager
. If the pass is not a generic operation pass or matching the type of the provided OpPassManager
, a new OpPassManager
is implicitly nested under the provided OpPassManager
.
sourceReactant.MLIR.IR.add_owned_pass!
— Methodadd_owned_pass!(passManager, pass)
Add a pass and transfer ownership to the provided top-level PassManager
. If the pass is not a generic operation pass or a ModulePass
, a new OpPassManager
is implicitly nested under the provided PassManager.
sourceReactant.MLIR.IR.add_pipeline!
— Methodadd_pipeline!(passManager, pipelineElements, callback, userData)
Parse a sequence of textual MLIR pass pipeline elements and add them to the provided OpPassManager. If parsing fails an error message is reported using the provided callback.
sourceReactant.MLIR.IR.affinemap
— Methodaffinemap(type)
Returns the affine map of the given MemRef type.
sourceReactant.MLIR.IR.argument
— Methodargument(block, i)
Returns i
-th argument of the block.
sourceReactant.MLIR.IR.attr!
— Methodattr!(op, name, attr)
Sets an attribute by name, replacing the existing if it exists or adding a new one otherwise.
sourceReactant.MLIR.IR.attr
— Methodattr(op, name)
Returns an attribute attached to the operation given its name.
sourceReactant.MLIR.IR.attr
— Methodattr(op, i)
Return i
-th attribute of the operation.
sourceReactant.MLIR.IR.bitwidth
— Methodbitwidth(type)
Returns the bitwidth of an integer type.
sourceReactant.MLIR.IR.block
— Methodblock(op)
Gets the block that owns this operation, returning null if the operation is not owned.
sourceReactant.MLIR.IR.block_arg_num
— Methodblock_arg_num(value)
Returns the position of the value in the argument list of its block.
sourceReactant.MLIR.IR.block_owner
— Methodblock_owner(value)
Returns the block in which this value is defined as an argument. Asserts if the value is not a block argument.
sourceReactant.MLIR.IR.body
— Methodbody(module)
Gets the body of the module, i.e. the only block it contains.
sourceReactant.MLIR.IR.compose
— Methodcompose(affineExpr, affineMap)
Composes the given map with the given expression.
sourceReactant.MLIR.IR.constraint
— MethodmlirIntegerSetGetConstraint(set, i)
Returns i
-th constraint of the set.
sourceReactant.MLIR.IR.context
— Methodcontext(affineExpr)
Gets the context that owns the affine expression.
sourceReactant.MLIR.IR.context
— Methodcontext(affineMap)
Gets the context that the given affine map was created with.
sourceReactant.MLIR.IR.context
— Methodcontext(attribute)
Gets the context that an attribute was created with.
sourceReactant.MLIR.IR.context
— Methodcontext(ident)
Returns the context associated with this identifier
sourceReactant.MLIR.IR.context
— Methodcontext(set)
Gets the context in which the given integer set lives.
sourceReactant.MLIR.IR.context
— Methodcontext(module)
Gets the context that a module was created with.
sourceReactant.MLIR.IR.context
— Methodcontext(op)
Gets the context this operation is associated with.
sourceReactant.MLIR.IR.context
— Methodcontext(type)
Gets the context that a type was created with.
sourceReactant.MLIR.IR.data
— Methoddata(attr)
Returns the raw data as a string reference. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.IR.data
— MethodmlirOpaqueTypeGetData(type)
Returns the raw data as a string reference. The data remains live as long as the context in which the type lives.
sourceReactant.MLIR.IR.delete!
— Methoddelete!(symboltable, operation)
Removes the given operation from the symbol table and erases it.
sourceReactant.MLIR.IR.dynsize
— Methoddynsize()
Returns the value indicating a dynamic size in a shaped type. Prefer isdynsize
to direct comparisons with this value.
sourceReactant.MLIR.IR.dynstrideoroffset
— MethodmlirShapedTypeGetDynamicStrideOrOffset()
Returns the value indicating a dynamic stride or offset in a shaped type. Prefer isdynstrideoroffset
to direct comparisons with this value.
sourceReactant.MLIR.IR.enable_ir_printing!
— Methodenable_ir_printing!(passManager)
Enable mlir-print-ir-after-all.
sourceReactant.MLIR.IR.enable_verifier!
— Functionenable_verifier!(passManager, enable)
Enable / disable verify-each.
sourceReactant.MLIR.IR.encoding
— Methodencoding(type)
Gets the 'encoding' attribute from the ranked tensor type, returning a nothing
if none.
sourceReactant.MLIR.IR.failure
— Methodfailure()
Creates a logical result representing a failure.
sourceReactant.MLIR.IR.first_block
— Methodfirst_block(region)
Gets the first block in the region.
sourceReactant.MLIR.IR.first_op
— Methodfirst_op(block)
Returns the first operation in the block or nothing
if empty.
sourceReactant.MLIR.IR.first_use
— Methodfirst_use(value)
Returns an OpOperand
representing the first use of the value, or a nothing
if there are no uses.
sourceReactant.MLIR.IR.flatsymbol
— Methodflatsymbol(attr)
Returns the referenced symbol as a string reference. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.IR.hasrank
— Methodhasrank(type)
Checks whether the given shaped type is ranked.
sourceReactant.MLIR.IR.hasstaticshape
— Methodhasstaticshape(type)
Checks whether the given shaped type has a static shape.
sourceReactant.MLIR.IR.input
— Methodinput(type, i)
Returns the i
-th input type.
sourceReactant.MLIR.IR.insert_after!
— Methodinsert_after!(block, reference, operation)
Takes an operation owned by the caller and inserts it after the (non-owned) reference operation in the given block. If the reference is null, prepends the operation. Otherwise, the reference must belong to the block.
sourceReactant.MLIR.IR.insert_after!
— Methodinsert_after!(region, reference, block)
Takes a block owned by the caller and inserts it after the (non-owned) reference block in the given region. The reference block must belong to the region. If the reference block is null, prepends the block to the region.
sourceReactant.MLIR.IR.insert_before!
— Methodinsert_before!(block, reference, operation)
Takes an operation owned by the caller and inserts it before the (non-owned) reference operation in the given block. If the reference is null, appends the operation. Otherwise, the reference must belong to the block.
sourceReactant.MLIR.IR.insert_before!
— Methodinsert_before!(region, reference, block)
Takes a block owned by the caller and inserts it before the (non-owned) reference block in the given region. The reference block must belong to the region. If the reference block is null, appends the block to the region.
sourceReactant.MLIR.IR.is_block_arg
— Methodis_block_arg(value)
Returns 1 if the value is a block argument, 0 otherwise.
sourceReactant.MLIR.IR.is_op_res
— Methodis_op_res(value)
Returns 1 if the value is an operation result, 0 otherwise.
sourceReactant.MLIR.IR.is_pure_affine
— Methodis_pure_affine(affineExpr)
Checks whether the given affine expression is a pure affine expression, i.e. mul, floordiv, ceildic, and mod is only allowed w.r.t constants.
sourceReactant.MLIR.IR.is_registered
— Methodis_registered(name; context=context())
Returns whether the given fully-qualified operation (i.e. 'dialect.operation') is registered with the context. This will return true if the dialect is loaded and the operation is registered within the dialect.
sourceReactant.MLIR.IR.is_symbolic_or_constant
— Methodis_symbolic_or_constant(affineExpr)
Checks whether the given affine expression is made out of only symbols and constants.
sourceReactant.MLIR.IR.isadd
— Methodisadd(affineExpr)
Checks whether the given affine expression is an add expression.
sourceReactant.MLIR.IR.isaffinemap
— Methodisaffinemap(attr)
Checks whether the given attribute is an affine map attribute.
sourceReactant.MLIR.IR.isarray
— Methodisarray(attr)
Checks whether the given attribute is an array attribute.
sourceReactant.MLIR.IR.isbf16
— Methodisbf16(type)
Checks whether the given type is a bf16 type.
sourceReactant.MLIR.IR.isbinary
— Methodisbinary(affineExpr)
Checks whether the given affine expression is binary.
sourceReactant.MLIR.IR.isbool
— Methodisbool(attr)
Checks whether the given attribute is a bool attribute.
sourceReactant.MLIR.IR.isceildiv
— Methodisceildiv(affineExpr)
Checks whether the given affine expression is an ceildiv expression.
sourceReactant.MLIR.IR.iscomplex
— Methodiscomplex(type)
Checks whether the given type is a Complex type.
sourceReactant.MLIR.IR.isconstantexpr
— Methodisconstantexpr(affineExpr)
Checks whether the given affine expression is a constant expression.
sourceReactant.MLIR.IR.isconstrainteq
— MethodmlirIntegerSetIsConstraintEq(set, i)
Returns true
of the i
-th constraint of the set is an equality constraint, false
otherwise.
sourceReactant.MLIR.IR.isdenseelements
— Methodisdenseelements(attr)
Checks whether the given attribute is a dense elements attribute.
sourceReactant.MLIR.IR.isdict
— Methodisdict(attr)
Checks whether the given attribute is a dictionary attribute.
sourceReactant.MLIR.IR.isdimexpr
— Methodisdimexpr(affineExpr)
Checks whether the given affine expression is a dimension expression.
sourceReactant.MLIR.IR.isdyndim
— Methodisdyndim(type, i)
Checks wither the i
-th dimension of the given shaped type is dynamic.
sourceReactant.MLIR.IR.isdynsize
— Methodisdynsize(size)
Checks whether the given value is used as a placeholder for dynamic sizes in shaped types.
sourceReactant.MLIR.IR.isdynstrideoroffset
— MethodmlirShapedTypeIsDynamicStrideOrOffset(val)
Checks whether the given value is used as a placeholder for dynamic strides and offsets in shaped types.
sourceReactant.MLIR.IR.iselements
— Methodiselements(attr)
Checks whether the given attribute is an elements attribute.
sourceReactant.MLIR.IR.isempty
— Methodisempty(set)
Checks whether the given set is a canonical empty set, e.g., the set returned by mlirIntegerSetEmptyGet
.
sourceReactant.MLIR.IR.isf16
— Methodisf16(type)
Checks whether the given type is an f16 type.
sourceReactant.MLIR.IR.isf32
— Methodisf32(type)
Checks whether the given type is an f32 type.
sourceReactant.MLIR.IR.isf64
— Methodisf64(type)
Checks whether the given type is an f64 type.
sourceReactant.MLIR.IR.isf8e4m3fn
— Methodisf8e4m3fn(type)
Checks whether the given type is an f8E4M3FN type.
sourceReactant.MLIR.IR.isf8e5m2
— Methodisf8e5m2(type)
Checks whether the given type is an f8E5M2 type.
sourceReactant.MLIR.IR.isfailure
— Methodisfailure(res)
Checks if the given logical result represents a failure.
sourceReactant.MLIR.IR.isflatsymbolref
— Methodisflatsymbolref(attr)
Checks whether the given attribute is a flat symbol reference attribute.
sourceReactant.MLIR.IR.isfloat
— Methodisfloat(attr)
Checks whether the given attribute is a floating point attribute.
sourceReactant.MLIR.IR.isfloordiv
— Methodisfloordiv(affineExpr)
Checks whether the given affine expression is an floordiv expression.
sourceReactant.MLIR.IR.isfunction
— Methodisfunction(type)
Checks whether the given type is a function type.
sourceReactant.MLIR.IR.isfunctionofdimexpr
— Methodisfunctionofdimexpr(affineExpr, position)
Checks whether the given affine expression involves AffineDimExpr 'position'.
sourceReactant.MLIR.IR.isidentity
— Methodisidentity(affineMap)
Checks whether the given affine map is an identity affine map. The function asserts that the number of dimensions is greater or equal to the number of results.
sourceReactant.MLIR.IR.isindex
— Methodisindex(type)
Checks whether the given type is an index type.
sourceReactant.MLIR.IR.isinteger
— Methodisinteger(attr)
Checks whether the given attribute is an integer attribute.
sourceReactant.MLIR.IR.isinteger
— Methodisinteger(type)
Checks whether the given type is an integer type.
sourceReactant.MLIR.IR.isintegerset
— Methodisintegerset(attr)
Checks whether the given attribute is an integer set attribute.
sourceReactant.MLIR.IR.ismemref
— Methodismemref(type)
Checks whether the given type is a MemRef type.
sourceReactant.MLIR.IR.isminoridentity
— Methodisminoridentity(affineMap)
Checks whether the given affine map is a minor identity affine map.
sourceReactant.MLIR.IR.ismod
— Methodismod(affineExpr)
Checks whether the given affine expression is an mod expression.
sourceReactant.MLIR.IR.ismul
— Methodismul(affineExpr)
Checks whether the given affine expression is an mul expression.
sourceReactant.MLIR.IR.ismultipleof
— Methodismultipleof(affineExpr, factor)
Checks whether the given affine expression is a multiple of 'factor'.
sourceReactant.MLIR.IR.isnone
— MethodmlirTypeIsANone(type)
Checks whether the given type is a None type.
sourceReactant.MLIR.IR.isopaque
— Methodisopaque(attr)
Checks whether the given attribute is an opaque attribute.
sourceReactant.MLIR.IR.isopaque
— Methodisopaque(type)
Checks whether the given type is an opaque type.
sourceReactant.MLIR.IR.isprojperm
— Methodisprojperm(affineMap)
Checks whether the given affine map represents a subset of a symbol-less permutation map.
sourceReactant.MLIR.IR.isrankedtensor
— Methodisrankedtensor(type)
Checks whether the given type is a ranked tensor type.
sourceReactant.MLIR.IR.isshaped
— Methodisshaped(type)
Checks whether the given type is a Shaped type.
sourceReactant.MLIR.IR.issigned
— Methodissigned(type)
Checks whether the given integer type is signed.
sourceReactant.MLIR.IR.issignless
— Methodissignless(type)
Checks whether the given integer type is signless.
sourceReactant.MLIR.IR.issingleconstant
— Methodissingleconstant(affineMap)
Checks whether the given affine map is a single result constant affine map.
sourceReactant.MLIR.IR.issparseelements
— Methodissparseelements(attr)
Checks whether the given attribute is a sparse elements attribute.
sourceReactant.MLIR.IR.issplat
— Methodissplat(attr)
Checks whether the given dense elements attribute contains a single replicated value (splat).
sourceReactant.MLIR.IR.isstring
— Methodisstring(attr)
Checks whether the given attribute is a string attribute.
sourceReactant.MLIR.IR.issuccess
— Methodissuccess(res)
Checks if the given logical result represents a success.
sourceReactant.MLIR.IR.issymbolexpr
— Methodissymbolexpr(affineExpr)
Checks whether the given affine expression is a symbol expression.
sourceReactant.MLIR.IR.issymbolref
— Methodissymbolref(attr)
Checks whether the given attribute is a symbol reference attribute.
sourceReactant.MLIR.IR.istensor
— Methodistensor(type)
Checks whether the given type is a Tensor type.
sourceReactant.MLIR.IR.istuple
— Methodistuple(type)
Checks whether the given type is a tuple type.
sourceReactant.MLIR.IR.istype
— Methodistype(attr)
Checks whether the given attribute is a type attribute.
sourceReactant.MLIR.IR.isunit
— Methodisunit(attr)
Checks whether the given attribute is a unit attribute.
sourceReactant.MLIR.IR.isunrankedmemref
— MethodmlirTypeIsAUnrankedMemRef(type)
Checks whether the given type is an UnrankedMemRef type.
sourceReactant.MLIR.IR.isunrankedtensor
— Methodisunrankedtensor(type)
Checks whether the given type is an unranked tensor type.
sourceReactant.MLIR.IR.isunsigned
— Methodisunsigned(type)
Checks whether the given integer type is unsigned.
sourceReactant.MLIR.IR.isvector
— Methodisvector(type)
Checks whether the given type is a Vector type.
sourceReactant.MLIR.IR.layout
— Methodlayout(type)
Returns the layout of the given MemRef type.
sourceReactant.MLIR.IR.leafref
— Methodleafref(attr)
Returns the string reference to the leaf referenced symbol. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.IR.lhs
— Methodlhs(affineExpr)
Returns the left hand side affine expression of the given affine binary operation expression.
sourceReactant.MLIR.IR.location
— Methodlocation(op)
Gets the location of the operation.
sourceReactant.MLIR.IR.lookup
— Methodlookup(jit, name)
Lookup a native function in the execution engine by name, returns nullptr if the name can't be looked-up.
sourceReactant.MLIR.IR.lookup
— Methodlookup(symboltable, name)
Looks up a symbol with the given name in the given symbol table and returns the operation that corresponds to the symbol. If the symbol cannot be found, returns a null operation.
sourceReactant.MLIR.IR.majorsubmap
— Methodmajorsubmap(affineMap, nresults)
Returns the affine map consisting of the most major nresults
results. Returns the null AffineMap if the nresults
is equal to zero. Returns the affineMap
if nresults
is greater or equals to number of results of the given affine map.
sourceReactant.MLIR.IR.memspace
— MethodmlirMemRefTypeGetMemorySpace(type)
Returns the memory space of the given MemRef type.
sourceReactant.MLIR.IR.minorsubmap
— Methodminorsubmap(affineMap, nresults)
Returns the affine map consisting of the most minor nresults
results. Returns the null AffineMap if the nresults
is equal to zero. Returns the affineMap
if nresults
is greater or equals to number of results of the given affine map.
sourceReactant.MLIR.IR.move_after!
— Methodmove_after!(op, other)
Moves the given operation immediately after the other operation in its parent block. The given operation may be owned by the caller or by its current block. The other operation must belong to a block. In any case, the ownership is transferred to the block of the other operation.
sourceReactant.MLIR.IR.move_before!
— Methodmove_before!(op, other)
Moves the given operation immediately before the other operation in its parent block. The given operation may be owner by the caller or by its current block. The other operation must belong to a block. In any case, the ownership is transferred to the block of the other operation.
sourceReactant.MLIR.IR.name
— Methodname(op)
Gets the name of the operation as an identifier.
sourceReactant.MLIR.IR.namespace
— MethodmlirOpaqueAttrGetDialectNamespace(attr)
Returns the namespace of the dialect with which the given opaque attribute is associated. The namespace string is owned by the context.
sourceReactant.MLIR.IR.namespace
— MethodmlirOpaqueTypeGetDialectNamespace(type)
Returns the namespace of the dialect with which the given opaque type is associated. The namespace string is owned by the context.
sourceReactant.MLIR.IR.nargs
— Methodnargs(block)
Returns the number of arguments of the block.
sourceReactant.MLIR.IR.nattrs
— Methodnattrs(op)
Returns the number of attributes attached to the operation.
sourceReactant.MLIR.IR.nconstraints
— Methodnconstraints(set)
Returns the number of constraints (equalities + inequalities) in the given set.
sourceReactant.MLIR.IR.nequalities
— Methodnequalities(set)
Returns the number of equalities in the given set.
sourceReactant.MLIR.IR.next
— Methodnext(block)
Returns the block immediately following the given block in its parent region or nothing
if last.
sourceReactant.MLIR.IR.next
— Methodnext(opOperand)
Returns an op operand representing the next use of the value, or nothing
if there is no next use.
sourceReactant.MLIR.IR.ninequalities
— Methodninequalities(set)
Returns the number of inequalities in the given set.
sourceReactant.MLIR.IR.ninputs
— Methodninputs(affineMap)
Returns the number of inputs (dimensions + symbols) of the given affine map.
sourceReactant.MLIR.IR.ninputs
— Methodninputs(set)
Returns the number of inputs (dimensions + symbols) in the given set.
sourceReactant.MLIR.IR.ninputs
— Methodninputs(type)
Returns the number of input types.
sourceReactant.MLIR.IR.nnestedrefs
— Methodnnestedrefs(attr)
Returns the number of references nested in the given symbol reference attribute.
sourceReactant.MLIR.IR.noperands
— Methodnoperands(op)
Returns the number of operands of the operation.
sourceReactant.MLIR.IR.nregions
— Methodnregions(op)
Returns the number of regions attached to the given operation.
sourceReactant.MLIR.IR.nresults
— Methodnresults(affineMap)
Returns the number of results of the given affine map.
sourceReactant.MLIR.IR.nresults
— Methodnresults(op)
Returns the number of results of the operation.
sourceReactant.MLIR.IR.nresults
— Methodnresults(type)
Returns the number of result types.
sourceReactant.MLIR.IR.nsuccessors
— Methodnsuccessors(op)
Returns the number of successor blocks of the operation.
sourceReactant.MLIR.IR.nsymbols
— Methodnsymbols(affineMap)
Returns the number of symbols of the given affine map.
sourceReactant.MLIR.IR.nsymbols
— Methodnsymbols(set)
Returns the number of symbols in the given set.
sourceReactant.MLIR.IR.op_owner
— Methodop_owner(value)
Returns an operation that produced this value as its result. Asserts if the value is not an op result.
sourceReactant.MLIR.IR.op_res_num
— Methodop_res_num(value)
Returns the position of the value in the list of results of the operation that produced it.
sourceReactant.MLIR.IR.operand
— Functionoperand(op, i)
Returns i
-th operand of the operation.
sourceReactant.MLIR.IR.operand!
— Methodoperand!(op, i, value)
Sets the i
-th operand of the operation.
sourceReactant.MLIR.IR.operandindex
— Methodoperandindex(opOperand)
Returns the operand number of an op operand.
sourceReactant.MLIR.IR.owner
— Methodowner(opOperand)
Returns the owner operation of an op operand.
sourceReactant.MLIR.IR.parent_op
— Methodparent_op(block)
Returns the closest surrounding operation that contains this block.
sourceReactant.MLIR.IR.parent_op
— Methodparent_op(op)
Gets the operation that owns this operation, returning null if the operation is not owned.
sourceReactant.MLIR.IR.parent_region
— Methodparent_region(block)
Returns the region that contains this block.
sourceReactant.MLIR.IR.position
— Methodposition(affineExpr)
Returns the position of the given affine dimension expression, affine symbol expression or ...
sourceReactant.MLIR.IR.push_argument!
— Methodpush_argument!(block, type; location=Location())
Appends an argument of the specified type to the block. Returns the newly added argument.
sourceReactant.MLIR.IR.region
— Methodregion(op, i)
Returns i
-th region attached to the operation.
sourceReactant.MLIR.IR.result
— Functionresult(type, i)
Returns the i
-th result type.
sourceReactant.MLIR.IR.result
— Functionresult(op, i)
Returns i
-th result of the operation.
sourceReactant.MLIR.IR.result
— Methodresult(affineMap, pos)
Returns the result at the given position.
sourceReactant.MLIR.IR.result
— Methodresult(affineMap)
Returns the constant result of the given affine map. The function asserts that the map has a single constant result.
sourceReactant.MLIR.IR.rhs
— Methodrhs(affineExpr)
Returns the right hand side affine expression of the given affine binary operation expression.
sourceReactant.MLIR.IR.rmattr!
— Methodrmattr!(op, name)
Removes an attribute by name. Returns false if the attribute was not found and true if removed.
sourceReactant.MLIR.IR.rmfromparent!
— Methodrmfromparent(op)
Removes the given operation from its parent block. The operation is not destroyed. The ownership of the operation is transferred to the caller.
sourceReactant.MLIR.IR.rootref
— Methodrootref(attr)
Returns the string reference to the root referenced symbol. The data remains live as long as the context in which the attribute lives.
sourceReactant.MLIR.IR.run!
— Methodrun!(passManager, module)
Run the provided passManager
on the given module
.
sourceReactant.MLIR.IR.submap
— Methodsubmap(affineMap, positions)
Returns the affine map consisting of the positions
subset.
sourceReactant.MLIR.IR.success
— Methodsuccess()
Creates a logical result representing a success.
sourceReactant.MLIR.IR.successor
— Methodsuccessor(op, i)
Returns i
-th successor of the operation.
sourceReactant.MLIR.IR.terminator
— Methodterminator(block)
Returns the terminator operation in the block or nothing
if no terminator.
sourceReactant.MLIR.IR.type!
— Methodset_type!(value, type)
Sets the type of the block argument to the given type.
sourceReactant.MLIR.IR.type
— Methodtype(attribute)
Gets the type of this attribute.
sourceReactant.MLIR.IR.type
— Methodtype(value)
Returns the type of the value.
sourceReactant.MLIR.IR.typeid
— Methodtypeid(attribute)
Gets the type id of the attribute.
sourceReactant.MLIR.IR.typeid
— Methodtypeid(op)
Gets the type id of the operation. Returns null if the operation does not have a registered operation description.
sourceReactant.MLIR.IR.typeid
— Methodtypeid(type)
Gets the type ID of the type.
sourceReactant.MLIR.IR.value
— Methodvalue(affineExpr)
Returns the value of the given affine constant expression.
sourceReactant.MLIR.IR.verify
— Methodverify(op)
Verify the operation and return true if it passes, false if it fails.
sourceReactant.MLIR.IR.verifyall
— Methodverifyall(operation; debug=false)
Prints the operations which could not be verified.
sourceReactant.MLIR.Dialects.chlo.acos
— Methodacos
Returns Acos(operand)
element-wise.
$
\acos(x) = 2 * \atan(\sqrt(1 - x^2) / (1 + x)) if x != -1 = pi if x == -1 $
sourceReactant.MLIR.Dialects.chlo.acosh
— Methodacosh
Returns Acosh(operand)
element-wise.
$
\acosh(x) = log(x + sqrt(x^2 - 1)) if x >= -1 \acosh(x) = nan if x < -1 $
sourceReactant.MLIR.Dialects.chlo.asin
— Methodasin
Returns Asin(operand)
element-wise.
$
\asin(x) = 2 * atan(x / (1 + sqrt(1 - x^2))) $
sourceReactant.MLIR.Dialects.chlo.asinh
— Methodasinh
Returns Asinh(operand)
element-wise.
$
\asinh(x) = log(x + sqrt(x^2 + 1)) $
sourceReactant.MLIR.Dialects.chlo.atan
— Methodatan
Returns Atan(operand)
element-wise.
$
\atan(x) = \atan2(x, 1) $
sourceReactant.MLIR.Dialects.chlo.atanh
— Methodatanh
Returns Atanh(operand)
element-wise.
$
\atanh(x) = 0.5 * log((1 + x) / (1 - x)) if abs(x) <= 1 = nan otherwise $
sourceReactant.MLIR.Dialects.chlo.bessel_i1e
— Methodbessel_i1e
Returns bessel_i1e(operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.broadcast_add
— Methodbroadcast_add
Returns lhs + rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_and
— Methodbroadcast_and
Returns logical_and(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_atan2
— Methodbroadcast_atan2
Returns atan2(lhs/rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_compare
— Methodbroadcast_compare
Compares lhs
and rhs
elementwise according to comparison_direction
and compare_type
. If unspecified, compare_type
is FLOAT for float element types, SIGNED for signed element types and UNSIGNED for unsigned element types.
See https://www.tensorflow.org/xla/operationsemantics#element-wisecomparison_operations.
sourceReactant.MLIR.Dialects.chlo.broadcast_complex
— Methodbroadcast_complex
Performs element-wise conversion of a pair of real and imaginary values to a complex value.
sourceReactant.MLIR.Dialects.chlo.broadcast_divide
— Methodbroadcast_divide
Returns lhs / rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_maximum
— Methodbroadcast_maximum
Returns max(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_minimum
— Methodbroadcast_minimum
Returns min(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_multiply
— Methodbroadcast_multiply
Returns lhs * rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_next_after
— Methodbroadcast_next_after
Returns the next representable value of lhs
in the direction of rhs
, element-wise. It can also return a subnormal number.
Equivalent to the C++ std::nextafter function.
sourceReactant.MLIR.Dialects.chlo.broadcast_or
— Methodbroadcast_or
Returns logical_or(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_polygamma
— Methodbroadcast_polygamma
Returns Polygamma(operand, operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.broadcast_power
— Methodbroadcast_power
Returns lhs ^ rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_remainder
— Methodbroadcast_remainder
Returns lhs % rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_select
— Methodbroadcast_select
Constructs an output array from elements of two input arrays, based on the values of a predicate array.
See https://www.tensorflow.org/xla/operation_semantics#select
sourceReactant.MLIR.Dialects.chlo.broadcast_shift_left
— Methodbroadcast_shift_left
Returns lhs << rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_shift_right_arithmetic
— Methodbroadcast_shift_right_arithmetic
Returns lhs >> rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_shift_right_logical
— Methodbroadcast_shift_right_logical
Returns lhs >> rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_subtract
— Methodbroadcast_subtract
Returns lhs - rhs
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_xor
— Methodbroadcast_xor
Returns logical_xor(lhs, rhs)
element-wise.
See https://www.tensorflow.org/xla/operationsemantics#element-wisebinaryarithmeticoperations.
sourceReactant.MLIR.Dialects.chlo.broadcast_zeta
— Methodbroadcast_zeta
Returns Zeta(operand, operand)
element-wise.
$
(\zeta(x, q) = \sum_{n=0}^{\infty} (q + n)^{-x}) $
sourceReactant.MLIR.Dialects.chlo.conj
— Methodconj
Returns Conj(operand)
element-wise.
$
\conj(x) = (\real(x), \neg(\imag(x))) $
sourceReactant.MLIR.Dialects.chlo.constant
— Methodconstant
Represents a constant value.
sourceReactant.MLIR.Dialects.chlo.constant_like
— Methodconstant_like
Returns a splat constant of the same shape as the operand.
sourceReactant.MLIR.Dialects.chlo.cosh
— Methodcosh
Returns Cosh(operand)
element-wise.
$
\cosh(x) = (e^x + e^-x) / 2 $
sourceReactant.MLIR.Dialects.chlo.digamma
— Methoddigamma
Returns Digamma(operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.erf
— Methoderf
Computes the Gauss error function of x
element-wise.
erf(x) = erfimpl(x) if |x| < 1 = 1 - erfcimpl(x) otherwise
sourceReactant.MLIR.Dialects.chlo.erf_inv
— Methoderf_inv
Returns ErfInv(operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.erfc
— Methoderfc
Computes an approximation of the error function complement (1 - erf(x)).
erfc(x) = erfcimpl(x) if |x| > 1 = 1 - erfimpl(x) otherwise
sourceReactant.MLIR.Dialects.chlo.is_inf
— Methodis_inf
Returns if a value is +/-inf element-wise.
sourceReactant.MLIR.Dialects.chlo.is_neg_inf
— Methodis_neg_inf
Returns if a value is -inf element-wise.
sourceReactant.MLIR.Dialects.chlo.is_pos_inf
— Methodis_pos_inf
Returns if a value is +inf element-wise.
sourceReactant.MLIR.Dialects.chlo.lgamma
— Methodlgamma
Returns Lgamma(operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.next_after
— Methodnext_after
Returns the next representable value of x
in the direction of y
, element-wise. It can also return a subnormal number.
Equivalent to the C++ std::nextafter function.
sourceReactant.MLIR.Dialects.chlo.polygamma
— Methodpolygamma
Returns Polygamma(operand, operand)
element-wise.
sourceReactant.MLIR.Dialects.chlo.sinh
— Methodsinh
Returns Sinh(operand)
element-wise.
$
\sinh(x) = (e^x - e^-x) / 2 if |x| < 1 = e^(x + log(1/2)) - e^(-x + log(1/2)) otherwise. $
sourceReactant.MLIR.Dialects.chlo.tan
— Methodtan
Returns Tan(operand)
element-wise.
$
\tan(x) = \sin(x) / \cos(x) $
sourceReactant.MLIR.Dialects.chlo.top_k
— Methodtop_k
If the input is a vector (rank-1), finds the k
largest entries in the vector and outputs their values and indices as vectors. Thus values[j]
is the j
-th largest entry in input
, and its index is indices[j]
.
For matrices (resp. higher rank input), computes the top k
entries in each row (resp. vector along the last dimension). Thus,
values.shape = indices.shape = input.shape[:-1] + [k]
If two elements are equal, the lower-index element appears first.
sourceReactant.MLIR.Dialects.chlo.zeta
— Methodzeta
Returns Zeta(operand, operand)
element-wise.
$
(\zeta(x, q) = \sum_{n=0}^{\infty} (q + n)^{-x}) $
sourceReactant.MLIR.Dialects.vhlo.abs_v1
— Methodabs_v1
sourceReactant.MLIR.Dialects.vhlo.add_v1
— Methodadd_v1
sourceReactant.MLIR.Dialects.vhlo.after_all_v1
— Methodafter_all_v1
sourceReactant.MLIR.Dialects.vhlo.all_gather_v1
— Methodall_gather_v1
sourceReactant.MLIR.Dialects.vhlo.all_reduce_v1
— Methodall_reduce_v1
sourceReactant.MLIR.Dialects.vhlo.all_to_all_v1
— Methodall_to_all_v1
sourceReactant.MLIR.Dialects.vhlo.and_v1
— Methodand_v1
sourceReactant.MLIR.Dialects.vhlo.atan2_v1
— Methodatan2_v1
sourceReactant.MLIR.Dialects.vhlo.batch_norm_grad_v1
— Methodbatch_norm_grad_v1
sourceReactant.MLIR.Dialects.vhlo.batch_norm_inference_v1
— Methodbatch_norm_inference_v1
sourceReactant.MLIR.Dialects.vhlo.batch_norm_training_v1
— Methodbatch_norm_training_v1
sourceReactant.MLIR.Dialects.vhlo.bitcast_convert_v1
— Methodbitcast_convert_v1
sourceReactant.MLIR.Dialects.vhlo.broadcast_in_dim_v1
— Methodbroadcast_in_dim_v1
sourceReactant.MLIR.Dialects.vhlo.broadcast_v1
— Methodbroadcast_v1
sourceReactant.MLIR.Dialects.vhlo.call_v1
— Methodcall_v1
sourceReactant.MLIR.Dialects.vhlo.case_v1
— Methodcase_v1
sourceReactant.MLIR.Dialects.vhlo.cbrt_v1
— Methodcbrt_v1
sourceReactant.MLIR.Dialects.vhlo.ceil_v1
— Methodceil_v1
sourceReactant.MLIR.Dialects.vhlo.cholesky_v1
— Methodcholesky_v1
sourceReactant.MLIR.Dialects.vhlo.clamp_v1
— Methodclamp_v1
sourceReactant.MLIR.Dialects.vhlo.collective_broadcast_v1
— Methodcollective_broadcast_v1
sourceReactant.MLIR.Dialects.vhlo.collective_permute_v1
— Methodcollective_permute_v1
sourceReactant.MLIR.Dialects.vhlo.compare_v1
— Methodcompare_v1
sourceReactant.MLIR.Dialects.vhlo.complex_v1
— Methodcomplex_v1
sourceReactant.MLIR.Dialects.vhlo.composite_v1
— Methodcomposite_v1
sourceReactant.MLIR.Dialects.vhlo.concatenate_v1
— Methodconcatenate_v1
sourceReactant.MLIR.Dialects.vhlo.constant_v1
— Methodconstant_v1
sourceReactant.MLIR.Dialects.vhlo.convert_v1
— Methodconvert_v1
sourceReactant.MLIR.Dialects.vhlo.convolution_v1
— Methodconvolution_v1
sourceReactant.MLIR.Dialects.vhlo.cosine_v1
— Methodcosine_v1
sourceReactant.MLIR.Dialects.vhlo.count_leading_zeros_v1
— Methodcount_leading_zeros_v1
sourceReactant.MLIR.Dialects.vhlo.create_token_v1
— Methodcreate_token_v1
sourceReactant.MLIR.Dialects.vhlo.cross_replica_sum_v1
— Methodcross_replica_sum_v1
sourceReactant.MLIR.Dialects.vhlo.custom_call_v1
— Methodcustom_call_v1
sourceReactant.MLIR.Dialects.vhlo.divide_v1
— Methoddivide_v1
sourceReactant.MLIR.Dialects.vhlo.dot_general_v1
— Methoddot_general_v1
sourceReactant.MLIR.Dialects.vhlo.dot_v1
— Methoddot_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_broadcast_in_dim_v1
— Methoddynamic_broadcast_in_dim_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_conv_v1
— Methoddynamic_conv_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_conv_v2
— Methoddynamic_conv_v2
sourceReactant.MLIR.Dialects.vhlo.dynamic_gather_v1
— Methoddynamic_gather_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_gather_v2
— Methoddynamic_gather_v2
sourceReactant.MLIR.Dialects.vhlo.dynamic_iota_v1
— Methoddynamic_iota_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_pad_v1
— Methoddynamic_pad_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_reshape_v1
— Methoddynamic_reshape_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_slice_v1
— Methoddynamic_slice_v1
sourceReactant.MLIR.Dialects.vhlo.dynamic_update_slice_v1
— Methoddynamic_update_slice_v1
sourceReactant.MLIR.Dialects.vhlo.einsum_v1
— Methodeinsum_v1
sourceReactant.MLIR.Dialects.vhlo.exponential_minus_one_v1
— Methodexponential_minus_one_v1
sourceReactant.MLIR.Dialects.vhlo.exponential_v1
— Methodexponential_v1
sourceReactant.MLIR.Dialects.vhlo.fft_v1
— Methodfft_v1
sourceReactant.MLIR.Dialects.vhlo.floor_v1
— Methodfloor_v1
sourceReactant.MLIR.Dialects.vhlo.func_v1
— Methodfunc_v1
sourceReactant.MLIR.Dialects.vhlo.gather_v1
— Methodgather_v1
sourceReactant.MLIR.Dialects.vhlo.gather_v2
— Methodgather_v2
sourceReactant.MLIR.Dialects.vhlo.get_dimension_size_v1
— Methodget_dimension_size_v1
sourceReactant.MLIR.Dialects.vhlo.get_tuple_element_v1
— Methodget_tuple_element_v1
sourceReactant.MLIR.Dialects.vhlo.if_v1
— Methodif_v1
sourceReactant.MLIR.Dialects.vhlo.imag_v1
— Methodimag_v1
sourceReactant.MLIR.Dialects.vhlo.infeed_v1
— Methodinfeed_v1
sourceReactant.MLIR.Dialects.vhlo.iota_v1
— Methodiota_v1
sourceReactant.MLIR.Dialects.vhlo.is_finite_v1
— Methodis_finite_v1
sourceReactant.MLIR.Dialects.vhlo.log_plus_one_v1
— Methodlog_plus_one_v1
sourceReactant.MLIR.Dialects.vhlo.log_v1
— Methodlog_v1
sourceReactant.MLIR.Dialects.vhlo.logistic_v1
— Methodlogistic_v1
sourceReactant.MLIR.Dialects.vhlo.map_v1
— Methodmap_v1
sourceReactant.MLIR.Dialects.vhlo.maximum_v1
— Methodmaximum_v1
sourceReactant.MLIR.Dialects.vhlo.minimum_v1
— Methodminimum_v1
sourceReactant.MLIR.Dialects.vhlo.multiply_v1
— Methodmultiply_v1
sourceReactant.MLIR.Dialects.vhlo.negate_v1
— Methodnegate_v1
sourceReactant.MLIR.Dialects.vhlo.not_v1
— Methodnot_v1
sourceReactant.MLIR.Dialects.vhlo.optimization_barrier_v1
— Methodoptimization_barrier_v1
sourceReactant.MLIR.Dialects.vhlo.or_v1
— Methodor_v1
sourceReactant.MLIR.Dialects.vhlo.outfeed_v1
— Methodoutfeed_v1
sourceReactant.MLIR.Dialects.vhlo.pad_v1
— Methodpad_v1
sourceReactant.MLIR.Dialects.vhlo.partition_id_v1
— Methodpartition_id_v1
sourceReactant.MLIR.Dialects.vhlo.popcnt_v1
— Methodpopcnt_v1
sourceReactant.MLIR.Dialects.vhlo.power_v1
— Methodpower_v1
sourceReactant.MLIR.Dialects.vhlo.real_dynamic_slice_v1
— Methodreal_dynamic_slice_v1
sourceReactant.MLIR.Dialects.vhlo.real_v1
— Methodreal_v1
sourceReactant.MLIR.Dialects.vhlo.recv_v1
— Methodrecv_v1
sourceReactant.MLIR.Dialects.vhlo.reduce_precision_v1
— Methodreduce_precision_v1
sourceReactant.MLIR.Dialects.vhlo.reduce_scatter_v1
— Methodreduce_scatter_v1
sourceReactant.MLIR.Dialects.vhlo.reduce_v1
— Methodreduce_v1
sourceReactant.MLIR.Dialects.vhlo.reduce_window_v1
— Methodreduce_window_v1
sourceReactant.MLIR.Dialects.vhlo.remainder_v1
— Methodremainder_v1
sourceReactant.MLIR.Dialects.vhlo.replica_id_v1
— Methodreplica_id_v1
sourceReactant.MLIR.Dialects.vhlo.reshape_v1
— Methodreshape_v1
sourceReactant.MLIR.Dialects.vhlo.return_v1
— Methodreturn_v1
sourceReactant.MLIR.Dialects.vhlo.reverse_v1
— Methodreverse_v1
sourceReactant.MLIR.Dialects.vhlo.rng_bit_generator_v1
— Methodrng_bit_generator_v1
sourceReactant.MLIR.Dialects.vhlo.rng_v1
— Methodrng_v1
sourceReactant.MLIR.Dialects.vhlo.round_nearest_afz_v1
— Methodround_nearest_afz_v1
sourceReactant.MLIR.Dialects.vhlo.round_nearest_even_v1
— Methodround_nearest_even_v1
sourceReactant.MLIR.Dialects.vhlo.rsqrt_v1
— Methodrsqrt_v1
sourceReactant.MLIR.Dialects.vhlo.scatter_v1
— Methodscatter_v1
sourceReactant.MLIR.Dialects.vhlo.scatter_v2
— Methodscatter_v2
sourceReactant.MLIR.Dialects.vhlo.select_and_scatter_v1
— Methodselect_and_scatter_v1
sourceReactant.MLIR.Dialects.vhlo.select_v1
— Methodselect_v1
sourceReactant.MLIR.Dialects.vhlo.send_v1
— Methodsend_v1
sourceReactant.MLIR.Dialects.vhlo.set_dimension_size_v1
— Methodset_dimension_size_v1
sourceReactant.MLIR.Dialects.vhlo.shift_left_v1
— Methodshift_left_v1
sourceReactant.MLIR.Dialects.vhlo.shift_right_arithmetic_v1
— Methodshift_right_arithmetic_v1
sourceReactant.MLIR.Dialects.vhlo.shift_right_logical_v1
— Methodshift_right_logical_v1
sourceReactant.MLIR.Dialects.vhlo.sign_v1
— Methodsign_v1
sourceReactant.MLIR.Dialects.vhlo.sine_v1
— Methodsine_v1
sourceReactant.MLIR.Dialects.vhlo.slice_v1
— Methodslice_v1
sourceReactant.MLIR.Dialects.vhlo.sort_v1
— Methodsort_v1
sourceReactant.MLIR.Dialects.vhlo.sqrt_v1
— Methodsqrt_v1
sourceReactant.MLIR.Dialects.vhlo.subtract_v1
— Methodsubtract_v1
sourceReactant.MLIR.Dialects.vhlo.tanh_v1
— Methodtanh_v1
sourceReactant.MLIR.Dialects.vhlo.torch_index_select_v1
— Methodtorch_index_select_v1
sourceReactant.MLIR.Dialects.vhlo.transpose_v1
— Methodtranspose_v1
sourceReactant.MLIR.Dialects.vhlo.triangular_solve_v1
— Methodtriangular_solve_v1
sourceReactant.MLIR.Dialects.vhlo.tuple_v1
— Methodtuple_v1
sourceReactant.MLIR.Dialects.vhlo.unary_einsum_v1
— Methodunary_einsum_v1
sourceReactant.MLIR.Dialects.vhlo.uniform_dequantize_v1
— Methoduniform_dequantize_v1
sourceReactant.MLIR.Dialects.vhlo.uniform_quantize_v1
— Methoduniform_quantize_v1
sourceReactant.MLIR.Dialects.vhlo.while_v1
— Methodwhile_v1
sourceReactant.MLIR.Dialects.vhlo.xor_v1
— Methodxor_v1
sourceReactant.MLIR.Dialects.stablehlo.abs
— Methodabs
Performs element-wise abs operation on operand
tensor and produces a result
tensor.
See: https://github.com/openxla/stablehlo/blob/main/docs/spec.md#abs
Example
%result = stablehlo.abs %operand : tensor<3xi32>
sourceReactant.MLIR.Dialects.stablehlo.add
— Methodadd
Performs element-wise addition of two tensors lhs
and rhs
and produces a result
tensor.
See: https://github.com/openxla/stablehlo/blob/main/docs/spec.md#add
Example
%result = stablehlo.add %lhs, %rhs : tensor<2x2xi32>
sourceReactant.MLIR.Dialects.stablehlo.after_all
— Methodafter_all
Ensures that the operations producing the inputs
are executed before any operations that depend on result
.
See: https://github.com/openxla/stablehlo/blob/main/docs/spec.md#after_all
Example
%result = stablehlo.after_all %input0, %input1 : !stablehlo.token
sourceReactant.MLIR.Dialects.stablehlo.all_gather
— Methodall_gather
Within each process group in the process grid, concatenates the values of the operand
tensor from each process along all_gather_dim
and produces a result
tensor.
See: https://github.com/openxla/stablehlo/blob/main/docs/spec.md#all_gather
Example
%result = "stablehlo.all_gather"(%operand) {
all_gather_dim = 1 : i64,
replica_groups = dense<[[0, 1]]> : tensor<1x2xi64>,
channel_handle = #stablehlo.channel_handle<handle = 0, type = 0>
@@ -517,4 +517,4 @@
%results2:2 = unrealized_conversion_cast %tuple_operand : !foo.tuple_type<!foo.type, !foo.type> to !foo.type, !foo.type
// An unrealized N-1 conversion.
-%result3 = unrealized_conversion_cast %operand, %operand : !foo.type, !foo.type to !bar.tuple_type<!foo.type, !foo.type>
sourceSettings
This document was generated with Documenter.jl version 1.5.0 on Sunday 4 August 2024. Using Julia version 1.10.4.
+%result3 = unrealized_conversion_cast %operand, %operand : !foo.type, !foo.type to !bar.tuple_type<!foo.type, !foo.type>