Re-exportsΒ§
use rustc_abi::Align;πuse rustc_abi::BackendRepr;πuse rustc_abi::CVariadicStatus;πuse rustc_abi::Endian;πuse rustc_abi::Float;πuse rustc_abi::HasDataLayout;πuse rustc_abi::Integer;πuse rustc_abi::Primitive;πuse rustc_abi::Size;πuse rustc_codegen_ssa::common::IntPredicate;πuse rustc_codegen_ssa::mir::operand::OperandRef;πuse rustc_codegen_ssa::traits::BaseTypeCodegenMethods;πuse rustc_codegen_ssa::traits::BuilderMethods;πuse rustc_codegen_ssa::traits::ConstCodegenMethods;πuse rustc_codegen_ssa::traits::LayoutTypeCodegenMethods;πuse rustc_middle::ty::Ty;πuse rustc_middle::ty::layout::HasTyCtxt;πuse rustc_middle::ty::layout::LayoutOf;πuse rustc_middle::ty::layout::TyAndLayout;πuse rustc_span::bug;πuse rustc_target::spec::Arch;πuse rustc_target::spec::Env;πuse rustc_target::spec::LlvmAbi;πuse rustc_target::spec::RustcAbi;πuse rustc_target::spec::Target;πuse crate::builder::Builder;πuse crate::llvm::Type;πuse crate::llvm::Value;π
EnumsΒ§
- Allow
Higher πAlign - Whether to respect a value alignment that is higher than the slot alignment.
- Force
Right πAdjust - Determines where in the slot the value is located. Only takes effect on big-endian targets.
- Pass
Mode π - Slot
Size π
FunctionsΒ§
- copy_
to_ πtemporary_ if_ more_ aligned - Copy into a temporary if the type is more aligned than the register save area.
- emit_
aapcs_ πva_ arg - emit_
direct_ πptr_ va_ arg - emit_
hexagon_ πva_ arg_ bare_ metal - emit_
hexagon_ πva_ arg_ musl - emit_
powerpc_ πva_ arg - emit_
ptr_ πva_ arg - emit_
s390x_ πva_ arg - emit_
va_ πarg - Determine the va_arg implementation to use. The LLVM va_arg instruction is lacking in some instances, so we should only use it as a fallback.
- emit_
x86_ π64_ sysv64_ va_ arg - emit_
xtensa_ πva_ arg - get_
param_ πtype_ alignment - Some backends apply special alignment rules to c-variadic arguments.
- is_
powerpc_ πsoftfloat_ abi - round_
pointer_ πup_ to_ alignment - round_
up_ πto_ alignment - to_
backend_ πtype - A helper for backend_type that ensures we donβt call it on non-primitive types.
- x86_
64_ πsysv64_ va_ arg_ from_ memory