Utils
utils
cast_to_regs(values: Sequence[SSAValue], register_map: Callable[[Attribute], type[RegisterType]], builder: Builder) -> list[SSAValue[Attribute]]
Return cast operations for operands that don't already have a register type and the new list of values that are all guaranteed to have register types.
Source code in xdsl/backend/utils.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |