def METHOD_NAME(self, ir, parse):
    if not hasattr(ir, '_jir'):
        r = CSERenderer(stop_at_jir=True)
        # FIXME parse should be static
        ir._jir = parse(r(finalize_randomness(ir)), ir_map=r.jirs)
    return ir._jir