Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Index/
H A DFileIndexRecord.cpp21 if (!IsSorted) { in getDeclOccurrencesSortedByOffset()
26 IsSorted = true; in getDeclOccurrencesSortedByOffset()
36 IsSorted = false; in addDeclOccurence()
43 IsSorted = false; in addMacroOccurence()
H A DFileIndexRecord.h30 mutable bool IsSorted = false; variable
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DRangeMap.h145 assert(vec1.IsSorted() && vec2.IsSorted()); in GetOverlaps()
233 assert(IsSorted()); in CombineConsecutiveRanges()
258 assert(IsSorted()); in GetMinRangeBase()
269 assert(IsSorted()); in GetMaxRangeEnd()
313 assert(IsSorted()); in FindEntryIndexThatContains()
335 assert(IsSorted()); in FindEntryThatContains()
358 assert(IsSorted()); in FindEntryThatContains()
476 assert(IsSorted()); in CombineConsecutiveEntriesWithEqualData()
543 assert(IsSorted()); in FindEntryIndexesThatContain()
563 assert(IsSorted()); in FindEntryThatContains()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_common_test.cpp35 static bool IsSorted(const uptr *array, uptr n) { in IsSorted() function
50 EXPECT_TRUE(IsSorted(array, n)); in TEST()
56 EXPECT_TRUE(IsSorted(array, n)); in TEST()
62 EXPECT_TRUE(IsSorted(array, n)); in TEST()
68 EXPECT_TRUE(IsSorted(array, n)); in TEST()
75 EXPECT_TRUE(IsSorted(array, n)); in TEST()
80 EXPECT_TRUE(IsSorted(array, 2)); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp4417 bool IsSorted = true; in splitAlloca() local
4442 IsSorted = false; in splitAlloca()
4459 IsSorted = false; in splitAlloca()
4464 if (!IsSorted) in splitAlloca()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3515 bool IsSorted = sortPtrAccesses(PointerOps, ScalarTy, DL, SE, Order); in canVectorizeLoads() local
3516 if (IsSorted || all_of(PointerOps, [&PointerOps](Value *P) { in canVectorizeLoads()
3529 if (IsSorted) { in canVectorizeLoads()
3553 if (ProfitableGatherPointers || all_of(PointerOps, [IsSorted](Value *P) { in canVectorizeLoads()
3555 return (IsSorted && !GEP && doesNotNeedToBeScheduled(P)) || in canVectorizeLoads()