[][src]Struct llir::values::CallInstruction

pub struct CallInstruction<'ctx>(_, _);

Implementations

impl<'ctx> CallInstruction<'ctx>[src]

pub fn callee_function(&self) -> Option<Function<'ctx>>[src]

Get the callee function if the callee is an LLVM function

pub fn callee_inline_asm(&self) -> Option<InlineAsm<'ctx>>[src]

Get the callee as inline assembly value if the callee is an InlineAsm

pub fn callee_function_type(&self) -> FunctionType<'ctx>[src]

Get the callee function type

pub fn callee(&self) -> Operand<'ctx>[src]

Get the callee value in operand

pub fn num_arguments(&self) -> usize[src]

Get the number of arguments passed to the callee function

pub fn arguments(&self) -> Vec<Operand<'ctx>>[src]

Get the arguments being passed to the callee function

pub fn argument(&self, index: usize) -> Option<Operand<'ctx>>[src]

Get the argument at a given index

pub fn is_tail_call(&self) -> bool[src]

Check if this function call is a tail call

pub fn is_inline_asm_call(&self) -> bool[src]

Check if this call is to an inline assembly

pub fn is_intrinsic_call(&self) -> bool[src]

Check if this call is to llvm intrinsic function

Trait Implementations

impl<'ctx> AsInstruction<'ctx> for CallInstruction<'ctx>[src]

impl<'ctx> AsOperand<'ctx> for CallInstruction<'ctx>[src]

impl<'ctx> Clone for CallInstruction<'ctx>[src]

impl<'ctx> Copy for CallInstruction<'ctx>[src]

impl<'ctx> Debug for CallInstruction<'ctx>[src]

impl<'ctx> Eq for CallInstruction<'ctx>[src]

impl<'ctx> GetDebugMetadata<'ctx> for CallInstruction<'ctx>[src]

impl<'ctx> GetType<'ctx> for CallInstruction<'ctx>[src]

impl<'ctx> Hash for CallInstruction<'ctx>[src]

impl<'ctx> InstructionDebugLoc for CallInstruction<'ctx>[src]

impl<'ctx> InstructionTrait<'ctx> for CallInstruction<'ctx>[src]

impl<'ctx> PartialEq<CallInstruction<'ctx>> for CallInstruction<'ctx>[src]

impl<'ctx> Send for CallInstruction<'ctx>[src]

impl<'ctx> StructuralEq for CallInstruction<'ctx>[src]

impl<'ctx> StructuralPartialEq for CallInstruction<'ctx>[src]

impl<'ctx> Sync for CallInstruction<'ctx>[src]

impl<'ctx> ValueOpcode for CallInstruction<'ctx>[src]

Auto Trait Implementations

impl<'ctx> RefUnwindSafe for CallInstruction<'ctx>

impl<'ctx> Unpin for CallInstruction<'ctx>

impl<'ctx> UnwindSafe for CallInstruction<'ctx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.