Struct llvm_ir::instruction::Alloca [−][src]
pub struct Alloca {
pub allocated_type: TypeRef,
pub num_elements: Operand,
pub dest: Name,
pub alignment: u32,
pub debugloc: Option<DebugLoc>,
}
Expand description
Allocate memory on the stack. See LLVM 12 docs on the ‘alloca’ instruction
Fields
allocated_type: TypeRef
num_elements: Operand
dest: Name
alignment: u32
debugloc: Option<DebugLoc>
Trait Implementations
Performs the conversion.
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Alloca
impl UnwindSafe for Alloca
Blanket Implementations
Mutably borrows from an owned value. Read more