MLIR  16.0.0git
Classes | Namespaces | Macros | Typedefs | Functions
SCF.h File Reference
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/RegionKindInterface.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "mlir/Interfaces/LoopLikeInterface.h"
#include "mlir/Interfaces/ParallelCombiningOpInterface.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Interfaces/ViewLikeInterface.h"
#include "mlir/Dialect/SCF/IR/SCFOpsDialect.h.inc"
#include "mlir/Dialect/SCF/IR/SCFOps.h.inc"
+ Include dependency graph for SCF.h:

Go to the source code of this file.

Classes

struct  mlir::scf::LoopNest
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::scf
 

Macros

#define GET_OP_CLASSES
 

Typedefs

using mlir::scf::ValueVector = std::vector< Value >
 An owning vector of values, handy to return from functions. More...
 
using mlir::scf::LoopVector = std::vector< scf::ForOp >
 

Functions

void mlir::scf::buildTerminatedBody (OpBuilder &builder, Location loc)
 Default callback for IfOp builders. Inserts a yield without arguments. More...
 
void mlir::scf::ensureLoopTerminator (Region &region, Builder &builder, Location loc)
 
ForOp mlir::scf::getForInductionVarOwner (Value val)
 Returns the loop parent of an induction variable. More...
 
ParallelOp mlir::scf::getParallelForInductionVarOwner (Value val)
 Returns the parallel loop parent of an induction variable. More...
 
ForeachThreadOp mlir::scf::getForeachThreadOpThreadIndexOwner (Value val)
 Returns the ForeachThreadOp parent of an thread index variable. More...
 
bool mlir::scf::insideMutuallyExclusiveBranches (Operation *a, Operation *b)
 Return true if ops a and b (or their ancestors) are in mutually exclusive regions/blocks of an IfOp. More...
 
LoopNest mlir::scf::buildLoopNest (OpBuilder &builder, Location loc, ValueRange lbs, ValueRange ubs, ValueRange steps, ValueRange iterArgs, function_ref< ValueVector(OpBuilder &, Location, ValueRange, ValueRange)> bodyBuilder=nullptr)
 Creates a perfect nest of "for" loops, i.e. More...
 
LoopNest mlir::scf::buildLoopNest (OpBuilder &builder, Location loc, ValueRange lbs, ValueRange ubs, ValueRange steps, function_ref< void(OpBuilder &, Location, ValueRange)> bodyBuilder=nullptr)
 A convenience version for building loop nests without iteration arguments (like for reductions). More...
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 33 of file SCF.h.