Lines Matching refs:ConstCand
575 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
576 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
577 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
578 MaxCostItr = ConstCand; in maximizeConstantsInRange()
585 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
586 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()
587 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()
589 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
590 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() in maximizeConstantsInRange()
593 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()
603 ConstCand->ConstInt->getValue()); in maximizeConstantsInRange()
617 MaxCostItr = ConstCand; in maximizeConstantsInRange()
645 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in findAndMakeBaseConstant() local
646 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); in findAndMakeBaseConstant()
649 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr; in findAndMakeBaseConstant()
651 RebasedConstantInfo(std::move(ConstCand->Uses), Offset, ConstTy)); in findAndMakeBaseConstant()