Expand description
Source locations of IR nodes, for diagnostics.
The objects python/tvm_tirx/ir/location.py defines. A Location is an UnknownLoc, a
SourceLoc (a span in a SourceName), or a CallSiteLoc (a callee location seen from a
caller). Location::unknown and SourceName::get wrap the native constructors.
Structs§
- Complete: reflected fields fill [24, 40) exactly.
- Complete: reflected fields fill [24, 24) exactly.
- Complete: reflected fields fill [24, 48) exactly.
- Complete: reflected fields fill [24, 40) exactly.
- The unknown location as the
locargument of a constructor, which takes anyimpl Into<Location>:Var::new("x", ty, UNKNOWN_LOC).Location::unknownis the same location as a value. - Complete: reflected fields fill [24, 24) exactly.
Constants§
- The unknown location, as Python’s
UNKNOWN_LOC.