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: OperandAddress 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 Names of
BasicBlocks 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 IndirectBrimpl Send for IndirectBrimpl Sync for IndirectBrimpl Unpin for IndirectBrimpl UnwindSafe for IndirectBrBlanket Implementations
Mutably borrows from an owned value. Read more