Type Alias SBuilder

Source
pub(crate) type SBuilder<'a, 'll> = GenericBuilder<'a, 'll, SimpleCx<'ll>>;

Aliased Type§

struct SBuilder<'a, 'll> {
    pub llbuilder: &'ll mut Builder<'ll>,
    pub cx: &'a SimpleCx<'ll>,
}

Fields§

§llbuilder: &'ll mut Builder<'ll>§cx: &'a SimpleCx<'ll>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes

Implementations

Source§

impl<'a, 'll, CX: Borrow<SimpleCx<'ll>>> GenericBuilder<'a, 'll, CX>

Source

fn position_at_start(&mut self, llbb: &'ll BasicBlock)

Source§

impl<'a, 'll, CX: Borrow<SimpleCx<'ll>>> GenericBuilder<'a, 'll, CX>

Source

pub(crate) fn minnum(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value

Source

pub(crate) fn maxnum(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value

Source

pub(crate) fn insert_element( &mut self, vec: &'ll Value, elt: &'ll Value, idx: &'ll Value, ) -> &'ll Value

Source

pub(crate) fn shuffle_vector( &mut self, v1: &'ll Value, v2: &'ll Value, mask: &'ll Value, ) -> &'ll Value

Source

pub(crate) fn vector_reduce_fadd( &mut self, acc: &'ll Value, src: &'ll Value, ) -> &'ll Value

Source

pub(crate) fn vector_reduce_fmul( &mut self, acc: &'ll Value, src: &'ll Value, ) -> &'ll Value

Source

pub(crate) fn vector_reduce_fadd_reassoc( &mut self, acc: &'ll Value, src: &'ll Value, ) -> &'ll Value

Source

pub(crate) fn vector_reduce_fmul_reassoc( &mut self, acc: &'ll Value, src: &'ll Value, ) -> &'ll Value

Source

pub(crate) fn vector_reduce_add(&mut self, src: &'ll Value) -> &'ll Value

Source

pub(crate) fn vector_reduce_mul(&mut self, src: &'ll Value) -> &'ll Value

Source

pub(crate) fn vector_reduce_and(&mut self, src: &'ll Value) -> &'ll Value

Source

pub(crate) fn vector_reduce_or(&mut self, src: &'ll Value) -> &'ll Value

Source

pub(crate) fn vector_reduce_xor(&mut self, src: &'ll Value) -> &'ll Value

Source

pub(crate) fn vector_reduce_fmin(&mut self, src: &'ll Value) -> &'ll Value

Source

pub(crate) fn vector_reduce_fmax(&mut self, src: &'ll Value) -> &'ll Value

Source

pub(crate) fn vector_reduce_min( &mut self, src: &'ll Value, is_signed: bool, ) -> &'ll Value

Source

pub(crate) fn vector_reduce_max( &mut self, src: &'ll Value, is_signed: bool, ) -> &'ll Value

Source

pub(crate) fn add_clause(&mut self, landing_pad: &'ll Value, clause: &'ll Value)

Source

pub(crate) fn catch_ret( &mut self, funclet: &Funclet<'ll>, unwind: &'ll BasicBlock, ) -> &'ll Value

Source§

impl<'a, 'll, CX: Borrow<SimpleCx<'ll>>> GenericBuilder<'a, 'll, CX>

Source

pub(crate) fn va_arg(&mut self, list: &'ll Value, ty: &'ll Type) -> &'ll Value

Source§

impl<'a, 'll, CX: Borrow<SimpleCx<'ll>>> GenericBuilder<'a, 'll, CX>

Source

pub(crate) fn phi( &mut self, ty: &'ll Type, vals: &[&'ll Value], bbs: &[&'ll BasicBlock], ) -> &'ll Value

Source

fn add_incoming_to_phi( &mut self, phi: &'ll Value, val: &'ll Value, bb: &'ll BasicBlock, )

Source§

impl<'a, 'll, CX: Borrow<SimpleCx<'ll>>> GenericBuilder<'a, 'll, CX>

Source

pub(crate) fn bitcast( &mut self, val: &'ll Value, dest_ty: &'ll Type, ) -> &'ll Value

Source

fn ret_void(&mut self)

Source

fn ret(&mut self, v: &'ll Value)

Source§

impl<'a, 'll> GenericBuilder<'a, 'll, SimpleCx<'ll>>

Source

fn build( cx: &'a SimpleCx<'ll>, llbb: &'ll BasicBlock, ) -> GenericBuilder<'a, 'll, SimpleCx<'ll>>

Source

fn check_call<'b>( &mut self, typ: &str, fn_ty: &'ll Type, llfn: &'ll Value, args: &'b [&'ll Value], ) -> Cow<'b, [&'ll Value]>

Source§

impl<'a, 'll> GenericBuilder<'a, 'll, SimpleCx<'ll>>

Source

fn call( &mut self, llty: &'ll Type, llfn: &'ll Value, args: &[&'ll Value], funclet: Option<&Funclet<'ll>>, ) -> &'ll Value

Source

fn with_scx(scx: &'a SimpleCx<'ll>) -> Self

Trait Implementations

Source§

impl<'a, 'll, CX: Borrow<SimpleCx<'ll>>> Drop for GenericBuilder<'a, 'll, CX>

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more