costum pass listener prints now correctly
Extracted executing ir_passes into module function