Skip to main content

SameOperandsAndResultType

Trait SameOperandsAndResultType 

Source
pub trait SameOperandsAndResultType:
    Op
    + SameOperandsType
    + SameResultsType {
    // Provided method
    fn get_type(&self, ctx: &Context) -> Ptr<TypeObj> { ... }
}
Expand description

An Op with at least one result and one operand, and them all having the same type. See MLIR’s SameOperandsAndResultType.

Provided Methods§

Source

fn get_type(&self, ctx: &Context) -> Ptr<TypeObj>

Get the common type of results / operands.

Trait Implementations§

Implementors§