impc:ir:compiler:ref   scheme


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

Implementation

(define impc:ir:compiler:ref
  (lambda (ast types)
    (let* ((t (assoc-strcmp (cadr ast) types)))
      (if (null? t)
          (impc:compiler:print-compiler-error "single argument to ref must be a valid variable"))
      (impc:ir:gname (string-append (symbol->string (cadr ast)) "Ptr")
                     (string-append "%" (symbol->string (cadr ast)) "Ptr")
                     (impc:ir:get-type-str (impc:ir:pointer++ (cdr t))))
      "")))


Back to Index

Similar Entries

  • Vref    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • add_ref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • has_one_ref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • impc:ir:compiler:array-ref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:array-ref-ptr    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:closure-ref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:closure-ref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:closure-refcheck    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:pdref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:pointer-ref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:pointer-ref-ptr    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:pref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:tuple-ref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:tuple-ref-ptr    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:vector-ref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:array-ref-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:array-ref-ptr-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:closure-ref-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:closure-refcheck-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:multicref    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:pdref-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:pointer-ref-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:pointer-ref-ptr-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:pref-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:ref-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:tuple-ref-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:tuple-ref-ptr-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:vector-ref-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • json_decref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_incref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • list-ref    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm