tvm_tirx.ir.Location

tvm_tirx.ir.Location#

class tvm_tirx.ir.Location#

Bases: Object

Non-null source-location metadata attached to IR nodes.

IR constructors default to the shared UNKNOWN_LOC.

Unknown location#

tvm_tirx.ir.UNKNOWN_LOC#

The canonical immutable location used when source information is unavailable.

Shared UnknownLoc sentinel when no source location is available. Runtime-only imports expose None instead.