13 #ifndef MLIR_DIALECT_ASYNC_TRANSFORMS_H_
14 #define MLIR_DIALECT_ASYNC_TRANSFORMS_H_
ImplicitLocOpBuilder maintains a 'current location', allowing use of the create<> method without spec...
This class represents an instance of an SSA value in the MLIR system, representing a computable value...
std::function< Value(ImplicitLocOpBuilder, scf::ParallelOp)> AsyncMinTaskSizeComputationFunction
Emit the IR to compute the minimum number of iterations of scf.parallel body that would be viable for...
void populateAsyncParallelForPatterns(RewritePatternSet &patterns, bool asyncDispatch, int32_t numWorkerThreads, const AsyncMinTaskSizeComputationFunction &computeMinTaskSize)
Add a pattern to the given pattern list to lower scf.parallel to async operations.
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns