pub struct Call {
pub function: Either<InlineAssembly, Operand>,
pub arguments: Vec<(Operand, Vec<ParameterAttribute>)>,
pub return_attributes: Vec<ParameterAttribute>,
pub dest: Option<Name>,
pub function_attributes: Vec<FunctionAttribute>,
pub is_tail_call: bool,
pub calling_convention: CallingConvention,
pub debugloc: Option<DebugLoc>,
}
Expand description
Function call. See LLVM 14 docs on the ‘call’ instruction
Fields§
§function: Either<InlineAssembly, Operand>
§arguments: Vec<(Operand, Vec<ParameterAttribute>)>
§return_attributes: Vec<ParameterAttribute>
§dest: Option<Name>
§function_attributes: Vec<FunctionAttribute>
§is_tail_call: bool
§calling_convention: CallingConvention
§debugloc: Option<DebugLoc>
Trait Implementations§
Source§impl From<Call> for Instruction
impl From<Call> for Instruction
Source§fn from(inst: Call) -> Instruction
fn from(inst: Call) -> Instruction
Converts to this type from the input type.
Source§impl HasDebugLoc for Call
impl HasDebugLoc for Call
Source§impl TryFrom<Instruction> for Call
impl TryFrom<Instruction> for Call
impl StructuralPartialEq for Call
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more