pub struct CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1> { /* private fields */ }Expand description
A builder for a cond_br operation.
Implementations§
Source§impl<'c> CondBranchOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
impl<'c> CondBranchOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
Source§impl<'c, O1, O2, S0, S1> CondBranchOperationBuilder<'c, Unset, O1, O2, S0, S1>
impl<'c, O1, O2, S0, S1> CondBranchOperationBuilder<'c, Unset, O1, O2, S0, S1>
pub fn condition( self, condition: Value<'c, '_>, ) -> CondBranchOperationBuilder<'c, Set, O1, O2, S0, S1>
Source§impl<'c, O2, S0, S1> CondBranchOperationBuilder<'c, Set, Unset, O2, S0, S1>
impl<'c, O2, S0, S1> CondBranchOperationBuilder<'c, Set, Unset, O2, S0, S1>
pub fn true_dest_operands( self, true_dest_operands: &[Value<'c, '_>], ) -> CondBranchOperationBuilder<'c, Set, Set, O2, S0, S1>
Source§impl<'c, S0, S1> CondBranchOperationBuilder<'c, Set, Set, Unset, S0, S1>
impl<'c, S0, S1> CondBranchOperationBuilder<'c, Set, Set, Unset, S0, S1>
pub fn false_dest_operands( self, false_dest_operands: &[Value<'c, '_>], ) -> CondBranchOperationBuilder<'c, Set, Set, Set, S0, S1>
Source§impl<'c, O0, O1, O2, S1> CondBranchOperationBuilder<'c, O0, O1, O2, Unset, S1>
impl<'c, O0, O1, O2, S1> CondBranchOperationBuilder<'c, O0, O1, O2, Unset, S1>
pub fn true_dest( self, true_dest: &Block<'c>, ) -> CondBranchOperationBuilder<'c, O0, O1, O2, Set, S1>
Source§impl<'c, O0, O1, O2> CondBranchOperationBuilder<'c, O0, O1, O2, Set, Unset>
impl<'c, O0, O1, O2> CondBranchOperationBuilder<'c, O0, O1, O2, Set, Unset>
pub fn false_dest( self, false_dest: &Block<'c>, ) -> CondBranchOperationBuilder<'c, O0, O1, O2, Set, Set>
Source§impl<'c, O0, O1, O2, S0, S1> CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>
impl<'c, O0, O1, O2, S0, S1> CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>
pub fn branch_weights( self, branch_weights: DenseI32ArrayAttribute<'c>, ) -> CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>
Source§impl<'c> CondBranchOperationBuilder<'c, Set, Set, Set, Set, Set>
impl<'c> CondBranchOperationBuilder<'c, Set, Set, Set, Set, Set>
pub fn build(self) -> CondBranchOperation<'c>
Auto Trait Implementations§
impl<'c, O0, O1, O2, S0, S1> Freeze for CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>
impl<'c, O0, O1, O2, S0, S1> RefUnwindSafe for CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>where
O0: RefUnwindSafe,
O1: RefUnwindSafe,
O2: RefUnwindSafe,
S0: RefUnwindSafe,
S1: RefUnwindSafe,
impl<'c, O0, O1, O2, S0, S1> !Send for CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>
impl<'c, O0, O1, O2, S0, S1> !Sync for CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>
impl<'c, O0, O1, O2, S0, S1> Unpin for CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>
impl<'c, O0, O1, O2, S0, S1> UnwindSafe for CondBranchOperationBuilder<'c, O0, O1, O2, S0, S1>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more