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

Declarations

usr/include/c++/7.4.0/bits/stl_vector.h
  780       reserve(size_type __n);

References

include/llvm/ADT/MapVector.h
   66     Vector.reserve(NumEntries);
include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1065   RPOT.reserve(F->size());
 1080   Working.reserve(RPOT.size());
include/llvm/Analysis/LoopInfo.h
  418     Blocks.reserve(size);
include/llvm/Analysis/LoopInfoImpl.h
  470   L->getSubLoopsVector().reserve(NumSubloops);
include/llvm/Analysis/LoopIterator.h
  117     PostBlocks.reserve(Container->getNumBlocks());
include/llvm/DebugInfo/CodeView/TypeHashing.h
   43     Hashes.reserve(std::distance(std::begin(Records), std::end(Records)));
include/llvm/Object/IRSymtab.h
  284     ComdatTable.reserve(Comdats.size());
  296     Specifiers.reserve(DependentLibraries.size());
include/llvm/ProfileData/InstrProf.h
  919   getOrCreateValueSitesForKind(ValueKind).reserve(NumValueSites);
include/llvm/Support/BinaryItemStream.h
   76     ItemEndOffsets.reserve(Items.size());
include/llvm/Support/FormatVariadic.h
   93     Adapters.reserve(ParamCount);
  102     Adapters.reserve(rhs.Adapters.size());
include/llvm/Support/JSON.h
  185   void reserve(size_t S) { V.reserve(S); }
lib/Analysis/AliasSetTracker.cpp
  612   ASVector.reserve(SaturationThreshold);
lib/Analysis/BlockFrequencyInfoImpl.cpp
  632   Nodes.reserve(OuterLoop.Nodes.size());
lib/Bitcode/Reader/BitcodeReader.cpp
 5631   Ret.reserve(Record.size());
 5642   Ret.reserve(Record.size());
lib/Bitcode/Reader/MetadataLoader.cpp
  723         MDStringRef.reserve(NumStrings);
  767         GlobalMetadataBitPosIndex.reserve(Record.size());
lib/Bitcode/Writer/BitcodeWriter.cpp
 2087   IndexPos.reserve(VE.getNonMDStrings().size());
lib/Bitcode/Writer/ValueEnumerator.cpp
  754   MDs.reserve(OldMDs.size());
  769   FunctionMDs.reserve(OldMDs.size());
lib/CodeGen/AsmPrinter/AccelTable.cpp
   37   Uniques.reserve(Entries.size());
lib/CodeGen/GlobalISel/IRTranslator.cpp
  441   Clusters.reserve(SI.getNumCases());
lib/CodeGen/MachineFunction.cpp
  819   FilterIds.reserve(FilterIds.size() + TyIds.size() + 1);
lib/CodeGen/PostRASchedulerList.cpp
  550   Sequence.reserve(SUnits.size());
lib/CodeGen/RegisterCoalescer.cpp
 3640   MBBs.reserve(MF->size());
lib/CodeGen/ScheduleDAG.cpp
  472   WorkList.reserve(DAGSize);
  573   WorkList.reserve(SUnits.size());
  613   WorkList.reserve(SUnits.size());
lib/CodeGen/ScheduleDAGInstrs.cpp
  563   SUnits.reserve(NumRegionInstrs);
 1047   NodeNums.reserve(stores.size() + loads.size());
lib/CodeGen/SelectionDAG/FastISel.cpp
  871   Args.reserve(NumArgs);
 1113   Args.reserve(NumArgs);
 1256   Args.reserve(CS.arg_size());
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
  542   Sequence.reserve(SUnits.size());
  757   Sequence.reserve(DAGSize);
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
 1611   Sequence.reserve(SUnits.size());
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  337   SUnits.reserve(NumNodes * 2);
lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
  184   Sequence.reserve(SUnits.size());
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 8412   Order.reserve(AllNodes.size());
 8860       VTs.reserve(MVT::LAST_VALUETYPE);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 7104   Args.reserve(CS.arg_size());
 8625   Args.reserve(NumArgs);
