11#include "mlir/Dialect/Linalg/IR/Linalg.h"
17 static mlir::linalg::GenericOp
adjointToGeneric(enzyme::GenericAdjointOp &op,
24bool opCmp(mlir::Operation *a, mlir::Operation *b);
29bool valueCmp(mlir::Value a, mlir::Value b);
33Value
getConcatValue(OpBuilder &builder, Location loc, ArrayRef<Value> argList);
35Value
getExtractValue(OpBuilder &builder, Location loc, Type argTy, Value val,
39 ValueRange operands, SmallVectorImpl<Value> &indices);
static mlir::linalg::GenericOp adjointToGeneric(enzyme::GenericAdjointOp &op, OpBuilder &builder, Location loc)
bool valueCmp(mlir::Value a, mlir::Value b)
Type getConcatType(Value val, int64_t width)
bool blockCmp(mlir::Block *a, mlir::Block *b)
Value getConcatValue(OpBuilder &builder, Location loc, ArrayRef< Value > argList)
bool opCmp(mlir::Operation *a, mlir::Operation *b)
bool regionCmp(mlir::Region *a, mlir::Region *b)
void computeAffineIndices(OpBuilder &builder, Location loc, AffineMap map, ValueRange operands, SmallVectorImpl< Value > &indices)
Value getExtractValue(OpBuilder &builder, Location loc, Type argTy, Value val, int64_t index)