Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1578 InstructionCost VectorCost = in getGatherScatterOpCost() local
1629 return VectorCost; in getGatherScatterOpCost()
1648 return VectorCost; in getGatherScatterOpCost()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7260 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
7279 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
7285 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
7286 return ScalarCost > VectorCost; in isProfitableToPromote()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp11414 InstructionCost VectorCost = 0, ScalarCost; in getReductionCost() local
11428 VectorCost = in getReductionCost()
11439 VectorCost = in getReductionCost()
11460 VectorCost = TTI->getMinMaxReductionCost(VectorTy, VecCondTy, in getReductionCost()
11476 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << VectorCost - ScalarCost in getReductionCost()
11479 return VectorCost - ScalarCost; in getReductionCost()
H A DLoopVectorize.cpp6164 InstructionCost VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local
6207 Discount += VectorCost - ScalarCost; in computePredInstDiscount()