MLIR  20.0.0git
Macros | Functions
ControlFlowToSPIRV.cpp File Reference
#include "mlir/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRV.h"
#include "../SPIRVCommon/Pattern.h"
#include "mlir/Dialect/ControlFlow/IR/ControlFlowOps.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVOps.h"
#include "mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h"
#include "mlir/Dialect/SPIRV/Utils/LayoutUtils.h"
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/DialectConversion.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FormatVariadic.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "cf-to-spirv-pattern"
 

Functions

static LogicalResult legalizeBlockArguments (Block &block, Operation *op, PatternRewriter &rewriter, const TypeConverter &converter)
 Legailze target block arguments. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "cf-to-spirv-pattern"

Definition at line 26 of file ControlFlowToSPIRV.cpp.

Function Documentation

◆ legalizeBlockArguments()

static LogicalResult legalizeBlockArguments ( Block block,
Operation op,
PatternRewriter rewriter,
const TypeConverter converter 
)
static