Lines Matching refs:ConstCand
580 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
581 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
582 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
583 MaxCostItr = ConstCand; in maximizeConstantsInRange()
590 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
591 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()
592 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()
594 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
595 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() in maximizeConstantsInRange()
598 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()
607 C2->ConstInt->getValue(), ConstCand->ConstInt->getValue()); in maximizeConstantsInRange()
621 MaxCostItr = ConstCand; in maximizeConstantsInRange()
649 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in findAndMakeBaseConstant() local
650 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); in findAndMakeBaseConstant()
653 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr; in findAndMakeBaseConstant()
655 RebasedConstantInfo(std::move(ConstCand->Uses), Offset, ConstTy)); in findAndMakeBaseConstant()