My Project
|
#include <Utils.h>
Public Member Functions | |
LoopNestRangeBuilder (ArrayRef< edsc::ValueHandle *> ivs, ArrayRef< edsc::ValueHandle > ranges) | |
LoopNestRangeBuilder (ArrayRef< edsc::ValueHandle *> ivs, ArrayRef< Value > ranges) | |
LoopNestRangeBuilder (ArrayRef< edsc::ValueHandle *> ivs, ArrayRef< SubViewOp::Range > ranges) | |
edsc::ValueHandle | operator() (std::function< void(void)> fun=nullptr) |
Helper class to sugar building loop.for loop nests from ranges. This is similar to edsc::AffineLoopNestBuilder except it works on ranges directly. In the current implementation it produces loop.for operations.
mlir::edsc::LoopNestRangeBuilder::LoopNestRangeBuilder | ( | ArrayRef< edsc::ValueHandle *> | ivs, |
ArrayRef< edsc::ValueHandle > | ranges | ||
) |
mlir::edsc::LoopNestRangeBuilder::LoopNestRangeBuilder | ( | ArrayRef< edsc::ValueHandle *> | ivs, |
ArrayRef< Value > | ranges | ||
) |
mlir::edsc::LoopNestRangeBuilder::LoopNestRangeBuilder | ( | ArrayRef< edsc::ValueHandle *> | ivs, |
ArrayRef< SubViewOp::Range > | ranges | ||
) |
edsc::ValueHandle mlir::edsc::LoopNestRangeBuilder::operator() | ( | std::function< void(void)> | fun = nullptr | ) |