Enum ForKind#

Enum Documentation#

enum class tvm::ForKind : int#

The kind of the loop.

ForKind can change the control flow semantics of the loop. So the kind field needs to be considered in all TIR passes.

Values:

enumerator kDefault#

Ordinary loop with sequential iteration semantics.

enumerator kParallel#

Parallel execution.

enumerator kVectorized#

Vector SIMD loop. The loop body will be vectorized.

enumerator kUnrolled#

The loop body must be unrolled.