Struct llvm_ir::instruction::Freeze
source · [−]Expand description
Stop the propagation of undef
or poison
values.
See LLVM 14 docs on the ‘freeze’ instruction
Fields
operand: Operand
dest: Name
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<Freeze> for Instruction
impl From<Freeze> for Instruction
sourcefn from(inst: Freeze) -> Instruction
fn from(inst: Freeze) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for Freeze
impl HasDebugLoc for Freeze
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<Freeze> for Freeze
impl PartialEq<Freeze> for Freeze
sourceimpl TryFrom<Instruction> for Freeze
impl TryFrom<Instruction> for Freeze
impl StructuralPartialEq for Freeze
Auto Trait Implementations
impl RefUnwindSafe for Freeze
impl Send for Freeze
impl Sync for Freeze
impl Unpin for Freeze
impl UnwindSafe for Freeze
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