10498   Clusters.reserve(SI.getNumCases());
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  127   Args.reserve(Ops.size());
lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp
  225   Types.reserve(SegmentOffsets.size());
lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp
   76   Ids.reserve(Mappings.size());
lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
   90   Result.reserve(IdToString.size());
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  369   StandardOpcodeLengths.reserve(OpcodeBase - 1);
lib/DebugInfo/DWARF/DWARFUnit.cpp
  376       Dies.reserve(Dies.size() + getDebugInfoSize() / 14);
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  984   BucketStarts.reserve(NI.getBucketCount() + 1);
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
  152   HashRecords.reserve(Records.size());
  252   DeserializedPublics.reserve(Records.size());
  253   PublicsByAddr.reserve(Records.size());
  254   SymOffsets.reserve(Records.size());
  269   AddrMap.reserve(Records.size());
lib/DebugInfo/PDB/UDTLayout.cpp
  199   AllBases.reserve(Bases.size() + VirtualBaseSyms.size());
lib/ExecutionEngine/ExecutionEngine.cpp
  341   Values.reserve(InputArgv.size());
lib/ExecutionEngine/ExecutionEngineBindings.cpp
  245   ArgVec.reserve(NumArgs);
lib/ExecutionEngine/Interpreter/Execution.cpp
 1163   ArgVals.reserve(NumArgs);
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  170   Sections.reserve(IndexToSection.size());
lib/ExecutionEngine/Orc/Core.cpp
  928     Worklist.reserve(Resolved.size());
 2099   FullSearchOrder.reserve(SearchOrder.size());
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  465   EHFrameRanges.reserve(EHFrameRanges.size() + TrackedEHFrameRanges.size());
lib/FuzzMutate/FuzzerCLI.cpp
   67   CLArgs.reserve(Args.size());
  131   CLArgs.reserve(Args.size());
lib/IR/Constants.cpp
 2042   ArgVec.reserve(1 + Idxs.size());
lib/MC/StringTableBuilder.cpp
  136     Strings.reserve(StringIndexMap.size());
lib/Object/COFFObjectFile.cpp
 1770   Relocs.reserve(OrigRelocs.size());
lib/Object/ELF.cpp
  382   Relocs.reserve(NumRelocs);
lib/Object/WasmObjectFile.cpp
  433       LinkingData.InitFunctions.reserve(Count);
  466   LinkingData.SymbolTable.reserve(Count);
  467   Symbols.reserve(Count);
  473   ImportedGlobals.reserve(Imports.size());
  474   ImportedFunctions.reserve(Imports.size());
  475   ImportedEvents.reserve(Imports.size());
  869   Signatures.reserve(Count);
  898   Imports.reserve(Count);
  942   FunctionTypes.reserve(Count);
  959   Tables.reserve(Count);
  975   Memories.reserve(Count);
  988   Globals.reserve(Count);
 1007   Events.reserve(Count);
 1024   Exports.reserve(Count);
 1154     Function.Locals.reserve(NumLocalDecls);
 1178   ElemSegments.reserve(Count);
 1206   DataSegments.reserve(Count);
lib/ObjectYAML/MinidumpYAML.cpp
  554   Streams.reserve(File.streams().size());
lib/ProfileData/InstrProfReader.cpp
  277   Record.Counts.reserve(NumCounters);
  432     Record.Counts.reserve(RawCounts.size());
  558     CounterBuffer.reserve(CountsSize);
lib/ProfileData/SampleProfReader.cpp
  697   NameTable.reserve(*Size);
  712   NameTable.reserve(*Size);
lib/Support/JSON.cpp
   92   V.reserve(Elements.size());
lib/Support/ThreadPool.cpp
   30   Threads.reserve(ThreadCount);
lib/Support/TimeProfiler.cpp
  134     SortedTotals.reserve(CountAndTotalPerName.size());
