Skip to main content

Module va_arg

Module va_arg 

Source

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Β§

AllowHigherAlign πŸ”’
Whether to respect a value alignment that is higher than the slot alignment.
ForceRightAdjust πŸ”’
Determines where in the slot the value is located. Only takes effect on big-endian targets.
PassMode πŸ”’
SlotSize πŸ”’

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 πŸ”’