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
  • FBO_create_with_textures    xtlang
  • ShaderProgram_create    xtlang
  • ShaderProgram_create    xtlang
  • ShaderProgram_create    xtlang
  • ShaderProgram_create    xtlang
  • Shader_create    xtlang
  • Texture_create    xtlang
  • Texture_create_FBO_depth_texture    xtlang
  • VAO_create    xtlang
  • VAO_create_ss_quad    xtlang
  • VBO_create    xtlang
  • VBO_create    xtlang
  • VBO_create    xtlang
  • VBO_create    xtlang
  • Zone    xtlang
  • apr_pool_create    xtlang
  • apr_pool_create    xtlang
  • bindfunc_with_zone_size    xtlang
  • bindfunc_with_zone_size_and_docstring    xtlang
  • cerberus_create_lfos    xtlang
  • create-zone    scheme
  • create-zone1    xtlang
  • create-zone2    xtlang
  • create_arrows_shader    xtlang
  • create_data    xtlang
  • create_fbo    xtlang
  • create_fbo_no_depth    xtlang
  • create_fbo_no_depth_rect    xtlang
  • create_fbo_rect    xtlang
  • create_heatmap_shader    xtlang
  • create_particles_shader    xtlang
  • create_points_shader    xtlang
  • create_post_process_shader    xtlang
  • create_raymarcher_shader    xtlang
  • create_shader    xtlang
  • create_shader_xtm    xtlang
  • create_shadertoy_shader    xtlang
  • create_texture_shader    xtlang
  • create_triangle_shader    xtlang
  • create_triangle_shader    xtlang
  • create_vbo    xtlang
  • create_walker_array    xtlang
  • destroy_zone    xtlang
  • fbo_create_depth_buffer    xtlang
  • fbo_create_depth_buffer_rect    xtlang
  • fbo_create_texture    xtlang
  • fbo_create_texture_rect    xtlang
  • fluid-cube-create    xtlang
  • fluid-cube-create    xtlang
  • fluid_cube_create    xtlang
  • glfw_create_fullscreen_interaction_window    xtlang
  • glfw_create_fullscreen_interaction_window    xtlang
  • glfw_create_fullscreen_window    xtlang
  • glfw_create_fullscreen_window    xtlang
  • glfw_create_interaction_window    xtlang
  • glfw_create_window    xtlang
  • glfw_init_and_create_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_window    xtlang
  • glfw_init_and_create_fullscreen_window    xtlang
  • glfw_init_and_create_fullscreen_window    xtlang
  • glfw_init_and_create_interaction_compatibility_window    xtlang
  • glfw_init_and_create_interaction_window    xtlang
  • glfw_init_and_create_window    xtlang
  • icr:destroy-zone    scheme
  • icr:new-zone    scheme
  • icr:set-zone    scheme
  • icr:set-zone-default    scheme
  • impc:compiler:print-needs-zone-delay-error    scheme
  • impc:compiler:print-needs-zone-size-error    scheme
  • impc:ir:compile:pop_zone    scheme
  • impc:ir:compile:push_new_zone    scheme
  • impc:ir:compile:push_zone    scheme
  • impc:ir:compiler:zone-alloc    scheme
  • impc:ir:compiler:zone-alloc-with-size    scheme
  • impc:ir:compiler:zone-alloc-without-size    scheme
  • impc:ti:check-memzone-void?    scheme
  • impc:ti:create-scheme-wrapper    scheme
  • impc:ti:create-scm-wrapper?    scheme
  • impc:ti:create_zone-check    scheme
  • impc:ti:get-closure-zone-size    scheme
  • impc:ti:initialize-closure-with-new-zone    scheme
  • impc:ti:memzone    scheme
  • impc:ti:memzone    scheme
  • impc:ti:pop_zone-check    scheme
  • impc:ti:push_new_zone-check    scheme
  • impc:ti:push_zone-check    scheme
  • impc:ti:set-closure-zone-size    scheme
  • impc:ti:zone-alloc-check    scheme
  • impc:ti:zone_cleanup    scheme
  • nnsock_create    xtlang
  • nnsock_create    xtlang
  • nvg_create_context    xtlang
  • nvg_create_font    xtlang
  • pa_create_default_stream    xtlang
  • pa_create_stream    xtlang
  • peek_zone    xtlang
  • pm_create_input_stream    xtlang
  • pm_create_output_stream    xtlang
  • pop-zone    xtlang
  • psystem_create    xtlang
  • psystem_create    xtlang
  • push-zone    xtlang
  • qr_create_l    xtlang
  • qr_create_with_level    xtlang
  • rados-pool-create    xtlang
  • reset-zone    xtlang
  • reset_zone    xtlang
  • thread_native_call_with_zone    xtlang
  • what-zone    xtlang
  • world_create    xtlang
  • xtm-vg-create-context    scheme
  • xtm_create_path    xtlang
  • xtm_create_vgimage    xtlang
  • xtm_vg_create_contextf    xtlang
  • xtm_vg_create_contexti32    xtlang