Lines Matching +full:- +full:math
1 //===-- PPCGenScalarMASSEntries.cpp ---------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This transformation converts standard math functions into their
12 // tanh ---> __xl_tanh_finite
13 // Such lowering is legal under the fast-math option.
15 //===----------------------------------------------------------------------===//
25 #define DEBUG_TYPE "ppc-gen-scalar-mass"
62 // Returns true if 'afn' flag exists on the call instruction with the math
73 // with the math function
79 // FIXME: no-errno and trapping-math need to be set for MASS converstion in isFiniteCallSafe()
84 /// Lowers scalar math functions to scalar MASS functions.
85 /// e.g.: tanh --> __xl_tanh_finite or __xl_tanh
100 FunctionCallee FCache = M->getOrInsertFunction( in createScalarMASSCall()
133 Changed |= createScalarMASSCall(Iter->second, *CI, Func); in runOnModule()