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

Method fadd_fast

crates/rustc_codegen_nvvm/src/builder.rs:315–321  ·  view source on GitHub ↗
(&mut self, lhs: &'ll Value, rhs: &'ll Value)

Source from the content-addressed store, hash-verified

313 }
314
315 fn fadd_fast(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value {
316 unsafe {
317 let instr = llvm::LLVMBuildFAdd(self.llbuilder, lhs, rhs, unnamed());
318 llvm::LLVMRustSetFastMath(instr);
319 instr
320 }
321 }
322
323 fn fsub_fast(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value {
324 unsafe {

Callers

nothing calls this directly

Calls 2

unnamedFunction · 0.85
LLVMRustSetFastMathFunction · 0.85

Tested by

no test coverage detected