Lines Matching refs:FDiv
760 bool AMDGPUCodeGenPrepare::visitFDiv(BinaryOperator &FDiv) { in visitFDiv() argument
762 Type *Ty = FDiv.getType()->getScalarType(); in visitFDiv()
768 const FPMathOperator *FPOp = cast<const FPMathOperator>(&FDiv); in visitFDiv()
781 IRBuilder<> Builder(FDiv.getParent(), std::next(FDiv.getIterator())); in visitFDiv()
783 Builder.SetCurrentDebugLocation(FDiv.getDebugLoc()); in visitFDiv()
785 Value *Num = FDiv.getOperand(0); in visitFDiv()
786 Value *Den = FDiv.getOperand(1); in visitFDiv()
789 if (auto *VT = dyn_cast<FixedVectorType>(FDiv.getType())) { in visitFDiv()
819 FDiv.replaceAllUsesWith(NewFDiv); in visitFDiv()
820 NewFDiv->takeName(&FDiv); in visitFDiv()
821 FDiv.eraseFromParent(); in visitFDiv()