Home
last modified time | relevance | path

Searched refs:ConstCand (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp585 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
586 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
587 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
588 MaxCostItr = ConstCand; in maximizeConstantsInRange()
595 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
596 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()
597 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()
599 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
600 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() in maximizeConstantsInRange()
603 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()
[all …]