MLIR 22.0.0git
PDLToPDLInterp.cpp File Reference
#include "mlir/Conversion/PDLToPDLInterp/PDLToPDLInterp.h"
#include "PredicateTree.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/SmallVector.h"
#include "llvm/ADT/TypeSwitch.h"
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.

Macros

#define GEN_PASS_DEF_CONVERTPDLTOPDLINTERPPASS

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)

Macro Definition Documentation

◆ GEN_PASS_DEF_CONVERTPDLTOPDLINTERPPASS

#define GEN_PASS_DEF_CONVERTPDLTOPDLINTERPPASS

Definition at line 22 of file PDLToPDLInterp.cpp.

Function Documentation

◆ createSwitchOp()

template<typename OpT, typename PredT, typename ValT = typename PredT::KeyTy>
void createSwitchOp ( Value val,
Block * defaultDest,
OpBuilder & builder,
llvm::MapVector< Qualifier *, Block * > & dests )
static

Definition at line 485 of file PDLToPDLInterp.cpp.

References mlir::Value::getLoc().