Home
last modified time | relevance | path

Searched refs:FAdd (Results 1 – 25 of 104) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp27 case AtomicRMWInst::FAdd: // -0.0 in isIdempotentRMW()
71 case AtomicRMWInst::FAdd: in isSaturating()
135 RMWI.getOperation() != AtomicRMWInst::FAdd) { in visitAtomicRMWInst()
136 RMWI.setOperation(AtomicRMWInst::FAdd); in visitAtomicRMWInst()
H A DInstCombineAddSub.cpp182 Value *simplify(Instruction *FAdd);
355 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub) { in drillValueDownOneStep()
435 assert((I->getOpcode() == Instruction::FAdd || in simplify()
1028 constexpr unsigned AddOp = FP ? Instruction::FAdd : Instruction::Add; in matchesSquareSum()
1945 assert((I.getOpcode() == Instruction::FAdd || in factorizeFAddFSub()
1974 bool IsFAdd = I.getOpcode() == Instruction::FAdd; in factorizeFAddFSub()
2071 Instruction::FAdd, MulC, ConstantFP::get(I.getType(), 1.0), DL)) in visitFAdd()
3117 Value *FAdd = Builder.CreateFAddFMF(X, Op1, &I); in visitFSub() local
3118 return UnaryOperator::CreateFNegFMF(FAdd, &I); in visitFSub()
3227 Value *FAdd = Builder.CreateFAddFMF(Y, Op1, &I); in visitFSub() local
[all …]
H A DInstCombineSelect.cpp224 case Instruction::FAdd: in getSelectFoldableOperands()
2091 FI->getOpcode() == Instruction::FAdd)) { in foldAddSubSelect()
2097 TI->getOpcode() == Instruction::FAdd)) { in foldAddSubSelect()
3801 Instruction *FAdd, Constant *C, bool Swapped) -> Value * { in foldSelectIntoAddConstant() argument
3807 if (!match(FAdd, m_FAdd(m_Specific(X), m_Specific(C)))) in foldSelectIntoAddConstant()
3815 NewFAdd->takeName(FAdd); in foldSelectIntoAddConstant()
3819 FastMathFlags FAddFMF = FAdd->getFastMathFlags(); in foldSelectIntoAddConstant()
3832 Instruction *FAdd; in foldSelectIntoAddConstant() local
3841 m_OneUse(m_Instruction(FAdd)), m_Constant(C)))) in foldSelectIntoAddConstant()
3842 return TryFoldIntoAddConstant(Pred, X, Z, FAdd, C, /*Swapped=*/false); in foldSelectIntoAddConstant()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp186 if (Kind != RecurKind::FAdd && Kind != RecurKind::FMulAdd) in checkOrderedReduction()
189 if (Kind == RecurKind::FAdd && Exit->getOpcode() != Instruction::FAdd) in checkOrderedReduction()
204 if (Kind == RecurKind::FAdd && Op0 != Phi && Op1 != Phi) in checkOrderedReduction()
408 if (IsASelect && (Kind == RecurKind::FAdd || Kind == RecurKind::FMul) && in AddReductionVar()
915 case Instruction::FAdd: in isRecurrenceInstr()
916 return InstDesc(Kind == RecurKind::FAdd, I, in isRecurrenceInstr()
919 if (Kind == RecurKind::FAdd || Kind == RecurKind::FMul || in isRecurrenceInstr()
1067 if (AddReductionVar(Phi, RecurKind::FAdd, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI()
1222 case RecurKind::FAdd: in getOpcode()
1223 return Instruction::FAdd; in getOpcode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp81 case Instruction::FAdd: return Instruction::Add; in mapBinOpcode()
177 case Instruction::FAdd: in walkBackwards()
263 case Instruction::FAdd: in calcRange()
458 case Instruction::FAdd: in convert()
H A DReassociate.cpp788 isReassociableOp(V, Instruction::Add, Instruction::FAdd)) { in NegateValue()
982 if (isReassociableOp(V0, Instruction::Add, Instruction::FAdd) || in ShouldBreakUpSubtract()
986 if (isReassociableOp(V1, Instruction::Add, Instruction::FAdd) || in ShouldBreakUpSubtract()
991 (isReassociableOp(VB, Instruction::Add, Instruction::FAdd) || in ShouldBreakUpSubtract()
1945 case Instruction::FAdd: in OptimizeExpression()
2065 assert((I->getOpcode() == Instruction::FAdd || in canonicalizeNegFPConstantsForOp()
2277 if (BO->hasOneUse() && BO->getOpcode() == Instruction::FAdd && in OptimizeInst()
2336 Instruction::FAdd && in ReassociateExpression()
H A DSpeculativeExecution.cpp240 case Instruction::FAdd: in ComputeSpeculationCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp206 case AtomicRMWInst::FAdd: in visitAtomicRMWInst()
350 case AtomicRMWInst::FAdd: in buildNonAtomicBinOp()
625 case AtomicRMWInst::FAdd: in getIdentityValueForAtomicOp()
720 ScanOp = AtomicRMWInst::FAdd; in optimizeAtomic()
780 case AtomicRMWInst::FAdd: in optimizeAtomic()
937 case AtomicRMWInst::FAdd: in optimizeAtomic()
H A DAMDGPUTargetTransformInfo.cpp589 if (const auto *FAdd = dyn_cast<BinaryOperator>(*CxtI->user_begin())) { in getArithmeticInstrCost() local
590 const int OPC = TLI->InstructionOpcodeToISD(FAdd->getOpcode()); in getArithmeticInstrCost()
601 (FAdd->hasAllowContract() && CxtI->hasAllowContract())) in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsOs16.cpp82 case Instruction::FAdd: in needsFP()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DComplexDeinterleavingPass.cpp674 return Op == Instruction::FAdd || Op == Instruction::Add; in identifyPartialMul()
792 Imag->getOpcode() == Instruction::FAdd) || in identifyAdd()
796 else if ((Real->getOpcode() == Instruction::FAdd && in identifyAdd()
839 return (OpcA == Instruction::FSub && OpcB == Instruction::FAdd) || in isInstructionPairAdd()
840 (OpcA == Instruction::FAdd && OpcB == Instruction::FSub) || in isInstructionPairAdd()
854 case Instruction::FAdd: in isInstructionPotentiallySymmetric()
1123 return Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in identifyReassocNodes()
1179 case Instruction::FAdd: in identifyReassocNodes()
1529 TmpNode->Opcode = Instruction::FAdd; in identifyAdditions()
2116 case Instruction::FAdd: in replaceSymmetricNode()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp46 Ops.push_back(binOpDescriptor(1, Instruction::FAdd)); in describeFuzzerFloatOps()
136 case Instruction::FAdd: in binOpDescriptor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp83 case AtomicRMWInst::FAdd: in buildAtomicRMWValue()
H A DLoopUtils.cpp928 case RecurKind::FAdd: in getReductionIntrinsicID()
961 return Instruction::FAdd; in getArithmeticReductionInstruction()
1323 case RecurKind::FAdd: in createSimpleReduction()
1349 assert((Kind == RecurKind::FAdd || Kind == RecurKind::FMulAdd) && in createOrderedReduction()
1360 assert((Kind == RecurKind::FAdd || Kind == RecurKind::FMulAdd) && in createOrderedReduction()
1365 Intrinsic::ID Id = getReductionIntrinsicID(RecurKind::FAdd); in createOrderedReduction()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValues.def94 OP(FAdd) \
/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()
1456 return Opcode == Instruction::FAdd || Opcode == Instruction::FMul || in customCostReductions()
1479 if ((Opcode == Instruction::FAdd) || (Opcode == Instruction::FMul)) in getArithmeticReductionCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstrainedOps.def52 DAG_INSTRUCTION(FAdd, 2, 1, experimental_constrained_fadd, FADD)
H A DInstruction.def148 HANDLE_BINARY_INST(14, FAdd , BinaryOperator)
H A DOperator.h358 case Instruction::FAdd:
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp784 case Instruction::FAdd: in getConstantValue()
819 case Instruction::FAdd: in getConstantValue()
834 case Instruction::FAdd: in getConstantValue()
853 case Instruction::FAdd: in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DLegality.cpp128 case Instruction::Opcode::FAdd: in notVectorizableBasedOnOpcodesAndTypes()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h46 FAdd, ///< Sum of floats. enumerator
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp236 case Instruction::FAdd: in tryInterleave()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp631 case Instruction::FAdd: in CanInterpret()
778 case Instruction::FAdd: in Interpret()
818 case Instruction::FAdd: in Interpret()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h378 case RecurKind::FAdd: in isLegalToVectorizeReduction()

12345