Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syominsergey/7c2c68dab100e0f960c2d4f7f63a76c0 to your computer and use it in GitHub Desktop.
Save syominsergey/7c2c68dab100e0f960c2d4f7f63a76c0 to your computer and use it in GitHub Desktop.
; ModuleID = 'jit module'
source_filename = "jit module"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define void @compute_select() {
entry:
%0 = call i8* @rowset_allocate(i64 140723231792208)
call void @row_store_string(i8* %0, i32 0, i64 93940251356320, i64 4)
call void @row_store_string(i8* %0, i32 1, i64 93940251298544, i64 3)
call void @row_store_uint64(i8* %0, i32 2, i32 3)
call void @row_store_boolean(i8* %0, i32 3, i1 true)
ret void
}
declare i8* @rowset_allocate(i8*)
declare i8* @rowset_get(i8*, i64)
declare i64 @rowset_size(i8*)
declare i8 @row_load_boolean(i8*, i32)
declare i64 @row_load_uint64(i8*, i32)
declare i8* @row_load_varchar(i8*, i32)
declare i8* @row_load_string(i8*, i32)
declare i64 @row_load_string_length(i8*, i32)
declare void @row_store_boolean(i8*, i32, i8)
declare void @row_store_uint64(i8*, i32, i64)
declare void @row_store_varchar(i8*, i32, i8*, i64)
declare void @row_store_string(i8*, i32, i8*, i64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment