MLIR
20.0.0git
|
#include "mlir/Conversion/TosaToSCF/TosaToSCF.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/Dialect/Tosa/IR/TosaOps.h"
#include "mlir/IR/IRMapping.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
Go to the source code of this file.
Functions | |
static void | inlineIfCase (Region &srcRegion, Region &dstRegion, OperandRange operands, PatternRewriter &rewriter) |
static void | inlineWhileCase (Region &srcRegion, Region &dstRegion, PatternRewriter &rewriter, bool isCond) |
|
static |
Definition at line 24 of file TosaToSCF.cpp.
References mlir::Region::back(), mlir::OpBuilder::cloneRegionBefore(), mlir::OpBuilder::create(), mlir::Block::eraseArguments(), mlir::RewriterBase::eraseBlock(), mlir::RewriterBase::eraseOp(), mlir::Region::front(), mlir::Block::getArguments(), mlir::Block::getNumArguments(), mlir::Block::getTerminator(), mlir::IRObjectWithUseList< OperandType >::replaceAllUsesWith(), and mlir::OpBuilder::setInsertionPoint().
|
static |
Definition at line 41 of file TosaToSCF.cpp.
References mlir::Region::back(), mlir::OpBuilder::cloneRegionBefore(), mlir::OpBuilder::create(), mlir::RewriterBase::eraseBlock(), mlir::RewriterBase::eraseOp(), mlir::Region::front(), mlir::Block::getArguments(), mlir::Block::getTerminator(), and mlir::OpBuilder::setInsertionPoint().