Struct llvm_ir::instruction::Phi
source · [−]pub struct Phi {
pub incoming_values: Vec<(Operand, Name)>,
pub dest: Name,
pub to_type: TypeRef,
pub debugloc: Option<DebugLoc>,
}
Expand description
Fields
incoming_values: Vec<(Operand, Name)>
dest: Name
to_type: TypeRef
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<Phi> for Instruction
impl From<Phi> for Instruction
sourcefn from(inst: Phi) -> Instruction
fn from(inst: Phi) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for Phi
impl HasDebugLoc for Phi
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<Phi> for Phi
impl PartialEq<Phi> for Phi
sourceimpl TryFrom<Instruction> for Phi
impl TryFrom<Instruction> for Phi
impl StructuralPartialEq for Phi
Auto Trait Implementations
impl RefUnwindSafe for Phi
impl Send for Phi
impl Sync for Phi
impl Unpin for Phi
impl UnwindSafe for Phi
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