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

References

include/llvm/ADT/AllocatorList.h
  167   size_t size() { return List.size(); }
include/llvm/CodeGen/MachineBasicBlock.h
  187   unsigned size() const { return (unsigned)Insts.size(); }
include/llvm/CodeGen/MachineFunction.h
  661   unsigned                  size() const { return (unsigned)BasicBlocks.size();}
include/llvm/CodeGen/SelectionDAG.h
  463     return AllNodes.size();
include/llvm/IR/BasicBlock.h
  283   inline size_t                   size() const { return InstList.size();  }
include/llvm/IR/Function.h
  690   size_t                   size() const { return BasicBlocks.size();  }
include/llvm/IR/Module.h
  607   size_t                  size() const  { return FunctionList.size(); }
  625   size_t               alias_size () const      { return AliasList.size();  }
  643   size_t               ifunc_size () const      { return IFuncList.size();  }
  721   size_t named_metadata_size() const { return NamedMDList.size();  }
lib/Analysis/AliasSetTracker.cpp
  699   OS << "Alias Set Tracker: " << AliasSets.size();
lib/Analysis/DomTreeUpdater.cpp
  109     assert(BB->getInstList().size() == 1 &&
lib/Analysis/MemorySSA.cpp
 1995     assert(AL->size() == ActualAccesses.size() &&
 2000     assert((!DL || DL->size() == ActualDefs.size()) &&
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 8412   Order.reserve(AllNodes.size());
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  816   dbgs() << "SelectionDAG has " << AllNodes.size() << " nodes:\n";
lib/MC/WasmObjectWriter.cpp
 1510     if (WS.getFragmentList().size() != 3)
lib/Target/AMDGPU/GCNMinRegStrategy.cpp
  115   assert(!RQ.empty() && Num <= RQ.size());
  141     unsigned Num = RQ.size();
  171     Num = Num ? Num : RQ.size();
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  831   assert(GVVisited.size() == M.getGlobalList().size() &&
  904   int i, n = global_list.size();
lib/Transforms/IPO/WholeProgramDevirt.cpp
  782   Bits.reserve(M.getGlobalList().size());
lib/Transforms/Utils/BasicBlockUtils.cpp
   81     assert(BB->getInstList().size() == 1 &&
  308     assert(BB->getInstList().size() == 1 &&
lib/Transforms/Utils/Local.cpp
  728     assert(PredBB->getInstList().size() == 1 &&
lib/Transforms/Vectorize/VPlan.h
 1022   inline size_t size() const { return Recipes.size(); }
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
 1417   assert(_children.size() < 256);
 1418   out.append_byte(_children.size());
tools/llvm-reduce/deltas/ReduceInstructions.cpp
   55         InstCount += BB.getInstList().size();
unittests/ADT/IListTest.cpp
   62   EXPECT_EQ(2u, L1.size());
   65   EXPECT_EQ(2u, L2.size());
   68   EXPECT_EQ(2u, L3.size());
   83   EXPECT_EQ(1u, List.size());
   91   EXPECT_EQ(3u, List.size());
  134   EXPECT_EQ(0u, List.size());
  139   EXPECT_EQ(0u, List.size());
  145   ASSERT_EQ(1u, List.size());
  149   EXPECT_EQ(0u, List.size());
  156   ASSERT_EQ(2u, List.size());
  240   ASSERT_EQ(1u, L1.size());
  251   ASSERT_EQ(0u, L1.size());
  265   ASSERT_EQ(2u, L1.size());
  273   ASSERT_EQ(2u, L1.size());
unittests/ADT/SimpleIListTest.cpp
   27   EXPECT_EQ(0u, L.size());
   38   EXPECT_EQ(2u, L.size());
   57   EXPECT_EQ(2u, L.size());
   75   EXPECT_EQ(0u, L1.size());
   79   EXPECT_EQ(2u, L2.size());
   90   EXPECT_EQ(2u, L.size());
  101   EXPECT_EQ(2u, L.size());
  113   EXPECT_EQ(3u, L.size());
  118   EXPECT_EQ(2u, L.size());
  122   EXPECT_EQ(1u, L.size());
  138   EXPECT_EQ(3u, L.size());
  143   EXPECT_EQ(2u, L.size());
  155   EXPECT_EQ(3u, L.size());
  160   EXPECT_EQ(2u, L.size());
  172   EXPECT_EQ(3u, L.size());
  177   EXPECT_EQ(2u, L.size());
  207   EXPECT_EQ(3u, L.size());
  212   EXPECT_EQ(2u, L.size());
  224   EXPECT_EQ(3u, L.size());
  229   EXPECT_EQ(2u, L.size());
  247   EXPECT_EQ(5u, L.size());
  253   EXPECT_EQ(2u, L.size());
  271   EXPECT_EQ(5u, L.size());
  278   EXPECT_EQ(2u, L.size());
  296   EXPECT_EQ(5u, L.size());
  303   EXPECT_EQ(2u, L.size());
  313   EXPECT_EQ(0u, L.size());
  324   EXPECT_EQ(0u, L.size());
  334   EXPECT_EQ(0u, L.size());
  352   EXPECT_EQ(4u, L1.size());
  437     EXPECT_EQ(4u, L1.size());
  438     EXPECT_EQ(6u, L2.size());
  474     EXPECT_EQ(3u, L1.size());
  475     EXPECT_EQ(2u, L2.size());
  522     EXPECT_EQ(4u, L1.size());
  556   EXPECT_EQ(10u, L.size());
  583   EXPECT_EQ(10u, L.size());
  636   EXPECT_EQ(sizeof(Order1) / sizeof(int), L1.size());
  644   EXPECT_EQ(sizeof(Order2) / sizeof(int), L2.size());
unittests/Analysis/AliasSetTrackerTest.cpp
   73   ASSERT_EQ((int)AST.getAliasSets().size(), 2);