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§
sourcefn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Selfwhere
Self: Sized,
fn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Selfwhere
Self: Sized,
Create a new binary arithmetic operation given the operands.