lib/Support/Timer.cpp
  247   TimersToPrint.reserve(Records.size());
lib/Target/AArch64/AArch64FastISel.cpp
 3600     Args.reserve(II->getNumArgOperands());
 4899   Args.reserve(I->getNumOperands());
lib/Target/AMDGPU/GCNILPSched.cpp
  314   Schedule.reserve(SUnits.size());
lib/Target/AMDGPU/GCNIterativeScheduler.cpp
  339   Res.reserve(Schedule.size() * 2);
lib/Target/AMDGPU/GCNMinRegStrategy.cpp
  236   Schedule.reserve(SUnits.size());
lib/Target/AMDGPU/GCNRegPressure.h
  205   Indexes.reserve(std::distance(R.begin(), R.end()));
lib/Target/AMDGPU/GCNSchedStrategy.cpp
  331   Unsched.reserve(NumRegionInstrs);
  507   BBStarters.reserve(Regions.size());
lib/Target/AMDGPU/SIMachineScheduler.cpp
 1291   WorkList.reserve(DAGSize);
 1353   PosOld.reserve(DAG->SUnits.size());
 1354   PosNew.reserve(DAG->SUnits.size());
lib/Target/ARM/ARMISelLowering.cpp
 9507   LPadList.reserve(CallSiteNumToLPad.size());
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
 1211     T.reserve(CurDAG->allnodes_size());
lib/Target/Hexagon/RDFRegisters.h
   37     IndexedSet() { Map.reserve(N); }
lib/Target/Mips/MipsCallLowering.cpp
  586   FuncOrigArgs.reserve(Info.OrigArgs.size());
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
  230   SwapVector.reserve(InitialVectorSize);
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
  137   WE->getSubExceptions().reserve(NumSubExceptions);
lib/Target/WebAssembly/WebAssemblyExceptionInfo.h
   97   void reserveBlocks(unsigned Size) { Blocks.reserve(Size); }
lib/Target/X86/X86ISelLowering.cpp
30972   LPadList.reserve(CallSiteNumToLPad.size());
lib/Transforms/IPO/ArgumentPromotion.cpp
  175         Indices.reserve(UI->getNumOperands() - 1);
  284             Ops.reserve(ArgIndex.second.size());
  440         Operands.reserve(GEP->getNumIndices());
  634           Indices.reserve(GEP->getNumIndices());
lib/Transforms/IPO/GlobalOpt.cpp
  481     NewGlobals.reserve(NumElements);
  513     NewGlobals.reserve(NumElements);
lib/Transforms/IPO/PartialInlining.cpp
 1455   Worklist.reserve(M.size());
lib/Transforms/IPO/WholeProgramDevirt.cpp
  782   Bits.reserve(M.getGlobalList().size());
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4730       NewArgs.reserve(Call.arg_size() + 1);
 4731       NewArgAttrs.reserve(Call.arg_size());
 4766       NewTypes.reserve(FTy->getNumParams()+1);
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  725   EdgeList.reserve(MST.AllEdges.size());
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  370     Updates.reserve(2 * SizeIds.size());
lib/Transforms/Scalar/FlattenCFGPass.cpp
   61   Blocks.reserve(F.size());
lib/Transforms/Scalar/JumpThreading.cpp
 1099     Updates.reserve(BBTerm->getNumSuccessors());
 1682       Updates.reserve(BB->getTerminator()->getNumSuccessors() - 1);
 2126   Updates.reserve((2 * Preds.size()) + NewBBs.size());
 2618     Updates.reserve((2 * SplitBB->getTerminator()->getNumSuccessors()) + 3);
lib/Transforms/Scalar/LoopUnswitch.cpp
 1278   NewBlocks.reserve(LoopBlocks.size());
lib/Transforms/Utils/BasicBlockUtils.cpp
  230     Updates.reserve(1 + (2 * succ_size(BB)));
