MLIR
15.0.0git
|
#include "mlir/Conversion/PDLToPDLInterp/PDLToPDLInterp.h"
#include "../PassDetail.h"
#include "PredicateTree.h"
#include "mlir/Dialect/PDL/IR/PDL.h"
#include "mlir/Dialect/PDL/IR/PDLTypes.h"
#include "mlir/Dialect/PDLInterp/IR/PDLInterp.h"
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/ScopedHashTable.h"
#include "llvm/ADT/Sequence.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/TypeSwitch.h"
Go to the source code of this file.
Functions | |
template<typename OpT , typename PredT , typename ValT = typename PredT::KeyTy> | |
static void | createSwitchOp (Value val, Block *defaultDest, OpBuilder &builder, llvm::MapVector< Qualifier *, Block *> &dests) |
|
static |
Definition at line 445 of file PDLToPDLInterp.cpp.
References mlir::Block::back(), mlir::OpBuilder::create(), mlir::pdl_to_pdl_interp::SwitchNode::getChildren(), mlir::pdl_to_pdl_interp::Qualifier::getKind(), mlir::Value::getLoc(), mlir::Block::getParent(), mlir::pdl_to_pdl_interp::MatcherNode::getQuestion(), mlir::pdl_to_pdl_interp::Predicates::OperandCountAtLeastQuestion, and mlir::pdl_to_pdl_interp::Predicates::ResultCountAtLeastQuestion.