Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1518 InstructionCost VectorCost = in getGatherScatterOpCost() local
1569 return VectorCost; in getGatherScatterOpCost()
1588 return VectorCost; in getGatherScatterOpCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp7968 InstructionCost VectorCost, ScalarCost; in getReductionCost() local
7978 VectorCost = TTI->getArithmeticReductionCost(RdxOpcode, VectorTy, FMF); in getReductionCost()
7985 VectorCost = TTI->getMinMaxReductionCost(VectorTy, VecCondTy, in getReductionCost()
8000 VectorCost = TTI->getMinMaxReductionCost(VectorTy, VecCondTy, IsUnsigned); in getReductionCost()
8013 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << VectorCost - ScalarCost in getReductionCost()
8016 return VectorCost - ScalarCost; in getReductionCost()
H A DLoopVectorize.cpp6854 InstructionCost VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local
6897 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7153 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
7172 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
7178 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
7179 return ScalarCost > VectorCost; in isProfitableToPromote()