Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp582 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
583 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
584 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
585 MaxCostItr = ConstCand; in maximizeConstantsInRange()
592 for (auto ConstCand = S; ConstCand != E; ++ConstCand) { in maximizeConstantsInRange() local
593 auto Value = ConstCand->ConstInt->getValue(); in maximizeConstantsInRange()
594 Type *Ty = ConstCand->ConstInt->getType(); in maximizeConstantsInRange()
596 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange()
597 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue() in maximizeConstantsInRange()
600 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange()
[all …]