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

References

include/llvm/ADT/ArrayRef.h
  524     return LHS.equals(RHS);
lib/Analysis/InstructionSimplify.cpp
 1837   if (!Extract || !Extract->getIndices().equals(1))
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 4378         !SVN0->getMask().equals(SVN1->getMask()))
19607     if (Shuf0 && Shuf1 && Shuf0->getMask().equals(Shuf1->getMask()) &&
lib/Target/X86/X86ISelLowering.cpp
33737     if (makeArrayRef(Mask).equals({2, 3, 0, 1})) {
33772         if (makeArrayRef(MappedMask).equals({0, 0, 1, 1, 2, 2, 3, 3}) ||
33773             makeArrayRef(MappedMask).equals({4, 4, 5, 5, 6, 6, 7, 7})) {
tools/clang/tools/extra/clangd/Preamble.cpp
   24          llvm::makeArrayRef(LHS.CommandLine).equals(RHS.CommandLine);
unittests/ADT/ArrayRefTest.cpp
   59   EXPECT_TRUE(Array1.equals(Array1c));
   61   EXPECT_TRUE(Array2.equals(Array2c));
   98   EXPECT_TRUE(AR1.drop_back().equals(AR2));
  105   EXPECT_TRUE(AR1.drop_front(2).equals(AR2));
  134   EXPECT_TRUE(AR1.take_back().equals(AR2));
  141   EXPECT_TRUE(AR1.take_front(2).equals(AR2));
  169   EXPECT_TRUE(AR1.equals({1, 2, 3, 4, 5, 6, 7, 8}));
  170   EXPECT_FALSE(AR1.equals({8, 1, 2, 4, 5, 6, 6, 7}));
  171   EXPECT_FALSE(AR1.equals({2, 4, 5, 6, 6, 7, 8, 1}));
  172   EXPECT_FALSE(AR1.equals({0, 1, 2, 4, 5, 6, 6, 7}));
  173   EXPECT_FALSE(AR1.equals({1, 2, 42, 4, 5, 6, 7, 8}));
  174   EXPECT_FALSE(AR1.equals({42, 2, 3, 4, 5, 6, 7, 8}));
  175   EXPECT_FALSE(AR1.equals({1, 2, 3, 4, 5, 6, 7, 42}));
  176   EXPECT_FALSE(AR1.equals({1, 2, 3, 4, 5, 6, 7}));
  177   EXPECT_FALSE(AR1.equals({1, 2, 3, 4, 5, 6, 7, 8, 9}));
  180   EXPECT_TRUE(AR1a.equals({1, 2, 3, 4, 5, 6, 7}));
  181   EXPECT_FALSE(AR1a.equals({1, 2, 3, 4, 5, 6, 7, 8}));
  184   EXPECT_TRUE(AR1b.equals({3, 4, 5, 6}));
  185   EXPECT_FALSE(AR1b.equals({2, 3, 4, 5, 6}));
  186   EXPECT_FALSE(AR1b.equals({3, 4, 5, 6, 7}));
  245   EXPECT_TRUE(AR2.equals(AR2Ref));
unittests/ADT/SmallVectorTest.cpp
  989   EXPECT_TRUE(makeArrayRef(V1).equals({0, 0}));
  991   EXPECT_TRUE(makeArrayRef(V1).equals({-1, -1}));
  994   EXPECT_TRUE(makeArrayRef(V2).equals({1, 2, 3, 4}));
  996   EXPECT_TRUE(makeArrayRef(V2).equals({4}));
  998   EXPECT_TRUE(makeArrayRef(V2).equals({4, 3, 2}));
 1000   EXPECT_TRUE(makeArrayRef(V2).equals({4, 5, 3, 2}));
unittests/Transforms/Utils/LocalTest.cpp
  528       return DI.getExpression()->getElements().equals(
  538       return DI.getExpression()->getElements().equals(
  542       return DI.getExpression()->getElements().equals(