Struct llvm_ir::terminator::Invoke
source · [−]pub struct Invoke {
pub function: Either<InlineAssembly, Operand>,
pub arguments: Vec<(Operand, Vec<ParameterAttribute>)>,
pub return_attributes: Vec<ParameterAttribute>,
pub result: Name,
pub return_label: Name,
pub exception_label: Name,
pub function_attributes: Vec<FunctionAttribute>,
pub calling_convention: CallingConvention,
pub debugloc: Option<DebugLoc>,
}
Expand description
Fields
function: Either<InlineAssembly, Operand>
arguments: Vec<(Operand, Vec<ParameterAttribute>)>
return_attributes: Vec<ParameterAttribute>
result: Name
return_label: Name
exception_label: Name
function_attributes: Vec<FunctionAttribute>
calling_convention: CallingConvention
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<Invoke> for Terminator
impl From<Invoke> for Terminator
sourcefn from(term: Invoke) -> Terminator
fn from(term: Invoke) -> Terminator
Converts to this type from the input type.
sourceimpl HasDebugLoc for Invoke
impl HasDebugLoc for Invoke
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<Invoke> for Invoke
impl PartialEq<Invoke> for Invoke
sourceimpl TryFrom<Terminator> for Invoke
impl TryFrom<Terminator> for Invoke
impl StructuralPartialEq for Invoke
Auto Trait Implementations
impl RefUnwindSafe for Invoke
impl Send for Invoke
impl Sync for Invoke
impl Unpin for Invoke
impl UnwindSafe for Invoke
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