Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1430 static Value *getPow(Value *InnerChain[33], unsigned Exp, IRBuilder<> &B) { in getPow()
1436 if (InnerChain[Exp]) in getPow()
1437 return InnerChain[Exp]; in getPow()
1450 InnerChain[Exp] = B.CreateFMul(getPow(InnerChain, AddChain[Exp][0], B), in getPow()
1451 getPow(InnerChain, AddChain[Exp][1], B)); in getPow()
1452 return InnerChain[Exp]; in getPow()
1771 Value *InnerChain[33] = {nullptr}; in optimizePow() local
1772 InnerChain[1] = Base; in optimizePow()
1773 InnerChain[2] = B.CreateFMul(Base, Base, "square"); in optimizePow()
1778 Value *FMul = getPow(InnerChain, ExpoA.convertToDouble(), B); in optimizePow()