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

Method fdiv_fast

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

Source from the content-addressed store, hash-verified

337 }
338
339 fn fdiv_fast(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value {
340 unsafe {
341 let instr = llvm::LLVMBuildFDiv(self.llbuilder, lhs, rhs, unnamed());
342 llvm::LLVMRustSetFastMath(instr);
343 instr
344 }
345 }
346
347 fn frem_fast(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value {
348 unsafe {

Callers

nothing calls this directly

Calls 2

unnamedFunction · 0.85
LLVMRustSetFastMathFunction · 0.85

Tested by

no test coverage detected