more kaleidoscope codegen work