diff --git a/hugr-llvm/src/emit.rs b/hugr-llvm/src/emit.rs index c325fbb522..16c4e2a368 100644 --- a/hugr-llvm/src/emit.rs +++ b/hugr-llvm/src/emit.rs @@ -137,7 +137,7 @@ impl<'c, 'a, H> EmitModuleContext<'c, 'a, H> { let name = self.name_func(name, node); match visibility { Visibility::Public => self.get_func_impl(name, llvm_func_ty, Some(Linkage::External)), - Visibility::Private => self.get_func_impl(name, llvm_func_ty, Some(Linkage::Private)), + Visibility::Private => self.get_func_impl(name, llvm_func_ty, Some(Linkage::Internal)), _ => self.get_func_impl(name, llvm_func_ty, None), } } diff --git a/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__diverse_outputs@llvm14.snap b/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__diverse_outputs@llvm14.snap index ac48d6a2ad..770b3bd6d5 100644 --- a/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__diverse_outputs@llvm14.snap +++ b/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__diverse_outputs@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__diverse_outputs@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__diverse_outputs@pre-mem2reg@llvm14.snap index 6fc68b143c..8220d39af3 100644 --- a/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__diverse_outputs@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__diverse_outputs@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__nested@llvm14.snap b/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__nested@llvm14.snap index ae60e75b09..b8573dfd42 100644 --- a/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__nested@llvm14.snap +++ b/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__nested@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i2 %0, i1 %1) { +define internal i1 @_hl.main.1(i2 %0, i1 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__nested@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__nested@pre-mem2reg@llvm14.snap index 776ff41eb7..1d4a9c9bb5 100644 --- a/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__nested@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/ops/snapshots/hugr_llvm__emit__ops__cfg__test__nested@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i2 %0, i1 %1) { +define internal i1 @_hl.main.1(i2 %0, i1 %1) { alloca_block: %"0" = alloca i1, align 1 %"5_0" = alloca {}, align 8 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_cfg_children@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_cfg_children@llvm14.snap index 3fc9444439..21c5362e27 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_cfg_children@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_cfg_children@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1() { +define internal i1 @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_cfg_children@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_cfg_children@pre-mem2reg@llvm14.snap index 2e744fd2f6..a4baea7fb9 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_cfg_children@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_cfg_children@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1() { +define internal i1 @_hl.main.1() { alloca_block: %"0" = alloca i1, align 1 %"4_0" = alloca i1, align 1 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_module_children@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_module_children@llvm14.snap index 60cddb8f73..b4d1d527f8 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_module_children@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_module_children@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.f1.1() { +define internal void @_hl.f1.1() { alloca_block: br label %entry_block @@ -13,7 +13,7 @@ entry_block: ; preds = %alloca_block ret void } -define private void @_hl.f2.4() { +define internal void @_hl.f2.4() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_module_children@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_module_children@pre-mem2reg@llvm14.snap index 60cddb8f73..b4d1d527f8 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_module_children@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__diverse_module_children@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.f1.1() { +define internal void @_hl.f1.1() { alloca_block: br label %entry_block @@ -13,7 +13,7 @@ entry_block: ; preds = %alloca_block ret void } -define private void @_hl.f2.4() { +define internal void @_hl.f2.4() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_conditional@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_conditional@llvm14.snap index 37cdc54e31..1cec83328e 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_conditional@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_conditional@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { { i2, i2, i1 }, {} } @_hl.main.1({ i2, i2, i1 } %0, {} %1) { +define internal { { i2, i2, i1 }, {} } @_hl.main.1({ i2, i2, i1 } %0, {} %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_conditional@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_conditional@pre-mem2reg@llvm14.snap index c742fbecd0..2880db6b49 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_conditional@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_conditional@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { { i2, i2, i1 }, {} } @_hl.main.1({ i2, i2, i1 } %0, {} %1) { +define internal { { i2, i2, i1 }, {} } @_hl.main.1({ i2, i2, i1 } %0, {} %1) { alloca_block: %"0" = alloca { i2, i2, i1 }, align 8 %"1" = alloca {}, align 8 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_custom_op@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_custom_op@llvm14.snap index 63830de0ef..32799b0dfd 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_custom_op@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_custom_op@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i16 @_hl.main.1() { +define internal i16 @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_custom_op@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_custom_op@pre-mem2reg@llvm14.snap index 7dcc416017..0bab3e810a 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_custom_op@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_custom_op@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i16 @_hl.main.1() { +define internal i16 @_hl.main.1() { alloca_block: %"0" = alloca i16, align 2 %"7_0" = alloca i16, align 2 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_dfg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_dfg@llvm14.snap index 67db0f353f..6faf298195 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_dfg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_dfg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private {} @_hl.main.1({} %0) { +define internal {} @_hl.main.1({} %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_dfg@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_dfg@pre-mem2reg@llvm14.snap index 7c51e9c9c9..88c21822d6 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_dfg@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_dfg@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private {} @_hl.main.1({} %0) { +define internal {} @_hl.main.1({} %0) { alloca_block: %"0" = alloca {}, align 8 %"2_0" = alloca {}, align 8 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_load_constant@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_load_constant@llvm14.snap index 2ba28ca880..9cd8523690 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_load_constant@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_load_constant@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i2, i16 } @_hl.main.1() { +define internal { i2, i16 } @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_load_constant@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_load_constant@pre-mem2reg@llvm14.snap index b49c54168a..edcad9a396 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_load_constant@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_load_constant@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i2, i16 } @_hl.main.1() { +define internal { i2, i16 } @_hl.main.1() { alloca_block: %"0" = alloca { i2, i16 }, align 8 %"5_0" = alloca { i2, i16 }, align 8 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_tag@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_tag@llvm14.snap index b86aaf7f70..704673a1d0 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_tag@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_tag@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i2 @_hl.main.1() { +define internal i2 @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_tag@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_tag@pre-mem2reg@llvm14.snap index c063d5315b..da0d301262 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_tag@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__emit_hugr_tag@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i2 @_hl.main.1() { +define internal i2 @_hl.main.1() { alloca_block: %"0" = alloca i2, align 1 %"4_0" = alloca i2, align 1 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__load_function@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__load_function@llvm14.snap index ecb99d73c5..9c1cb56039 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__load_function@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__load_function@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void ()* @_hl.main.2() { +define internal void ()* @_hl.main.2() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__load_function@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__load_function@pre-mem2reg@llvm14.snap index b53a53a922..153196ad55 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__load_function@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__load_function@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void ()* @_hl.main.2() { +define internal void ()* @_hl.main.2() { alloca_block: %"0" = alloca void ()*, align 8 %"5_0" = alloca void ()*, align 8 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop@llvm14.snap index b7384eed11..fd487897e2 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop@pre-mem2reg@llvm14.snap index 31b7ac1449..add766e432 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: %"0" = alloca i64, align 8 %"7_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop_simple@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop_simple@llvm14.snap index 9965c52b2f..1de16db276 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop_simple@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop_simple@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private {} @_hl.main.1(i64 %0) { +define internal {} @_hl.main.1(i64 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop_simple@pre-mem2reg@llvm14.snap b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop_simple@pre-mem2reg@llvm14.snap index d0df5733b2..f40202ef09 100644 --- a/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop_simple@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/emit/snapshots/hugr_llvm__emit__test__test_fns__tail_loop_simple@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private {} @_hl.main.1(i64 %0) { +define internal {} @_hl.main.1(i64 %0) { alloca_block: %"0" = alloca {}, align 8 %"2_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_all_ops@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_all_ops@llvm14.snap index 2a9a2abd91..6dacd55abb 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_all_ops@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_all_ops@llvm14.snap @@ -16,7 +16,7 @@ source_filename = "test_context" @4 = private unnamed_addr constant [37 x i8] c"Expected variant 1 but got variant 0\00", align 1 @prelude.panic_template.4 = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_all_ops@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_all_ops@pre-mem2reg@llvm14.snap index 71dd7b5907..ec46e7d229 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_all_ops@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_all_ops@pre-mem2reg@llvm14.snap @@ -16,7 +16,7 @@ source_filename = "test_context" @4 = private unnamed_addr constant [37 x i8] c"Expected variant 1 but got variant 0\00", align 1 @prelude.panic_template.4 = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"12_0" = alloca i64, align 8 %"10_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_array_value@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_array_value@llvm14.snap index a8069d66b3..76d875c07b 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_array_value@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_array_value@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i64*, i64 } @_hl.main.1() { +define internal { i64*, i64 } @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_array_value@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_array_value@pre-mem2reg@llvm14.snap index 5003bac198..e89b65faa6 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_array_value@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_array_value@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i64*, i64 } @_hl.main.1() { +define internal { i64*, i64 } @_hl.main.1() { alloca_block: %"0" = alloca { i64*, i64 }, align 8 %"5_0" = alloca { i64*, i64 }, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_clone@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_clone@llvm14.snap index 38b41a70fa..b1084e26a5 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_clone@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_clone@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_clone@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_clone@pre-mem2reg@llvm14.snap index b4df3f9084..6016f34b4b 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_clone@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_clone@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"7_0" = alloca i64, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_get@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_get@llvm14.snap index 71d6806349..c2e8cccd1f 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_get@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_get@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_get@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_get@pre-mem2reg@llvm14.snap index 651f421fe4..db57b2bf06 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_get@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__array__test__emit_get@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"7_0" = alloca i64, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_all_ops@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_all_ops@llvm14.snap index b3266697d4..c290af6009 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_all_ops@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_all_ops@llvm14.snap @@ -18,7 +18,7 @@ source_filename = "test_context" @5 = private unnamed_addr constant [37 x i8] c"Expected variant 1 but got variant 0\00", align 1 @prelude.panic_template.5 = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_all_ops@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_all_ops@pre-mem2reg@llvm14.snap index cd6dfe212f..fadfeeb91e 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_all_ops@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_all_ops@pre-mem2reg@llvm14.snap @@ -18,7 +18,7 @@ source_filename = "test_context" @5 = private unnamed_addr constant [37 x i8] c"Expected variant 1 but got variant 0\00", align 1 @prelude.panic_template.5 = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"12_0" = alloca i64, align 8 %"10_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_array_value@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_array_value@llvm14.snap index 4c08788f20..0142268766 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_array_value@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_array_value@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i64*, i64*, i64 } @_hl.main.1() { +define internal { i64*, i64*, i64 } @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_array_value@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_array_value@pre-mem2reg@llvm14.snap index e41cf2ebf7..76231c696e 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_array_value@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_array_value@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i64*, i64*, i64 } @_hl.main.1() { +define internal { i64*, i64*, i64 } @_hl.main.1() { alloca_block: %"0" = alloca { i64*, i64*, i64 }, align 8 %"5_0" = alloca { i64*, i64*, i64 }, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_clone@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_clone@llvm14.snap index 4ddf44c537..b65d22a890 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_clone@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_clone@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [39 x i8] c"Some array elements have been borrowed\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_clone@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_clone@pre-mem2reg@llvm14.snap index c266a6bd82..8e45159eaa 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_clone@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_clone@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [39 x i8] c"Some array elements have been borrowed\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"7_0" = alloca i64, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_get@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_get@llvm14.snap index 6b855ca106..2fd42de44d 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_get@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_get@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [34 x i8] c"Array element is already borrowed\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_get@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_get@pre-mem2reg@llvm14.snap index aceb822dea..5933038088 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_get@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__borrow_array__test__emit_get@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [34 x i8] c"Array element is already borrowed\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"7_0" = alloca i64, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__const@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__const@llvm14.snap index c0876b93d4..a00fd0ffbe 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__const@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__const@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8* @_hl.main.1() { +define internal i8* @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__const@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__const@pre-mem2reg@llvm14.snap index 03344dd494..db50df2b92 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__const@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__const@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8* @_hl.main.1() { +define internal i8* @_hl.main.1() { alloca_block: %"0" = alloca i8*, align 8 %"5_0" = alloca i8*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__get@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__get@llvm14.snap index 0fbf3cd00d..42340d2643 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__get@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__get@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i16 } @_hl.main.1(i8* %0, i64 %1) { +define internal { i1, i16 } @_hl.main.1(i8* %0, i64 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__get@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__get@pre-mem2reg@llvm14.snap index dca16c0f0f..d45344f096 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__get@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__get@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i16 } @_hl.main.1(i8* %0, i64 %1) { +define internal { i1, i16 } @_hl.main.1(i8* %0, i64 %1) { alloca_block: %"0" = alloca { i1, i16 }, align 8 %"2_0" = alloca i8*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__insert@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__insert@llvm14.snap index 9d595e323a..5580905f4e 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__insert@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__insert@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i8*, { i1, i16 } } @_hl.main.1(i8* %0, i64 %1, i16 %2) { +define internal { i8*, { i1, i16 } } @_hl.main.1(i8* %0, i64 %1, i16 %2) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__insert@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__insert@pre-mem2reg@llvm14.snap index a4fc2b50f8..189c01506c 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__insert@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__insert@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i8*, { i1, i16 } } @_hl.main.1(i8* %0, i64 %1, i16 %2) { +define internal { i8*, { i1, i16 } } @_hl.main.1(i8* %0, i64 %1, i16 %2) { alloca_block: %"0" = alloca i8*, align 8 %"1" = alloca { i1, i16 }, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__length@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__length@llvm14.snap index d708b7b2ee..e0abda9e9d 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__length@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__length@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i8*, i64 } @_hl.main.1(i8* %0) { +define internal { i8*, i64 } @_hl.main.1(i8* %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__length@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__length@pre-mem2reg@llvm14.snap index e97e4eba8a..16a08d60ed 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__length@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__length@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i8*, i64 } @_hl.main.1(i8* %0) { +define internal { i8*, i64 } @_hl.main.1(i8* %0) { alloca_block: %"0" = alloca i8*, align 8 %"1" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__pop@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__pop@llvm14.snap index 84383a4e63..98046f51b7 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__pop@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__pop@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i8*, { i1, i16 } } @_hl.main.1(i8* %0) { +define internal { i8*, { i1, i16 } } @_hl.main.1(i8* %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__pop@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__pop@pre-mem2reg@llvm14.snap index 8c90e2367e..a6493f584a 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__pop@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__pop@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i8*, { i1, i16 } } @_hl.main.1(i8* %0) { +define internal { i8*, { i1, i16 } } @_hl.main.1(i8* %0) { alloca_block: %"0" = alloca i8*, align 8 %"1" = alloca { i1, i16 }, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__push@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__push@llvm14.snap index 301e8bac36..2e7cb113ad 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__push@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__push@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8* @_hl.main.1(i8* %0, i16 %1) { +define internal i8* @_hl.main.1(i8* %0, i16 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__push@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__push@pre-mem2reg@llvm14.snap index e545aacf03..21e6e3ebab 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__push@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__push@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8* @_hl.main.1(i8* %0, i16 %1) { +define internal i8* @_hl.main.1(i8* %0, i16 %1) { alloca_block: %"0" = alloca i8*, align 8 %"2_0" = alloca i8*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__set@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__set@llvm14.snap index 1de783a107..988eadd58f 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__set@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__set@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i8*, { i1, i16 } } @_hl.main.1(i8* %0, i64 %1, i16 %2) { +define internal { i8*, { i1, i16 } } @_hl.main.1(i8* %0, i64 %1, i16 %2) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__set@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__set@pre-mem2reg@llvm14.snap index d19e2749bf..24feaa6a98 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__set@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__list__test__set@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i8*, { i1, i16 } } @_hl.main.1(i8* %0, i64 %1, i16 %2) { +define internal { i8*, { i1, i16 } } @_hl.main.1(i8* %0, i64 %1, i16 %2) { alloca_block: %"0" = alloca i8*, align 8 %"1" = alloca { i1, i16 }, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_all_ops@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_all_ops@llvm14.snap index d2615aa00d..4562d2edf7 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_all_ops@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_all_ops@llvm14.snap @@ -16,7 +16,7 @@ source_filename = "test_context" @4 = private unnamed_addr constant [37 x i8] c"Expected variant 1 but got variant 0\00", align 1 @prelude.panic_template.4 = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_all_ops@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_all_ops@pre-mem2reg@llvm14.snap index 2358eb2d64..ce1d02bf57 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_all_ops@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_all_ops@pre-mem2reg@llvm14.snap @@ -16,7 +16,7 @@ source_filename = "test_context" @4 = private unnamed_addr constant [37 x i8] c"Expected variant 1 but got variant 0\00", align 1 @prelude.panic_template.4 = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"12_0" = alloca i64, align 8 %"10_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_array_value@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_array_value@llvm14.snap index 09a06612a2..5e6e77a26a 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_array_value@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_array_value@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private [2 x i64] @_hl.main.1() { +define internal [2 x i64] @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_array_value@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_array_value@pre-mem2reg@llvm14.snap index 34efa9043e..a2d591c4ff 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_array_value@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_array_value@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private [2 x i64] @_hl.main.1() { +define internal [2 x i64] @_hl.main.1() { alloca_block: %"0" = alloca [2 x i64], align 8 %"5_0" = alloca [2 x i64], align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_clone@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_clone@llvm14.snap index fb855d3fa1..9a6b659754 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_clone@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_clone@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_clone@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_clone@pre-mem2reg@llvm14.snap index dfecf40683..c4ab25d5c2 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_clone@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_clone@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"7_0" = alloca i64, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_get@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_get@llvm14.snap index 974268699e..ff2c347b2c 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_get@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_get@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_get@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_get@pre-mem2reg@llvm14.snap index f08c83dde3..03a65a3eda 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_get@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__stack_array__test__emit_get@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"7_0" = alloca i64, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__emit_static_array_of_static_array@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__emit_static_array_of_static_array@llvm14.snap index 88e720d4f1..002d151b58 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__emit_static_array_of_static_array@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__emit_static_array_of_static_array@llvm14.snap @@ -17,7 +17,7 @@ source_filename = "test_context" @sa.inner.1e8aada3.0 = constant { i64, [9 x i64] } { i64 9, [9 x i64] [i64 9, i64 9, i64 9, i64 9, i64 9, i64 9, i64 9, i64 9, i64 9] } @sa.outer.e55b610a.0 = constant { i64, [10 x { i64, [0 x i64] }*] } { i64 10, [10 x { i64, [0 x i64] }*] [{ i64, [0 x i64] }* @sa.inner.6acc1b76.0, { i64, [0 x i64] }* bitcast ({ i64, [1 x i64] }* @sa.inner.e637bb5.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [2 x i64] }* @sa.inner.2b6593f.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [3 x i64] }* @sa.inner.1b9ad7c.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [4 x i64] }* @sa.inner.e67fbfa4.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [5 x i64] }* @sa.inner.15dc27f6.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [6 x i64] }* @sa.inner.c43a2bb2.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [7 x i64] }* @sa.inner.7f5d5e16.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [8 x i64] }* @sa.inner.a0bc9c53.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [9 x i64] }* @sa.inner.1e8aada3.0 to { i64, [0 x i64] }*)] } -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__emit_static_array_of_static_array@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__emit_static_array_of_static_array@pre-mem2reg@llvm14.snap index 4f009047fd..950cd1316d 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__emit_static_array_of_static_array@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__emit_static_array_of_static_array@pre-mem2reg@llvm14.snap @@ -17,7 +17,7 @@ source_filename = "test_context" @sa.inner.1e8aada3.0 = constant { i64, [9 x i64] } { i64 9, [9 x i64] [i64 9, i64 9, i64 9, i64 9, i64 9, i64 9, i64 9, i64 9, i64 9] } @sa.outer.e55b610a.0 = constant { i64, [10 x { i64, [0 x i64] }*] } { i64 10, [10 x { i64, [0 x i64] }*] [{ i64, [0 x i64] }* @sa.inner.6acc1b76.0, { i64, [0 x i64] }* bitcast ({ i64, [1 x i64] }* @sa.inner.e637bb5.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [2 x i64] }* @sa.inner.2b6593f.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [3 x i64] }* @sa.inner.1b9ad7c.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [4 x i64] }* @sa.inner.e67fbfa4.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [5 x i64] }* @sa.inner.15dc27f6.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [6 x i64] }* @sa.inner.c43a2bb2.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [7 x i64] }* @sa.inner.7f5d5e16.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [8 x i64] }* @sa.inner.a0bc9c53.0 to { i64, [0 x i64] }*), { i64, [0 x i64] }* bitcast ({ i64, [9 x i64] }* @sa.inner.1e8aada3.0 to { i64, [0 x i64] }*)] } -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: %"0" = alloca i64, align 8 %"5_0" = alloca { i64, [0 x { i64, [0 x i64] }*] }*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_0.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_0.snap index 1a834b4ac5..c4c8890a95 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_0.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_0.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @sa.a.97cb22bf.0 = constant { i64, [10 x i64] } { i64 10, [10 x i64] [i64 0, i64 1, i64 2, i64 3, i64 4, i64 5, i64 6, i64 7, i64 8, i64 9] } -define private { i64, [0 x i64] }* @_hl.main.1() { +define internal { i64, [0 x i64] }* @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_1.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_1.snap index 8e5299a966..922fae3222 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_1.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_1.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @sa.b.150c532c.0 = constant { i64, [10 x double] } { i64 10, [10 x double] [double 0.000000e+00, double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00, double 9.000000e+00] } -define private { i64, [0 x double] }* @_hl.main.1() { +define internal { i64, [0 x double] }* @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_2.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_2.snap index f04fec2d64..5261c0d243 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_2.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_2.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @sa.c.d2dddd66.0 = constant { i64, [10 x i1] } { i64 10, [10 x i1] [i1 true, i1 false, i1 true, i1 false, i1 true, i1 false, i1 true, i1 false, i1 true, i1 false] } -define private { i64, [0 x i1] }* @_hl.main.1() { +define internal { i64, [0 x i1] }* @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_3.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_3.snap index 0bd3db5008..cd6ed28692 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_3.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@llvm14_3.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @sa.d.eee08a59.0 = constant { i64, [10 x { i1, i64 }] } { i64 10, [10 x { i1, i64 }] [{ i1, i64 } { i1 true, i64 0 }, { i1, i64 } { i1 true, i64 1 }, { i1, i64 } { i1 true, i64 2 }, { i1, i64 } { i1 true, i64 3 }, { i1, i64 } { i1 true, i64 4 }, { i1, i64 } { i1 true, i64 5 }, { i1, i64 } { i1 true, i64 6 }, { i1, i64 } { i1 true, i64 7 }, { i1, i64 } { i1 true, i64 8 }, { i1, i64 } { i1 true, i64 9 }] } -define private { i64, [0 x { i1, i64 }] }* @_hl.main.1() { +define internal { i64, [0 x { i1, i64 }] }* @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_0.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_0.snap index 738e34eaeb..480fd4e9c8 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_0.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_0.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @sa.a.97cb22bf.0 = constant { i64, [10 x i64] } { i64 10, [10 x i64] [i64 0, i64 1, i64 2, i64 3, i64 4, i64 5, i64 6, i64 7, i64 8, i64 9] } -define private { i64, [0 x i64] }* @_hl.main.1() { +define internal { i64, [0 x i64] }* @_hl.main.1() { alloca_block: %"0" = alloca { i64, [0 x i64] }*, align 8 %"5_0" = alloca { i64, [0 x i64] }*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_1.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_1.snap index 2ab5244a83..16128fb14a 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_1.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_1.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @sa.b.150c532c.0 = constant { i64, [10 x double] } { i64 10, [10 x double] [double 0.000000e+00, double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00, double 9.000000e+00] } -define private { i64, [0 x double] }* @_hl.main.1() { +define internal { i64, [0 x double] }* @_hl.main.1() { alloca_block: %"0" = alloca { i64, [0 x double] }*, align 8 %"5_0" = alloca { i64, [0 x double] }*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_2.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_2.snap index 524dae1e4d..8f5dd5efb6 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_2.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_2.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @sa.c.d2dddd66.0 = constant { i64, [10 x i1] } { i64 10, [10 x i1] [i1 true, i1 false, i1 true, i1 false, i1 true, i1 false, i1 true, i1 false, i1 true, i1 false] } -define private { i64, [0 x i1] }* @_hl.main.1() { +define internal { i64, [0 x i1] }* @_hl.main.1() { alloca_block: %"0" = alloca { i64, [0 x i1] }*, align 8 %"5_0" = alloca { i64, [0 x i1] }*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_3.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_3.snap index 193e5376b8..0c6195279c 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_3.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_const_codegen@pre-mem2reg@llvm14_3.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @sa.d.eee08a59.0 = constant { i64, [10 x { i1, i64 }] } { i64 10, [10 x { i1, i64 }] [{ i1, i64 } { i1 true, i64 0 }, { i1, i64 } { i1 true, i64 1 }, { i1, i64 } { i1 true, i64 2 }, { i1, i64 } { i1 true, i64 3 }, { i1, i64 } { i1 true, i64 4 }, { i1, i64 } { i1 true, i64 5 }, { i1, i64 } { i1 true, i64 6 }, { i1, i64 } { i1 true, i64 7 }, { i1, i64 } { i1 true, i64 8 }, { i1, i64 } { i1 true, i64 9 }] } -define private { i64, [0 x { i1, i64 }] }* @_hl.main.1() { +define internal { i64, [0 x { i1, i64 }] }* @_hl.main.1() { alloca_block: %"0" = alloca { i64, [0 x { i1, i64 }] }*, align 8 %"5_0" = alloca { i64, [0 x { i1, i64 }] }*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_0.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_0.snap index 510f96eb2b..adac7fdbcf 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_0.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_0.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i64 } @_hl.main.1({ i64, [0 x i64] }* %0, i64 %1) { +define internal { i1, i64 } @_hl.main.1({ i64, [0 x i64] }* %0, i64 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_1.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_1.snap index 17fad15eab..1357b4a103 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_1.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_1.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i1 } @_hl.main.1({ i64, [0 x i1] }* %0, i64 %1) { +define internal { i1, i1 } @_hl.main.1({ i64, [0 x i1] }* %0, i64 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_2.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_2.snap index 024223e8d5..d390921585 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_2.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_2.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1({ i64, [0 x i64] }* %0) { +define internal i64 @_hl.main.1({ i64, [0 x i64] }* %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_3.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_3.snap index 57713d2079..894b870c83 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_3.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@llvm14_3.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1({ i64, [0 x i1] }* %0) { +define internal i64 @_hl.main.1({ i64, [0 x i1] }* %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_0.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_0.snap index a5c654c78e..779caf0000 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_0.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_0.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i64 } @_hl.main.1({ i64, [0 x i64] }* %0, i64 %1) { +define internal { i1, i64 } @_hl.main.1({ i64, [0 x i64] }* %0, i64 %1) { alloca_block: %"0" = alloca { i1, i64 }, align 8 %"2_0" = alloca { i64, [0 x i64] }*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_1.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_1.snap index 6ffe65467c..9bd0bc272d 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_1.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_1.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i1 } @_hl.main.1({ i64, [0 x i1] }* %0, i64 %1) { +define internal { i1, i1 } @_hl.main.1({ i64, [0 x i1] }* %0, i64 %1) { alloca_block: %"0" = alloca { i1, i1 }, align 8 %"2_0" = alloca { i64, [0 x i1] }*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_2.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_2.snap index c2082361c8..347ecb708c 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_2.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_2.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1({ i64, [0 x i64] }* %0) { +define internal i64 @_hl.main.1({ i64, [0 x i64] }* %0) { alloca_block: %"0" = alloca i64, align 8 %"2_0" = alloca { i64, [0 x i64] }*, align 8 diff --git a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_3.snap b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_3.snap index b252eb31c7..0046dbdafa 100644 --- a/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_3.snap +++ b/hugr-llvm/src/extension/collections/snapshots/hugr_llvm__extension__collections__static_array__test__static_array_op_codegen@pre-mem2reg@llvm14_3.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1({ i64, [0 x i1] }* %0) { +define internal i64 @_hl.main.1({ i64, [0 x i1] }* %0) { alloca_block: %"0" = alloca i64, align 8 %"2_0" = alloca { i64, [0 x i1] }*, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_s@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_s@llvm14.snap index add68a1582..7cd2a5a3d5 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_s@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_s@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(i32 %0) { +define internal double @_hl.main.1(i32 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_s@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_s@pre-mem2reg@llvm14.snap index 54a8fc4c5b..99c82c8256 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_s@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_s@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(i32 %0) { +define internal double @_hl.main.1(i32 %0) { alloca_block: %"0" = alloca double, align 8 %"2_0" = alloca i32, align 4 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_u@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_u@llvm14.snap index a204fc4c2f..563e00b3d9 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_u@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_u@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(i16 %0) { +define internal double @_hl.main.1(i16 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_u@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_u@pre-mem2reg@llvm14.snap index 18e7052afb..a00186b78a 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_u@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__convert_u@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(i16 %0) { +define internal double @_hl.main.1(i16 %0) { alloca_block: %"0" = alloca double, align 8 %"2_0" = alloca i16, align 2 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__ifrombool@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__ifrombool@llvm14.snap index 14012bef8d..de4fe36090 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__ifrombool@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__ifrombool@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i1 %0) { +define internal i8 @_hl.main.1(i1 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__ifrombool@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__ifrombool@pre-mem2reg@llvm14.snap index 123d9a8f2e..bb83aa6912 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__ifrombool@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__ifrombool@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i1 %0) { +define internal i8 @_hl.main.1(i1 %0) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i1, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__itobool@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__itobool@llvm14.snap index 1812f56fa0..d80650327b 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__itobool@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__itobool@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i8 %0) { +define internal i1 @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__itobool@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__itobool@pre-mem2reg@llvm14.snap index ce546edffd..46b979118e 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__itobool@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__itobool@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i8 %0) { +define internal i1 @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_s@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_s@llvm14.snap index bf6115932a..cc111bc5bb 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_s@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_s@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [58 x i8] c"Float value too big to convert to int of given width (32)\00", align 1 -define private { i1, { i32, i8* }, i32 } @_hl.main.1(double %0) { +define internal { i1, { i32, i8* }, i32 } @_hl.main.1(double %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_s@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_s@pre-mem2reg@llvm14.snap index 4bde331e8b..aeeb771ef7 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_s@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_s@pre-mem2reg@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [58 x i8] c"Float value too big to convert to int of given width (32)\00", align 1 -define private { i1, { i32, i8* }, i32 } @_hl.main.1(double %0) { +define internal { i1, { i32, i8* }, i32 } @_hl.main.1(double %0) { alloca_block: %"0" = alloca { i1, { i32, i8* }, i32 }, align 8 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_u@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_u@llvm14.snap index 383bedc1ca..ee93ab4f6f 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_u@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_u@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [58 x i8] c"Float value too big to convert to int of given width (64)\00", align 1 -define private { i1, { i32, i8* }, i64 } @_hl.main.1(double %0) { +define internal { i1, { i32, i8* }, i64 } @_hl.main.1(double %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_u@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_u@pre-mem2reg@llvm14.snap index a703c6049e..df2a68ac4a 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_u@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__conversions__test__trunc_u@pre-mem2reg@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [58 x i8] c"Float value too big to convert to int of given width (64)\00", align 1 -define private { i1, { i32, i8* }, i64 } @_hl.main.1(double %0) { +define internal { i1, { i32, i8* }, i64 } @_hl.main.1(double %0) { alloca_block: %"0" = alloca { i1, { i32, i8* }, i64 }, align 8 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__const_float@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__const_float@llvm14.snap index 84b946b147..fb45bfc0cd 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__const_float@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__const_float@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1() { +define internal double @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__const_float@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__const_float@pre-mem2reg@llvm14.snap index 96fdfdc6e5..2d0f38f28d 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__const_float@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__const_float@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1() { +define internal double @_hl.main.1() { alloca_block: %"0" = alloca double, align 8 %"5_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fadd@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fadd@llvm14.snap index 3201cd4ade..2d1187b050 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fadd@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fadd@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fadd@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fadd@pre-mem2reg@llvm14.snap index 10fc87d7b8..abd621e320 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fadd@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fadd@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca double, align 8 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fdiv@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fdiv@llvm14.snap index 399dc6541f..f7437e95a6 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fdiv@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fdiv@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fdiv@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fdiv@pre-mem2reg@llvm14.snap index dcb60feca4..fe434f7aab 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fdiv@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fdiv@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca double, align 8 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__feq@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__feq@llvm14.snap index cd28b596ed..57a3724487 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__feq@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__feq@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__feq@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__feq@pre-mem2reg@llvm14.snap index 82834208f7..fe3e1b9a5e 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__feq@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__feq@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fge@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fge@llvm14.snap index 333921ca15..33a007d176 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fge@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fge@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fge@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fge@pre-mem2reg@llvm14.snap index ba31d13697..a9319950f8 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fge@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fge@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fgt@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fgt@llvm14.snap index 1067c34a3a..bec01fa3f3 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fgt@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fgt@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fgt@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fgt@pre-mem2reg@llvm14.snap index 550e7a54fc..f333193d82 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fgt@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fgt@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fle@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fle@llvm14.snap index cfbacb3013..eb7f7e01ac 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fle@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fle@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fle@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fle@pre-mem2reg@llvm14.snap index a60c35988c..4348005b62 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fle@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fle@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__flt@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__flt@llvm14.snap index cf2c660a94..de64e817e4 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__flt@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__flt@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__flt@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__flt@pre-mem2reg@llvm14.snap index d01714adba..1f442311f0 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__flt@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__flt@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fmul@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fmul@llvm14.snap index 73ee9e3bfb..1937d1c549 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fmul@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fmul@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fmul@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fmul@pre-mem2reg@llvm14.snap index 2f1fa14838..1786d7fd0f 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fmul@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fmul@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca double, align 8 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fne@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fne@llvm14.snap index 14944ecc60..9f330df318 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fne@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fne@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fne@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fne@pre-mem2reg@llvm14.snap index 1fa68dbfc3..4e0e83de73 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fne@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fne@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(double %0, double %1) { +define internal i1 @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fneg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fneg@llvm14.snap index c12fde7215..3ceb777b31 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fneg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fneg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0) { +define internal double @_hl.main.1(double %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fneg@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fneg@pre-mem2reg@llvm14.snap index 973b9841ff..2b4a746017 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fneg@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fneg@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0) { +define internal double @_hl.main.1(double %0) { alloca_block: %"0" = alloca double, align 8 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fpow@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fpow@llvm14.snap index a41b92aa0f..14f1aec739 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fpow@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fpow@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fpow@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fpow@pre-mem2reg@llvm14.snap index f441dd9a51..25f093d136 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fpow@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fpow@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca double, align 8 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fsub@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fsub@llvm14.snap index c0eb470aea..eca14fb7d0 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fsub@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fsub@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fsub@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fsub@pre-mem2reg@llvm14.snap index cb740a30a2..ccb8ba299b 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fsub@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__float__test__fsub@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private double @_hl.main.1(double %0, double %1) { +define internal double @_hl.main.1(double %0, double %1) { alloca_block: %"0" = alloca double, align 8 %"2_0" = alloca double, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idiv_checked_s_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idiv_checked_s_[3].snap index b86fd05623..994ddc6333 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idiv_checked_s_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idiv_checked_s_[3].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0, i8 %1) { +define internal { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idiv_checked_u_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idiv_checked_u_[3].snap index f418d099cc..3682a7a3fa 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idiv_checked_u_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idiv_checked_u_[3].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0, i8 %1) { +define internal { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_checked_s_[6].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_checked_s_[6].snap index 521dffcbb2..14cf3b49c6 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_checked_s_[6].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_checked_s_[6].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i64, i64 }, { i32, i8* } } @_hl.main.1(i64 %0, i64 %1) { +define internal { i1, { i64, i64 }, { i32, i8* } } @_hl.main.1(i64 %0, i64 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_checked_u_[6].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_checked_u_[6].snap index 35c7d37c95..91d91e67ca 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_checked_u_[6].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_checked_u_[6].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i64, i64 }, { i32, i8* } } @_hl.main.1(i64 %0, i64 %1) { +define internal { i1, { i64, i64 }, { i32, i8* } } @_hl.main.1(i64 %0, i64 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_s_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_s_[3].snap index f4c2ea9f72..b1d38ca27e 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_s_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_s_[3].snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private { i8, i8 } @_hl.main.1(i8 %0, i8 %1) { +define internal { i8, i8 } @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_u_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_u_[3].snap index f05ba90098..67bcb4a099 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_u_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_idivmod_u_[3].snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private { i8, i8 } @_hl.main.1(i8 %0, i8 %1) { +define internal { i8, i8 } @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_imod_checked_s_[6].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_imod_checked_s_[6].snap index 14cf054ac9..e7e9924ce9 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_imod_checked_s_[6].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_imod_checked_s_[6].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i32, i8* }, i64 } @_hl.main.1(i64 %0, i64 %1) { +define internal { i1, { i32, i8* }, i64 } @_hl.main.1(i64 %0, i64 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_imod_checked_u_[6].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_imod_checked_u_[6].snap index d9c4638f82..cab940e823 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_imod_checked_u_[6].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_imod_checked_u_[6].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i32, i8* }, i64 } @_hl.main.1(i64 %0, i64 %1) { +define internal { i1, { i32, i8* }, i64 } @_hl.main.1(i64 %0, i64 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_ineg_[2].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_ineg_[2].snap index 96be1e7e01..9508fbe7bc 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_ineg_[2].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_ineg_[2].snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_is_to_u_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_is_to_u_[3].snap index bdbb3edbae..9bde3909dd 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_is_to_u_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_is_to_u_[3].snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [33 x i8] c"is_to_u called on negative value\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_iu_to_s_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_iu_to_s_[3].snap index 2b81c91e0a..ad666ba1d3 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_iu_to_s_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@llvm14_iu_to_s_[3].snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [31 x i8] c"iu_to_s argument out of bounds\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idiv_checked_s_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idiv_checked_s_[3].snap index 30a31e9290..a2a44f3950 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idiv_checked_s_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idiv_checked_s_[3].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0, i8 %1) { +define internal { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca { i1, { i32, i8* }, i8 }, align 8 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idiv_checked_u_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idiv_checked_u_[3].snap index 6a39f26442..0dc687d6bf 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idiv_checked_u_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idiv_checked_u_[3].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0, i8 %1) { +define internal { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca { i1, { i32, i8* }, i8 }, align 8 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_checked_s_[6].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_checked_s_[6].snap index f833a46e02..e515f6f23d 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_checked_s_[6].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_checked_s_[6].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i64, i64 }, { i32, i8* } } @_hl.main.1(i64 %0, i64 %1) { +define internal { i1, { i64, i64 }, { i32, i8* } } @_hl.main.1(i64 %0, i64 %1) { alloca_block: %"0" = alloca { i1, { i64, i64 }, { i32, i8* } }, align 8 %"2_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_checked_u_[6].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_checked_u_[6].snap index 5b227f2da6..53060a3d8a 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_checked_u_[6].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_checked_u_[6].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i64, i64 }, { i32, i8* } } @_hl.main.1(i64 %0, i64 %1) { +define internal { i1, { i64, i64 }, { i32, i8* } } @_hl.main.1(i64 %0, i64 %1) { alloca_block: %"0" = alloca { i1, { i64, i64 }, { i32, i8* } }, align 8 %"2_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_s_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_s_[3].snap index 6a14c82bcf..90b6b8b2ba 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_s_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_s_[3].snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private { i8, i8 } @_hl.main.1(i8 %0, i8 %1) { +define internal { i8, i8 } @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"1" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_u_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_u_[3].snap index 4a341f363e..63f2120817 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_u_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_idivmod_u_[3].snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private { i8, i8 } @_hl.main.1(i8 %0, i8 %1) { +define internal { i8, i8 } @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"1" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_imod_checked_s_[6].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_imod_checked_s_[6].snap index 46e7960494..18977377e6 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_imod_checked_s_[6].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_imod_checked_s_[6].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i32, i8* }, i64 } @_hl.main.1(i64 %0, i64 %1) { +define internal { i1, { i32, i8* }, i64 } @_hl.main.1(i64 %0, i64 %1) { alloca_block: %"0" = alloca { i1, { i32, i8* }, i64 }, align 8 %"2_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_imod_checked_u_[6].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_imod_checked_u_[6].snap index ccb5c7f6e0..d29af21a4e 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_imod_checked_u_[6].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_imod_checked_u_[6].snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 -define private { i1, { i32, i8* }, i64 } @_hl.main.1(i64 %0, i64 %1) { +define internal { i1, { i32, i8* }, i64 } @_hl.main.1(i64 %0, i64 %1) { alloca_block: %"0" = alloca { i1, { i32, i8* }, i64 }, align 8 %"2_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_ineg_[2].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_ineg_[2].snap index b2aa5d554f..e3b42cfbe5 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_ineg_[2].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_ineg_[2].snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_is_to_u_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_is_to_u_[3].snap index 71bb646499..fafc56fa9d 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_is_to_u_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_is_to_u_[3].snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [33 x i8] c"is_to_u called on negative value\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_iu_to_s_[3].snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_iu_to_s_[3].snap index 1dca2e48ab..0f5bcc44b8 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_iu_to_s_[3].snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__emission@pre-mem2reg@llvm14_iu_to_s_[3].snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [31 x i8] c"iu_to_s argument out of bounds\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iadd@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iadd@llvm14.snap index 22c41cc70a..dd9ea300cb 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iadd@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iadd@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iadd@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iadd@pre-mem2reg@llvm14.snap index d7caf226c6..1a7e46d9b6 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iadd@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iadd@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_s@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_s@llvm14.snap index 3367042818..542fdb399e 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_s@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_s@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_s@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_s@pre-mem2reg@llvm14.snap index f4301683f3..d8150b5de0 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_s@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_s@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_u@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_u@llvm14.snap index 5b4b0ddf9f..37422728aa 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_u@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_u@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_u@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_u@pre-mem2reg@llvm14.snap index edfcffc482..3fa7babd32 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_u@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__idiv_u@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ieq@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ieq@llvm14.snap index fba62c1993..c7eac64f19 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ieq@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ieq@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i8 %0, i8 %1) { +define internal i1 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ieq@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ieq@pre-mem2reg@llvm14.snap index 746b2d2698..31354a650d 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ieq@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ieq@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i8 %0, i8 %1) { +define internal i1 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ilt_s@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ilt_s@llvm14.snap index 35f7f4d3f7..4d3a25a81d 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ilt_s@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ilt_s@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i8 %0, i8 %1) { +define internal i1 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ilt_s@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ilt_s@pre-mem2reg@llvm14.snap index f02d254489..6602425143 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ilt_s@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ilt_s@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i8 %0, i8 %1) { +define internal i1 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_s@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_s@llvm14.snap index 3384c3445f..2b66e6a31d 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_s@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_s@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_s@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_s@pre-mem2reg@llvm14.snap index 0a529d0fe5..b8f8b4f672 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_s@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_s@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_u@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_u@llvm14.snap index 8905148927..3f6e0862d6 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_u@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_u@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_u@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_u@pre-mem2reg@llvm14.snap index 0b0628ef26..8b2fdefdf2 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_u@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__imod_u@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [24 x i8] c"Attempted division by 0\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_s_3_2@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_s_3_2@llvm14.snap index b010cddae7..bb8b227b73 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_s_3_2@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_s_3_2@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [25 x i8] c"Can't narrow into bounds\00", align 1 -define private { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0) { +define internal { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_s_3_2@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_s_3_2@pre-mem2reg@llvm14.snap index 8c3d5c9b89..8b10217835 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_s_3_2@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_s_3_2@pre-mem2reg@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [25 x i8] c"Can't narrow into bounds\00", align 1 -define private { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0) { +define internal { i1, { i32, i8* }, i8 } @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca { i1, { i32, i8* }, i8 }, align 8 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_u_6_4@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_u_6_4@llvm14.snap index 6a77523713..9c60fdebba 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_u_6_4@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_u_6_4@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [25 x i8] c"Can't narrow into bounds\00", align 1 -define private { i1, { i32, i8* }, i16 } @_hl.main.1(i64 %0) { +define internal { i1, { i32, i8* }, i16 } @_hl.main.1(i64 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_u_6_4@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_u_6_4@pre-mem2reg@llvm14.snap index 0f9575ec04..09d4160df3 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_u_6_4@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__inarrow_u_6_4@pre-mem2reg@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [25 x i8] c"Can't narrow into bounds\00", align 1 -define private { i1, { i32, i8* }, i16 } @_hl.main.1(i64 %0) { +define internal { i1, { i32, i8* }, i16 } @_hl.main.1(i64 %0) { alloca_block: %"0" = alloca { i1, { i32, i8* }, i16 }, align 8 %"2_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ipow@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ipow@llvm14.snap index 26c80e6db9..335fe15e2b 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ipow@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ipow@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ipow@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ipow@pre-mem2reg@llvm14.snap index df8a0bc566..86d7cc6e99 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ipow@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__ipow@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0, i8 %1) { +define internal i8 @_hl.main.1(i8 %0, i8 %1) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__isub@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__isub@llvm14.snap index aaa218e1d2..12f2a8bac3 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__isub@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__isub@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1(i64 %0, i64 %1) { +define internal i64 @_hl.main.1(i64 %0, i64 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__isub@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__isub@pre-mem2reg@llvm14.snap index 6a1337449e..8c796bd925 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__isub@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__isub@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1(i64 %0, i64 %1) { +define internal i64 @_hl.main.1(i64 %0, i64 %1) { alloca_block: %"0" = alloca i64, align 8 %"2_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_1_6@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_1_6@llvm14.snap index fb2aa43e27..d5b6562cf1 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_1_6@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_1_6@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1(i8 %0) { +define internal i64 @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_1_6@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_1_6@pre-mem2reg@llvm14.snap index 3a6b33dd5f..8b875b9fae 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_1_6@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_1_6@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1(i8 %0) { +define internal i64 @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca i64, align 8 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_2_3@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_2_3@llvm14.snap index 25c56b3e91..3591588f27 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_2_3@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_2_3@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_2_3@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_2_3@pre-mem2reg@llvm14.snap index 475fcaca6e..765ecf4924 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_2_3@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_s_2_3@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_1_6@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_1_6@llvm14.snap index a8e86f1d08..15b53b3304 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_1_6@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_1_6@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1(i8 %0) { +define internal i64 @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_1_6@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_1_6@pre-mem2reg@llvm14.snap index e04eaddc9e..cfb46263dd 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_1_6@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_1_6@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1(i8 %0) { +define internal i64 @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca i64, align 8 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_2_3@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_2_3@llvm14.snap index 25c56b3e91..3591588f27 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_2_3@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_2_3@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_2_3@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_2_3@pre-mem2reg@llvm14.snap index 475fcaca6e..765ecf4924 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_2_3@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__int__test__iwiden_u_2_3@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i8 @_hl.main.1(i8 %0) { +define internal i8 @_hl.main.1(i8 %0) { alloca_block: %"0" = alloca i8, align 1 %"2_0" = alloca i8, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__and@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__and@llvm14.snap index 15c6e5a9ca..0d77291438 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__and@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__and@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0, i1 %1) { +define internal i1 @_hl.main.1(i1 %0, i1 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__and@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__and@pre-mem2reg@llvm14.snap index a70d1ff71b..82b7879310 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__and@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__and@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0, i1 %1) { +define internal i1 @_hl.main.1(i1 %0, i1 %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca i1, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__eq@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__eq@llvm14.snap index b3c5f35a8f..03398c682b 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__eq@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__eq@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0, i1 %1) { +define internal i1 @_hl.main.1(i1 %0, i1 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__eq@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__eq@pre-mem2reg@llvm14.snap index 8ba1bc0471..8eedafa32a 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__eq@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__eq@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0, i1 %1) { +define internal i1 @_hl.main.1(i1 %0, i1 %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca i1, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__not@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__not@llvm14.snap index 76bbfc4e55..82de26a045 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__not@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__not@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0) { +define internal i1 @_hl.main.1(i1 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__not@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__not@pre-mem2reg@llvm14.snap index 77b20581b4..215e54db98 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__not@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__not@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0) { +define internal i1 @_hl.main.1(i1 %0) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca i1, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__or@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__or@llvm14.snap index 4fcd480771..6c51219d86 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__or@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__or@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0, i1 %1) { +define internal i1 @_hl.main.1(i1 %0, i1 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__or@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__or@pre-mem2reg@llvm14.snap index 993cfec575..3d28da582f 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__or@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__or@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0, i1 %1) { +define internal i1 @_hl.main.1(i1 %0, i1 %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca i1, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__xor@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__xor@llvm14.snap index 740d13a1b0..4dadce2c22 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__xor@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__xor@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0, i1 %1) { +define internal i1 @_hl.main.1(i1 %0, i1 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__xor@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__xor@pre-mem2reg@llvm14.snap index c0bd228707..8e0de49e46 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__xor@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__logic__test__xor@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i1 @_hl.main.1(i1 %0, i1 %1) { +define internal i1 @_hl.main.1(i1 %0, i1 %1) { alloca_block: %"0" = alloca i1, align 1 %"2_0" = alloca i1, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_barrier@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_barrier@llvm14.snap index fe8cccd797..8eac00117f 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_barrier@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_barrier@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_barrier@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_barrier@pre-mem2reg@llvm14.snap index 68752367c8..ca48c5badc 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_barrier@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_barrier@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: %"0" = alloca i64, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_external_symbol@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_external_symbol@llvm14.snap index e9a22de321..92f0c2bcf7 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_external_symbol@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_external_symbol@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @sym2 = external global { i1, i64, i2 } @sym1 = external constant i64 -define private { i64, { i1, i64, i2 } } @_hl.main.1() { +define internal { i64, { i1, i64, i2 } } @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_external_symbol@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_external_symbol@pre-mem2reg@llvm14.snap index 652e36b8fe..aba8345cc5 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_external_symbol@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_external_symbol@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @sym2 = external global { i1, i64, i2 } @sym1 = external constant i64 -define private { i64, { i1, i64, i2 } } @_hl.main.1() { +define internal { i64, { i1, i64, i2 } } @_hl.main.1() { alloca_block: %"0" = alloca i64, align 8 %"1" = alloca { i1, i64, i2 }, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_usize@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_usize@llvm14.snap index 2cd62e3c09..e24f616b49 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_usize@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_usize@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_usize@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_usize@pre-mem2reg@llvm14.snap index 600db753e7..ac4aa5a0bc 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_usize@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_const_usize@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: %"0" = alloca i64, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_exit@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_exit@llvm14.snap index 3ddb2becce..e8536de16a 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_exit@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_exit@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [5 x i8] c"EXIT\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private { i16, i16 } @_hl.main.1(i16 %0, i16 %1) { +define internal { i16, i16 } @_hl.main.1(i16 %0, i16 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_exit@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_exit@pre-mem2reg@llvm14.snap index fca530fe9a..3df48d805e 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_exit@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_exit@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [5 x i8] c"EXIT\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private { i16, i16 } @_hl.main.1(i16 %0, i16 %1) { +define internal { i16, i16 } @_hl.main.1(i16 %0, i16 %1) { alloca_block: %"0" = alloca i16, align 2 %"1" = alloca i16, align 2 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_load_nat@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_load_nat@llvm14.snap index fe8cccd797..8eac00117f 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_load_nat@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_load_nat@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_load_nat@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_load_nat@pre-mem2reg@llvm14.snap index dfc92d7cf5..76c4e584b3 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_load_nat@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_load_nat@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1() { +define internal i64 @_hl.main.1() { alloca_block: %"0" = alloca i64, align 8 %"4_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error@llvm14.snap index e612b5579e..37d3df16d2 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1 -define private { i32, i8* } @_hl.main.1() { +define internal { i32, i8* } @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error@pre-mem2reg@llvm14.snap index 52a87cf29d..09f1c76723 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error@pre-mem2reg@llvm14.snap @@ -7,7 +7,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1 -define private { i32, i8* } @_hl.main.1() { +define internal { i32, i8* } @_hl.main.1() { alloca_block: %"0" = alloca { i32, i8* }, align 8 %"7_0" = alloca i8*, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error_and_panic@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error_and_panic@llvm14.snap index cbbb844ab2..83dc30a9bc 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error_and_panic@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error_and_panic@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error_and_panic@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error_and_panic@pre-mem2reg@llvm14.snap index 1c8c05e620..12aa6d069b 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error_and_panic@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_error_and_panic@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"7_0" = alloca i8*, align 8 %"5_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_tuple@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_tuple@llvm14.snap index 3350f4c3de..c88d66ca70 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_tuple@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_tuple@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i1 } @_hl.main.1(i1 %0, i1 %1) { +define internal { i1, i1 } @_hl.main.1(i1 %0, i1 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_tuple@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_tuple@pre-mem2reg@llvm14.snap index 1057d39324..0b713bc944 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_tuple@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_make_tuple@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i1 } @_hl.main.1(i1 %0, i1 %1) { +define internal { i1, i1 } @_hl.main.1(i1 %0, i1 %1) { alloca_block: %"0" = alloca { i1, i1 }, align 8 %"2_0" = alloca i1, align 1 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_noop@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_noop@llvm14.snap index 13cf99fe30..6bf9adcc7b 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_noop@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_noop@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1(i64 %0) { +define internal i64 @_hl.main.1(i64 %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_noop@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_noop@pre-mem2reg@llvm14.snap index e8fecb5558..0fb61cd966 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_noop@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_noop@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private i64 @_hl.main.1(i64 %0) { +define internal i64 @_hl.main.1(i64 %0) { alloca_block: %"0" = alloca i64, align 8 %"2_0" = alloca i64, align 8 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_panic@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_panic@llvm14.snap index 8f266e105b..c7aa9e0eb1 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_panic@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_panic@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [6 x i8] c"PANIC\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private { i16, i16 } @_hl.main.1(i16 %0, i16 %1) { +define internal { i16, i16 } @_hl.main.1(i16 %0, i16 %1) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_panic@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_panic@pre-mem2reg@llvm14.snap index e2d4ee880c..49ed9691da 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_panic@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_panic@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [6 x i8] c"PANIC\00", align 1 @prelude.panic_template = private unnamed_addr constant [34 x i8] c"Program panicked (signal %i): %s\0A\00", align 1 -define private { i16, i16 } @_hl.main.1(i16 %0, i16 %1) { +define internal { i16, i16 } @_hl.main.1(i16 %0, i16 %1) { alloca_block: %"0" = alloca i16, align 2 %"1" = alloca i16, align 2 diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_print@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_print@llvm14.snap index 54894ccdcc..63eaf167dd 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_print@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_print@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @prelude.print_template = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_print@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_print@pre-mem2reg@llvm14.snap index a4e094d032..d501783234 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_print@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_print@pre-mem2reg@llvm14.snap @@ -8,7 +8,7 @@ source_filename = "test_context" @0 = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @prelude.print_template = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 -define private void @_hl.main.1() { +define internal void @_hl.main.1() { alloca_block: %"5_0" = alloca i8*, align 8 br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_unpack_tuple@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_unpack_tuple@llvm14.snap index 72e4c7d516..03048cf691 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_unpack_tuple@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_unpack_tuple@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i1 } @_hl.main.1({ i1, i1 } %0) { +define internal { i1, i1 } @_hl.main.1({ i1, i1 } %0) { alloca_block: br label %entry_block diff --git a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_unpack_tuple@pre-mem2reg@llvm14.snap b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_unpack_tuple@pre-mem2reg@llvm14.snap index 84ab99d69a..3610572171 100644 --- a/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_unpack_tuple@pre-mem2reg@llvm14.snap +++ b/hugr-llvm/src/extension/snapshots/hugr_llvm__extension__prelude__test__prelude_unpack_tuple@pre-mem2reg@llvm14.snap @@ -5,7 +5,7 @@ expression: mod_str ; ModuleID = 'test_context' source_filename = "test_context" -define private { i1, i1 } @_hl.main.1({ i1, i1 } %0) { +define internal { i1, i1 } @_hl.main.1({ i1, i1 } %0) { alloca_block: %"0" = alloca i1, align 1 %"1" = alloca i1, align 1