Skip to content

Commit 89ba46a

Browse files
committed
Rename lean opt to keymemrt-opt
1 parent cc5e685 commit 89ba46a

21 files changed

Lines changed: 22 additions & 323 deletions

tests/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ filegroup(
1212
testonly = True,
1313
data = [
1414
":lit.cfg.py",
15-
"@heir//tools:heir-opt",
16-
"@heir//tools:heir-translate",
15+
"@heir//tools:keymemrt-opt",
16+
"@heir//tools:keymemrt-translate",
1717
"@llvm-project//llvm:FileCheck",
1818
"@llvm-project//llvm:count",
1919
"@llvm-project//llvm:lit",

tests/Dialect/KMRT/Emitters/emit_kmrt_rotation_keys.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-translate %s --emit-openfhe-pke --split-input-file | FileCheck %s
1+
// RUN: keymemrt-translate %s --emit-openfhe-pke --split-input-file | FileCheck %s
22

33
#ring_Z65537_i64_1_x32_ = #polynomial.ring<coefficientType = !mod_arith.int<65537 : i64>, polynomialModulus = <1 + x**32>>
44
!rns_L0_ = !rns.rns<!mod_arith.int<1095233372161 : i64>>

tests/Dialect/KMRT/Transforms/configure_crypto_context_bsgs.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-opt --openfhe-configure-crypto-context=entry-function=linear_transform %s | FileCheck %s
1+
// RUN: keymemrt-opt --openfhe-configure-crypto-context=entry-function=linear_transform %s | FileCheck %s
22

33
// This test uses the output of BSGS decomposition directly to verify that
44
// ConfigureCryptoContext can find all rotation indices from dynamic rotation keys.

tests/Dialect/KMRT/Transforms/key_prefetching_affine.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-opt --kmrt-key-prefetching="prefetch-threshold=30" %s | FileCheck %s
1+
// RUN: keymemrt-opt --kmrt-key-prefetching="prefetch-threshold=30" %s | FileCheck %s
22

33
!Z536903681_i64 = !mod_arith.int<536903681 : i64>
44
!Z66813953_i64 = !mod_arith.int<66813953 : i64>

tests/Dialect/KMRT/Transforms/key_prefetching_bsgs.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-opt --kmrt-key-prefetching="prefetch-threshold=30" %s | FileCheck %s
1+
// RUN: keymemrt-opt --kmrt-key-prefetching="prefetch-threshold=30" %s | FileCheck %s
22

33
!Z536903681_i64 = !mod_arith.int<536903681 : i64>
44
!Z66813953_i64 = !mod_arith.int<66813953 : i64>

tests/Dialect/KMRT/Transforms/key_prefetching_constant.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-opt --kmrt-key-prefetching="prefetch-threshold=50" %s | FileCheck %s
1+
// RUN: keymemrt-opt --kmrt-key-prefetching="prefetch-threshold=50" %s | FileCheck %s
22

33
!Z536903681_i64 = !mod_arith.int<536903681 : i64>
44
!Z66813953_i64 = !mod_arith.int<66813953 : i64>

tests/Dialect/KMRT/Transforms/key_prefetching_index_type.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-opt --kmrt-key-prefetching="prefetch-threshold=30" %s | FileCheck %s
1+
// RUN: keymemrt-opt --kmrt-key-prefetching="prefetch-threshold=30" %s | FileCheck %s
22

33
!Z536903681_i64 = !mod_arith.int<536903681 : i64>
44
!Z66813953_i64 = !mod_arith.int<66813953 : i64>

tests/Dialect/KMRT/Transforms/key_prefetching_trivial.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-opt --kmrt-key-prefetching %s | FileCheck %s
1+
// RUN: keymemrt-opt --kmrt-key-prefetching %s | FileCheck %s
22

33
!Z536903681_i64 = !mod_arith.int<536903681 : i64>
44
!Z66813953_i64 = !mod_arith.int<66813953 : i64>

tests/Dialect/KMRT/Transforms/merge_rotation_keys_basic.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-opt --kmrt-merge-rotation-keys %s | FileCheck %s
1+
// RUN: keymemrt-opt --kmrt-merge-rotation-keys %s | FileCheck %s
22

33
!Z536903681_i64 = !mod_arith.int<536903681 : i64>
44
!Z66813953_i64 = !mod_arith.int<66813953 : i64>

tests/Dialect/KMRT/Transforms/merge_rotation_keys_bootstrap.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: heir-opt --bootstrap-rotation-analysis --kmrt-merge-rotation-keys %s | FileCheck %s
1+
// RUN: keymemrt-opt --bootstrap-rotation-analysis --kmrt-merge-rotation-keys %s | FileCheck %s
22

33
!Z1095233372161_i64 = !mod_arith.int<1095233372161 : i64>
44
!Z65537_i64 = !mod_arith.int<65537 : i64>

0 commit comments

Comments
 (0)