Trait pliron_llvm::op_interfaces::PointerTypeResult

source ·
pub trait PointerTypeResult: Op + OneResultInterface {
    // Required method
    fn result_pointee_type(&self, ctx: &Context) -> Ptr<TypeObj>;

    // Provided method
    fn verify(op: &dyn Op, ctx: &Context) -> Result<()>
       where Self: Sized { ... }
}
Expand description

An Op with a single result whose type is PointerType

Required Methods§

source

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

Get the pointee type of the result pointer.

Provided Methods§

source

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

Implementors§