Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1268 Value *&SinCos);
1295 Value *Sin, *Cos, *SinCos; in optimizeSinCosPi() local
1296 insertSinCosCall(B, CI->getCalledFunction(), Arg, IsFloat, Sin, Cos, SinCos); in optimizeSinCosPi()
1300 replaceTrigInsts(SinCosCalls, SinCos); in optimizeSinCosPi()
1363 bool UseFloat, Value *&Sin, Value *&Cos, Value *&SinCos) { in insertSinCosCall() argument
1399 SinCos = B.CreateCall(Callee, Arg, "sincospi"); in insertSinCosCall()
1401 if (SinCos->getType()->isStructTy()) { in insertSinCosCall()
1402 Sin = B.CreateExtractValue(SinCos, 0, "sinpi"); in insertSinCosCall()
1403 Cos = B.CreateExtractValue(SinCos, 1, "cospi"); in insertSinCosCall()
1405 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0), in insertSinCosCall()
[all …]