Struct llvm_ir::instruction::Load
source · [−]pub struct Load {
pub address: Operand,
pub dest: Name,
pub volatile: bool,
pub atomicity: Option<Atomicity>,
pub alignment: u32,
pub debugloc: Option<DebugLoc>,
}
Expand description
Load a value from memory. See LLVM 14 docs on the ‘load’ instruction
Fields
address: Operand
dest: Name
volatile: bool
atomicity: Option<Atomicity>
alignment: u32
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<Load> for Instruction
impl From<Load> for Instruction
sourcefn from(inst: Load) -> Instruction
fn from(inst: Load) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for Load
impl HasDebugLoc for Load
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<Load> for Load
impl PartialEq<Load> for Load
sourceimpl TryFrom<Instruction> for Load
impl TryFrom<Instruction> for Load
impl StructuralPartialEq for Load
Auto Trait Implementations
impl RefUnwindSafe for Load
impl Send for Load
impl Sync for Load
impl Unpin for Load
impl UnwindSafe for Load
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