Lines Matching refs:ConstCand
337 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
338 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
339 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
340 MaxCostItr = ConstCand; in maximizeConstantsInRange()
347 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
348 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()
349 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()
351 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
352 DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() << "\n"); in maximizeConstantsInRange()
354 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()
363 ConstCand->ConstInt->getValue()); in maximizeConstantsInRange()
377 MaxCostItr = ConstCand; in maximizeConstantsInRange()
401 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in findAndMakeBaseConstant() local
402 APInt Diff = ConstCand->ConstInt->getValue() - in findAndMakeBaseConstant()
406 RebasedConstantInfo(std::move(ConstCand->Uses), Offset)); in findAndMakeBaseConstant()