Struct llvm_kaleidoscope_rs::llvm::PhiValue
source · [−]#[repr(transparent)]pub struct PhiValue<'llvm>(_);
Expand description
Wrapper for a LLVM Value Reference specialized for contexts where phi values are needed.
Implementations
sourceimpl<'llvm> PhiValue<'llvm>
impl<'llvm> PhiValue<'llvm>
sourcepub fn add_incoming(&self, ival: Value<'llvm>, ibb: BasicBlock<'llvm>)
pub fn add_incoming(&self, ival: Value<'llvm>, ibb: BasicBlock<'llvm>)
Add an incoming value to the end of a PHI list.
Methods from Deref<Target = Value<'llvm>>
Trait Implementations
impl<'llvm> Copy for PhiValue<'llvm>
Auto Trait Implementations
impl<'llvm> RefUnwindSafe for PhiValue<'llvm>
impl<'llvm> !Send for PhiValue<'llvm>
impl<'llvm> !Sync for PhiValue<'llvm>
impl<'llvm> Unpin for PhiValue<'llvm>
impl<'llvm> UnwindSafe for PhiValue<'llvm>
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