Range container
More...
#include <expr.h>
◆ Range() [1/2]
constructor by begin and end
- Parameters
-
| begin | The begin of the range. |
| end | The end of the range. |
| loc | The location of the Range in the source. |
◆ Range() [2/2]
| tvm::Range::Range |
( |
ffi::UnsafeInit |
tag, |
|
|
ffi::ObjectPtr< RangeObj > |
n |
|
) |
| |
|
inlineexplicit |
◆ FromMinExtent()
construct a new range with min and extent The corresponding constructor is removed, because that is counter convention of tradition meaning of range(begin, end)
- Parameters
-
| min | The minimum range. |
| extent | The extent of the range. |
| loc | The location of the Range in the source. |
◆ GetExtentFromBeginEnd()
Extract the interval width from its endpoints without an analyzer.
For begin + extent or extent + begin, return the original extent operand. Otherwise form end - begin using primitive arithmetic.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
| tvm::Range::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE |
( |
Range |
, |
|
|
ffi::ObjectRef |
, |
|
|
RangeObj |
|
|
) |
| |
The documentation for this class was generated from the following file:
- 3rdparty/tvm-tirx/include/tvm/ir/expr.h