Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DInlineCost.cpp134 DenseMap<Value *, int>::iterator &CostIt);
135 void disableSROA(DenseMap<Value *, int>::iterator CostIt);
137 void accumulateSROACost(DenseMap<Value *, int>::iterator CostIt,
250 Value *V, Value *&Arg, DenseMap<Value *, int>::iterator &CostIt) { in lookupSROAArgAndCost() argument
259 CostIt = SROAArgCosts.find(Arg); in lookupSROAArgAndCost()
260 return CostIt != SROAArgCosts.end(); in lookupSROAArgAndCost()
267 void CallAnalyzer::disableSROA(DenseMap<Value *, int>::iterator CostIt) { in disableSROA() argument
270 Cost += CostIt->second; in disableSROA()
271 SROACostSavings -= CostIt->second; in disableSROA()
272 SROACostSavingsLost += CostIt->second; in disableSROA()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp187 DenseMap<Value *, int>::iterator &CostIt);
188 void disableSROA(DenseMap<Value *, int>::iterator CostIt);
191 void accumulateSROACost(DenseMap<Value *, int>::iterator CostIt,
322 Value *V, Value *&Arg, DenseMap<Value *, int>::iterator &CostIt) { in lookupSROAArgAndCost() argument
331 CostIt = SROAArgCosts.find(Arg); in lookupSROAArgAndCost()
332 return CostIt != SROAArgCosts.end(); in lookupSROAArgAndCost()
339 void CallAnalyzer::disableSROA(DenseMap<Value *, int>::iterator CostIt) { in disableSROA() argument
342 Cost += CostIt->second; in disableSROA()
343 SROACostSavings -= CostIt->second; in disableSROA()
344 SROACostSavingsLost += CostIt->second; in disableSROA()
[all …]