code emitter for GCN