Lines Matching refs:Prefix
235 /// Returns true if Prefix is a prefix of longer. That means, Longer has a size
236 /// that is greater than or equal to the size of prefix, and each of the
237 /// elements in Prefix is the same as the corresponding elements in Longer.
239 /// This means it also returns true when Prefix and Longer are equal!
240 static bool IsPrefix(const ArgPromotion::IndicesVector &Prefix,
242 if (Prefix.size() > Longer.size())
244 return std::equal(Prefix.begin(), Prefix.end(), Longer.begin());
248 /// Checks if Indices, or a prefix of Indices, is in Set.
256 // it points to a prefix of Indices (possibly Indices itself), if such
257 // prefix exists.
259 // This load is safe if any prefix of its operands is safe to load.
265 /// is already a prefix of Indices in Safe, Indices are implicitely marked safe
266 /// already. Furthermore, any indices that Indices is itself a prefix of, are
276 // means it points to a prefix of Indices (possibly Indices itself), if
277 // such prefix exists.
280 // If there is already a prefix of these indices (or exactly these
290 // If there we're a prefix of longer index list(s), remove those
419 // is safe if Operands, or a prefix of Operands, is marked as safe.