#include "mlir/IR/Location.h"
#include "mlir/IR/PatternMatch.h"
#include "clang/CIR/Dialect/IR/CIRDialect.h"
#include "llvm/ADT/SmallVector.h"
Go to the source code of this file.
|
| mlir::Block * | cir::replaceCallWithTryCall (cir::CallOp callOp, mlir::Block *unwindDest, mlir::Location loc, mlir::RewriterBase &rewriter) |
| | Replace a cir::CallOp with a cir::TryCallOp whose unwind destination is unwindDest.
|
| mlir::Block * | cir::replaceThrowWithTryThrow (cir::ThrowOp throwOp, mlir::Block *unwindDest, mlir::Location loc, mlir::RewriterBase &rewriter) |
| | Replace a cir::ThrowOp with a cir::TryThrowOp whose unwind destination is unwindDest.
|
| void | cir::collectUnreachable (mlir::Operation *parent, llvm::SmallVectorImpl< mlir::Operation * > &ops) |
| | Collect ops in blocks that are unreachable from their region's entry, appending them to ops.
|