reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/Reassociate.cpp
 1748   assert(Factors[0].Power);
 1750   for (unsigned LastIdx = 0, Idx = 1, Size = Factors.size();
 1751        Idx < Size && Factors[Idx].Power > 0; ++Idx) {
 1752     if (Factors[Idx].Power != Factors[LastIdx].Power) {
 1752     if (Factors[Idx].Power != Factors[LastIdx].Power) {
 1761     InnerProduct.push_back(Factors[LastIdx].Base);
 1763       InnerProduct.push_back(Factors[Idx].Base);
 1765     } while (Idx < Size && Factors[Idx].Power == Factors[LastIdx].Power);
 1765     } while (Idx < Size && Factors[Idx].Power == Factors[LastIdx].Power);
 1769     Value *M = Factors[LastIdx].Base = buildMultiplyTree(Builder, InnerProduct);
 1777   Factors.erase(std::unique(Factors.begin(), Factors.end(),
 1777   Factors.erase(std::unique(Factors.begin(), Factors.end(),
 1777   Factors.erase(std::unique(Factors.begin(), Factors.end(),
 1781                 Factors.end());
 1786   for (unsigned Idx = 0, Size = Factors.size(); Idx != Size; ++Idx) {
 1787     if (Factors[Idx].Power & 1)
 1788       OuterProduct.push_back(Factors[Idx].Base);
 1789     Factors[Idx].Power >>= 1;
 1791   if (Factors[0].Power) {
 1792     Value *SquareRoot = buildMinimalMultiplyDAG(Builder, Factors);