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

Method span

crates/rustc_codegen_spirv/src/builder/mod.rs:97–99  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

95 }
96
97 pub fn span(&self) -> Span {
98 self.current_span.unwrap_or(DUMMY_SP)
99 }
100
101 // Given an ID, check if it's defined by an OpAccessChain, and if it is, return its ptr/indices
102 fn find_access_chain(&self, id: spirv::Word) -> Option<(spirv::Word, Vec<spirv::Word>)> {

Callers 15

create_vectored_fnFunction · 0.80
parseMethod · 0.80
parseMethod · 0.80
parse_attrs_for_checkingFunction · 0.80
parse_spec_constant_attrFunction · 0.80
parse_attr_int_valueFunction · 0.80
parse_local_size_attrFunction · 0.80
parse_entry_attrsFunction · 0.80
defMethod · 0.80
insert_instMethod · 0.80
gep_helpMethod · 0.80
rotateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected