mlirPDLValueAsAttribute

Function mlirPDLValueAsAttribute 

Source
pub unsafe extern "C" fn mlirPDLValueAsAttribute(
    value: MlirPDLValue,
) -> MlirAttribute
Expand description

Cast the MlirPDLValue to an MlirAttribute. Return a null value if the cast fails, just like llvm::dyn_cast.