m2isar.transforms.encode_instructions.encoder

Command line interface and compatibility wrapper for the encoding planner.

Functions

encode_instructions(instructions)

Encode an instruction collection in place after complete validation.

save_model(model, path)

Atomically replace the output only after successful serialization.

main([argv])

Module Contents

encode_instructions(instructions)[source]

Encode an instruction collection in place after complete validation.

Assignments use the new deterministic policy, not the legacy generator order. Use plan_encodings directly to reserve existing patterns or preview choices.

save_model(model, path)[source]

Atomically replace the output only after successful serialization.

main(argv=None)[source]