Pass IRStmts to helpers