Searched refs:ConstCand (Results 1 – 2 of 2) sorted by relevance
337 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local338 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()339 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()340 MaxCostItr = ConstCand; in maximizeConstantsInRange()347 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local348 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()349 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()351 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()352 DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() << "\n"); in maximizeConstantsInRange()354 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()[all …]
495 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local496 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()497 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()498 MaxCostItr = ConstCand; in maximizeConstantsInRange()505 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local506 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()507 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()509 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()510 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() in maximizeConstantsInRange()513 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()[all …]