MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / next

Method next

crates/rustc_codegen_spirv/src/builder/mod.rs:321–325  ·  view source on GitHub ↗
(bx: &mut Builder<'_, '_>, idx: &mut usize)

Source from the content-addressed store, hash-verified

319 dst: PlaceRef<'tcx, Self::Value>,
320 ) {
321 fn next(bx: &mut Builder<'_, '_>, idx: &mut usize) -> SpirvValue {
322 let val = bx.function_parameter_values.borrow()[&bx.current_fn.def(bx)][*idx];
323 *idx += 1;
324 val
325 }
326 match arg_abi.mode {
327 PassMode::Ignore => {}
328 PassMode::Direct(_) => {

Callers 15

map_specifier_to_typeFunction · 0.45
debug_printf_innerFunction · 0.45
spirv_typeMethod · 0.45
trans_intrinsic_typeFunction · 0.45
displayMethod · 0.45
collectMethod · 0.45
src_loc_to_rustcMethod · 0.45
from_strMethod · 0.45
fuse_trivial_branchesFunction · 0.45
match_ty_patMethod · 0.45
match_ty_list_patMethod · 0.45
match_inst_sigMethod · 0.45

Calls 1

defMethod · 0.45

Tested by 6

match_ty_patMethod · 0.36
match_ty_list_patMethod · 0.36
match_inst_sigMethod · 0.36
equate_match_findingsMethod · 0.36
instantiate_functionMethod · 0.36
expand_moduleMethod · 0.36