Trait rustc_codegen_ssa::traits::builder::BuilderMethods [−][src]
Required methods
fn new_block<'b>(
cx: &'a Self::CodegenCx,
llfn: Self::Function,
name: &'b str
) -> Self[src]
cx: &'a Self::CodegenCx,
llfn: Self::Function,
name: &'b str
) -> Self
fn with_cx(cx: &'a Self::CodegenCx) -> Self[src]
fn build_sibling_block(&self, name: &str) -> Self[src]
fn cx(&self) -> &Self::CodegenCx[src]
fn llbb(&self) -> Self::BasicBlock[src]
fn set_span(&mut self, span: Span)[src]
fn position_at_end(&mut self, llbb: Self::BasicBlock)[src]
fn ret_void(&mut self)[src]
fn ret(&mut self, v: Self::Value)[src]
fn br(&mut self, dest: Self::BasicBlock)[src]
fn cond_br(
&mut self,
cond: Self::Value,
then_llbb: Self::BasicBlock,
else_llbb: Self::BasicBlock
)[src]
&mut self,
cond: Self::Value,
then_llbb: Self::BasicBlock,
else_llbb: Self::BasicBlock
)
fn switch(
&mut self,
v: Self::Value,
else_llbb: Self::BasicBlock,
cases: impl ExactSizeIterator<Item = (u128, Self::BasicBlock)>
)[src]
&mut self,
v: Self::Value,
else_llbb: Self::BasicBlock,
cases: impl ExactSizeIterator<Item = (u128, Self::BasicBlock)>
)
fn invoke(
&mut self,
llfn: Self::Value,
args: &[Self::Value],
then: Self::BasicBlock,
catch: Self::BasicBlock,
funclet: Option<&Self::Funclet>
) -> Self::Value[src]
&mut self,
llfn: Self::Value,
args: &[Self::Value],
then: Self::BasicBlock,
catch: Self::BasicBlock,
funclet: Option<&Self::Funclet>
) -> Self::Value
fn unreachable(&mut self)[src]
fn add(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn fadd(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn fadd_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn sub(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn fsub(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn fsub_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn mul(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn fmul(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn fmul_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn udiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn exactudiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn sdiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn exactsdiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn fdiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn fdiv_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn urem(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn srem(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn frem(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn frem_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn shl(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn lshr(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn ashr(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn unchecked_sadd(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn unchecked_uadd(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn unchecked_ssub(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn unchecked_usub(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn unchecked_smul(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn unchecked_umul(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn and(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn or(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn xor(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value[src]
fn neg(&mut self, v: Self::Value) -> Self::Value[src]
fn fneg(&mut self, v: Self::Value) -> Self::Value[src]
fn not(&mut self, v: Self::Value) -> Self::Value[src]
fn checked_binop(
&mut self,
oop: OverflowOp,
ty: Ty<'_>,
lhs: Self::Value,
rhs: Self::Value
) -> (Self::Value, Self::Value)[src]
&mut self,
oop: OverflowOp,
ty: Ty<'_>,
lhs: Self::Value,
rhs: Self::Value
) -> (Self::Value, Self::Value)
fn from_immediate(&mut self, val: Self::Value) -> Self::Value[src]
fn to_immediate_scalar(
&mut self,
val: Self::Value,
scalar: &Scalar
) -> Self::Value[src]
&mut self,
val: Self::Value,
scalar: &Scalar
) -> Self::Value
fn alloca(&mut self, ty: Self::Type, align: Align) -> Self::Value[src]
fn dynamic_alloca(&mut self, ty: Self::Type, align: Align) -> Self::Value[src]
fn array_alloca(
&mut self,
ty: Self::Type,
len: Self::Value,
align: Align
) -> Self::Value[src]
&mut self,
ty: Self::Type,
len: Self::Value,
align: Align
) -> Self::Value
fn load(&mut self, ptr: Self::Value, align: Align) -> Self::Value[src]
fn volatile_load(&mut self, ptr: Self::Value) -> Self::Value[src]
fn atomic_load(
&mut self,
ptr: Self::Value,
order: AtomicOrdering,
size: Size
) -> Self::Value[src]
&mut self,
ptr: Self::Value,
order: AtomicOrdering,
size: Size
) -> Self::Value
fn load_operand(
&mut self,
place: PlaceRef<'tcx, Self::Value>
) -> OperandRef<'tcx, Self::Value>[src]
&mut self,
place: PlaceRef<'tcx, Self::Value>
) -> OperandRef<'tcx, Self::Value>
fn write_operand_repeatedly(
self,
elem: OperandRef<'tcx, Self::Value>,
count: u64,
dest: PlaceRef<'tcx, Self::Value>
) -> Self[src]
self,
elem: OperandRef<'tcx, Self::Value>,
count: u64,
dest: PlaceRef<'tcx, Self::Value>
) -> Self
Called for Rvalue::Repeat when the elem is neither a ZST nor optimizable using memset.
fn range_metadata(&mut self, load: Self::Value, range: Range<u128>)[src]
fn nonnull_metadata(&mut self, load: Self::Value)[src]
fn store(
&mut self,
val: Self::Value,
ptr: Self::Value,
align: Align
) -> Self::Value[src]
&mut self,
val: Self::Value,
ptr: Self::Value,
align: Align
) -> Self::Value
fn store_with_flags(
&mut self,
val: Self::Value,
ptr: Self::Value,
align: Align,
flags: MemFlags
) -> Self::Value[src]
&mut self,
val: Self::Value,
ptr: Self::Value,
align: Align,
flags: MemFlags
) -> Self::Value
fn atomic_store(
&mut self,
val: Self::Value,
ptr: Self::Value,
order: AtomicOrdering,
size: Size
)[src]
&mut self,
val: Self::Value,
ptr: Self::Value,
order: AtomicOrdering,
size: Size
)
fn gep(&mut self, ptr: Self::Value, indices: &[Self::Value]) -> Self::Value[src]
fn inbounds_gep(
&mut self,
ptr: Self::Value,
indices: &[Self::Value]
) -> Self::Value[src]
&mut self,
ptr: Self::Value,
indices: &[Self::Value]
) -> Self::Value
fn struct_gep(&mut self, ptr: Self::Value, idx: u64) -> Self::Value[src]
fn trunc(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn sext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn fptoui_sat(
&mut self,
val: Self::Value,
dest_ty: Self::Type
) -> Option<Self::Value>[src]
&mut self,
val: Self::Value,
dest_ty: Self::Type
) -> Option<Self::Value>
fn fptosi_sat(
&mut self,
val: Self::Value,
dest_ty: Self::Type
) -> Option<Self::Value>[src]
&mut self,
val: Self::Value,
dest_ty: Self::Type
) -> Option<Self::Value>
fn fptosui_may_trap(&self, val: Self::Value, dest_ty: Self::Type) -> bool[src]
fn fptoui(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn fptosi(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn uitofp(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn sitofp(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn fptrunc(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn fpext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn ptrtoint(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn inttoptr(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn bitcast(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn intcast(
&mut self,
val: Self::Value,
dest_ty: Self::Type,
is_signed: bool
) -> Self::Value[src]
&mut self,
val: Self::Value,
dest_ty: Self::Type,
is_signed: bool
) -> Self::Value
fn pointercast(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
fn icmp(
&mut self,
op: IntPredicate,
lhs: Self::Value,
rhs: Self::Value
) -> Self::Value[src]
&mut self,
op: IntPredicate,
lhs: Self::Value,
rhs: Self::Value
) -> Self::Value
fn fcmp(
&mut self,
op: RealPredicate,
lhs: Self::Value,
rhs: Self::Value
) -> Self::Value[src]
&mut self,
op: RealPredicate,
lhs: Self::Value,
rhs: Self::Value
) -> Self::Value
fn memcpy(
&mut self,
dst: Self::Value,
dst_align: Align,
src: Self::Value,
src_align: Align,
size: Self::Value,
flags: MemFlags
)[src]
&mut self,
dst: Self::Value,
dst_align: Align,
src: Self::Value,
src_align: Align,
size: Self::Value,
flags: MemFlags
)
fn memmove(
&mut self,
dst: Self::Value,
dst_align: Align,
src: Self::Value,
src_align: Align,
size: Self::Value,
flags: MemFlags
)[src]
&mut self,
dst: Self::Value,
dst_align: Align,
src: Self::Value,
src_align: Align,
size: Self::Value,
flags: MemFlags
)
fn memset(
&mut self,
ptr: Self::Value,
fill_byte: Self::Value,
size: Self::Value,
align: Align,
flags: MemFlags
)[src]
&mut self,
ptr: Self::Value,
fill_byte: Self::Value,
size: Self::Value,
align: Align,
flags: MemFlags
)
fn select(
&mut self,
cond: Self::Value,
then_val: Self::Value,
else_val: Self::Value
) -> Self::Value[src]
&mut self,
cond: Self::Value,
then_val: Self::Value,
else_val: Self::Value
) -> Self::Value
fn va_arg(&mut self, list: Self::Value, ty: Self::Type) -> Self::Value[src]
fn extract_element(&mut self, vec: Self::Value, idx: Self::Value) -> Self::Value[src]
fn vector_splat(&mut self, num_elts: usize, elt: Self::Value) -> Self::Value[src]
fn extract_value(&mut self, agg_val: Self::Value, idx: u64) -> Self::Value[src]
fn insert_value(
&mut self,
agg_val: Self::Value,
elt: Self::Value,
idx: u64
) -> Self::Value[src]
&mut self,
agg_val: Self::Value,
elt: Self::Value,
idx: u64
) -> Self::Value
fn landing_pad(
&mut self,
ty: Self::Type,
pers_fn: Self::Value,
num_clauses: usize
) -> Self::Value[src]
&mut self,
ty: Self::Type,
pers_fn: Self::Value,
num_clauses: usize
) -> Self::Value
fn set_cleanup(&mut self, landing_pad: Self::Value)[src]
fn resume(&mut self, exn: Self::Value) -> Self::Value[src]
fn cleanup_pad(
&mut self,
parent: Option<Self::Value>,
args: &[Self::Value]
) -> Self::Funclet[src]
&mut self,
parent: Option<Self::Value>,
args: &[Self::Value]
) -> Self::Funclet
fn cleanup_ret(
&mut self,
funclet: &Self::Funclet,
unwind: Option<Self::BasicBlock>
) -> Self::Value[src]
&mut self,
funclet: &Self::Funclet,
unwind: Option<Self::BasicBlock>
) -> Self::Value
fn catch_pad(
&mut self,
parent: Self::Value,
args: &[Self::Value]
) -> Self::Funclet[src]
&mut self,
parent: Self::Value,
args: &[Self::Value]
) -> Self::Funclet
fn catch_switch(
&mut self,
parent: Option<Self::Value>,
unwind: Option<Self::BasicBlock>,
num_handlers: usize
) -> Self::Value[src]
&mut self,
parent: Option<Self::Value>,
unwind: Option<Self::BasicBlock>,
num_handlers: usize
) -> Self::Value
fn add_handler(&mut self, catch_switch: Self::Value, handler: Self::BasicBlock)[src]
fn set_personality_fn(&mut self, personality: Self::Value)[src]
fn atomic_cmpxchg(
&mut self,
dst: Self::Value,
cmp: Self::Value,
src: Self::Value,
order: AtomicOrdering,
failure_order: AtomicOrdering,
weak: bool
) -> Self::Value[src]
&mut self,
dst: Self::Value,
cmp: Self::Value,
src: Self::Value,
order: AtomicOrdering,
failure_order: AtomicOrdering,
weak: bool
) -> Self::Value
fn atomic_rmw(
&mut self,
op: AtomicRmwBinOp,
dst: Self::Value,
src: Self::Value,
order: AtomicOrdering
) -> Self::Value[src]
&mut self,
op: AtomicRmwBinOp,
dst: Self::Value,
src: Self::Value,
order: AtomicOrdering
) -> Self::Value
fn atomic_fence(&mut self, order: AtomicOrdering, scope: SynchronizationScope)[src]
fn set_invariant_load(&mut self, load: Self::Value)[src]
fn lifetime_start(&mut self, ptr: Self::Value, size: Size)[src]
Called for StorageLive
fn lifetime_end(&mut self, ptr: Self::Value, size: Size)[src]
Called for StorageDead
fn instrprof_increment(
&mut self,
fn_name: Self::Value,
hash: Self::Value,
num_counters: Self::Value,
index: Self::Value
)[src]
&mut self,
fn_name: Self::Value,
hash: Self::Value,
num_counters: Self::Value,
index: Self::Value
)
fn call(
&mut self,
llfn: Self::Value,
args: &[Self::Value],
funclet: Option<&Self::Funclet>
) -> Self::Value[src]
&mut self,
llfn: Self::Value,
args: &[Self::Value],
funclet: Option<&Self::Funclet>
) -> Self::Value
fn zext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value[src]
unsafe fn delete_basic_block(&mut self, bb: Self::BasicBlock)[src]
fn do_not_inline(&mut self, llret: Self::Value)[src]
Provided methods
fn to_immediate(
&mut self,
val: Self::Value,
layout: TyAndLayout<'_>
) -> Self::Value[src]
&mut self,
val: Self::Value,
layout: TyAndLayout<'_>
) -> Self::Value