asIrOrNull

inline fun <O : IrElement> IrElement?.asIrOrNull(): O?
inline fun <O : IrType> IrType?.asIrOrNull(): O?