Lines Matching refs:OpC
1020 auto *OpC = dyn_cast<CallInst>(Op1); in optimizePow() local
1021 if (OpC && OpC->hasUnsafeAlgebra() && CI->hasUnsafeAlgebra()) { in optimizePow()
1023 Function *OpCCallee = OpC->getCalledFunction(); in optimizePow()
1028 Value *FMul = B.CreateFMul(OpC->getArgOperand(0), Op2, "mul"); in optimizePow()
1124 if (SIToFPInst *OpC = dyn_cast<SIToFPInst>(Op)) { in optimizeExp2() local
1125 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() <= 32) in optimizeExp2()
1126 LdExpArg = B.CreateSExt(OpC->getOperand(0), B.getInt32Ty()); in optimizeExp2()
1127 } else if (UIToFPInst *OpC = dyn_cast<UIToFPInst>(Op)) { in optimizeExp2() local
1128 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() < 32) in optimizeExp2()
1129 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty()); in optimizeExp2()
1215 auto *OpC = dyn_cast<CallInst>(Op1); in optimizeLog() local
1218 if (!OpC || !OpC->hasUnsafeAlgebra()) in optimizeLog()
1232 Function *F = OpC->getCalledFunction(); in optimizeLog()
1235 return B.CreateFMul(OpC->getArgOperand(1), in optimizeLog()
1236 emitUnaryFloatFnCall(OpC->getOperand(0), Callee->getName(), B, in optimizeLog()
1243 OpC->getArgOperand(0), in optimizeLog()
1325 auto *OpC = dyn_cast<CallInst>(Op1); in optimizeTan() local
1326 if (!OpC) in optimizeTan()
1330 if (!CI->hasUnsafeAlgebra() || !OpC->hasUnsafeAlgebra()) in optimizeTan()
1337 Function *F = OpC->getCalledFunction(); in optimizeTan()
1342 Ret = OpC->getArgOperand(0); in optimizeTan()