Layout.generate_trivial_layout

static Layout.generate_trivial_layout(*regs)[source]

Creates a trivial (“one-to-one”) Layout with the registers in regs.

Parameters

*regs (Registers) – registers to include in the layout.

Returns

A layout with all the regs in the given order.

Return type

Layout