Struct llvm_ir::instruction::Call
source · [−]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
sourceimpl From<Call> for Instruction
impl From<Call> for Instruction
sourcefn from(inst: Call) -> Instruction
fn from(inst: Call) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for Call
impl HasDebugLoc for Call
sourcefn get_debug_loc(&self) -> &Option<DebugLoc>
fn get_debug_loc(&self) -> &Option<DebugLoc>
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
sourceimpl PartialEq<Call> for Call
impl PartialEq<Call> for Call
sourceimpl TryFrom<Instruction> for Call
impl TryFrom<Instruction> for Call
impl StructuralPartialEq for Call
Auto Trait Implementations
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more