impc:ir:compile:create_zone   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/llvmir.xtm

Implementation

(define impc:ir:compile:create_zone
  (lambda (ast types)
    (let* ((os (make-string 0))
           (size-str (impc:ir:compiler (cadr ast) types))
           (size (impc:ir:gname)))
      ;;(println 'size: size)
      (if (<> (impc:ir:get-type-from-str (cadr size)) *impc:ir:si64*)
          (impc:compiler:print-needs-zone-size-error 'create_zone))
      (emit size-str os) ;; write size str
      (emit (impc:ir:gname "ret" "%mzone*")
            " = call %mzone* @llvm_zone_create(i64 " (car size) ")\n" os)
      (impc:ir:strip-space os))))


Back to Index

Similar Entries

  • FBO_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • FBO_create_with_textures    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • ShaderProgram_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • ShaderProgram_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • ShaderProgram_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • ShaderProgram_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • Shader_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • Texture_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • Texture_create_FBO_depth_texture    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • VAO_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • VAO_create_ss_quad    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • VBO_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • VBO_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • VBO_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • VBO_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • Zone    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • apr_pool_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/apr.xtm
  • apr_pool_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/apr.xtm
  • bindfunc_with_zone_size    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • bindfunc_with_zone_size_and_docstring    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • cerberus_create_lfos    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus.xtm
  • create-zone    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • create-zone1    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • create-zone2    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • create_arrows_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/arrows.xtm
  • create_data    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects2.xtm
  • create_fbo    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • create_fbo_no_depth    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • create_fbo_no_depth_rect    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • create_fbo_rect    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • create_heatmap_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/heatmap.xtm
  • create_particles_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/particles.xtm
  • create_points_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/points.xtm
  • create_post_process_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/framebuffer.xtm
  • create_raymarcher_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/raymarcher.xtm
  • create_shader    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • create_shader_xtm    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • create_shadertoy_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/shadertoy.xtm
  • create_texture_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/texture.xtm
  • create_triangle_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/simple-triangle.xtm
  • create_triangle_shader    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/framebuffer.xtm
  • create_vbo    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • create_walker_array    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • destroy_zone    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • fbo_create_depth_buffer    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fbo_create_depth_buffer_rect    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fbo_create_texture    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fbo_create_texture_rect    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fluid-cube-create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • fluid-cube-create    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/fluid_dynamics.xtm
  • fluid_cube_create    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/fluids_2d.xtm
  • glfw_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_create_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_interaction_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • icr:destroy-zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • icr:new-zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • icr:set-zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • icr:set-zone-default    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:compiler:print-needs-zone-delay-error    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:compiler:print-needs-zone-size-error    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:compile:pop_zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compile:push_new_zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compile:push_zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:zone-alloc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:zone-alloc-with-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:zone-alloc-without-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:check-memzone-void?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:create-scheme-wrapper    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:create-scm-wrapper?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:create_zone-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-closure-zone-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:initialize-closure-with-new-zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:memzone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:memzone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:pop_zone-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:push_new_zone-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:push_zone-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:set-closure-zone-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:zone-alloc-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:zone_cleanup    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • nnsock_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanomsg.xtm
  • nnsock_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanomsg.xtm
  • nvg_create_context    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • nvg_create_font    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • pa_create_default_stream    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • pa_create_stream    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • peek_zone    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • pm_create_input_stream    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • pm_create_output_stream    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • pop-zone    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • psystem_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/particles_vbo.xtm
  • psystem_create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/particles.xtm
  • push-zone    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • qr_create_l    xtlang    /digego/extempore/tree/v0.8.9/libs/external/qr-code.xtm
  • qr_create_with_level    xtlang    /digego/extempore/tree/v0.8.9/libs/external/qr-code.xtm
  • rados-pool-create    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ceph.xtm
  • reset-zone    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • reset_zone    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • thread_native_call_with_zone    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xthread.xtm
  • what-zone    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • world_create    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/game-of-life.xtm
  • xtm-vg-create-context    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_create_path    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_create_vgimage    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vg_create_contextf    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vg_create_contexti32    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm