pub struct Call(/* private fields */);
Implementations§
Source§impl Call
impl Call
Sourcepub fn new(callee: &Callee, t: &[Type], args: &[Value], loc: &Location) -> Self
pub fn new(callee: &Callee, t: &[Type], args: &[Value], loc: &Location) -> Self
Currently does not check that the signature of callee
matches the operands to this
operation since the callee
argument is just a symbol reference.
This symbol reference may not yet be owned by any parent operation/region at the time this
constructor is called.
To check the call signature, try the CallIndirect
operation.
pub fn from(op: MlirOperation) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_callee(&self) -> Callee
pub fn get_context(&self) -> Context
pub fn get_mut(&mut self) -> &mut MlirOperation
Trait Implementations§
Source§impl IOperation for Call
impl IOperation for Call
fn get(&self) -> &MlirOperation
fn get_dialect(&self) -> Dialect
fn get_effects(&self) -> MemoryEffectList
fn get_interfaces(&self) -> &'static [Interface]
fn get_mut(&mut self) -> &mut MlirOperation
fn get_name(&self) -> &'static str
fn get_op(&self) -> OpRef
fn get_traits(&self) -> &'static [Trait]
fn as_operation(&self) -> Operation ⓘ
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl !Send for Call
impl !Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more