Lines Matching defs:ConstCand
564 for (auto ConstCand = S; ConstCand != E; ++ConstCand) {
565 NumUses += ConstCand->Uses.size();
566 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost)
567 MaxCostItr = ConstCand;
574 for (auto ConstCand = S; ConstCand != E; ++ConstCand) {
575 auto Value = ConstCand->ConstInt->getValue();
576 Type *Ty = ConstCand->ConstInt->getType();
578 NumUses += ConstCand->Uses.size();
579 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue()
582 for (auto User : ConstCand->Uses) {
590 APInt Diff = C2->ConstInt->getValue() - ConstCand->ConstInt->getValue();
602 MaxCostItr = ConstCand;
630 for (auto ConstCand = S; ConstCand != E; ++ConstCand) {
631 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue();
634 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr;
636 RebasedConstantInfo(std::move(ConstCand->Uses), Offset, ConstTy));