Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2599 bool isPromotionProfitable(unsigned NewCost, unsigned OldCost,
3060 unsigned NewCost, unsigned OldCost, Value *PromotedOperand) const { in isPromotionProfitable() argument
3061 DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost << '\n'); in isPromotionProfitable()
3065 if (NewCost > OldCost) in isPromotionProfitable()
3067 if (NewCost < OldCost) in isPromotionProfitable()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp528 unsigned OldCost = ConstantMaterializationCost(MulConstVal); in canExtractShiftFromMul() local
530 return NewCost < OldCost; in canExtractShiftFromMul()