Home | History | Annotate | Download | only in IPO

Lines Matching refs:Prefix

239 /// Returns true if Prefix is a prefix of longer. That means, Longer has a size
240 /// that is greater than or equal to the size of prefix, and each of the
241 /// elements in Prefix is the same as the corresponding elements in Longer.
243 /// This means it also returns true when Prefix and Longer are equal!
244 static bool IsPrefix(const ArgPromotion::IndicesVector &Prefix,
246 if (Prefix.size() > Longer.size())
248 for (unsigned i = 0, e = Prefix.size(); i != e; ++i)
249 if (Prefix[i] != Longer[i])
255 /// Checks if Indices, or a prefix of Indices, is in Set.
263 // it points to a prefix of Indices (possibly Indices itself), if such
264 // prefix exists.
266 // This load is safe if any prefix of its operands is safe to load.
272 /// is already a prefix of Indices in Safe, Indices are implicitely marked safe
273 /// already. Furthermore, any indices that Indices is itself a prefix of, are
283 // means it points to a prefix of Indices (possibly Indices itself), if
284 // such prefix exists.
287 // If there is already a prefix of these indices (or exactly these
297 // If there we're a prefix of longer index list(s), remove those
426 // is safe if Operands, or a prefix of Operands, is marked as safe.