MLIR  19.0.0git
Functions
PDL.h File Reference
#include "mlir-c/IR.h"

Go to the source code of this file.

Functions

 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (PDL, pdl)
 
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLType (MlirType type)
 
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLAttributeType (MlirType type)
 
MLIR_CAPI_EXPORTED MlirType mlirPDLAttributeTypeGet (MlirContext ctx)
 
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLOperationType (MlirType type)
 
MLIR_CAPI_EXPORTED MlirType mlirPDLOperationTypeGet (MlirContext ctx)
 
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLRangeType (MlirType type)
 
MLIR_CAPI_EXPORTED MlirType mlirPDLRangeTypeGet (MlirType elementType)
 
MLIR_CAPI_EXPORTED MlirType mlirPDLRangeTypeGetElementType (MlirType type)
 
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLTypeType (MlirType type)
 
MLIR_CAPI_EXPORTED MlirType mlirPDLTypeTypeGet (MlirContext ctx)
 
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLValueType (MlirType type)
 
MLIR_CAPI_EXPORTED MlirType mlirPDLValueTypeGet (MlirContext ctx)
 

Function Documentation

◆ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION()

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION ( PDL  ,
pdl   
)

◆ mlirPDLAttributeTypeGet()

MLIR_CAPI_EXPORTED MlirType mlirPDLAttributeTypeGet ( MlirContext  ctx)

Definition at line 35 of file PDL.cpp.

References mlir::get(), unwrap(), and wrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirPDLOperationTypeGet()

MLIR_CAPI_EXPORTED MlirType mlirPDLOperationTypeGet ( MlirContext  ctx)

Definition at line 47 of file PDL.cpp.

References mlir::get(), unwrap(), and wrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirPDLRangeTypeGet()

MLIR_CAPI_EXPORTED MlirType mlirPDLRangeTypeGet ( MlirType  elementType)

Definition at line 59 of file PDL.cpp.

References mlir::get(), unwrap(), and wrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirPDLRangeTypeGetElementType()

MLIR_CAPI_EXPORTED MlirType mlirPDLRangeTypeGetElementType ( MlirType  type)

Definition at line 63 of file PDL.cpp.

References getElementType(), unwrap(), and wrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirPDLTypeTypeGet()

MLIR_CAPI_EXPORTED MlirType mlirPDLTypeTypeGet ( MlirContext  ctx)

Definition at line 75 of file PDL.cpp.

References mlir::get(), unwrap(), and wrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirPDLValueTypeGet()

MLIR_CAPI_EXPORTED MlirType mlirPDLValueTypeGet ( MlirContext  ctx)

Definition at line 87 of file PDL.cpp.

References mlir::get(), unwrap(), and wrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirTypeIsAPDLAttributeType()

MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLAttributeType ( MlirType  type)

Definition at line 31 of file PDL.cpp.

References unwrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirTypeIsAPDLOperationType()

MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLOperationType ( MlirType  type)

Definition at line 43 of file PDL.cpp.

References unwrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirTypeIsAPDLRangeType()

MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLRangeType ( MlirType  type)

Definition at line 55 of file PDL.cpp.

References unwrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirTypeIsAPDLType()

MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLType ( MlirType  type)

Definition at line 23 of file PDL.cpp.

References unwrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirTypeIsAPDLTypeType()

MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLTypeType ( MlirType  type)

Definition at line 71 of file PDL.cpp.

References unwrap().

Referenced by populateDialectPDLSubmodule().

◆ mlirTypeIsAPDLValueType()

MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLValueType ( MlirType  type)

Definition at line 83 of file PDL.cpp.

References unwrap().

Referenced by populateDialectPDLSubmodule().