Trait pliron_llvm::op_interfaces::BinArithOp

source ·
pub trait BinArithOp: Op + SameOperandsAndResultType + OneResultInterface {
    // Provided methods
    fn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Self
       where Self: Sized { ... }
    fn verify(op: &dyn Op, ctx: &Context) -> Result<()>
       where Self: Sized { ... }
}
Expand description

Binary arithmetic Op.

Provided Methods§

source

fn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Self
where Self: Sized,

Create a new binary arithmetic operation given the operands.

source

fn verify(op: &dyn Op, ctx: &Context) -> Result<()>
where Self: Sized,

Implementors§