pub struct CallOp { /* private fields */ }Expand description
llvm.call
`llvm.call` $callee `(` $operands `)` attr-dict `:` `(` type($operands) `)` -> type($results)Implementations§
Trait Implementations§
Source§impl Call for CallOp
impl Call for CallOp
Source§impl Op for CallOp
impl Op for CallOp
fn operation_name() -> OperationName
fn as_any(&self) -> &dyn Any
fn operation(&self) -> &Shared<Operation>
Source§fn display(&self, f: &mut Formatter<'_>, _indent: i32) -> Result
fn display(&self, f: &mut Formatter<'_>, _indent: i32) -> Result
Display the operation with the given indentation. Read more
Source§fn from_operation(operation: Operation) -> Selfwhere
Self: Sized,
fn from_operation(operation: Operation) -> Selfwhere
Self: Sized,
fn name(&self) -> OperationName
fn region(&self) -> Option<Shared<Region>>
Source§fn assignments(&self) -> Result<Values>
fn assignments(&self) -> Result<Values>
Returns the values which this
Op assigns to.
For most ops, this is the results field of type OpResult.
But for some other ops like FuncOp, this can be different.fn canonicalize(&self) -> RewriteResult
fn is_terminator(&self) -> bool
fn is_func(&self) -> bool
fn is_const(&self) -> bool
fn is_pure(&self) -> bool
fn attribute(&self, key: &str) -> Option<Arc<dyn Attribute>>
Source§fn insert_before(&self, earlier: Shared<dyn Op>)
fn insert_before(&self, earlier: Shared<dyn Op>)
Insert
earlier before self inside self’s parent block.Source§fn insert_after(&self, later: Shared<dyn Op>)
fn insert_after(&self, later: Shared<dyn Op>)
Insert
later after self inside self’s parent block.Source§fn replace(&self, new: Shared<dyn Op>)
fn replace(&self, new: Shared<dyn Op>)
Replace self with
new by moving the results of the old operation to
the results of the specified new op, and pointing the
result.defining_op to the new op. In effect, this makes all the uses
of the old op refer to the new op instead. Read moreSource§fn ops(&self) -> Vec<Shared<dyn Op>>
fn ops(&self) -> Vec<Shared<dyn Op>>
Return ops that are children of this op (inside blocks that are inside
the region). Read more
fn parent_op(&self) -> Option<Shared<dyn Op>>
fn set_parent(&self, parent: Shared<Block>)
Auto Trait Implementations§
impl Freeze for CallOp
impl !RefUnwindSafe for CallOp
impl !Send for CallOp
impl !Sync for CallOp
impl Unpin for CallOp
impl !UnwindSafe for CallOp
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