pipeline: create inline functions for emit instruction