Lines Matching refs:ConstCand
552 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
553 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
554 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
555 MaxCostItr = ConstCand; in maximizeConstantsInRange()
562 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
563 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()
564 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()
566 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
567 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() in maximizeConstantsInRange()
570 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()
579 ConstCand->ConstInt->getValue()); in maximizeConstantsInRange()
593 MaxCostItr = ConstCand; in maximizeConstantsInRange()
621 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in findAndMakeBaseConstant() local
622 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); in findAndMakeBaseConstant()
625 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr; in findAndMakeBaseConstant()
627 RebasedConstantInfo(std::move(ConstCand->Uses), Offset, ConstTy)); in findAndMakeBaseConstant()