loki.ir.pprint
- pprint(ir, stream=None)
Pretty-print the given IR using
Stringifier
.- Parameters:
ir (
Node
) – The IR node starting from which to print the treestream (optional) – If given, call
Stringifier.write()
on this stream instead ofsys.stdout