[−][src]Struct llir::values::CallInstruction
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]
fn as_instruction(&self) -> Instruction<'ctx>
[src]
impl<'ctx> AsOperand<'ctx> for CallInstruction<'ctx>
[src]
fn as_operand(&self) -> Operand<'ctx>
[src]
impl<'ctx> Clone for CallInstruction<'ctx>
[src]
fn clone(&self) -> CallInstruction<'ctx>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn dbg_metadata(&self) -> Option<Metadata<'ctx>>
[src]
impl<'ctx> GetType<'ctx> for CallInstruction<'ctx>
[src]
impl<'ctx> Hash for CallInstruction<'ctx>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'ctx> InstructionDebugLoc for CallInstruction<'ctx>
[src]
impl<'ctx> InstructionTrait<'ctx> for CallInstruction<'ctx>
[src]
fn parent_block(&self) -> Block<'ctx>
[src]
fn parent_function(&self) -> Function<'ctx>
[src]
fn prev_instruction(&self) -> Option<Instruction<'ctx>>
[src]
fn next_instruction(&self) -> Option<Instruction<'ctx>>
[src]
fn num_operands(&self) -> usize
[src]
fn operand(&self, index: usize) -> Option<Operand<'ctx>>
[src]
fn to_string(&self) -> String
[src]
impl<'ctx> PartialEq<CallInstruction<'ctx>> for CallInstruction<'ctx>
[src]
fn eq(&self, other: &CallInstruction<'ctx>) -> bool
[src]
fn ne(&self, other: &CallInstruction<'ctx>) -> bool
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,