Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1492 Value *&SinCos);
1519 Value *Sin, *Cos, *SinCos; in optimizeSinCosPi() local
1520 insertSinCosCall(B, CI->getCalledFunction(), Arg, IsFloat, Sin, Cos, SinCos); in optimizeSinCosPi()
1524 replaceTrigInsts(SinCosCalls, SinCos); in optimizeSinCosPi()
1585 bool UseFloat, Value *&Sin, Value *&Cos, Value *&SinCos) { in insertSinCosCall() argument
1620 SinCos = B.CreateCall(Callee, Arg, "sincospi"); in insertSinCosCall()
1622 if (SinCos->getType()->isStructTy()) { in insertSinCosCall()
1623 Sin = B.CreateExtractValue(SinCos, 0, "sinpi"); in insertSinCosCall()
1624 Cos = B.CreateExtractValue(SinCos, 1, "cospi"); in insertSinCosCall()
1626 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0), in insertSinCosCall()
[all …]