Lines Matching refs:ConstCand
583 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
584 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
585 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
586 MaxCostItr = ConstCand; in maximizeConstantsInRange()
593 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
594 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()
595 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()
597 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
598 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() in maximizeConstantsInRange()
601 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()
611 ConstCand->ConstInt->getValue()); in maximizeConstantsInRange()
625 MaxCostItr = ConstCand; in maximizeConstantsInRange()
653 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in findAndMakeBaseConstant() local
654 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); in findAndMakeBaseConstant()
657 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr; in findAndMakeBaseConstant()
659 RebasedConstantInfo(std::move(ConstCand->Uses), Offset, ConstTy)); in findAndMakeBaseConstant()