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

Method undef

crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:118–120  ·  view source on GitHub ↗
(&self, ty: Word)

Source from the content-addressed store, hash-verified

116 }
117
118 pub fn undef(&self, ty: Word) -> SpirvValue {
119 self.def_constant(ty, SpirvConst::Undef)
120 }
121}
122
123impl<'tcx> ConstMethods<'tcx> for CodegenCx<'tcx> {

Callers 13

def_constant_cxMethod · 0.80
constant_intMethod · 0.80
const_undefMethod · 0.80
scalar_to_backendMethod · 0.80
const_data_from_allocMethod · 0.80
create_const_alloc2Method · 0.80
declare_fn_extMethod · 0.80
load_errMethod · 0.80
call_libm_intrinsicMethod · 0.80
checked_binopMethod · 0.80

Calls 1

def_constantMethod · 0.80

Tested by

no test coverage detected