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

Function id

crates/rustc_codegen_spirv/src/linker/mod.rs:82–86  ·  view source on GitHub ↗
(header: &mut ModuleHeader)

Source from the content-addressed store, hash-verified

80}
81
82fn id(header: &mut ModuleHeader) -> Word {
83 let result = header.bound;
84 header.bound += 1;
85 result
86}
87
88fn apply_rewrite_rules(rewrite_rules: &FxHashMap<Word, Word>, blocks: &mut [Block]) {
89 let apply = |inst: &mut Instruction| {

Callers 6

split_copy_memoryFunction · 0.85
undef_forFunction · 0.85
insert_phi_valueMethod · 0.85
renameMethod · 0.85
process_instructionFunction · 0.85
fuse_boolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected