Home
last modified time | relevance | path

Searched refs:OldCost (Results 1 – 3 of 3) sorted by relevance

/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp191 InstructionCost OldCost = in vectorizeLoadInsert() local
194 OldCost += TTI.getScalarizationOverhead(MinVecTy, DemandedElts, in vectorizeLoadInsert()
216 if (OldCost < NewCost || !NewCost.isValid()) in vectorizeLoadInsert()
329 InstructionCost OldCost, NewCost; in isExtractExtractCheap() local
337 OldCost = CheapExtractCost + ScalarOpCost; in isExtractExtractCheap()
342 OldCost = Extract0Cost + Extract1Cost + ScalarOpCost; in isExtractExtractCheap()
367 return OldCost < NewCost; in isExtractExtractCheap()
634 InstructionCost OldCost = in scalarizeBinopOrCmp() local
641 if (OldCost < NewCost || !NewCost.isValid()) in scalarizeBinopOrCmp()
721 InstructionCost OldCost = in foldExtractedCmps() local
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3195 bool isPromotionProfitable(unsigned NewCost, unsigned OldCost,
4444 unsigned NewCost, unsigned OldCost, Value *PromotedOperand) const { in isPromotionProfitable() argument
4445 LLVM_DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost in isPromotionProfitable()
4450 if (NewCost > OldCost) in isPromotionProfitable()
4452 if (NewCost < OldCost) in isPromotionProfitable()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp567 unsigned OldCost = ConstantMaterializationCost(MulConstVal, Subtarget); in canExtractShiftFromMul() local
569 return NewCost < OldCost; in canExtractShiftFromMul()