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

Method fsub_fast

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

Source from the content-addressed store, hash-verified

321 }
322
323 fn fsub_fast(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value {
324 unsafe {
325 let instr = llvm::LLVMBuildFSub(self.llbuilder, lhs, rhs, unnamed());
326 llvm::LLVMRustSetFastMath(instr);
327 instr
328 }
329 }
330
331 fn fmul_fast(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value {
332 unsafe {

Callers

nothing calls this directly

Calls 2

unnamedFunction · 0.85
LLVMRustSetFastMathFunction · 0.85

Tested by

no test coverage detected