Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1513 InstructionCost VectorCost = in getGatherScatterOpCost() local
1564 return VectorCost; in getGatherScatterOpCost()
1583 return VectorCost; in getGatherScatterOpCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp7604 InstructionCost VectorCost, ScalarCost; in getReductionCost() local
7614 VectorCost = TTI->getArithmeticReductionCost(RdxOpcode, VectorTy, in getReductionCost()
7622 VectorCost = in getReductionCost()
7638 VectorCost = in getReductionCost()
7653 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << VectorCost - ScalarCost in getReductionCost()
7656 return VectorCost - ScalarCost; in getReductionCost()
H A DLoopVectorize.cpp6793 InstructionCost VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local
6839 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7123 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
7142 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
7148 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
7149 return ScalarCost > VectorCost; in isProfitableToPromote()