Home
last modified time | relevance | path

Searched refs:FSub (Results 1 – 25 of 85) 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()
1946 I.getOpcode() == Instruction::FSub) && "Expecting fadd/fsub"); in factorizeFAddFSub()
3179 Instruction::FSub, C, ConstantFP::get(Ty, 1.0), DL)) in visitFSub()
3185 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()
178 case Instruction::FSub: in walkBackwards()
264 case Instruction::FSub: in calcRange()
459 case Instruction::FSub: in convert()
H A DReassociate.cpp983 isReassociableOp(V0, Instruction::Sub, Instruction::FSub)) in ShouldBreakUpSubtract()
987 isReassociableOp(V1, Instruction::Sub, Instruction::FSub)) in ShouldBreakUpSubtract()
992 isReassociableOp(VB, Instruction::Sub, Instruction::FSub))) in ShouldBreakUpSubtract()
2066 I->getOpcode() == Instruction::FSub) && "Expected fadd/fsub"); in canonicalizeNegFPConstantsForOp()
2078 bool IsFSub = I->getOpcode() == Instruction::FSub; in canonicalizeNegFPConstantsForOp()
2227 I->getOpcode() == Instruction::FSub) { in OptimizeInst()
2278 cast<Instruction>(BO->user_back())->getOpcode() == Instruction::FSub) in OptimizeInst()
H A DSpeculativeExecution.cpp241 case Instruction::FSub: in ComputeSpeculationCost()
H A DGVNSink.cpp407 case Instruction::FSub: in lookupOrAdd()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp207 case AtomicRMWInst::FSub: in visitAtomicRMWInst()
354 case AtomicRMWInst::FSub: in buildNonAtomicBinOp()
627 case AtomicRMWInst::FSub: in getIdentityValueForAtomicOp()
719 } else if (Op == AtomicRMWInst::FSub) { in optimizeAtomic()
781 case AtomicRMWInst::FSub: { in optimizeAtomic()
938 case AtomicRMWInst::FSub: { in optimizeAtomic()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsOs16.cpp83 case Instruction::FSub: in needsFP()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DComplexDeinterleavingPass.cpp677 return Op == Instruction::FSub || Op == Instruction::Sub; in identifyPartialMul()
791 if ((Real->getOpcode() == Instruction::FSub && in identifyAdd()
797 Imag->getOpcode() == Instruction::FSub) || in identifyAdd()
839 return (OpcA == Instruction::FSub && OpcB == Instruction::FAdd) || in isInstructionPairAdd()
840 (OpcA == Instruction::FAdd && OpcB == Instruction::FSub) || in isInstructionPairAdd()
855 case Instruction::FSub: in isInstructionPotentiallySymmetric()
1123 return Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in identifyReassocNodes()
1184 case Instruction::FSub: in identifyReassocNodes()
1539 TmpNode->Opcode = Instruction::FSub; in identifyAdditions()
2122 case Instruction::FSub: in replaceSymmetricNode()
/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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp85 case AtomicRMWInst::FSub: in buildAtomicRMWValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValues.def96 OP(FSub) \
/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.h359 case Instruction::FSub:
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp786 case Instruction::FSub: in getConstantValue()
821 case Instruction::FSub: in getConstantValue()
836 case Instruction::FSub: in getConstantValue()
857 case Instruction::FSub: in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DLegality.cpp130 case Instruction::Opcode::FSub: in notVectorizableBasedOnOpcodesAndTypes()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp914 case Instruction::FSub: in isRecurrenceInstr()
1370 InductionBinOp->getOpcode() == Instruction::FSub))) && in InductionDescriptor()
1418 } 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.cpp632 case Instruction::FSub: in CanInterpret()
779 case Instruction::FSub: in Interpret()
826 case Instruction::FSub: in Interpret()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h312 case Instruction::FSub: // 0.0 - X (doesn't simplify, but it is safe) in getSafeVectorConstantForBinop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/
H A DBottomUpVec.cpp123 case Instruction::Opcode::FSub: in createVectorInstr()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp699 case Instruction::FSub: in ConstantFoldBinaryInstruction()
860 case Instruction::FSub: in ConstantFoldBinaryInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp594 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in getArithmeticInstrCost()
680 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp382 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } in Act()

1234