lib/Transforms/Utils/CtorUtils.cpp
   70   Result.reserve(CA->getNumOperands());
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
  188   SortedNodes.reserve(NodesMap.size());
lib/Transforms/Utils/InlineFunction.cpp
 1759           MergedDeoptArgs.reserve(ParentDeopt->Inputs.size() +
lib/Transforms/Utils/Local.cpp
  240         Updates.reserve(SI->getNumSuccessors() - 1);
  308         Updates.reserve(IBI->getNumDestinations() - 1);
 1910     Updates.reserve(BB->getTerminator()->getNumSuccessors());
lib/Transforms/Utils/SimplifyCFG.cpp
  729     Cases.reserve(SI->getNumCases());
lib/XRay/InstrumentationMap.cpp
  196   Sleds.reserve(YAMLSleds.size());
lib/XRay/Profile.cpp
  224     PathAndData.reserve(IndexedThreadBlock.second->size());
  256   Block.reserve(PathData.size());
tools/bugpoint/CrashDebugger.cpp
  853   ToDelete.reserve(M->named_metadata_size() - Names.size());
tools/clang/include/clang/Tooling/Transformer/Stencil.h
  121     PartStrings.reserve(Parts.size());
tools/clang/lib/AST/ComparisonCategories.cpp
  193   Values.reserve(6);
tools/clang/lib/Analysis/PostOrderCFGView.cpp
   22   Blocks.reserve(cfg->getNumBlockIDs());
tools/clang/lib/DirectoryWatcher/DirectoryScanner.cpp
   45   Events.reserve(Scan.size());
tools/clang/lib/Driver/Job.cpp
  311   Environment.reserve(NewEnvironment.size() + 1);
tools/clang/lib/Format/FormatToken.cpp
  239   MinSizeInColumn.reserve(MaxItems);
tools/clang/lib/Frontend/ASTUnit.cpp
 1030     TopLevelDeclIDs.reserve(TopLevelDecls.size());
 1433   Resolved.reserve(TopLevelDeclsInPreamble.size());
tools/clang/lib/Frontend/FrontendActions.cpp
  256   ModuleHeaders.reserve(Inputs.size());
tools/clang/lib/Frontend/InitHeaderSearch.cpp
  556   SearchList.reserve(IncludePath.size());
tools/clang/lib/Serialization/ASTReader.cpp
 1293     Entries.reserve(NumEntries);
tools/clang/lib/Serialization/ASTWriter.cpp
 2293   SLocEntryOffsets.reserve(SourceMgr.local_sloc_entry_size() - 1);
 2799     SerializedSkippedRanges.reserve(SkippedRanges.size());
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  323     Paths.reserve(OriginalPaths.size());
  324     Types.reserve(OriginalPaths.size());
  325     Stems.reserve(OriginalPaths.size());
tools/clang/lib/Tooling/Tooling.cpp
  467   AbsolutePaths.reserve(SourcePaths.size());
tools/clang/lib/Tooling/Transformer/RewriteRule.cpp
   91   Matchers.reserve(Cases.size());
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/HeaderMapCollector.cpp
   18   this->RegexHeaderMappingTable.reserve(RegexHeaderMappingTable->size());
tools/clang/tools/extra/clang-tidy/readability/IsolateDeclarationCheck.cpp
  123   Slices.reserve(DeclCount + 1);
  207   Snippets.reserve(Ranges.size());
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  930         Actions.reserve(Actions.size() + Tweaks->size());
tools/clang/tools/extra/clangd/CodeComplete.cpp
  821     SigHelp.signatures.reserve(NumCandidates);
  822     ScoredSignatures.reserve(NumCandidates);
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  188   RegTexts.reserve(Globs.size());
tools/clang/tools/extra/clangd/Selection.cpp
   41     Tokens.reserve(Spelled.size());
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  142     NonConflicting.reserve(Tokens.size());
  472   Lines.reserve(Tokens.size());
tools/clang/tools/extra/clangd/TUScheduler.cpp
 1011   Result.reserve(Files.size());
tools/clang/tools/extra/clangd/index/Background.cpp
  177     Tasks.reserve(NeedsReIndexing.size());
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp
  115   Result.reserve(LoadedShards.size());
tools/clang/tools/extra/clangd/index/FileIndex.cpp
  158     SymsStorage.reserve(Merged.size());
  188     RefsStorage.reserve(Count);
tools/clang/tools/extra/clangd/index/Ref.cpp
   49   Result.reserve(Refs.size());
tools/clang/tools/extra/clangd/index/Serialization.cpp
  505     Result.Cmd->CommandLine.reserve(Cmd.CommandLine.size());
  568     InternedCmd.CommandLine.reserve(Data.Cmd->CommandLine.size());
tools/clang/tools/extra/clangd/index/Symbol.cpp
   57   SortedSymbols.reserve(Symbols.size());
tools/clang/tools/extra/clangd/unittests/Annotations.cpp
   23   Ps.reserve(Offsets.size());
   45   Rs.reserve(OffsetRanges.size());
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  631   ReqStats.reserve(FilesCount);
tools/clang/tools/extra/clangd/unittests/ExpectedTypeTest.cpp
   56     Elements.reserve(Classes.size());
tools/clang/tools/libclang/CIndex.cpp
 3555     TU->Arguments.reserve(Args->size());
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  581         AllocatedResults.FixItsVector.reserve(NumResults);
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 2270     Args.reserve(ArgRecords.size());
 3211     Args.reserve(ArgRecords.size());
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
 1587   Index.reserve(Diags.size());
tools/dsymutil/BinaryHolder.cpp
   75   Archives.reserve(ArchiveBuffers.size());
  113   Objects.reserve(ObjectBuffers.size());
  127   Result.reserve(Objects.size());
tools/dsymutil/BinaryHolder.h
   67       Result.reserve(Objects.size());
tools/dsymutil/DebugMap.cpp
   62   Entries.reserve(Symbols.getNumItems());
  229   Entries.reserve(Obj.Symbols.size());
tools/dsymutil/DwarfLinker.cpp
 1836   NewRows.reserve(LineTable.Rows.size());
 2556   ObjectContexts.reserve(NumObjects);
 2657     LinkContext.CompileUnits.reserve(
tools/dsymutil/NonRelocatableStringpool.cpp
   44   Result.reserve(Strings.size());
tools/lld/COFF/InputFiles.cpp
  219   chunks.reserve(numSections);
  408   pendingIndexes.reserve(numSymbols);
tools/lld/ELF/AArch64ErrataFix.cpp
  516   tmp.reserve(isd.sections.size() + patches.size());
tools/lld/ELF/ARMErrataFix.cpp
  386   tmp.reserve(isd.sections.size() + patches.size());
tools/lld/ELF/OutputSections.cpp
  168     cmd->sections.reserve(cmd->sectionBases.size());
tools/lld/ELF/Relocations.cpp
 1392   sec.relocations.reserve(rels.size());
 1568         tmp.reserve(isd->sections.size() + newThunks.size());
tools/lld/ELF/SyntheticSections.cpp
 2683   ret.reserve(numSymbols);
 3272     selectedSections.reserve(executableSections.size());
tools/lld/lib/ReaderWriter/MachO/GOTPass.cpp
  126     entries.reserve(_targetToGOT.size());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
 1436   allNodes.reserve(_file.exportInfo.size()*2);
 1443   orderedNodes.reserve(allNodes.size());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  701   file.sections.reserve(_sectionInfos.size());
  711   file.sections.reserve(_sectionInfos.size());
 1055   globals.reserve(512);
 1115   undefs.reserve(128);
 1338   file.functionStarts.reserve(8192);
tools/lld/lib/ReaderWriter/MachO/ShimPass.cpp
   72     shims.reserve(_targetToShim.size());
tools/lld/lib/ReaderWriter/MachO/TLVPass.cpp
   98     entries.reserve(_targetToTLVP.size());
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  830       _content.reserve(cont.size());
tools/lld/wasm/InputFiles.cpp
  330   functions.reserve(funcs.size());
  348   symbols.reserve(wasmObj->getNumberOfSymbols());
tools/lldb/include/lldb/Core/UniqueCStringMap.h
  153   void Reserve(size_t n) { m_map.reserve(n); }
tools/lldb/include/lldb/Symbol/UnwindPlan.h
  400     m_row_list.reserve(rhs.m_row_list.size());
tools/lldb/include/lldb/Utility/RangeMap.h
  471   void Reserve(typename Collection::size_type size) { m_entries.reserve(size); }
tools/lldb/source/API/SBMemoryRegionInfoList.cpp
   36   void Reserve(size_t capacity) { return m_regions.reserve(capacity); }
tools/lldb/source/API/SBProcess.cpp
 1084       paths_vec.reserve(num_paths);
tools/lldb/source/Host/common/MainLoop.cpp
  143   read_fds.reserve(loop.m_read_fds.size());
tools/lldb/source/Host/common/TaskPool.cpp
  118   futures.reserve(num_workers);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
 1669   sorted_items.reserve(source_map.size());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
 1279         fdi_cache.reserve(num_indices);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  646   compiler_invocation_argument_cstrs.reserve(
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
  441   exception_names.reserve(4);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.cpp
   56     sites.reserve(command.GetArgumentCount());
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 4461     nlists.reserve(symtab_load_command.nsyms);
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
  374   tids.reserve(tid_count);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  515   unescaped_content.reserve(content_length);
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
  476   regions.reserve(ExpectedMemory->size());
  506   regions.reserve(memory64_list.size());
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  164   die_index_stack.reserve(32);
  180       m_die_array.reserve(GetDebugInfoSize() / 24);
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
   35   units_to_index.reserve(debug_info.GetNumUnits());
tools/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp
  161   cci->m_file_list.reserve(file_count);
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
 1143   arg_types.reserve(arg_indices.size());
tools/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
  222   bases.reserve(m_bases.size());
tools/lldb/source/Symbol/ClangASTContext.cpp
 8337   raw_bases.reserve(bases.size());
 9435   values.reserve(num_enumerators);
tools/lldb/source/Symbol/CompileUnit.cpp
   71   sorted_functions.reserve(m_functions_by_uid.size());
tools/lldb/source/Symbol/Symtab.cpp
   41   m_symbols.reserve(count);
  267     backlog.reserve(num_symbols / 2);
tools/lldb/source/Utility/Reproducer.cpp
  193   files.reserve(m_providers.size());
tools/lldb/source/Utility/StringList.cpp
   64   m_strings.reserve(m_strings.size() + strings.GetSize());
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp
   70     m_buffer.reserve(total_bytes);
tools/llvm-ar/llvm-ar.cpp
  850   Ret.reserve(Ret.size() + NewMembers.size());
tools/llvm-cov/CoverageReport.cpp
  366   FileReports.reserve(Files.size());
tools/llvm-exegesis/lib/Clustering.cpp
   41   Neighbors.reserve(Points_.size() - 1); // The Q itself isn't a neighbor.
  205   Clusters_.reserve(NumOpcodesSeen); // One cluster per opcode.
  219     CurrentCluster.PointIndices.reserve(PointsOfOpcode.size());
  275     UnstableCluster.PointIndices.reserve(ClusterIDs.size());
tools/llvm-objcopy/COFF/Reader.cpp
   87   Symbols.reserve(COFFObj.getRawNumberOfSymbols());
tools/llvm-objcopy/ELF/Object.cpp
 1639   Records.reserve(Lines.size());
tools/llvm-objcopy/ELF/Object.h
  638     Indexes.reserve(NumSymbols);
tools/llvm-objcopy/MachO/MachOReader.cpp
   98     S.Relocations.reserve(S.NReloc);
tools/llvm-pdbutil/PrettyTypeDumper.cpp
   93   Filtered.reserve(UnfilteredCount);
tools/llvm-rc/ResourceFileWriter.cpp
  909   ItemEntries.reserve(NumItems);
tools/llvm-stress/llvm-stress.cpp
  244       TempValues.reserve(VTp->getNumElements());
tools/llvm-xray/xray-account.cpp
  274   Results.reserve(FunctionLatencies.size());
tools/llvm-xray/xray-converter.cpp
   88   Trace.Records.reserve(Records.size());
tools/llvm-xray/xray-extract.cpp
   58   YAMLSleds.reserve(std::distance(Sleds.begin(), Sleds.end()));
tools/obj2yaml/dwarf2yaml.cpp
  267       DebugLines.StandardOpcodeLengths.reserve(DebugLines.OpcodeBase - 1);
unittests/Analysis/DomTreeUpdaterTest.cpp
   81   Updates.reserve(4);
  261   Updates.reserve(4);
  397   Updates.reserve(4);
  478   Updates.reserve(4);
  651   Updates.reserve(1);
unittests/IR/DominatorTreeBatchUpdatesTest.cpp
   37   Res.reserve(In.size());
usr/include/c++/7.4.0/bits/random.tcc
 2658       _M_cp.reserve(_M_prob.size());
 2674 	_M_prob.reserve(__n);
 2774       __prob_vec.reserve(__n);
 2811       _M_cp.reserve(_M_den.size());
 2857 	_M_den.reserve(_M_int.size() - 1);
 2877 	_M_den.reserve(__n);
 2998       __den_vec.reserve(__n);
 3031       _M_cp.reserve(_M_int.size() - 1);
 3032       _M_m.reserve(_M_int.size() - 1);
 3077 	_M_den.reserve(__bl.size());
 3097 	_M_den.reserve(__n + 1);
 3214       __den_vec.reserve(__n + 1);
utils/TableGen/CTagsEmitter.cpp
   69   Tags.reserve(Classes.size() + Defs.size());
utils/TableGen/CodeGenDAGPatterns.cpp
 1897     CChildren.reserve(Children.size());
utils/TableGen/CodeGenInstruction.cpp
   58   OperandList.reserve(e);
utils/TableGen/CodeGenRegisters.cpp
 2109   RegUnitSetOrder.reserve(RegUnitSets.size());
utils/TableGen/CodeGenSchedule.cpp
  528   ProcModels.reserve(ProcRecords.size()+1);
utils/TableGen/CodeGenTarget.cpp
  581   Intrinsics.reserve(Defs.size());
utils/TableGen/FixedLenDecoderEmitter.cpp
 2390   NumberedEncodings.reserve(NumberedInstructions.size());
 2488     TableInfo.Table.reserve(16384);
utils/TableGen/GICombinerEmitter.cpp
  222   Cases.reserve(Rules.size());
utils/TableGen/RegisterInfoEmitter.cpp
  293     PSets[i].reserve(PSetIDs.size());
utils/TableGen/SearchableTableEmitter.cpp
  322     Entries.reserve(Table.Entries.size());
  332     IndexRowsStorage.reserve(Entries.size());
utils/benchmark/src/benchmark_register.cc
  151     if (spec == ".") benchmarks->reserve(family_size);
  293     tmp.reserve(arglists.size());
utils/benchmark/src/statistics.cc
   98   real_accumulated_time_stat.reserve(reports.size());
   99   cpu_accumulated_time_stat.reserve(reports.size());
  100   bytes_per_second_stat.reserve(reports.size());
  101   items_per_second_stat.reserve(reports.size());
  118         it->second.s.reserve(reports.size());
utils/not/not.cpp
   43   Argv.reserve(argc);
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 3477     matchers.reserve(::testing::tuple_size<MatcherTuple>::value);
 3506     matchers.reserve(::testing::tuple_size<MatcherTuple>::value);