Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Update expected IRs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Oct 19, 2023
1 parent 7c80f1b commit 8938ad5
Show file tree
Hide file tree
Showing 34 changed files with 161 additions and 161 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target triple = "sbf-solana-solana"

declare i32 @memcmp(ptr, ptr, i64)

define [32 x i8] @signer__address_of(ptr nonnull readonly %0) {
define [32 x i8] @"0000000000000001_signer_address_of_HobbRqPY4HqJJ6"(ptr nonnull readonly %0) {
entry:
%local_0 = alloca ptr, align 8
%local_1 = alloca ptr, align 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target triple = "sbf-solana-solana"

declare i32 @memcmp(ptr, ptr, i64)

define private void @Test__test() {
define private void @"0000000000000100_Test_test_FfymrXLxVKvhRk"() {
entry:
%local_0 = alloca i64, align 8
store i64 10, ptr %local_0, align 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ target triple = "sbf-solana-solana"

declare i32 @memcmp(ptr, ptr, i64)

define i1 @M3__eq_address([32 x i8] %0, [32 x i8] %1) {
define i1 @"0000000000000100_M3_eq_address_RDPBXNLr9nyQX8"([32 x i8] %0, [32 x i8] %1) {
entry:
%local_0 = alloca [32 x i8], align 1
%local_1 = alloca [32 x i8], align 1
Expand All @@ -23,7 +23,7 @@ entry:
ret i1 %retval
}

define [32 x i8] @M3__fixed_address() {
define [32 x i8] @"0000000000000100_M3_fixed_address_AXsxXXZpHkUKQ3"() {
entry:
%local_0 = alloca [32 x i8], align 1
%0 = load [32 x i8], ptr @acct.addr, align 1
Expand All @@ -32,7 +32,7 @@ entry:
ret [32 x i8] %retval
}

define i1 @M3__ne_address([32 x i8] %0, [32 x i8] %1) {
define i1 @"0000000000000100_M3_ne_address_7hMDYRZvi8hjUg"([32 x i8] %0, [32 x i8] %1) {
entry:
%local_0 = alloca [32 x i8], align 1
%local_1 = alloca [32 x i8], align 1
Expand All @@ -48,7 +48,7 @@ entry:
ret i1 %retval
}

define ptr @M3__ret_address_ref(ptr nonnull readonly %0) {
define ptr @"0000000000000100_M3_ret_address_ref_mH7xfp9W2TDBYv"(ptr nonnull readonly %0) {
entry:
%local_0 = alloca ptr, align 8
%local_1 = alloca ptr, align 8
Expand All @@ -59,7 +59,7 @@ entry:
ret ptr %retval
}

define [32 x i8] @M3__use_address_ref(ptr nonnull readonly %0) {
define [32 x i8] @"0000000000000100_M3_use_address_ref_9jcTfHHsGoQPVk"(ptr nonnull readonly %0) {
entry:
%local_0 = alloca ptr, align 8
%local_1 = alloca ptr, align 8
Expand All @@ -74,7 +74,7 @@ entry:
ret [32 x i8] %retval
}

define [32 x i8] @M3__use_address_val([32 x i8] %0) {
define [32 x i8] @"0000000000000100_M3_use_address_val_EytLbxU1j6cfLn"([32 x i8] %0) {
entry:
%local_0 = alloca [32 x i8], align 1
%local_1 = alloca [32 x i8], align 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target triple = "sbf-solana-solana"

declare i32 @memcmp(ptr, ptr, i64)

define private void @Test__test() {
define private void @"0000000000000100_Test_test_FfymrXLxVKvhRk"() {
entry:
%local_0 = alloca i64, align 8
store i64 10, ptr %local_0, align 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target triple = "sbf-solana-solana"

declare i32 @memcmp(ptr, ptr, i64)

define private i8 @Test__test_and(i8 %0, i8 %1) {
define private i8 @"0000000000000100_Test_test_and_DFphxaoqiXYNDV"(i8 %0, i8 %1) {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand All @@ -26,7 +26,7 @@ entry:
ret i8 %retval
}

define private i8 @Test__test_or(i8 %0, i8 %1) {
define private i8 @"0000000000000100_Test_test_or_ABgsHoLgySjeMj"(i8 %0, i8 %1) {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand All @@ -47,7 +47,7 @@ entry:
ret i8 %retval
}

define private i128 @Test__test_shl128(i128 %0, i8 %1) {
define private i128 @"0000000000000100_Test_test_shl128_FjsWYtVAK5ZT52"(i128 %0, i8 %1) {
entry:
%local_0 = alloca i128, align 8
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -77,7 +77,7 @@ join_bb: ; preds = %entry
ret i128 %retval
}

define private i32 @Test__test_shl32(i32 %0, i8 %1) {
define private i32 @"0000000000000100_Test_test_shl32_BY8MnnQVbnAiqd"(i32 %0, i8 %1) {
entry:
%local_0 = alloca i32, align 4
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -107,7 +107,7 @@ join_bb: ; preds = %entry
ret i32 %retval
}

define private i64 @Test__test_shl64(i64 %0, i8 %1) {
define private i64 @"0000000000000100_Test_test_shl64_6uBaAfC6RR7X2A"(i64 %0, i8 %1) {
entry:
%local_0 = alloca i64, align 8
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -137,7 +137,7 @@ join_bb: ; preds = %entry
ret i64 %retval
}

define private i8 @Test__test_shl8(i8 %0, i8 %1) {
define private i8 @"0000000000000100_Test_test_shl8_GAUo4HFL6n4cUQ"(i8 %0, i8 %1) {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -166,7 +166,7 @@ join_bb: ; preds = %entry
ret i8 %retval
}

define private i128 @Test__test_shr128(i128 %0, i8 %1) {
define private i128 @"0000000000000100_Test_test_shr128_6Uq2b5WWBuctcq"(i128 %0, i8 %1) {
entry:
%local_0 = alloca i128, align 8
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -196,7 +196,7 @@ join_bb: ; preds = %entry
ret i128 %retval
}

define private i32 @Test__test_shr32(i32 %0, i8 %1) {
define private i32 @"0000000000000100_Test_test_shr32_FpQwVwgHroD4FB"(i32 %0, i8 %1) {
entry:
%local_0 = alloca i32, align 4
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -226,7 +226,7 @@ join_bb: ; preds = %entry
ret i32 %retval
}

define private i64 @Test__test_shr64(i64 %0, i8 %1) {
define private i64 @"0000000000000100_Test_test_shr64_DBFfqGmnEJWtN8"(i64 %0, i8 %1) {
entry:
%local_0 = alloca i64, align 8
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -256,7 +256,7 @@ join_bb: ; preds = %entry
ret i64 %retval
}

define private i8 @Test__test_shr8(i8 %0, i8 %1) {
define private i8 @"0000000000000100_Test_test_shr8_5uSFM3pVunbF5g"(i8 %0, i8 %1) {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -285,7 +285,7 @@ join_bb: ; preds = %entry
ret i8 %retval
}

define private i8 @Test__test_xor(i8 %0, i8 %1) {
define private i8 @"0000000000000100_Test_test_xor_4csxK8UYp6BVr8"(i8 %0, i8 %1) {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target triple = "sbf-solana-solana"

declare i32 @memcmp(ptr, ptr, i64)

define private i8 @Test__get_sub(i8 %0, i8 %1) {
define private i8 @"0000000000000100_Test_get_sub_13wN27GrZPghd6"(i8 %0, i8 %1) {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand Down Expand Up @@ -34,7 +34,7 @@ join_bb: ; preds = %entry
ret i8 %retval
}

define private void @Test__test() {
define private void @"0000000000000100_Test_test_FfymrXLxVKvhRk"() {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand All @@ -48,7 +48,7 @@ entry:
store i8 3, ptr %local_2, align 1
%call_arg_0 = load i8, ptr %local_1, align 1
%call_arg_1 = load i8, ptr %local_2, align 1
%retval = call i8 @Test__get_sub(i8 %call_arg_0, i8 %call_arg_1)
%retval = call i8 @"0000000000000100_Test_get_sub_13wN27GrZPghd6"(i8 %call_arg_0, i8 %call_arg_1)
store i8 %retval, ptr %local_3, align 1
%load_store_tmp = load i8, ptr %local_3, align 1
store i8 %load_store_tmp, ptr %local_0, align 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target triple = "sbf-solana-solana"

declare i32 @memcmp(ptr, ptr, i64)

define private i32 @Test__cast_u32(i8 %0) {
define private i32 @"0000000000000100_Test_cast_u32_HTSGZTK3vZ9o3P"(i8 %0) {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand All @@ -20,7 +20,7 @@ entry:
ret i32 %retval
}

define private i64 @Test__cast_u64(i8 %0) {
define private i64 @"0000000000000100_Test_cast_u64_mv2mrQJuzMJGw2"(i8 %0) {
entry:
%local_0 = alloca i8, align 1
%local_1 = alloca i8, align 1
Expand All @@ -35,7 +35,7 @@ entry:
ret i64 %retval
}

define private i8 @Test__cast_u8(i32 %0) {
define private i8 @"0000000000000100_Test_cast_u8_AvxxS7Jvff27Kr"(i32 %0) {
entry:
%local_0 = alloca i32, align 4
%local_1 = alloca i32, align 4
Expand Down
Loading

0 comments on commit 8938ad5

Please sign in to comment.