#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/Types.h"
#include "mlir/IR/TypeSupport.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Transforms/DialectConversion.h"
#include "llvm/ADT/TypeSwitch.h"
#include <utility>
#include "types.h"
#include "error.h"
#include "channels.h"
#include "piccelerInterfaces.h.inc"
#include "piccelerOps.h.inc"
Go to the source code of this file.
|
| mlir::Value | picceler::createFloatConstant (mlir::OpBuilder &builder, mlir::Location loc, double value) |
| | Common utility function to create a constant float value in MLIR.
|
| mlir::Value | picceler::createIntConstant (mlir::OpBuilder &builder, mlir::Location loc, int64_t value) |
| | Common utility function to create a constant int value in MLIR.
|
| mlir::affine::AffineParallelOp | picceler::createAffineParallel (mlir::ConversionPatternRewriter &rewriter, mlir::Location loc, mlir::ValueRange upperBounds, mlir::TypeRange resultTypes={}, llvm::ArrayRef< mlir::arith::AtomicRMWKind > reductions={}) |
| | Builds an affine.parallel band with one induction variable per entry in upperBounds, lower bound 0 and step 1. Upper bounds may be dynamic SSA values, not just compile-time constants. Pass resultTypes/reductions to get a reduction band whose body must end with a matching affine.yield; left empty, the trivial affine.yield terminator is inserted automatically.
|
◆ GET_OP_CLASSES