Home
last modified time | relevance | path

Searched refs:FSub (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp29 case AtomicRMWInst::FSub: // +0.0 in isIdempotentRMW()
72 case AtomicRMWInst::FSub: in isSaturating()
H A DInstCombineAddSub.cpp355 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub) { in drillValueDownOneStep()
378 if (Opcode == Instruction::FSub) in drillValueDownOneStep()
436 I->getOpcode() == Instruction::FSub) && "Expect add/sub"); in simplify()
1845 I.getOpcode() == Instruction::FSub) && "Expecting fadd/fsub"); in factorizeFAddFSub()
2942 Instruction::FSub, C, ConstantFP::get(Ty, 1.0), DL)) in visitFSub()
2948 Instruction::FSub, ConstantFP::get(Ty, 1.0), C, DL)) in visitFSub()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp82 case Instruction::FSub: return Instruction::Sub; in mapBinOpcode()
182 case Instruction::FSub: in walkBackwards()
268 case Instruction::FSub: in calcRange()
463 case Instruction::FSub: in convert()
H A DReassociate.cpp990 isReassociableOp(V0, Instruction::Sub, Instruction::FSub)) in ShouldBreakUpSubtract()
994 isReassociableOp(V1, Instruction::Sub, Instruction::FSub)) in ShouldBreakUpSubtract()
999 isReassociableOp(VB, Instruction::Sub, Instruction::FSub))) in ShouldBreakUpSubtract()
2065 I->getOpcode() == Instruction::FSub) && "Expected fadd/fsub"); in canonicalizeNegFPConstantsForOp()
2077 bool IsFSub = I->getOpcode() == Instruction::FSub; in canonicalizeNegFPConstantsForOp()
2225 I->getOpcode() == Instruction::FSub) { in OptimizeInst()
2276 cast<Instruction>(BO->user_back())->getOpcode() == Instruction::FSub) in OptimizeInst()
H A DSpeculativeExecution.cpp241 case Instruction::FSub: in ComputeSpeculationCost()
H A DGVNSink.cpp488 case Instruction::FSub: in lookupOrAdd()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp220 case AtomicRMWInst::FSub: in visitAtomicRMWInst()
372 case AtomicRMWInst::FSub: in buildNonAtomicBinOp()
645 case AtomicRMWInst::FSub: in getIdentityValueForAtomicOp()
738 } else if (Op == AtomicRMWInst::FSub) { in optimizeAtomic()
800 case AtomicRMWInst::FSub: { in optimizeAtomic()
951 case AtomicRMWInst::FSub: { in optimizeAtomic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DComplexDeinterleavingPass.cpp661 return Op == Instruction::FSub || Op == Instruction::Sub; in identifyPartialMul()
775 if ((Real->getOpcode() == Instruction::FSub && in identifyAdd()
781 Imag->getOpcode() == Instruction::FSub) || in identifyAdd()
823 return (OpcA == Instruction::FSub && OpcB == Instruction::FAdd) || in isInstructionPairAdd()
824 (OpcA == Instruction::FAdd && OpcB == Instruction::FSub) || in isInstructionPairAdd()
839 case Instruction::FSub: in isInstructionPotentiallySymmetric()
958 return Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in identifyReassocNodes()
1020 case Instruction::FSub: in identifyReassocNodes()
1375 TmpNode->Opcode = Instruction::FSub; in identifyAdditions()
1897 case Instruction::FSub: in replaceSymmetricNode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp102 case Instruction::FSub: in inferScalarTypeForRecipe()
168 case Instruction::FSub: in inferScalarTypeForRecipe()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsOs16.cpp83 case Instruction::FSub: in needsFP()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp74 case AtomicRMWInst::FSub: in buildAtomicRMWValue()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp47 Ops.push_back(binOpDescriptor(1, Instruction::FSub)); in describeFuzzerFloatOps()
137 case Instruction::FSub: in binOpDescriptor()
H A DIRMutator.cpp327 case Instruction::FSub: in mutate()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstrainedOps.def53 DAG_INSTRUCTION(FSub, 2, 1, experimental_constrained_fsub, FSUB)
H A DInstruction.def150 HANDLE_BINARY_INST(16, FSub , BinaryOperator)
H A DOperator.h339 case Instruction::FSub:
H A DPatternMatch.h1110 inline BinaryOp_match<LHS, RHS, Instruction::FSub> m_FSub(const LHS &L, in m_FSub()
1112 return BinaryOp_match<LHS, RHS, Instruction::FSub>(L, R); in m_FSub()
1127 if (FPMO->getOpcode() == Instruction::FSub) { in match()
1152 inline BinaryOp_match<cstfp_pred_ty<is_any_zero_fp>, RHS, Instruction::FSub>
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp787 case Instruction::FSub: in getConstantValue()
822 case Instruction::FSub: in getConstantValue()
837 case Instruction::FSub: in getConstantValue()
858 case Instruction::FSub: in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp790 case Instruction::FSub: in isRecurrenceInstr()
1259 InductionBinOp->getOpcode() == Instruction::FSub))) && in InductionDescriptor()
1310 } else if (BOp->getOpcode() == Instruction::FSub) in isFPInductionPHI()
H A DObjCARCInstKind.cpp255 case Instruction::FSub: in GetARCInstKind()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp636 case Instruction::FSub: in CanInterpret()
782 case Instruction::FSub: in Interpret()
831 case Instruction::FSub: in Interpret()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h316 case Instruction::FSub: // 0.0 - X (doesn't simplify, but it is safe) in getSafeVectorConstantForBinop()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp478 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in getArithmeticInstrCost()
560 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp704 case Instruction::FSub: in ConstantFoldBinaryInstruction()
881 case Instruction::FSub: in ConstantFoldBinaryInstruction()
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp394 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } in Act()

1234