[−][src]Foreign Type rustc_codegen_llvm::llvm::ffi::Type
extern { pub type Type; }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl Type
[src]
impl Type
pub fn void<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn void<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn metadata<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn metadata<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i1<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn i1<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i8<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn i8<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i8_llcx(llcx: &Context) -> &Type
[src]
pub fn i8_llcx(llcx: &Context) -> &Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i16<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn i16<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i32<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn i32<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i64<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn i64<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i128<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn i128<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn ix<'ll>(cx: &CodegenCx<'ll, '_>, num_bits: u64) -> &'ll Type
[src]
pub fn ix<'ll>(cx: &CodegenCx<'ll, '_>, num_bits: u64) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn ix_llcx(llcx: &Context, num_bits: u64) -> &Type
[src]
pub fn ix_llcx(llcx: &Context, num_bits: u64) -> &Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn f32<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn f32<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn f64<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn f64<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn bool<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn bool<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn char<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn char<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i8p<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn i8p<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn i8p_llcx(llcx: &Context) -> &Type
[src]
pub fn i8p_llcx(llcx: &Context) -> &Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn isize<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn isize<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn c_int<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn c_int<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn int_from_ty<'ll>(cx: &CodegenCx<'ll, '_>, t: IntTy) -> &'ll Type
[src]
pub fn int_from_ty<'ll>(cx: &CodegenCx<'ll, '_>, t: IntTy) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn uint_from_ty<'ll>(cx: &CodegenCx<'ll, '_>, t: UintTy) -> &'ll Type
[src]
pub fn uint_from_ty<'ll>(cx: &CodegenCx<'ll, '_>, t: UintTy) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn float_from_ty<'ll>(cx: &CodegenCx<'ll, '_>, t: FloatTy) -> &'ll Type
[src]
pub fn float_from_ty<'ll>(cx: &CodegenCx<'ll, '_>, t: FloatTy) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn func<'ll>(args: &[&'ll Type], ret: &'ll Type) -> &'ll Type
[src]
pub fn func<'ll>(args: &[&'ll Type], ret: &'ll Type) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn variadic_func<'ll>(args: &[&'ll Type], ret: &'ll Type) -> &'ll Type
[src]
pub fn variadic_func<'ll>(args: &[&'ll Type], ret: &'ll Type) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn struct_<'ll>(
cx: &CodegenCx<'ll, '_>,
els: &[&'ll Type],
packed: bool
) -> &'ll Type
[src]
pub fn struct_<'ll>(
cx: &CodegenCx<'ll, '_>,
els: &[&'ll Type],
packed: bool
) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn named_struct<'ll>(cx: &CodegenCx<'ll, '_>, name: &str) -> &'ll Type
[src]
pub fn named_struct<'ll>(cx: &CodegenCx<'ll, '_>, name: &str) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn array(ty: &Type, len: u64) -> &Type
[src]
pub fn array(ty: &Type, len: u64) -> &Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn vector(ty: &Type, len: u64) -> &Type
[src]
pub fn vector(ty: &Type, len: u64) -> &Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn kind(&self) -> TypeKind
[src]
pub fn kind(&self) -> TypeKind
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn set_struct_body<'ll>(&'ll self, els: &[&'ll Type], packed: bool)
[src]
pub fn set_struct_body<'ll>(&'ll self, els: &[&'ll Type], packed: bool)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn ptr_to(&self) -> &Type
[src]
pub fn ptr_to(&self) -> &Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn element_type(&self) -> &Type
[src]
pub fn element_type(&self) -> &Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn vector_length(&self) -> usize
[src]
pub fn vector_length(&self) -> usize
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Return the number of elements in self
if it is a LLVM vector type.
pub fn func_params(&self) -> Vec<&Type>
[src]
pub fn func_params(&self) -> Vec<&Type>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn float_width(&self) -> usize
[src]
pub fn float_width(&self) -> usize
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn int_width(&self) -> u64
[src]
pub fn int_width(&self) -> u64
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Retrieve the bit width of the integer type self
.
pub fn from_integer<'ll>(cx: &CodegenCx<'ll, '_>, i: Integer) -> &'ll Type
[src]
pub fn from_integer<'ll>(cx: &CodegenCx<'ll, '_>, i: Integer) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn pointee_for_abi_align<'ll>(
cx: &CodegenCx<'ll, '_>,
align: Align
) -> &'ll Type
[src]
pub fn pointee_for_abi_align<'ll>(
cx: &CodegenCx<'ll, '_>,
align: Align
) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Return a LLVM type that has at most the required alignment, as a conservative approximation for unknown pointee types.
pub fn padding_filler<'ll>(
cx: &CodegenCx<'ll, '_>,
size: Size,
align: Align
) -> &'ll Type
[src]
pub fn padding_filler<'ll>(
cx: &CodegenCx<'ll, '_>,
size: Size,
align: Align
) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Return a LLVM type that has at most the required alignment, and exactly the required size, as a best-effort padding array.
pub fn x86_mmx<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
[src]
pub fn x86_mmx<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?