Searched refs:OldCost (Results 1 – 3 of 3) sorted by relevance
245 InstructionCost OldCost = in vectorizeLoadInsert() local249 OldCost += in vectorizeLoadInsert()273 if (OldCost < NewCost || !NewCost.isValid()) in vectorizeLoadInsert()327 InstructionCost OldCost = in widenSubvectorLoad() local336 if (OldCost < NewCost || !NewCost.isValid()) in widenSubvectorLoad()451 InstructionCost OldCost, NewCost; in isExtractExtractCheap() local459 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 …]
3544 bool isPromotionProfitable(unsigned NewCost, unsigned OldCost,4784 unsigned NewCost, unsigned OldCost, Value *PromotedOperand) const { in isPromotionProfitable() argument4785 LLVM_DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost in isPromotionProfitable()4790 if (NewCost > OldCost) in isPromotionProfitable()4792 if (NewCost < OldCost) in isPromotionProfitable()
590 unsigned OldCost = ConstantMaterializationCost(MulConstVal, Subtarget); in canExtractShiftFromMul() local592 return NewCost < OldCost; in canExtractShiftFromMul()