Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp245 InstructionCost OldCost = in vectorizeLoadInsert() local
249 OldCost += in vectorizeLoadInsert()
273 if (OldCost < NewCost || !NewCost.isValid()) in vectorizeLoadInsert()
327 InstructionCost OldCost = in widenSubvectorLoad() local
336 if (OldCost < NewCost || !NewCost.isValid()) in widenSubvectorLoad()
451 InstructionCost OldCost, NewCost; in isExtractExtractCheap() local
459 OldCost = CheapExtractCost + ScalarOpCost; in isExtractExtractCheap()
464 OldCost = Extract0Cost + Extract1Cost + ScalarOpCost; in isExtractExtractCheap()
489 return OldCost < NewCost; in isExtractExtractCheap()
669 InstructionCost OldCost = in foldInsExtFNeg() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3544 bool isPromotionProfitable(unsigned NewCost, unsigned OldCost,
4784 unsigned NewCost, unsigned OldCost, Value *PromotedOperand) const { in isPromotionProfitable() argument
4785 LLVM_DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost in isPromotionProfitable()
4790 if (NewCost > OldCost) in isPromotionProfitable()
4792 if (NewCost < OldCost) in isPromotionProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp590 unsigned OldCost = ConstantMaterializationCost(MulConstVal, Subtarget); in canExtractShiftFromMul() local
592 return NewCost < OldCost; in canExtractShiftFromMul()