Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDCodeGenPrepare.cpp2940 bool isPromotionProfitable(unsigned NewCost, unsigned OldCost,
4124 unsigned NewCost, unsigned OldCost, Value *PromotedOperand) const { in isPromotionProfitable() argument
4125 LLVM_DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost in isPromotionProfitable()
4130 if (NewCost > OldCost) in isPromotionProfitable()
4132 if (NewCost < OldCost) in isPromotionProfitable()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
HDARMISelDAGToDAG.cpp541 unsigned OldCost = ConstantMaterializationCost(MulConstVal, Subtarget); in canExtractShiftFromMul() local
543 return NewCost < OldCost; in canExtractShiftFromMul()