Searched refs:SinCos (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 2121 Value *&SinCos) { in insertSinCosCall() argument 2156 SinCos = B.CreateCall(Callee, Arg, "sincospi"); in insertSinCosCall() 2158 if (SinCos->getType()->isStructTy()) { in insertSinCosCall() 2159 Sin = B.CreateExtractValue(SinCos, 0, "sinpi"); in insertSinCosCall() 2160 Cos = B.CreateExtractValue(SinCos, 1, "cospi"); in insertSinCosCall() 2162 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0), in insertSinCosCall() 2164 Cos = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 1), in insertSinCosCall() 2193 Value *Sin, *Cos, *SinCos; in optimizeSinCosPi() local 2194 insertSinCosCall(B, CI->getCalledFunction(), Arg, IsFloat, Sin, Cos, SinCos); in optimizeSinCosPi() 2204 replaceTrigInsts(SinCosCalls, SinCos); in optimizeSinCosPi()
|