| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAtomicRMW.cpp | 27 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 D | InstCombineAddSub.cpp | 182 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 D | InstCombineSelect.cpp | 224 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 D | IVDescriptors.cpp | 186 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 D | Float2Int.cpp | 81 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 D | Reassociate.cpp | 788 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 D | SpeculativeExecution.cpp | 240 case Instruction::FAdd: in ComputeSpeculationCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 206 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 D | AMDGPUTargetTransformInfo.cpp | 589 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 D | MipsOs16.cpp | 82 case Instruction::FAdd: in needsFP()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ComplexDeinterleavingPass.cpp | 674 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 D | Operations.cpp | 46 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 D | LowerAtomic.cpp | 83 case AtomicRMWInst::FAdd: in buildAtomicRMWValue()
|
| H A D | LoopUtils.cpp | 928 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 D | Values.def | 94 OP(FAdd) \
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 594 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 D | ConstrainedOps.def | 52 DAG_INSTRUCTION(FAdd, 2, 1, experimental_constrained_fadd, FADD)
|
| H A D | Instruction.def | 148 HANDLE_BINARY_INST(14, FAdd , BinaryOperator)
|
| H A D | Operator.h | 358 case Instruction::FAdd:
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 784 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 D | Legality.cpp | 128 case Instruction::Opcode::FAdd: in notVectorizableBasedOnOpcodesAndTypes()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 46 FAdd, ///< Sum of floats. enumerator
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVELaneInterleavingPass.cpp | 236 case Instruction::FAdd: in tryInterleave()
|
| /freebsd/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 631 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 D | RISCVTargetTransformInfo.h | 378 case RecurKind::FAdd: in isLegalToVectorizeReduction()
|