[CORE] Add function _ljit_compute_in_out()