Struct llvm_ir::terminator::IndirectBr [−][src]
pub struct IndirectBr { pub operand: Operand, pub possible_dests: Vec<Name>, pub debugloc: Option<DebugLoc>, }
Expand description
Fields
operand: Operand
Address to jump to (must be derived from a Constant::BlockAddress
)
possible_dests: Vec<Name>
The “full set of possible destinations” which the IndirectBr
could jump to.
These are Name
s of
BasicBlock
s in the current function;
IndirectBr
cannot be used to jump between functions.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IndirectBr
impl Send for IndirectBr
impl Sync for IndirectBr
impl Unpin for IndirectBr
impl UnwindSafe for IndirectBr
Blanket Implementations
Mutably borrows from an owned value. Read more