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.cpp561 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
562 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
563 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
564 MaxCostItr = ConstCand; in maximizeConstantsInRange()
571 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
572 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()
573 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()
575 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
576 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() in maximizeConstantsInRange()
579 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()
[all …]