My Project
|
#include <Builders.h>
Public Member Functions | |
AffineLoopNestBuilder (ValueHandle *iv, ArrayRef< ValueHandle > lbs, ArrayRef< ValueHandle > ubs, int64_t step) | |
AffineLoopNestBuilder (ArrayRef< ValueHandle *> ivs, ArrayRef< ValueHandle > lbs, ArrayRef< ValueHandle > ubs, ArrayRef< int64_t > steps) | |
void | operator() (function_ref< void(void)> fun=nullptr) |
Explicit nested LoopBuilder. Offers a compressed multi-loop builder to avoid explicitly writing all the loops in a nest. This simple functionality is also useful to write rank-agnostic custom ops.
Usage:
mlir::edsc::AffineLoopNestBuilder::AffineLoopNestBuilder | ( | ValueHandle * | iv, |
ArrayRef< ValueHandle > | lbs, | ||
ArrayRef< ValueHandle > | ubs, | ||
int64_t | step | ||
) |
mlir::edsc::AffineLoopNestBuilder::AffineLoopNestBuilder | ( | ArrayRef< ValueHandle *> | ivs, |
ArrayRef< ValueHandle > | lbs, | ||
ArrayRef< ValueHandle > | ubs, | ||
ArrayRef< int64_t > | steps | ||
) |
void mlir::edsc::AffineLoopNestBuilder::operator() | ( | function_ref< void(void)> | fun = nullptr | ) |