19 template<
typename ConcreteOp>
25 static inline ::mlir::Value
getLhs(
const Concept *
impl, ::mlir::Operation *tablegen_opaque_val);
26 static inline ::mlir::Value
getRhs(
const Concept *
impl, ::mlir::Operation *tablegen_opaque_val);
28 template<
typename ConcreteOp>
34 static inline ::mlir::Value
getLhs(
const Concept *
impl, ::mlir::Operation *tablegen_opaque_val);
35 static inline ::mlir::Value
getRhs(
const Concept *
impl, ::mlir::Operation *tablegen_opaque_val);
37 template<
typename ConcreteModel,
typename ConcreteOp>
43template <
typename ConcreteOp>
47class FeltBinaryOpInterface :
public ::mlir::OpInterface<FeltBinaryOpInterface, detail::FeltBinaryOpInterfaceInterfaceTraits> {
49 using ::mlir::OpInterface<FeltBinaryOpInterface, detail::FeltBinaryOpInterfaceInterfaceTraits>::OpInterface;
50 template <
typename ConcreteOp>
58 template <
typename ConcreteOp>
59 struct FeltBinaryOpInterfaceTrait :
public ::mlir::OpInterface<FeltBinaryOpInterface, detail::FeltBinaryOpInterfaceInterfaceTraits>::Trait<ConcreteOp> {
66template<
typename ConcreteOp>
68 return (llvm::cast<ConcreteOp>(tablegen_opaque_val)).getLhs();
70template<
typename ConcreteOp>
72 return (llvm::cast<ConcreteOp>(tablegen_opaque_val)).getRhs();
74template<
typename ConcreteOp>
76 return static_cast<const ConcreteOp *
>(
impl)->
getLhs(tablegen_opaque_val);
78template<
typename ConcreteOp>
80 return static_cast<const ConcreteOp *
>(
impl)->
getRhs(tablegen_opaque_val);
::mlir::Value getRhs()
Gets the right operand.
::mlir::Value getLhs()
Gets the left operand.
ConcreteOp ConcreteEntity
static inline ::mlir::Value getLhs(const Concept *impl, ::mlir::Operation *tablegen_opaque_val)
static inline ::mlir::Value getRhs(const Concept *impl, ::mlir::Operation *tablegen_opaque_val)
::llzk::felt::FeltBinaryOpInterface Interface
static inline ::mlir::Value getRhs(const Concept *impl, ::mlir::Operation *tablegen_opaque_val)
::llzk::felt::FeltBinaryOpInterface Interface
static inline ::mlir::Value getLhs(const Concept *impl, ::mlir::Operation *tablegen_opaque_val)
::mlir::Value(* getRhs)(const Concept *impl, ::mlir::Operation *)
::mlir::Value(* getLhs)(const Concept *impl, ::mlir::Operation *)
The methods defined by the interface.