Home
last modified time | relevance | path

Searched refs:BaseCost (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp875 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost() local
879 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
1043 int BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost() local
1051 return LT.first * BaseCost + in getCmpSelInstrCost()
1054 return BaseCost; in getCmpSelInstrCost()
1060 int BaseCost = 1; in getCmpSelInstrCost() local
1062 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost()
1064 return BaseCost * in getCmpSelInstrCost()
1323 int BaseCost = ST->hasMVEIntegerOps() && Tp->isVectorTy() in getShuffleCost() local
1326 return BaseCost * in getShuffleCost()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp1393 InstructionCost BaseCost = in getMemoryOpCost() local
1401 BaseCost *= TLI->getLMULCost(LT.second); in getMemoryOpCost()
1402 return Cost + BaseCost; in getMemoryOpCost()
1619 unsigned BaseCost = 1; in getVectorInstrCost() local
1659 BaseCost = Opcode == Instruction::InsertElement ? 3 : 4; in getVectorInstrCost()
1661 return BaseCost + SlideCost; in getVectorInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp775 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local
776 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp5780 InstructionCost BaseCost; in getReductionPatternCost() local
5784 BaseCost = TTI.getMinMaxReductionCost(MinMaxID, VectorTy, in getReductionPatternCost()
5787 BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost()
5794 BaseCost += in getReductionPatternCost()
5801 return BaseCost; in getReductionPatternCost()
5842 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost) in getReductionPatternCost()
5856 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()
5895 (RedCost + ExtraExtCost) < (ExtCost0 + ExtCost1 + MulCost + BaseCost)) in getReductionPatternCost()
5905 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost()
5910 return I == RetI ? std::optional<InstructionCost>(BaseCost) : std::nullopt; in getReductionPatternCost()
H A DSLPVectorizer.cpp8276 InstructionCost BaseCost = R.getGatherCost(Gathers, !Root, ScalarTy); in getBuildVectorCost() local
8420 GatherCost = std::min(BaseCost, GatherCost); in getBuildVectorCost()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp909 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local
911 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3879 InstructionCost BaseCost = in getArithmeticReductionCost() local
3883 return BaseCost + FixedVTy->getNumElements(); in getArithmeticReductionCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h623 int BaseCost; member
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2516 if (Params.BaseCost < 0) in shouldKeepJumpConditionsTogether()
2520 InstructionCost CostThresh = Params.BaseCost; in shouldKeepJumpConditionsTogether()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3436 int BaseCost = BrMergingBaseCostThresh.getValue(); in getJumpConditionMergingParams() local
3438 if (BaseCost >= 0 && Subtarget.hasCCMP()) in getJumpConditionMergingParams()
3439 BaseCost += BrMergingCcmpBias; in getJumpConditionMergingParams()
3442 if (BaseCost >= 0 && Opc == Instruction::And && in getJumpConditionMergingParams()
3447 BaseCost += 1; in getJumpConditionMergingParams()
3448 return {BaseCost, BrMergingLikelyBias.getValue(), in getJumpConditionMergingParams()