Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp944 InstructionCost BaseCost = 2; in getMinMaxReductionCost() local
947 return (LT.first - 1) + BaseCost; in getMinMaxReductionCost()
950 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getMinMaxReductionCost()
977 InstructionCost BaseCost = 2; in getArithmeticReductionCost() local
980 return (LT.first - 1) + BaseCost; in getArithmeticReductionCost()
984 return (LT.first - 1) + BaseCost + VL; in getArithmeticReductionCost()
1049 InstructionCost BaseCost = in getMemoryOpCost() local
1057 BaseCost *= TLI->getLMULCost(LT.second); in getMemoryOpCost()
1058 return Cost + BaseCost; in getMemoryOpCost()
1223 unsigned BaseCost = 1; in getVectorInstrCost() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1047 return LT.first * BaseCost + in getCmpSelInstrCost()
1050 return BaseCost; in getCmpSelInstrCost()
1056 int BaseCost = 1; in getCmpSelInstrCost() local
1058 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost()
1060 return BaseCost * in getCmpSelInstrCost()
1314 return BaseCost * in getShuffleCost()
1433 int BaseCost = 1; in getArithmeticInstrCost() local
1442 return LT.first * BaseCost; in getArithmeticInstrCost()
1456 return BaseCost; in getArithmeticInstrCost()
1543 int BaseCost = in getInterleavedMemoryOpCost() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp773 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local
774 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6276 InstructionCost BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost() local
6282 BaseCost += in getReductionPatternCost()
6289 return BaseCost; in getReductionPatternCost()
6330 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost) in getReductionPatternCost()
6344 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()
6383 (RedCost + ExtraExtCost) < (ExtCost0 + ExtCost1 + MulCost + BaseCost)) in getReductionPatternCost()
6393 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost()
6398 return I == RetI ? std::optional<InstructionCost>(BaseCost) : std::nullopt; in getReductionPatternCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp904 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local
906 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3589 InstructionCost BaseCost = in getArithmeticReductionCost() local
3593 return BaseCost + FixedVTy->getNumElements(); in getArithmeticReductionCost()