Lines Matching refs:Indices
175 IndicesVector Indices;
176 Indices.reserve(UI->getNumOperands() - 1);
182 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue());
184 if (Indices.size() == 1 && Indices.front() == 0)
185 Indices.clear();
186 ArgIndices.insert(std::make_pair(SrcTy, Indices));
193 OriginalLoads[std::make_pair(&*I, Indices)] = OrigLoad;
515 /// Checks if Indices, or a prefix of Indices, is in Set.
516 static bool prefixIn(const IndicesVector &Indices,
519 Low = Set.upper_bound(Indices);
522 // Low is now the last element smaller than or equal to Indices. This means
523 // it points to a prefix of Indices (possibly Indices itself), if such
527 return Low != Set.end() && isPrefix(*Low, Indices);
532 /// is already a prefix of Indices in Safe, Indices are implicitely marked safe
533 /// already. Furthermore, any indices that Indices is itself a prefix of, are
534 /// removed from Safe (since they are implicitely safe because of Indices now).
542 // Low is now the last element smaller than or equal to Indices. This
543 // means it points to a prefix of Indices (possibly Indices itself), if
627 IndicesVector Indices;
635 Indices.reserve(GEP->getNumIndices());
639 Indices.push_back(CI->getSExtValue());
648 // Indices checked out, mark them as safe
649 markIndicesSafe(Indices, SafeToUnconditionallyLoad);
650 Indices.clear();