Home
last modified time | relevance | path

Searched refs:SinCos (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1356 Value *&SinCos) { in insertSinCosCall() argument
1391 SinCos = B.CreateCall(Callee, Arg, "sincospi"); in insertSinCosCall()
1393 if (SinCos->getType()->isStructTy()) { in insertSinCosCall()
1394 Sin = B.CreateExtractValue(SinCos, 0, "sinpi"); in insertSinCosCall()
1395 Cos = B.CreateExtractValue(SinCos, 1, "cospi"); in insertSinCosCall()
1397 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0), in insertSinCosCall()
1399 Cos = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 1), in insertSinCosCall()
1428 Value *Sin, *Cos, *SinCos; in optimizeSinCosPi() local
1429 insertSinCosCall(B, CI->getCalledFunction(), Arg, IsFloat, Sin, Cos, SinCos); in optimizeSinCosPi()
1433 replaceTrigInsts(SinCosCalls, SinCos); in optimizeSinCosPi()