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

References

include/llvm/BinaryFormat/MsgPackDocument.h
  203   size_t size() const { return Map->size(); }
include/llvm/ExecutionEngine/Orc/RPCSerialization.h
  656     if (auto Err = serializeSeq(C, static_cast<uint64_t>(M.size())))
include/llvm/IR/ModuleSummaryIndex.h
  996   size_t size() const { return GlobalValueMap.size(); }
lib/Analysis/CallGraph.cpp
   93   Nodes.reserve(FunctionMap.size());
lib/Analysis/StackSafetyAnalysis.cpp
  562   assert(Count == SSI.size() && "Unexpected functions in the result");
lib/Bitcode/Writer/BitcodeWriter.cpp
  471           assert(ModuleToSummariesForIndex->size() == 1);
 1178         Entry = SectionMap.size();
 1190         Entry = SectionMap.size();
 1199         Entry = GCMap.size();
 1230                                Log2_32_Ceil(SectionMap.size()+1)));
 3599   NameVals.push_back(Wpd.ResByArg.size());
lib/CodeGen/FaultMaps.cpp
   71   LLVM_DEBUG(dbgs() << WFMP << "#functions = " << FunctionInfos.size() << "\n");
   72   OS.EmitIntValue(FunctionInfos.size(), 4);
lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp
   40   return Mappings.size() * sizeof(CrossModuleExport);
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  132       if (M.UnfinalizedSections.size() == 1)
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
 1175       assert(NewResolverResults->size() == NewSymbols.size() &&
lib/LTO/LTO.cpp
  251     AddUint64(S.WPDRes.size());
  257       AddUint64(WPD.second.ResByArg.size());
lib/MC/MCAsmStreamer.cpp
 2017     assert(Tables.size() == 1 && "asm output only supports one line table");
lib/MC/WasmObjectWriter.cpp
  995   if (Comdats.size()) {
  997     encodeULEB128(Comdats.size(), W.OS);
lib/Object/WindowsResource.cpp
  276   if (NameNode->IDChildren.size() <= 1)
  290     if (NameNode->IDChildren.size() <= 1)
  566   uint32_t Size = (IDChildren.size() + StringChildren.size()) *
  566   uint32_t Size = (IDChildren.size() + StringChildren.size()) *
  875       sizeof(coff_resource_dir_table) + (Resources.getStringChildren().size() +
  876                                          Resources.getIDChildren().size()) *
  892     Table->NumberOfNameEntries = StringChildren.size();
  893     Table->NumberOfIDEntries = IDChildren.size();
  910                            (Child.second->getStringChildren().size() +
  911                             Child.second->getIDChildren().size()) *
  929                            (Child.second->getStringChildren().size() +
  930                             Child.second->getIDChildren().size()) *
lib/ProfileData/SampleProf.cpp
  129   OS << TotalSamples << ", " << TotalHeadSamples << ", " << BodySamples.size()
lib/ProfileData/SampleProfWriter.cpp
  505   encodeULEB128(S.getBodySamples().size(), OS);
  525     NumCallsites += J.second.size();
lib/TableGen/StringMatcher.cpp
   84   if (MatchesByLetter.size() == 1) {
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  588   assert(Substs.size() == 0 && "No substitutions should be left active!");
lib/Target/ARM/ARMParallelDSP.cpp
  432   return LoadPairs.size() > 1;
lib/Target/BPF/BTFDebug.cpp
  757   if (!FuncInfoTable.size() && !LineInfoTable.size() &&
  757   if (!FuncInfoTable.size() && !LineInfoTable.size() &&
  758       !FieldRelocTable.size())
lib/Target/Hexagon/RDFRegisters.cpp
  379   Index = End ? Masks.size() : 0;
lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
  649   if (BlockingStoresDispSizeMap.size() <= 1)
lib/Transforms/IPO/SampleProfile.cpp
  533   unsigned Count = (I != SampleCoverage.end()) ? I->second.size() : 0;
  554   unsigned Count = FS->getBodySamples().size();
lib/Transforms/Scalar/LoopRerollPass.cpp
  819   if (Roots.empty() || (Roots.size() == 1 && BaseUsers.empty()))
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 4127     if (Imms.size() == 1)
tools/clang/include/clang/Basic/FileManager.h
  271   size_t getNumUniqueRealFiles() const { return UniqueRealFiles.size(); }
tools/clang/lib/AST/ExprConstant.cpp
 2267         << unsigned(Info.HeapAllocs.size() - 1);
tools/clang/lib/AST/VTableBuilder.cpp
 2081     Out << ClassNamesAndOffsets.size();
 2082     Out << (ClassNamesAndOffsets.size() == 1 ? " entry" : " entries") << ").\n";
 2182     Out << "' (" << IndicesMap.size() << " entries).\n";
 3632     Out << "' (" << IndicesMap.size()
 3633         << (IndicesMap.size() == 1 ? " entry" : " entries") << ").\n";
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  453     if (ResultCache.size() > MaxMemoizationEntries)
  463     if (ResultCache.size() > MaxMemoizationEntries)
  476     if (ResultCache.size() > MaxMemoizationEntries)
tools/clang/lib/Basic/FileManager.cpp
  565   llvm::errs() << UniqueRealFiles.size() << " real files found, "
  566                << UniqueRealDirs.size() << " real dirs found.\n";
tools/clang/lib/Driver/Driver.cpp
 1895   unsigned Id = Ids.size();
tools/clang/lib/Sema/SemaLookup.cpp
 4283   while (CorrectionResults.size() > MaxTypoDistanceResultSets)
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
  200   WarningOS << UninitFields.size() << " uninitialized field"
  201             << (UninitFields.size() == 1 ? "" : "s")
tools/clang/lib/Tooling/Syntax/BuildTree.cpp
  151       assert(Trees.size() == 1);
tools/clang/tools/extra/unittests/clang-move/ClangMoveTests.cpp
  271   EXPECT_EQ(2u, Results.size());
  283   EXPECT_EQ(2u, Results.size());
  296   EXPECT_EQ(0u, Results.size());
tools/clang/unittests/AST/EvaluateAsRValueTest.cpp
   74       EXPECT_EQ(2u, VarInfo.size());
   77       EXPECT_EQ(2u, VarInfo.size());
tools/clang/unittests/Tooling/RefactoringTest.cpp
 1050   EXPECT_EQ(1u, FileToReplaces.size());
 1071   EXPECT_EQ(1u, FileToReplaces.size());
tools/clang/utils/TableGen/MveEmitter.cpp
 1586       int ExistingIndex = ParamNumberMap.size();
tools/lld/COFF/PDB.cpp
 1326   print(typeServerIndexMappings.size(), "PDB type server dependencies");
 1327   print(precompTypeIndexMappings.size(), "Precomp OBJ dependencies");
tools/lld/COFF/Writer.cpp
  969       config->dllOrder[dll] = config->dllOrder.size();
tools/lld/wasm/SyntheticSections.cpp
  476     writeUleb128(sub.os, comdats.size(), "num comdats");
tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h
  152     return m_bp_site_list.size();
tools/lldb/include/lldb/DataFormatters/TypeCategoryMap.h
   78   uint32_t GetCount() { return m_map.size(); }
tools/lldb/include/lldb/Interpreter/OptionValueDictionary.h
   54   size_t GetNumValues() const { return m_values.size(); }
tools/lldb/include/lldb/Target/Target.h
 1217   size_t GetNumStopHooks() const { return m_stop_hooks.size(); }
tools/lldb/include/lldb/Utility/StructuredData.h
  358     size_t GetSize() const { return m_dict.size(); }
tools/lldb/source/Breakpoint/Breakpoint.cpp
  745         while (old_sc_map.size() > 0) {
tools/lldb/source/Breakpoint/BreakpointSiteList.cpp
  155             (uint32_t)m_bp_site_list.size());
tools/lldb/source/DataFormatters/TypeCategoryMap.cpp
   97   std::vector<ValueSP> sorted_categories(m_map.size(), ValueSP());
  362   if (index < m_map.size()) {
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  237       hw_debug_cap->first <= m_hw_breakpoints_map.size())
tools/lldb/source/Host/common/TCPSocket.cpp
   67   return m_socket != kInvalidSocketValue || m_listen_sockets.size() != 0;
  231   if (m_listen_sockets.size() == 0)
  244   if (m_listen_sockets.size() == 0) {
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 3083   if (m_runtimeHooks.size()) {
 3920   strm.Printf("Pragmas: %" PRIu64, static_cast<uint64_t>(m_pragmas.size()));
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
  368   size_t tid_count = tids_to_attach.size();
tools/lldb/source/Target/Target.cpp
 2607   bool print_hook_header = (m_stop_hooks.size() != 1);
tools/lldb/source/Target/ThreadPlanStepUntil.cpp
  106     if (m_until_points.size() == 1)
tools/lldb/source/Target/UnixSignals.cpp
  282 int32_t UnixSignals::GetNumSignals() const { return m_signals.size(); }
  285   if (index < 0 || m_signals.size() <= static_cast<size_t>(index))
tools/lldb/source/Utility/ReproducerInstrumentation.cpp
   68   const unsigned id = m_replayers.size() + 1;
tools/llvm-opt-report/OptReport.cpp
  442       if (UniqueLIs.size() > 1 && !NothingHappened) {
  447       } else if (UniqueLIs.size() == 1) {
tools/llvm-pdbutil/DumpOutputStyle.cpp
 1348         TiList.size(), DepSet.size());
tools/llvm-xray/xray-account.cpp
  274   Results.reserve(FunctionLatencies.size());
  336   OS << "Functions with latencies: " << FunctionLatencies.size() << "\n";
unittests/AsmParser/AsmParserTest.cpp
   61   EXPECT_EQ(Mapping.MetadataNodes.size(), 2u);
unittests/Support/TargetParserTest.cpp
  599     EXPECT_TRUE(Extensions.size() == Features.size());
  606     EXPECT_TRUE(Extensions.size() == Features.size());
unittests/Support/YAMLIOTest.cpp
 2586   EXPECT_EQ(2ul, y.size());
 2619   EXPECT_EQ(2ul, y.size());
utils/TableGen/AsmMatcherEmitter.cpp
 2261   if (TiedOperandsEnumMap.size()) {
 2264     assert(TiedOperandsEnumMap.size() <= 254 &&
utils/TableGen/CTagsEmitter.cpp
   69   Tags.reserve(Classes.size() + Defs.size());
   69   Tags.reserve(Classes.size() + Defs.size());
utils/TableGen/CodeGenDAGPatterns.cpp
  184   Modes.reserve(Map.size());
utils/TableGen/CodeGenDAGPatterns.h
  227     return Map.size() == 1 && Map.begin()->first == DefaultMode;
utils/TableGen/CodeGenRegisters.h
  655       return TopoSigs.size();
  662       return TopoSigs.insert(std::make_pair(Id, TopoSigs.size())).first->second;
utils/TableGen/DFAEmitter.cpp
  103      << DfaTransitions.size() << " transitions.\n\n";
  146   OS << "std::array<" << Name << "Transition, " << DfaTransitions.size() << "> "
utils/TableGen/FastISelEmitter.cpp
  716         if (RM.size() != 1) {
utils/TableGen/FixedLenDecoderEmitter.cpp
  307     assert(FilterChooserMap.size() == 1);
  584   assert((FilteredInstructions.size() + VariableInstructions.size() > 0)
  614     assert(FilterChooserMap.size() == 1);
  737     return FilteredInstructions.size();
  739     return FilteredInstructions.size() + 1;
utils/TableGen/GlobalISelEmitter.cpp
 1207     if (TypeIDValues.size() != KnownTypes.size())
 3081   if (InsnVariableIDs.size() >= 2) {
 5070      << "const unsigned MAX_SUBTARGET_PREDICATES = " << SubtargetFeatures.size()
 5326         Predicate, SubtargetFeatureInfo(Predicate, SubtargetFeatures.size()));
utils/TableGen/InfoByHwMode.h
  103     return Map.size() == 1 && Map.begin()->first == DefaultMode;
utils/TableGen/InstrInfoEmitter.cpp
  292     OS << "  static const int16_t OperandMap [][" << Operands.size()
  299       for (unsigned i = 0, e = Operands.size(); i != e; ++i)
utils/TableGen/SubtargetFeatureInfo.cpp
   56      << getMinimalTypeForRange(SubtargetFeatures.size()) << " {\n";
utils/benchmark/src/counter.cc
   56   if (l.size() != r.size()) {
   56   if (l.size() != r.size()) {
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 2432       SizeType size = container.size();
utils/unittest/googletest/src/gtest.cc
 1093     size_t id = ids_.size();