{"size": 631, "ext": "scrbl", "max_stars_repo_path": "scribblings/builder.scrbl", "max_stars_repo_name": "failed-dragon-slayer/racket-llvm", "max_stars_repo_stars_event_min_datetime": "2022-01-03T15:18:24.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-21T23:31:03.000Z", "max_issues_repo_path": "scribblings/builder.scrbl", "max_issues_repo_name": "failed-dragon-slayer/racket-llvm13", "max_issues_repo_issues_event_min_datetime": "2022-01-21T00:25:45.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-25T01:15:39.000Z", "max_forks_repo_path": "scribblings/builder.scrbl", "max_forks_repo_name": "failed-dragon-slayer/racket-llvm", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 48.5384615385, "max_line_length": 131, "alphanum_fraction": 0.7448494453}
#lang scribble/manual
@require[@for-label[racket-llvm
                    racket/base]]

@title{Builder}

@defproc[(llvm-append-basic-block [function LLVMValueRef?]) LLVMBasicBlockRef?]{create new basic block for given @racket[function]}
@defproc[(llvm-builder-create) LLVMBuilderRef?]{new @racket[LLVMBuilderRef?]}
@defproc[(llvm-builder-position-at-end [builder LLVMBuilderRef?] [basic-block LLVMBasicBlockRef?]) void?]{
    set @racket[builder] insert position to the end of @racket[basic-block]
}
@defproc[(llvm-get-param [function LLVMValueRef?] [index integer?]) LLVMValueRef?]{get parameter from @racket[function] by index}
