Searched refs:SinCos (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1383 Value *Sin, *Cos, *SinCos; in callOptimizer() local 1385 SinCos); in callOptimizer() 1389 replaceTrigInsts(SinCosCalls, SinCos); in callOptimizer() 1453 Value *&SinCos) { in insertSinCosCall() 1489 SinCos = B.CreateCall(Callee, Arg, "sincospi"); in insertSinCosCall() 1491 if (SinCos->getType()->isStructTy()) { in insertSinCosCall() 1492 Sin = B.CreateExtractValue(SinCos, 0, "sinpi"); in insertSinCosCall() 1493 Cos = B.CreateExtractValue(SinCos, 1, "cospi"); in insertSinCosCall() 1495 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0), in insertSinCosCall() 1497 Cos = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 1), in insertSinCosCall()
|