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

Method frem_fast

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

Source from the content-addressed store, hash-verified

345 }
346
347 fn frem_fast(&mut self, lhs: &'ll Value, rhs: &'ll Value) -> &'ll Value {
348 unsafe {
349 let instr = llvm::LLVMBuildFRem(self.llbuilder, lhs, rhs, unnamed());
350 llvm::LLVMRustSetFastMath(instr);
351 instr
352 }
353 }
354
355 fn checked_binop(
356 &mut self,

Callers

nothing calls this directly

Calls 2

unnamedFunction · 0.85
LLVMRustSetFastMathFunction · 0.85

Tested by

no test coverage detected