MLIR  16.0.0git
Macros | Functions
SCFTransformOps.cpp File Reference
#include "mlir/Dialect/SCF/TransformOps/SCFTransformOps.h"
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/Dialect/SCF/Transforms/Patterns.h"
#include "mlir/Dialect/SCF/Transforms/Transforms.h"
#include "mlir/Dialect/SCF/Utils/Utils.h"
#include "mlir/Dialect/Transform/IR/TransformDialect.h"
#include "mlir/Dialect/Transform/IR/TransformInterfaces.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/Dialect/SCF/TransformOps/SCFTransformOps.cpp.inc"
+ Include dependency graph for SCFTransformOps.cpp:

Go to the source code of this file.

Macros

#define GET_OP_LIST
 
#define GET_OP_CLASSES
 

Functions

static scf::ExecuteRegionOp wrapInExecuteRegion (RewriterBase &b, Operation *op)
 Wraps the given operation op into an scf.execute_region operation. More...
 
static void loopScheduling (scf::ForOp forOp, std::vector< std::pair< Operation *, unsigned >> &schedule, unsigned iterationInterval, unsigned readLatency)
 Callback for PipeliningOption. More...
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 252 of file SCFTransformOps.cpp.

◆ GET_OP_LIST

#define GET_OP_LIST

Function Documentation

◆ loopScheduling()

static void loopScheduling ( scf::ForOp  forOp,
std::vector< std::pair< Operation *, unsigned >> &  schedule,
unsigned  iterationInterval,
unsigned  readLatency 
)
static

Callback for PipeliningOption.

Populates schedule with the mapping from an operation to its logical time position given the iteration interval and the read latency. The latter is only relevant for vector transfers.

Definition at line 157 of file SCFTransformOps.cpp.

References max().

◆ wrapInExecuteRegion()

static scf::ExecuteRegionOp wrapInExecuteRegion ( RewriterBase b,
Operation op 
)
static