Module rustc_hir_analysis::hir_ty_lowering::cmse
source ยท Functionsยง
- cmse_layout_err ๐
- is_valid_cmse_inputs ๐Returns whether the inputs will fit into the available registers
- is_valid_cmse_output ๐Returns whether the output will fit into the available registers
- Check conditions on inputs and outputs that the cmse ABIs impose: arguments and results MUST be returned via registers (i.e. MUST NOT spill to the stack). LLVM will also validate these conditions, but by checking them here rustc can emit nicer error messages.