[][src]Struct inkwell::values::PhiValue

pub struct PhiValue { /* fields omitted */ }

A Phi Instruction returns a value based on which basic block branched into the Phi's containing basic block.

Methods

impl PhiValue[src]

pub fn add_incoming(&self, incoming: &[(&dyn BasicValue, &BasicBlock)])[src]

pub fn count_incoming(&self) -> u32[src]

pub fn get_incoming(&self, index: u32) -> Option<(BasicValueEnum, BasicBlock)>[src]

pub fn get_name(&self) -> &CStr[src]

pub fn set_name(&self, name: &str)[src]

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

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

pub fn print_to_string(&self) -> LLVMString[src]

pub fn print_to_stderr(&self)[src]

pub fn as_instruction(&self) -> InstructionValue[src]

pub fn replace_all_uses_with(&self, other: &PhiValue)[src]

pub fn as_basic_value(&self) -> BasicValueEnum[src]

Trait Implementations

impl AnyValue for PhiValue[src]

impl Eq for PhiValue[src]

impl Clone for PhiValue[src]

impl PartialEq<PhiValue> for AnyValueEnum[src]

impl PartialEq<AnyValueEnum> for PhiValue[src]

impl PartialEq<PhiValue> for PhiValue[src]

impl From<PhiValue> for AnyValueEnum[src]

impl Copy for PhiValue[src]

impl Hash for PhiValue[src]

impl Debug for PhiValue[src]

Auto Trait Implementations

impl !Sync for PhiValue

impl !Send for PhiValue

impl Unpin for PhiValue

impl UnwindSafe for PhiValue

impl RefUnwindSafe for PhiValue

Blanket Implementations

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> From<T> for T[src]

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.

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

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

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