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

Method inbounds_gep

crates/rustc_codegen_spirv/src/builder/builder_methods.rs:1308–1315  ·  view source on GitHub ↗
(
        &mut self,
        ty: Self::Type,
        ptr: Self::Value,
        indices: &[Self::Value],
    )

Source from the content-addressed store, hash-verified

1306 }
1307
1308 fn inbounds_gep(
1309 &mut self,
1310 ty: Self::Type,
1311 ptr: Self::Value,
1312 indices: &[Self::Value],
1313 ) -> Self::Value {
1314 self.gep_help(ty, ptr, indices, true)
1315 }
1316
1317 fn struct_gep(&mut self, ty: Self::Type, ptr: Self::Value, idx: u64) -> Self::Value {
1318 let pointee = match self.lookup_type(ptr.ty) {

Callers 1

Calls 1

gep_helpMethod · 0.80

Tested by

no test coverage detected