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: Operand
true_value: Operand
false_value: Operand
dest: Name
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 Select
impl UnwindSafe for Select
Blanket Implementations
Mutably borrows from an owned value. Read more