move Block to primary ir.h