Home
last modified time | relevance | path

Searched refs:FDiv (Results 1 – 25 of 61) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp324 return {Instruction::FDiv, FTZ_Any}; in simplifyNvvmIntrinsic()
326 return {Instruction::FDiv, FTZ_MustBeOff}; in simplifyNvvmIntrinsic()
328 return {Instruction::FDiv, FTZ_MustBeOn}; in simplifyNvvmIntrinsic()
409 Instruction::FDiv, ConstantFP::get(II->getArgOperand(0)->getType(), 1), in simplifyNvvmIntrinsic()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp762 bool AMDGPUCodeGenPrepare::visitFDiv(BinaryOperator &FDiv) { in visitFDiv() argument
764 Type *Ty = FDiv.getType()->getScalarType(); in visitFDiv()
775 const FPMathOperator *FPOp = cast<const FPMathOperator>(&FDiv); in visitFDiv()
788 IRBuilder<> Builder(FDiv.getParent(), std::next(FDiv.getIterator())); in visitFDiv()
790 Builder.SetCurrentDebugLocation(FDiv.getDebugLoc()); in visitFDiv()
792 Value *Num = FDiv.getOperand(0); in visitFDiv()
793 Value *Den = FDiv.getOperand(1); in visitFDiv()
796 if (auto *VT = dyn_cast<FixedVectorType>(FDiv.getType())) { in visitFDiv()
826 FDiv.replaceAllUsesWith(NewFDiv); in visitFDiv()
827 NewFDiv->takeName(&FDiv); in visitFDiv()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILShaderFlags.cpp28 case Instruction::FDiv: in updateFlags()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsOs16.cpp85 case Instruction::FDiv: in needsFP()
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DOperations.cpp49 Ops.push_back(binOpDescriptor(1, Instruction::FDiv)); in describeFuzzerFloatOps()
114 case Instruction::FDiv: in binOpDescriptor()
H A DIRMutator.cpp294 case Instruction::FDiv: in mutate()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp243 case Instruction::FDiv: in ComputeSpeculationCost()
H A DGVNSink.cpp463 case Instruction::FDiv: in lookupOrAdd()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DConstrainedOps.def55 DAG_INSTRUCTION(FDiv, 2, 1, experimental_constrained_fdiv, FDIV)
H A DOperator.h311 case Instruction::FDiv: in classof()
H A DInstruction.def155 HANDLE_BINARY_INST(21, FDiv , BinaryOperator)
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceOpcodes.cpp212 case Instruction::FDiv: in reduceInstruction()
/openbsd-src/gnu/llvm/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp400 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } in Act()
401 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } in Act()
/openbsd-src/gnu/llvm/lldb/source/Expression/
H A DIRInterpreter.cpp634 case Instruction::FDiv: in CanInterpret()
754 case Instruction::FDiv: { in Interpret()
814 case Instruction::FDiv: in Interpret()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp814 case Instruction::FDiv: in getConstantValue()
829 case Instruction::FDiv: in getConstantValue()
856 case Instruction::FDiv: in getConstantValue()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp490 assert((Opcode == Instruction::FMul || Opcode == Instruction::FDiv) && in foldFPSignBitOps()
583 ConstantFoldBinaryOpOperands(Instruction::FDiv, C, C1, DL); in visitFMul()
590 ConstantFoldBinaryOpOperands(Instruction::FDiv, C1, C, DL); in visitFMul()
1489 Instruction::FDiv, ConstantFP::get(I.getType(), 1.0), C, DL); in foldFDivConstantDivisor()
1517 NewC = ConstantFoldBinaryOpOperands(Instruction::FDiv, C, C2, DL); in foldFDivConstantDividend()
H A DInstCombineAddSub.cpp2419 Instruction *FDiv = BinaryOperator::CreateFDivFMF(NegC, X, &I); in foldFNegIntoConstant() local
2426 FDiv->setHasNoSignedZeros(FMF.noSignedZeros() && OpFMF.noSignedZeros()); in foldFNegIntoConstant()
2427 FDiv->setHasNoInfs(FMF.noInfs() && OpFMF.noInfs()); in foldFNegIntoConstant()
2428 return FDiv; in foldFNegIntoConstant()
2621 Value *FDiv = Builder.CreateFDivFMF(X, Y, &I); in visitFSub() local
2622 return BinaryOperator::CreateFAddFMF(Op0, FDiv, &I); in visitFSub()
H A DInstCombineVectorOps.cpp1763 case Instruction::FDiv: in canEvaluateShuffled()
1830 case Instruction::FDiv: in buildNew()
1920 case Instruction::FDiv: in evaluateInDifferentElementOrder()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h348 case Instruction::FDiv: // 0.0 / X (doesn't simplify, but it is safe) in getSafeVectorConstantForBinop()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp474 Opcode == Instruction::FMul || Opcode == Instruction::FDiv) in getArithmeticInstrCost()
550 Opcode == Instruction::FMul || Opcode == Instruction::FDiv) { in getArithmeticInstrCost()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h506 case Instruction::FDiv:
1081 case Instruction::FDiv: in getInstructionCost()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp260 case Instruction::FDiv: in GetARCInstKind()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp434 Opcode == Instruction::FDiv || Opcode == Instruction::FRem || in setFastMathFlags()
577 case Instruction::FDiv: in execute()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp801 case Instruction::FDiv: FLOAT_VECTOR_OP(/) break; in visitBinaryOperator()
831 case Instruction::FDiv: executeFDivInst(R, Src1, Src2, Ty); break; in visitBinaryOperator()
2075 case Instruction::FDiv: executeFDivInst(Dest, Op0, Op1, Ty); break; in getConstantExprValue()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstruction.cpp425 case FDiv: return "fdiv"; in getOpcodeName()

123