/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 875 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 D | RISCVTargetTransformInfo.cpp | 1393 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 D | SystemZTargetTransformInfo.cpp | 775 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 D | LoopVectorize.cpp | 5780 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 D | SLPVectorizer.cpp | 8276 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 D | MachineBlockPlacement.cpp | 909 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 D | AArch64TargetTransformInfo.cpp | 3879 InstructionCost BaseCost = in getArithmeticReductionCost() local 3883 return BaseCost + FixedVTy->getNumElements(); in getArithmeticReductionCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 623 int BaseCost; member
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 2516 if (Params.BaseCost < 0) in shouldKeepJumpConditionsTogether() 2520 InstructionCost CostThresh = Params.BaseCost; in shouldKeepJumpConditionsTogether()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 3436 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()
|