MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / const_ptrcast

Method const_ptrcast

crates/rustc_codegen_nvvm/src/const_ty.rs:222–224  ·  view source on GitHub ↗
(&self, val: &'ll Value, ty: &'ll Type)

Source from the content-addressed store, hash-verified

220 }
221
222 fn const_ptrcast(&self, val: &'ll Value, ty: &'ll Type) -> &'ll Value {
223 unsafe { llvm::LLVMConstPointerCast(val, ty) }
224 }
225}
226
227#[inline]

Callers 1

get_fnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected