Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp793 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost() local
797 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
958 int BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost() local
966 return LT.first * BaseCost + in getCmpSelInstrCost()
968 return BaseCost; in getCmpSelInstrCost()
974 int BaseCost = 1; in getCmpSelInstrCost() local
976 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost()
978 return BaseCost * in getCmpSelInstrCost()
1238 int BaseCost = ST->hasMVEIntegerOps() && Tp->isVectorTy() in getShuffleCost() local
1241 return BaseCost * BaseT::getShuffleCost(Kind, Tp, Mask, Index, SubTp); in getShuffleCost()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp727 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local
728 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp873 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local
875 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7145 InstructionCost BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost() local
7167 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()
7190 if (RedCost.isValid() && RedCost < ExtCost * 2 + MulCost + BaseCost) in getReductionPatternCost()
7200 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost()
7205 return I == RetI ? BaseCost : InstructionCost::getInvalid(); in getReductionPatternCost()