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

Method id

crates/rustc_codegen_spirv/src/linker/inline.rs:496–498  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

494
495impl Inliner<'_, '_> {
496 fn id(&mut self) -> Word {
497 next_id(self.header)
498 }
499
500 /// Applies all rewrite rules to the decorations in the header.
501 fn apply_rewrite_for_decorations(&mut self, rewrite_rules: &FxHashMap<Word, Word>) {

Callers 14

beginMethod · 0.80
defMethod · 0.80
ptr_tyMethod · 0.80
inline_blockMethod · 0.80
add_clone_id_rulesMethod · 0.80
get_inlined_blocksMethod · 0.80
alloc_instance_idMethod · 0.80
expand_moduleMethod · 0.80
codegen_inline_asmMethod · 0.80
codegen_asmMethod · 0.80
parse_id_outMethod · 0.80

Calls 1

next_idFunction · 0.85

Tested by 2

alloc_instance_idMethod · 0.64
expand_moduleMethod · 0.64