Skip to content

Commit 5c86616

Browse files
meisterTcopybara-github
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 866416263
1 parent 0419963 commit 5c86616

5 files changed

Lines changed: 7 additions & 0 deletions

File tree

transpiler/fhe.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def _fhe_transpile_ir(ctx, library_name, stem, src, metadata, optimizer, encrypt
9393
inputs = [src, metadata, encryption_specific_transpiled_structs_header],
9494
outputs = [out_cc, out_h],
9595
executable = ctx.executable._fhe_transpiler,
96+
mnemonic = "FheIrTranspile",
9697
arguments = args,
9798
)
9899
return [out_cc, out_h]
@@ -138,6 +139,7 @@ def _fhe_transpile_netlist(ctx, library_name, stem, src, metadata, optimizer, en
138139
inputs = [src, metadata, encryption_specific_transpiled_structs_header, ctx.file.cell_library],
139140
outputs = [out_cc, out_h],
140141
executable = ctx.executable._fhe_transpiler,
142+
mnemonic = "FheNetlistTranspile",
141143
arguments = args,
142144
)
143145
return [out_cc, out_h]

transpiler/fhe_common.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,6 @@ def run_with_stem(ctx, stem, inputs, out_ext, tool, args, entry = None):
9999
outputs = [out],
100100
tools = [tool],
101101
command = "%s %s > %s" % (tool.path, arguments, out.path),
102+
mnemonic = "FheTranspilerRun",
102103
)
103104
return out

transpiler/fhe_structs.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def _generate_encryption_specific_transpiled_structs_header_path(ctx, library_na
5353
inputs = [metadata, generic_struct_header],
5454
outputs = [specific_struct_h],
5555
executable = ctx.executable.struct_header_generator,
56+
mnemonic = "FheEncryptionSpecificTranspiledStructsGen",
5657
arguments = args,
5758
)
5859

@@ -88,6 +89,7 @@ def _generate_generic_struct_header(ctx, library_name, metadata, hdr_files, unwr
8889
inputs = [metadata],
8990
outputs = [generic_struct_h],
9091
executable = ctx.executable.struct_header_generator,
92+
mnemonic = "FheGenericTranspiledStructsGen",
9193
arguments = args,
9294
)
9395

transpiler/parsers.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def _build_xls_ir(ctx, library_name):
7777
inputs = [ctx.file.src] + ctx.files.hdrs,
7878
outputs = [ir_file, metadata_file],
7979
tools = [ctx.executable._xlscc],
80+
mnemonic = "CcToXlsIrGen",
8081
command = "%s %s --meta_out %s %s %s > %s" % (
8182
ctx.executable._xlscc.path,
8283
ctx.file.src.path,

transpiler/rust/fhe_rs.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def _fhe_transpile_ir(ctx, library_name, stem, src, metadata = "", liberty_file
5252
ctx.actions.run(
5353
inputs = inputs,
5454
outputs = [rust_out],
55+
mnemonic = "FheTranspileIr",
5556
executable = ctx.executable._fhe_transpiler,
5657
arguments = args,
5758
)

0 commit comments

Comments
 (0)