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

Method zext

crates/rustc_codegen_nvvm/src/builder.rs:1128–1131  ·  view source on GitHub ↗
(&mut self, val: &'ll Value, dest_ty: &'ll Type)

Source from the content-addressed store, hash-verified

1126 }
1127
1128 fn zext(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value {
1129 trace!("Zext {:?} to {:?}", val, dest_ty);
1130 unsafe { llvm::LLVMBuildZExt(self.llbuilder, val, dest_ty, unnamed()) }
1131 }
1132
1133 fn cx(&self) -> &CodegenCx<'ll, 'tcx> {
1134 self.cx

Callers 1

from_immediateMethod · 0.80

Calls 1

unnamedFunction · 0.85

Tested by

no test coverage detected