Struct llvm_ir::instruction::Select [−][src]
pub struct Select {
pub condition: Operand,
pub true_value: Operand,
pub false_value: Operand,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}Expand description
Choose between two values depending on a condition. See LLVM 12 docs on the ‘select’ instruction
Fields
condition: Operandtrue_value: Operandfalse_value: Operanddest: Namedebugloc: 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 Selectimpl UnwindSafe for SelectBlanket Implementations
Mutably borrows from an owned value. Read more