Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp474 uint64_t RepairCost = getRepairCost(MO, ValMapping); in computeMapping() local
477 if (RepairCost == std::numeric_limits<unsigned>::max()) in computeMapping()
482 uint64_t Bias = (RepairCost * PercentageForBias + 99) / 100; in computeMapping()
487 assert(((RepairCost < RepairCost * PercentageForBias) && in computeMapping()
488 (RepairCost * PercentageForBias < in computeMapping()
489 RepairCost * PercentageForBias + 99)) && in computeMapping()
495 Saturated = Cost.addLocalCost(RepairCost); in computeMapping()
497 uint64_t CostForInsertPt = RepairCost; in computeMapping()
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp423 uint64_t RepairCost = getRepairCost(MO, ValMapping); in computeMapping() local
426 uint64_t Bias = (RepairCost * PercentageForBias + 99) / 100; in computeMapping()
431 assert(((RepairCost < RepairCost * PercentageForBias) && in computeMapping()
432 (RepairCost * PercentageForBias < in computeMapping()
433 RepairCost * PercentageForBias + 99)) && in computeMapping()
439 Saturated = Cost.addLocalCost(RepairCost); in computeMapping()
441 uint64_t CostForInsertPt = RepairCost; in computeMapping()