LLVM  9.0.0svn
Public Types | Public Member Functions | Protected Member Functions | List of all members
llvm::SmallVectorImpl< T > Class Template Reference

This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter. More...

#include "llvm/ADT/APFloat.h"

Inherits llvm::SmallVectorTemplateBase< T >.

Inherited by llvm::SmallVector< T, N >, and llvm::SmallVector< T, 0 >.

Collaboration diagram for llvm::SmallVectorImpl< T >:
Collaboration graph
[legend]

Public Types

using iterator = typename SuperClass::iterator
 
using const_iterator = typename SuperClass::const_iterator
 
using size_type = typename SuperClass::size_type
 
- Public Types inherited from llvm::SmallVectorTemplateCommon< T >
using size_type = size_t
 
using difference_type = ptrdiff_t
 
using value_type = T
 
using iterator = T *
 
using const_iterator = const T *
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 
using reverse_iterator = std::reverse_iterator< iterator >
 
using reference = T &
 
using const_reference = const T &
 
using pointer = T *
 
using const_pointer = const T *
 

Public Member Functions

 SmallVectorImpl (const SmallVectorImpl &)=delete
 
 ~SmallVectorImpl ()
 
void clear ()
 
void resize (size_type N)
 
void resize (size_type N, const T &NV)
 
void reserve (size_type N)
 
LLVM_NODISCARD T pop_back_val ()
 
void swap (SmallVectorImpl &RHS)
 
template<typename in_iter , typename = typename std::enable_if<std::is_convertible< typename std::iterator_traits<in_iter>::iterator_category, std::input_iterator_tag>::value>::type>
void append (in_iter in_start, in_iter in_end)
 Add the specified range to the end of the SmallVector. More...
 
void append (size_type NumInputs, const T &Elt)
 Add the specified range to the end of the SmallVector. More...
 
void append (std::initializer_list< T > IL)
 
void assign (size_type NumElts, const T &Elt)
 
template<typename in_iter , typename = typename std::enable_if<std::is_convertible< typename std::iterator_traits<in_iter>::iterator_category, std::input_iterator_tag>::value>::type>
void assign (in_iter in_start, in_iter in_end)
 
void assign (std::initializer_list< T > IL)
 
iterator erase (const_iterator CI)
 
iterator erase (const_iterator CS, const_iterator CE)
 
iterator insert (iterator I, T &&Elt)
 
iterator insert (iterator I, const T &Elt)
 
iterator insert (iterator I, size_type NumToInsert, const T &Elt)
 
template<typename ItTy , typename = typename std::enable_if<std::is_convertible< typename std::iterator_traits<ItTy>::iterator_category, std::input_iterator_tag>::value>::type>
iterator insert (iterator I, ItTy From, ItTy To)
 
void insert (iterator I, std::initializer_list< T > IL)
 
template<typename... ArgTypes>
void emplace_back (ArgTypes &&... Args)
 
SmallVectorImploperator= (const SmallVectorImpl &RHS)
 
SmallVectorImploperator= (SmallVectorImpl &&RHS)
 
bool operator== (const SmallVectorImpl &RHS) const
 
bool operator!= (const SmallVectorImpl &RHS) const
 
bool operator< (const SmallVectorImpl &RHS) const
 
- Public Member Functions inherited from llvm::SmallVectorTemplateBase< T >
void push_back (const T &Elt)
 
void push_back (T &&Elt)
 
void pop_back ()
 
- Public Member Functions inherited from llvm::SmallVectorTemplateCommon< T >
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
size_type size_in_bytes () const
 
size_type max_size () const
 
size_t capacity_in_bytes () const
 
pointer data ()
 Return a pointer to the vector's buffer, even if empty(). More...
 
const_pointer data () const
 Return a pointer to the vector's buffer, even if empty(). More...
 
reference operator[] (size_type idx)
 
const_reference operator[] (size_type idx) const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
- Public Member Functions inherited from llvm::SmallVectorBase
size_t size () const
 
size_t capacity () const
 
LLVM_NODISCARD bool empty () const
 
void set_size (size_t Size)
 Set the array size to N, which the current array must have enough capacity for. More...
 

Protected Member Functions

 SmallVectorImpl (unsigned N)
 
- Protected Member Functions inherited from llvm::SmallVectorTemplateBase< T >
 SmallVectorTemplateBase (size_t Size)
 
void grow (size_t MinSize=0)
 Grow the allocated memory (without initializing new elements), doubling the size of the allocated memory. More...
 
- Protected Member Functions inherited from llvm::SmallVectorTemplateCommon< T >
 SmallVectorTemplateCommon (size_t Size)
 
void grow_pod (size_t MinCapacity, size_t TSize)
 
bool isSmall () const
 Return true if this is a smallvector which has not had dynamic memory allocated for it. More...
 
void resetToSmall ()
 Put this vector in a state of being small. More...
 
- Protected Member Functions inherited from llvm::SmallVectorBase
 SmallVectorBase ()=delete
 
 SmallVectorBase (void *FirstEl, size_t Capacity)
 
void grow_pod (void *FirstEl, size_t MinCapacity, size_t TSize)
 This is an implementation of the grow() method which only works on POD-like data types and is out of line to reduce code duplication. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from llvm::SmallVectorTemplateBase< T >
static void destroy_range (T *S, T *E)
 
static void uninitialized_move (It1 I, It1 E, It2 Dest)
 Move the range [I, E) into the uninitialized memory starting with "Dest", constructing elements as needed. More...
 
static void uninitialized_copy (It1 I, It1 E, It2 Dest)
 Copy the range [I, E) onto the uninitialized memory starting with "Dest", constructing elements as needed. More...
 
- Protected Attributes inherited from llvm::SmallVectorBase
void * BeginX
 
unsigned Size = 0
 
unsigned Capacity
 

Detailed Description

template<typename T>
class llvm::SmallVectorImpl< T >

This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter.

Definition at line 41 of file APFloat.h.

Member Typedef Documentation

◆ const_iterator

template<typename T>
using llvm::SmallVectorImpl< T >::const_iterator = typename SuperClass::const_iterator

Definition at line 320 of file SmallVector.h.

◆ iterator

template<typename T>
using llvm::SmallVectorImpl< T >::iterator = typename SuperClass::iterator

Definition at line 319 of file SmallVector.h.

◆ size_type

template<typename T>
using llvm::SmallVectorImpl< T >::size_type = typename SuperClass::size_type

Definition at line 321 of file SmallVector.h.

Constructor & Destructor Documentation

◆ SmallVectorImpl() [1/2]

template<typename T>
llvm::SmallVectorImpl< T >::SmallVectorImpl ( unsigned  N)
inlineexplicitprotected

Definition at line 325 of file SmallVector.h.

◆ SmallVectorImpl() [2/2]

template<typename T>
llvm::SmallVectorImpl< T >::SmallVectorImpl ( const SmallVectorImpl< T > &  )
delete

◆ ~SmallVectorImpl()

template<typename T>
llvm::SmallVectorImpl< T >::~SmallVectorImpl ( )
inline

Definition at line 331 of file SmallVector.h.

Member Function Documentation

◆ append() [1/3]

template<typename T>
template<typename in_iter , typename = typename std::enable_if<std::is_convertible< typename std::iterator_traits<in_iter>::iterator_category, std::input_iterator_tag>::value>::type>
void llvm::SmallVectorImpl< T >::append ( in_iter  in_start,
in_iter  in_end 
)
inline

Add the specified range to the end of the SmallVector.

Definition at line 386 of file SmallVector.h.

Referenced by llvm::opt::ArgList::AddAllArgValues(), addAllGlobalValueUsers(), llvm::MachineInstr::addMemOperand(), addStackMapLiveVars(), llvm::CodeViewContext::addToStringTable(), llvm::DebugLocEntry::addValues(), analyzeLoopUnrollCost(), llvm::SmallString< 256 >::append(), llvm::sys::path::append(), llvm::RegsForValue::append(), llvm::DIExpression::append(), llvm::internal::appendLoopsToWorklist(), appendLoopsToWorklist(), llvm::DIExpression::appendToStack(), llvm::DIExpression::ExprOperand::appendToVector(), llvm::SmallString< 256 >::assign(), buildMultiplyTree(), CallingConvSupported(), CheckBundleSubtargets(), llvm::MachineInstr::cloneMergedMemRefs(), combineConcatVectorOfExtracts(), combineToExtendBoolVectorInReg(), llvm::MCCodePaddingPolicy::computeFirstWindowPenaltyWeight(), llvm::concatenateVectors(), llvm::ConstantFoldGetElementPtr(), llvm::DwarfCompileUnit::constructLabelDIE(), copyBytesForDefRange(), createMMXBuildVector(), createRdxShuffleMask(), llvm::DecodeEXTRQIMask(), llvm::DecodeINSERTQIMask(), llvm::DecodeVectorBroadcast(), deleteDeadBlocksFromLoop(), EmitAddTreeOfValues(), llvm::MCObjectStreamer::EmitBytes(), llvm::InstrEmitter::EmitDbgLabel(), llvm::MCWasmStreamer::EmitIdent(), llvm::MCWinCOFFStreamer::EmitInstToData(), llvm::MCObjectStreamer::EmitInstToFragment(), emitSignedInt64(), eraseDeadBBsAndChildren(), llvm::DIBuilder::finalizeSubprogram(), llvm::FindInsertedValue(), llvm::SSAUpdaterTraits< SSAUpdater >::FindPredecessorBlocks(), findUser(), foldBitcastedFPLogic(), FoldCONCAT_VECTORS(), llvm::X86InstrInfo::foldMemoryOperandImpl(), llvm::ScalarEvolution::forgetLoop(), llvm::ScalarEvolution::getAddExpr(), llvm::ScalarEvolution::getAddRecExpr(), getARClassRegisterMask(), getAttrKindEncoding(), llvm::DominatorTreeBase< BasicBlock, false >::getDescendants(), getFauxShuffleMask(), getHostID(), llvm::LoopInfoBase< BasicBlock, Loop >::getLoopsInPreorder(), llvm::LoopInfoBase< BasicBlock, Loop >::getLoopsInReverseSiblingPreorder(), getMatchingEHPad(), llvm::ScalarEvolution::getMulExpr(), getNoopInput(), getRangeForAffineARHelper(), llvm::object::ELFFile< ELFT >::getRelocationTypeName(), llvm::object::WasmObjectFile::getRelocationTypeName(), llvm::object::MachOObjectFile::getRelocationTypeName(), llvm::object::COFFObjectFile::getRelocationTypeName(), getSignature(), llvm::ScalarEvolution::getSMaxExpr(), llvm::ConstantDataArray::getString(), getTargetConstantBitsFromNode(), llvm::ScalarEvolution::getUDivExactExpr(), llvm::ScalarEvolution::getUMaxExpr(), llvm::SDNode::hasPredecessorHelper(), llvm::DebugHandlerBase::identifyScopeMarkers(), llvm::detail::IEEEFloat::IEEEFloat(), INITIALIZE_PASS(), llvm::InlineFunction(), llvm::opt::InputArgList::InputArgList(), llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(), llvm::MipsAnalyzeImmediate::Inst::Inst(), isAlwaysFoldable(), llvm::isPotentiallyReachableFromMany(), isTerminalReg(), IsValueFullyAvailableInBlock(), LowerBUILD_VECTORAsVariablePermute(), llvm::TargetLowering::LowerCallTo(), llvm::SITargetLowering::LowerFormalArguments(), mayUsePostIncMode(), llvm::MCELFStreamer::MCELFStreamer(), moveBelowOrigChain(), llvm::R600TargetLowering::PerformDAGCombine(), llvm::BitstreamCursor::readRecord(), llvm::LazyCallGraph::RefSCC::removeInternalRefEdge(), llvm::opt::Arg::render(), llvm::opt::Arg::renderAsInput(), llvm::sys::path::replace_extension(), ReplaceINTRINSIC_W_CHAIN(), replaceOneDbgValueForAlloca(), resolveTypeIndexReferences(), rotateSign(), llvm::LoopFullUnrollPass::run(), llvm::EngineBuilder::setMAttrs(), llvm::CaptureTracker::shouldExplore(), ShrinkLoadReplaceStoreWithStore(), SimplifyAddOperands(), simplifyAllocaArraySize(), SortNonLocalDepInfoCache(), llvm::detail::IEEEFloat::toString(), llvm::APInt::toString(), useSinCos(), llvm::InstCombiner::visitGetElementPtrInst(), wrapConstantAsMetadata(), and llvm::MCWasmStreamer::~MCWasmStreamer().

◆ append() [2/3]

template<typename T>
void llvm::SmallVectorImpl< T >::append ( size_type  NumInputs,
const T Elt 
)
inline

Add the specified range to the end of the SmallVector.

Definition at line 398 of file SmallVector.h.

◆ append() [3/3]

template<typename T>
void llvm::SmallVectorImpl< T >::append ( std::initializer_list< T IL)
inline

Definition at line 408 of file SmallVector.h.

◆ assign() [1/3]

template<typename T>
void llvm::SmallVectorImpl< T >::assign ( size_type  NumElts,
const T Elt 
)
inline

◆ assign() [2/3]

template<typename T>
template<typename in_iter , typename = typename std::enable_if<std::is_convertible< typename std::iterator_traits<in_iter>::iterator_category, std::input_iterator_tag>::value>::type>
void llvm::SmallVectorImpl< T >::assign ( in_iter  in_start,
in_iter  in_end 
)
inline

Definition at line 427 of file SmallVector.h.

◆ assign() [3/3]

template<typename T>
void llvm::SmallVectorImpl< T >::assign ( std::initializer_list< T IL)
inline

Definition at line 432 of file SmallVector.h.

◆ clear()

template<typename T>
void llvm::SmallVectorImpl< T >::clear ( )
inline

Definition at line 338 of file SmallVector.h.

Referenced by llvm::PMDataManager::add(), llvm::LiveIntervals::addKillFlags(), addSegmentsWithValNo(), llvm::BPFInstrInfo::analyzeBranch(), llvm::ARCInstrInfo::analyzeBranch(), llvm::RISCVInstrInfo::analyzeBranch(), llvm::MSP430InstrInfo::analyzeBranch(), llvm::LanaiInstrInfo::analyzeBranch(), llvm::AVRInstrInfo::analyzeBranch(), llvm::HexagonInstrInfo::analyzeBranch(), llvm::ARMBaseInstrInfo::analyzeBranch(), llvm::SystemZInstrInfo::analyzeBranch(), llvm::SystemZCCState::AnalyzeCallOperands(), llvm::MipsCCState::AnalyzeCallOperands(), llvm::MipsCCState::AnalyzeCallResult(), llvm::SystemZCCState::AnalyzeFormalArguments(), llvm::MipsCCState::AnalyzeFormalArguments(), analyzeLoopUnrollCost(), llvm::MipsCCState::AnalyzeReturn(), llvm::internal::appendLoopsToWorklist(), appendLoopsToWorklist(), llvm::HexagonFrameLowering::assignCalleeSavedSpillSlots(), BatchCommitValueTo(), llvm::codeview::ContinuationRecordBuilder::begin(), bothUsedInPHI(), llvm::SSAUpdaterImpl< UpdaterT >::BuildBlockList(), llvm::VPlanSlp::buildGraph(), llvm::IDFCalculator< NodeTy, IsPostDom >::calculate(), callsiteIsHot(), canFoldInAddressingMode(), llvm::slpvectorizer::BoUpSLP::canMapToVector(), llvm::CC_ARM_AAPCS_Custom_Aggregate(), CC_RISCV(), llvm::HexagonShuffler::check(), llvm::MipsCCState::CheckReturn(), CleanupPointerRootUsers(), llvm::IntEqClasses::clear(), llvm::GISelWorkList< 8 >::clear(), llvm::IndexedMap< unsigned, llvm::VirtReg2IndexFunctor >::clear(), llvm::DomainValue::clear(), llvm::AssumptionCache::clear(), llvm::ArrayRecycler< llvm::MachineOperand >::clear(), llvm::SpillPlacement::Node::clear(), llvm::SchedDFSResult::clear(), llvm::SDDbgInfo::clear(), llvm::MCInst::clear(), llvm::SparseSet< unsigned, llvm::VirtReg2IndexFunctor >::clear(), llvm::SmallSet< unsigned, 16 >::clear(), llvm::FunctionLoweringInfo::clear(), llvm::LiveRange::clear(), llvm::FoldingSetNodeID::clear(), llvm::SparseMultiSet< VReg2SUnit, VirtReg2IndexFunctor >::clear(), llvm::CCState::clearByValRegsInfo(), llvm::FastISel::CallLoweringInfo::clearIns(), llvm::FastISel::CallLoweringInfo::clearOuts(), llvm::MCAsmParser::clearPendingErrors(), llvm::VPBlockBase::clearPredecessors(), llvm::VPBlockBase::clearSuccessors(), llvm::PPCCCState::clearWasPPCF128(), CloneLoop(), llvm::collectCmpOps(), combineShuffle(), llvm::LTOCodeGenerator::compile(), llvm::ScalarEvolution::computeAccessFunctions(), llvm::ComputeSignatureVTs(), containsSafePHI(), llvm::convertUTF8ToUTF16String(), createAndInstr(), llvm::createGreedyRegisterAllocator(), llvm::createX86FixupBWInsts(), llvm::VerifierSupport::DebugInfoCheckFailed(), decodeLLVMAttributesForBitcode(), llvm::DecodeVPPERMMask(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::AsmPrinter::doFinalization(), doPromotion(), llvm::GVNExpression::Expression::dump(), emitComments(), emitSignedInt64(), llvm::CodeViewContext::encodeDefRange(), llvm::CodeViewContext::encodeInlineLineTable(), ExpandBVWithShuffles(), llvm::ARMTargetLowering::ExpandInlineAsm(), llvm::X86TargetLowering::ExpandInlineAsm(), llvm::object::ExportEntry::ExportEntry(), llvm::finalizeBundle(), FindAllMemoryUses(), llvm::ScalarEvolution::findArrayDimensions(), findConsecutiveLoad(), FindFirstMatchingPrefix(), FindMostPopularDest(), llvm::MCAssembler::Finish(), llvm::SplitEditor::finish(), llvm::RecordStreamer::flushSymverDirectives(), llvm::formDedicatedExitBlocks(), llvm::formLCSSAForInstructions(), llvm::StackSafetyInfo::FunctionInfo::FunctionInfo(), llvm::ScalarEvolution::getAddExpr(), getAdjustedPtr(), GetAEABIUnwindPersonalityName(), llvm::RegBankSelect::getAnalysisUsage(), getAttrFromCode(), getAttrKindEncoding(), llvm::RegsForValue::getCopyFromRegs(), llvm::TargetSubtargetInfo::getCriticalPathRCs(), llvm::pdb::DIARawSymbol::getDataBytes(), llvm::pdb::NativeRawSymbol::getDataBytes(), llvm::DominatorTreeBase< BasicBlock, false >::getDescendants(), getEnableSplitLTOUnitFlag(), getEncodedUnnamedAddr(), getFallThroughMBB(), getFauxShuffleMask(), getFPReg(), getHostID(), llvm::unittest::getInputFileDirectory(), getLayoutSuccessorProbThreshold(), getMemmoveLoadsAndStores(), getMemSetPatternValue(), llvm::pdb::DIADataStream::getNext(), llvm::DOTGraphTraits< BoUpSLP * >::getNodeAttributes(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), getOffsetFromIndices(), getOptimizationFlags(), llvm::SystemZRegisterInfo::getRegAllocationHints(), getRetComponentType(), llvm::GetShadowBytes(), getStartOrEndSlot(), getStringEncoding(), getSuccPad(), llvm::ScalarEvolution::getUDivExpr(), getUnderlyingObjects(), llvm::getUnderlyingObjectsForCodeGen(), getUnderlyingObjectsForInstr(), llvm::LoopBase< BasicBlock, Loop >::getUniqueExitBlocks(), llvm::yaml::ScalarNode::getValue(), llvm::FunctionLoweringInfo::getValueFromVirtualReg(), llvm::MipsCallLowering::MipsHandler::handle(), hasObjCCategoryInModule(), hasTiedDef(), llvm::detail::IEEEFloat::IEEEFloat(), INITIALIZE_PASS(), llvm::InlineFunction(), insertUndefLaneMask(), insertVector(), llvm::MipsAnalyzeImmediate::Inst::Inst(), inversePermutation(), is_ns_word_char(), llvm::isAllocaPromotable(), isCallerPreservedOrConstPhysReg(), isCompareZero(), isImmValidForOpcode(), IsNonLocalValue(), IsSafeAndProfitableToMove(), isTerminalReg(), jumpToValueSymbolTable(), llvm::llvm_is_multithreaded(), LoopIsOuterMostWithPredecessor(), llvm::X86CallLowering::lowerCall(), llvm::ARMCallLowering::lowerCall(), llvm::AArch64CallLowering::lowerCall(), llvm::MipsCallLowering::lowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::ARMCallLowering::lowerFormalArguments(), llvm::NVPTXTargetLowering::LowerReturn(), makeAllConstantUsesInstructions(), llvm::Regex::match(), mayLoopAccessLocation(), mayUsePostIncMode(), mergeConstants(), moveBelowOrigChain(), llvm::sys::path::native(), okayForPHIOfOps(), false::IntervalSorter::operator()(), llvm::IntervalMap< SlotIndex, unsigned >::overlaps(), llvm::BlockFrequencyInfoImplBase::packageLoop(), parseCond(), llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(), llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataAttachment(), llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataKinds(), parseOperands(), llvm::MemoryDepChecker::Dependence::print(), PushArgMD(), pushDepHeight(), llvm::sampleprof::SampleProfileReaderText::read(), llvm::BitstreamCursor::ReadBlockInfoBlock(), readIdentificationBlock(), readModuleTriple(), readWideAPInt(), llvm::HexagonInstrInfo::reduceLoopCount(), RefineErrorLoc(), llvm::RuntimeDyldELF::registerEHFrames(), llvm::ReachingDefAnalysis::releaseMemory(), llvm::MachineDominatorTree::releaseMemory(), llvm::LiveIntervals::releaseMemory(), llvm::SlotIndexes::releaseMemory(), reorderSubVector(), replaceShuffleOfInsert(), llvm::UnwindOpcodeAssembler::Reset(), llvm::HexagonShuffler::reset(), llvm::MCLOHContainer::reset(), llvm::LiveRangeCalc::reset(), llvm::InlineFunctionInfo::reset(), llvm::MCStreamer::reset(), llvm::MCContext::reset(), llvm::SchedRemainder::reset(), llvm::DominatorTreeBase< BasicBlock, false >::reset(), llvm::BitcodeReaderValueList::resolveConstantForwardRefs(), llvm::ARMFrameLowering::ResolveFrameIndexReference(), resolveTypeIndexReferences(), rotateSign(), llvm::WholeProgramDevirtPass::run(), llvm::DevirtSCCRepeatedPass< PassT >::run(), llvm::MachineDominatorTree::runOnMachineFunction(), salvageDebugInfoFromEmptyBlock(), llvm::SelectionDAGISel::SelectCodeCommon(), llvm::MachineRegisterInfo::setCalleeSavedRegs(), llvm::FileRemover::setFile(), setImmutableRefs(), llvm::EngineBuilder::setMAttrs(), llvm::IntervalMapImpl::Path::setRoot(), setupSwiftErrorVals(), shouldInstrumentReadWriteFromAddress(), shouldReorderOperands(), SimplifyAddOperands(), simplifyLoopInst(), sinkLastInstruction(), SortNonLocalDepInfoCache(), llvm::sortPtrAccesses(), llvm::SplitCriticalEdge(), StripSymbolNames(), llvm::LazyCallGraph::RefSCC::switchInternalEdgeToRef(), llvm::RegBankSelect::RepairingPlacement::switchTo(), llvm::TailDuplicator::tailDuplicateAndUpdate(), llvm::cl::TokenizeGNUCommandLine(), llvm::cl::TokenizeWindowsCommandLine(), llvm::LoopTraversal::traverse(), truncateToSize(), tryFoldInst(), tryToVectorizeHorReductionOrInstOperands(), llvm::BlockFrequencyInfoImplBase::updateLoopWithIrreducible(), llvm::MachineBasicBlock::updateTerminator(), llvm::MetadataLoader::MetadataLoaderImpl::upgradeDebugIntrinsics(), llvm::ValueEnumerator::ValueEnumerator(), llvm::MemorySSA::verifyOrdering(), writeFunctionTypeMetadataRecords(), llvm::WriteIndexToFile(), writeTypeIdSummaryRecord(), and llvm::MachineFunction::~MachineFunction().

◆ emplace_back()

template<typename T>
template<typename... ArgTypes>
void llvm::SmallVectorImpl< T >::emplace_back ( ArgTypes &&...  Args)
inline

Definition at line 644 of file SmallVector.h.

Referenced by llvm::AArch64CallLowering::AArch64CallLowering(), addEdge(), llvm::RegBankSelect::RepairingPlacement::addInsertPoint(), alwaysAvailable(), AnyAliasLiveIn(), llvm::VPlanSlp::buildGraph(), llvm::calculateClrEHStateNumbers(), canFoldIVIncExpr(), CC_MipsO32_FP64(), CloneInstructionInExitBlock(), llvm::sys::commandLineFitsWithinSystemLimits(), computeImportForFunction(), llvm::JumpThreadingPass::ComputeValueKnownInPredecessorsImpl(), ConvertToSInt(), createCallInst(), createImportedModule(), llvm::createObjCARCOptPass(), llvm::mca::RegisterFile::cycleStart(), DeleteTriviallyDeadInstructions(), llvm::GVNExpression::Expression::dump(), llvm::NVPTXTargetStreamer::emitDwarfFileDirective(), llvm::WebAssemblyAsmPrinter::EmitProducerInfo(), llvm::MCObjectStreamer::EmitRelocDirective(), ensurePromotedGV(), llvm::ScalarEvolution::forgetValue(), llvm::StackSafetyInfo::FunctionInfo::FunctionInfo(), llvm::AttributeSetNode::get(), llvm::AttributeList::get(), llvm::RegBankSelect::getAnalysisUsage(), llvm::LoopBase< BasicBlock, Loop >::getExitEdges(), getGNUBinOpPrecedence(), getLayoutSuccessorProbThreshold(), llvm::DebugLocStream::getLists(), getNames(), llvm::DOTGraphTraits< BoUpSLP * >::getNodeAttributes(), getOffsetFromIndices(), llvm::CallBase::getOperandBundlesAsDefs(), llvm::slpvectorizer::BoUpSLP::getORE(), getOtherIncomingValue(), llvm::SelectionDAG::getTokenFactor(), llvm::InlineFunction(), llvm::TargetPassConfig::insertPass(), insertSpills(), llvm::LazyCallGraph::RefSCC::insertTrivialCallEdge(), llvm::LazyCallGraph::RefSCC::insertTrivialRefEdge(), isAllocSiteRemovable(), isInSymtab(), isOnlyCopiedFromConstantGlobal(), llvm::mca::Scheduler::issueInstruction(), isSupportedType(), LinearizeExprTree(), llvm::MipsCallLowering::lowerCall(), llvm::SITargetLowering::LowerCall(), mayUsePostIncMode(), NewGVN::ValueDFS::operator<(), parseOptionalLinkageAux(), llvm::PassInstrumentationCallbacks::registerAfterAnalysisCallback(), llvm::PassInstrumentationCallbacks::registerAfterPassCallback(), llvm::PassInstrumentationCallbacks::registerAfterPassInvalidatedCallback(), llvm::PassInstrumentationCallbacks::registerBeforeAnalysisCallback(), llvm::PassInstrumentationCallbacks::registerBeforePassCallback(), llvm::mca::RegisterFile::RegisterFile(), llvm::SCEVExpander::replaceCongruentIVs(), llvm::mca::Scheduler::select(), llvm::MachineFunction::setVariableDbgInfo(), shouldReorderOperands(), llvm::sortPtrAccesses(), llvm::CombinerHelper::tryCombineExtendingLoads(), llvm::UnrollAndJamLoop(), unswitchNontrivialInvariants(), llvm::X86CallLowering::X86CallLowering(), and llvm::PrintIRInstrumentation::~PrintIRInstrumentation().

◆ erase() [1/2]

template<typename T>
iterator llvm::SmallVectorImpl< T >::erase ( const_iterator  CI)
inline

Definition at line 437 of file SmallVector.h.

Referenced by buildMultiplyTree(), collectMultiplyFactors(), createAndInstr(), llvm::createX86OptimizeLEAs(), llvm::DomTreeUpdater::deleteEdgeRelaxed(), llvm::ARMFrameLowering::determineCalleeSaves(), llvm::MachineRegisterInfo::disableCalleeSavedRegister(), llvm::GVNExpression::Expression::dump(), EmitAddTreeOfValues(), llvm::MCInst::erase(), llvm::SmallSet< unsigned, 16 >::erase(), llvm::cl::ExpandResponseFiles(), llvm::ScalarEvolution::findArrayDimensions(), llvm::LiveRangeUpdater::flush(), llvm::StackSafetyInfo::FunctionInfo::FunctionInfo(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::ChildrenGetter< Inverse >::Get(), llvm::ScalarEvolution::getAddExpr(), getArrayElements(), getLayoutSuccessorProbThreshold(), llvm::ScalarEvolution::getMulExpr(), getNaturalGEPWithType(), llvm::ScalarEvolution::getSMaxExpr(), llvm::SelectionDAG::getTokenFactor(), getTypePartition(), llvm::ScalarEvolution::getUMaxExpr(), hasSameExtUse(), llvm::detail::IEEEFloat::IEEEFloat(), INITIALIZE_PASS(), llvm::InlineFunction(), llvm::MipsAnalyzeImmediate::Inst::Inst(), is_ns_word_char(), isProfitableChain(), isTerminalReg(), isVectorPromotionViable(), llvm::MCAsmLexer::Lex(), llvm::coverage::CoverageMapping::load(), lowerV16I8VectorShuffle(), lowerV8I16GeneralSingleInputVectorShuffle(), MaybePredicatedInst(), MergeAliasResults(), OptimizeAndOrXor(), populateExternalRelations(), promoteSingleBlockAlloca(), relocationViaAlloca(), llvm::MDAttachmentMap::remove_if(), llvm::LegacyInlinerBase::removeDeadFunctions(), RemoveInstInputs(), llvm::LazyCallGraph::RefSCC::removeInternalRefEdge(), llvm::cl::parser< const PassInfo *>::removeLiteralOption(), llvm::GISelObserverWrapper::removeObserver(), removeRegLanes(), llvm::LiveRange::removeSegment(), llvm::Record::removeValue(), llvm::AlwaysInlinerPass::run(), llvm::InlinerPass::run(), ShrinkLoadReplaceStoreWithStore(), SimplifyBranchOnICmpChain(), sortGlobalExprs(), llvm::DebugLocEntry::sortUniqueValues(), llvm::LazyCallGraph::RefSCC::switchInternalEdgeToRef(), tryToSpeculatePHIs(), llvm::GCOVBlock::unblock(), unique_unsorted(), llvm::BlockFrequencyInfoImplBase::updateLoopWithIrreducible(), VerifySubExpr(), and llvm::InstCombiner::visitLandingPadInst().

◆ erase() [2/2]

template<typename T>
iterator llvm::SmallVectorImpl< T >::erase ( const_iterator  CS,
const_iterator  CE 
)
inline

Definition at line 452 of file SmallVector.h.

◆ insert() [1/5]

template<typename T>
iterator llvm::SmallVectorImpl< T >::insert ( iterator  I,
T &&  Elt 
)
inline

Definition at line 470 of file SmallVector.h.

Referenced by addData(), llvm::MipsInstrInfo::analyzeBranch(), buildMultiplyTree(), callsiteIsHot(), canFoldIVIncExpr(), canPaddingBeAccessed(), llvm::rdf::Liveness::computePhiInfo(), llvm::DwarfCompileUnit::constructScopeDIE(), createAndInstr(), llvm::createControlHeightReductionLegacyPass(), llvm::ScalarEvolution::delinearize(), doesIgnoreDataTypeSuffix(), doPromotion(), llvm::UnwindOpcodeAssembler::EmitRaw(), llvm::cl::ExpandResponseFiles(), findConsecutiveLoad(), FitWeights(), llvm::LiveRangeUpdater::flush(), llvm::BinOpInit::Fold(), generateEquivalentSub(), llvm::AttributeList::get(), llvm::SelectionDAG::getConstant(), getParentPad(), getSelectsInScope(), llvm::yaml::ScalarNode::getValue(), llvm::MCInst::insert(), insertParsePoints(), isProfitableChain(), IsSingleInstrConstant(), isSortedByValueNo(), llvm::MCAsmLexer::Lex(), llvm::BlockFrequencyInfoImplBase::LoopData::LoopData(), llvm::SelectionDAGBuilder::LowerAsSTATEPOINT(), LowerInterruptReturn(), MaybePredicatedInst(), operator!=(), performSink(), PrepareCall(), llvm::sampleprof::SampleProfileReaderGCC::readOneFunctionProfile(), llvm::InstrProfReaderItaniumRemapper< HashTableImpl >::reconstituteName(), llvm::AArch64TargetLowering::ReconstructShuffle(), llvm::IntervalMapImpl::Path::replaceRoot(), resolveRecordTypes(), sinkInstruction(), StripSymbolNames(), llvm::MCDwarfLineTableHeader::tryGetFile(), tryToVectorizeHorReductionOrInstOperands(), llvm::MCAsmLexer::UnLex(), llvm::WriteBitcodeToFile(), writeFunctionTypeMetadataRecords(), and writeWholeProgramDevirtResolutionByArg().

◆ insert() [2/5]

template<typename T>
iterator llvm::SmallVectorImpl< T >::insert ( iterator  I,
const T Elt 
)
inline

Definition at line 500 of file SmallVector.h.

◆ insert() [3/5]

template<typename T>
iterator llvm::SmallVectorImpl< T >::insert ( iterator  I,
size_type  NumToInsert,
const T Elt 
)
inline

Definition at line 529 of file SmallVector.h.

◆ insert() [4/5]

template<typename T>
template<typename ItTy , typename = typename std::enable_if<std::is_convertible< typename std::iterator_traits<ItTy>::iterator_category, std::input_iterator_tag>::value>::type>
iterator llvm::SmallVectorImpl< T >::insert ( iterator  I,
ItTy  From,
ItTy  To 
)
inline

Definition at line 584 of file SmallVector.h.

◆ insert() [5/5]

template<typename T>
void llvm::SmallVectorImpl< T >::insert ( iterator  I,
std::initializer_list< T IL 
)
inline

Definition at line 640 of file SmallVector.h.

◆ operator!=()

template<typename T>
bool llvm::SmallVectorImpl< T >::operator!= ( const SmallVectorImpl< T > &  RHS) const
inline

Definition at line 659 of file SmallVector.h.

◆ operator<()

template<typename T>
bool llvm::SmallVectorImpl< T >::operator< ( const SmallVectorImpl< T > &  RHS) const
inline

Definition at line 663 of file SmallVector.h.

◆ operator=() [1/2]

template<typename T >
SmallVectorImpl< T > & llvm::SmallVectorImpl< T >::operator= ( const SmallVectorImpl< T > &  RHS)

◆ operator=() [2/2]

template<typename T >
SmallVectorImpl< T > & llvm::SmallVectorImpl< T >::operator= ( SmallVectorImpl< T > &&  RHS)

Definition at line 757 of file SmallVector.h.

◆ operator==()

template<typename T>
bool llvm::SmallVectorImpl< T >::operator== ( const SmallVectorImpl< T > &  RHS) const
inline

Definition at line 655 of file SmallVector.h.

◆ pop_back_val()

template<typename T>
LLVM_NODISCARD T llvm::SmallVectorImpl< T >::pop_back_val ( )
inline

Definition at line 373 of file SmallVector.h.

Referenced by addAllGlobalValueUsers(), addBlockAndPredsToSet(), AddReachableCodeToWorklist(), llvm::ARMFrameLowering::adjustForSegmentedStacks(), allUsersAreInFunction(), analyzeLoopUnrollCost(), llvm::internal::appendLoopsToWorklist(), appendLoopsToWorklist(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::ApplyNextUpdate(), llvm::SSAUpdaterImpl< UpdaterT >::BuildBlockList(), buildClonedLoops(), buildMultiplyTree(), llvm::IDFCalculator< NodeTy, IsPostDom >::calculate(), llvm::calculateClrEHStateNumbers(), canonicalizePHIOperands(), canTRE(), castRequiresQueuePtr(), llvm::SSAUpdaterImpl< UpdaterT >::CheckIfPHIMatches(), checkScale(), llvm::TypeFinder::clear(), cloneLoopNest(), collectCastsToIgnore(), collectEHScopeMembers(), collectHomogenousInstGraphLoopInvariants(), llvm::LoopVectorizationCostModel::collectInstsToScalarize(), collectTransitivePredecessors(), llvm::colorEHFunclets(), combineOrCmpEqZeroToCtlzSrl(), combineRedundantDWordShuffle(), llvm::FunctionComparator::compare(), computeBlocksDominatingExits(), llvm::computeDeadSymbols(), ComputeImportForModule(), llvm::computeMinimumValueSizes(), llvm::slpvectorizer::BoUpSLP::computeMinimumValueSizes(), ComputePostOrders(), ConstHasGlobalValuePredicate(), containsSafePHI(), ConvertToSInt(), createCallInst(), llvm::createObjCARCOptPass(), deleteDeadInstruction(), DeleteTriviallyDeadInstructions(), despeculateCountZeros(), llvm::ARMFrameLowering::determineCalleeSaves(), determinePointerReadAttrs(), llvm::JumpThreadingPass::DuplicateCondBranchOnPHIIntoPred(), llvm::SMSchedule::earliestCycleInChain(), llvm::LiveRangeEdit::eliminateDeadDefs(), eraseDeadBBsAndChildren(), llvm::InstructionSelector::executeMatchTable(), findBasePointer(), llvm::objcarc::FindDependencies(), llvm::FindFunctionBackedges(), findRefEdges(), findSingleRegDef(), findSRegBaseAndIndex(), FitWeights(), llvm::ScalarEvolution::forgetLoop(), llvm::ScalarEvolution::forgetValue(), llvm::formLCSSAForInstructions(), llvm::FunctionComparator::functionHash(), llvm::StackSafetyInfo::FunctionInfo::FunctionInfo(), llvm::WebAssemblyExceptionInfo::getAnalysisUsage(), getBaseType(), GetConstantInt(), getCoroBeginPredBlocks(), llvm::DominatorTreeBase< BasicBlock, false >::getDescendants(), llvm::DomTreeNodeBase< VPBlockBase >::getDFSNumOut(), llvm::MemoryDependenceResults::getInvariantGroupPointerDependency(), llvm::LoopInfoBase< BasicBlock, Loop >::getLoopsInPreorder(), llvm::LoopInfoBase< BasicBlock, Loop >::getLoopsInReverseSiblingPreorder(), getMatchingEHPad(), getNotRelocatableInstructions(), getRangeForAffineARHelper(), llvm::SystemZRegisterInfo::getRegAllocationHints(), llvm::GetUnderlyingObjects(), llvm::getUnderlyingObjectsForCodeGen(), getUnwindDestToken(), getUnwindDestTokenHelper(), llvm::slpvectorizer::BoUpSLP::getVectorElementSize(), HandleMergeInputChains(), hasCallsInBlocksBetween(), llvm::SDNode::hasPredecessorHelper(), hasStoreUsersOnly(), llvm::HexagonMCShuffle(), llvm::DebugHandlerBase::identifyScopeMarkers(), INITIALIZE_PASS(), llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(), llvm::PhiValues::invalidate(), llvm::MachineTraceMetrics::Ensemble::invalidate(), is_ns_word_char(), isAllocSiteRemovable(), isAlwaysFoldable(), llvm::LazyCallGraph::SCC::isAncestorOf(), llvm::LazyCallGraph::RefSCC::isAncestorOf(), isBlockValidForExtraction(), isCallerPreservedOrConstPhysReg(), isCopyFeedingInvariantStore(), isDefInSubRange(), isEphemeralValueOf(), isFullCopyOf(), isFuncOrArgAttr(), isKnownNonNullFromDominatingCondition(), isLeakCheckerRoot(), isNonEscapingGlobalNoAliasWithLoad(), isObjectSizeLessThanOrEq(), isOnlyCopiedFromConstantGlobal(), isOnlyReachableViaThisEdge(), isOpcodeHandled(), llvm::isPotentiallyReachableFromMany(), isSafeToSpeculatePHIUsers(), isSimpleIVUser(), IsStoredObjCPointer(), isSuccOrder(), isTargetConstant(), isUniformlyReached(), IsValueFullyAvailableInBlock(), llvm::SMSchedule::latestCycleInChain(), markAliveBlocks(), MarkBlocksLiveIn(), markTails(), mayUseP9Setb(), memoryIsNotModifiedBetween(), mergeCleanupPad(), MoveAndTeeForMultiUse(), okayForPHIOfOps(), optimizeVcndVcmpPair(), packCmovGroup(), llvm::PHITransAddr::PHITranslateWithInsertion(), llvm::BasicAAResult::pointsToConstantMemory(), llvm::GISelWorkList< 8 >::pop_back_val(), llvm::SparseSet< unsigned, llvm::VirtReg2IndexFunctor >::pop_back_val(), llvm::ValueEnumerator::print(), llvm::WebAssemblyInstPrinter::printInst(), llvm::AlignmentFromAssumptionsPass::processAssumption(), propagateMetadata(), PushDefUseChildren(), PushLoopPHIs(), rebuildLoopAfterUnswitch(), recomputeLoopBlockSet(), llvm::RecursivelyDeleteTriviallyDeadInstructions(), llvm::safestack::StackColoring::removeAllMarkers(), llvm::SelectionDAG::RemoveDeadNodes(), llvm::LazyCallGraph::RefSCC::removeInternalRefEdge(), llvm::InstCombineWorklist::RemoveOne(), replaceShuffleOfInsert(), reportMayClobberedLoad(), rewriteNonInstructionUses(), llvm::LoopPredicationPass::run(), llvm::LoopUnrollPass::run(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::runDFS(), llvm::LoopVectorizePass::runImpl(), llvm::LoopVectorizationCostModel::setCostBasedWideningDecision(), llvm::SUnit::setDepthDirty(), llvm::SUnit::setHeightDirty(), shouldTransformMulToShiftsAddsSubs(), ShrinkLoadReplaceStoreWithStore(), llvm::simplifyLoopAfterUnroll(), AllocaSlices::SliceBuilder::SliceBuilder(), SortNonLocalDepInfoCache(), llvm::LazyCallGraph::RefSCC::switchInternalEdgeToCall(), llvm::LazyCallGraph::RefSCC::switchInternalEdgeToRef(), llvm::JumpThreadingPass::ThreadEdge(), transformToIndexedCompare(), truncateIVUse(), updateLiveness(), usedAsAddr(), verifyCTRBranch(), llvm::sroa::AllocaSliceRewriter::visit(), llvm::SCEVTraversal< SV >::visitAll(), llvm::InstCombiner::visitAnd(), visitDomSubTree(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::VisitInsertion(), visitPHIUsersAndDepsInPostOrder(), llvm::LazyCallGraph::visitReferences(), wrapConstantAsMetadata(), and llvm::PrintIRInstrumentation::~PrintIRInstrumentation().

◆ reserve()

template<typename T>
void llvm::SmallVectorImpl< T >::reserve ( size_type  N)
inline

Definition at line 368 of file SmallVector.h.

Referenced by llvm::InstCombineWorklist::AddInitialGroup(), llvm::DwarfCompileUnit::attachRangesOrLowHighPC(), BatchCommitValueTo(), buildClonedLoopBlocks(), buildClonedLoops(), buildMultiplyTree(), llvm::FileCheck::CanonicalizeFile(), canonicalizeSaturatedSubtract(), CC_MipsO32_FP64(), llvm::sys::commandLineFitsWithinSystemLimits(), llvm::LTOCodeGenerator::compile(), llvm::zlib::compress(), llvm::EHStreamer::computeActionsTable(), llvm::computeDeadSymbols(), computeWeight(), llvm::ConstantFoldGetElementPtr(), llvm::ConstantFoldInsertElementInstruction(), llvm::TypedInit::convertInitializerBitRange(), llvm::ListInit::convertInitializerTo(), llvm::TypedInit::convertInitListSlice(), llvm::ListInit::convertInitListSlice(), llvm::createLICMPass(), definesFullReg(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::DWARFGdbIndex::dump(), llvm::DwarfStringPool::emit(), EmitAddTreeOfValues(), llvm::EHStreamer::emitExceptionTable(), emitIntrinsicWithCC(), emitIntrinsicWithCCAndChain(), ExpandBVWithShuffles(), extractVector(), findInitTrampoline(), llvm::FindInsertedValue(), llvm::RecordStreamer::flushSymverDirectives(), llvm::AttributeList::get(), getCompareCC(), getComparePred(), getExpandedMinMaxOps(), llvm::MachineInstrExpressionTrait::getHashValue(), llvm::TargetTransformInfoImplCRTPBase< AMDGPUTTIImpl >::getIntrinsicCost(), getLAScore(), llvm::SelectionDAG::getMergeValues(), getMetadataTypeOrder(), llvm::MDNode::getMostGenericRange(), llvm::ScalarEvolution::getMulExpr(), getStartOrEndSlot(), getSuccPad(), llvm::yaml::ScalarNode::getValue(), llvm::IntEqClasses::grow(), llvm::Constant::handleOperandChange(), llvm::InlineFunction(), insertVector(), makeStatepointExplicit(), mayUsePostIncMode(), false::IntervalSorter::operator()(), operator<<(), OptimizeAwayTrappingUsesOfValue(), llvm::slpvectorizer::BoUpSLP::optimizeGatherSequence(), llvm::DWARFDebugLoc::parseOneLocationList(), llvm::CallGraph::print(), rebuildLoopAfterUnswitch(), llvm::InstrProfReaderItaniumRemapper< HashTableImpl >::reconstituteName(), relocationViaAlloca(), llvm::IndexedMap< unsigned, llvm::VirtReg2IndexFunctor >::reserve(), llvm::ListInit::resolveReferences(), llvm::VarDefInit::resolveReferences(), llvm::DagInit::resolveReferences(), rotateSign(), llvm::SlotIndexes::runOnMachineFunction(), selectJumpTableArmEncoding(), llvm::RecordVal::setValue(), SimplifyCall(), llvm::sortPtrAccesses(), speculatePHIs(), StackMallocSizeClass(), llvm::StripDebugInfo(), unswitchNontrivialInvariants(), unswitchTrivialSwitch(), llvm::MetadataLoader::MetadataLoaderImpl::upgradeDebugIntrinsics(), llvm::upgradeInstructionLoopAttachment(), upgradeLoopArgument(), llvm::InstCombiner::visitLandingPadInst(), wrapConstantAsMetadata(), llvm::WriteBitcodeToFile(), llvm::WriteIndexToFile(), llvm::WriteThinLinkBitcodeToFile(), and llvm::LLVMContextImpl::~LLVMContextImpl().

◆ resize() [1/2]

template<typename T>
void llvm::SmallVectorImpl< T >::resize ( size_type  N)
inline

Definition at line 343 of file SmallVector.h.

Referenced by llvm::AttributeList::addAttributes(), addData(), llvm::AttributeList::addParamAttribute(), AssignProtectedObjSet(), llvm::BitTracker::RegisterCell::cat(), llvm::CCState::CCState(), CHRScopeSorter(), llvm::WasmException::computeCallSiteTable(), llvm::EHStreamer::computeCallSiteTable(), concatSubVector(), llvm::ConstantFoldGetElementPtr(), llvm::convertUTF8ToUTF16String(), createMMXBuildVector(), llvm::createShadowStackGCLoweringPass(), createShuffleMaskFromVSELECT(), llvm::DependenceInfo::depends(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::DWARFGdbIndex::dump(), llvm::MCWinCOFFStreamer::EmitCOFFImgRel32(), llvm::MCWinCOFFStreamer::EmitCOFFSecRel32(), llvm::MCWinCOFFStreamer::EmitCOFFSectionIndex(), llvm::MCObjectStreamer::EmitDTPRel32Value(), llvm::MCObjectStreamer::EmitDTPRel64Value(), llvm::MCObjectStreamer::EmitGPRel32Value(), llvm::MCObjectStreamer::EmitGPRel64Value(), llvm::MCObjectStreamer::EmitTPRel32Value(), llvm::MCObjectStreamer::EmitTPRel64Value(), llvm::MCObjectStreamer::EmitValueImpl(), llvm::MachineTraceMetrics::Ensemble::Ensemble(), llvm::InstructionSelector::executeMatchTable(), llvm::extractConstantMask(), llvm::UnwindOpcodeAssembler::Finalize(), llvm::SchedDFSImpl::finalize(), llvm::SplitEditor::finish(), llvm::SelectionDAG::FoldConstantArithmetic(), getConstantPart(), llvm::RegsForValue::getCopyFromRegs(), llvm::pdb::DIARawSymbol::getDataBytes(), getFPReg(), llvm::pdb::DIADataStream::getItemAtIndex(), llvm::LLVMContext::getMDKindNames(), llvm::MDNode::getMostGenericRange(), llvm::pdb::DIADataStream::getNext(), getNoopInput(), llvm::LLVMContextImpl::getOperandBundleTags(), llvm::MCContext::getOrCreateLSDASymbol(), getScalarIntrinsicDeclaration(), llvm::DependenceInfo::getSplitIteration(), getStartOrEndSlot(), llvm::LLVMContextImpl::getSyncScopeNames(), getTargetConstantBitsFromNode(), getVPermMask(), group2Shuffle(), hasValueBeenRAUWed(), llvm::TargetSchedModel::init(), INITIALIZE_PASS(), llvm::mca::initializeUsedResources(), llvm::mca::InstrBuilder::InstrBuilder(), inversePermutation(), isOperator(), isProfitableChain(), lookupFunction(), llvm::BlockFrequencyInfoImplBase::LoopData::LoopData(), LoopIsOuterMostWithPredecessor(), lowerV8I16GeneralSingleInputVectorShuffle(), llvm::SparseSolver< LatticeKey, LatticeVal, KeyInfo >::MarkBlockExecutable(), llvm::Regex::match(), matchPair(), llvm::MDBuilder::mergeCallbackEncodings(), llvm::LegalizerInfo::moreToWiderTypesAndLessToWidest(), llvm::IntervalMapImpl::Path::moveLeft(), llvm::object::ExportEntry::moveNext(), llvm::Triple::normalize(), llvm::RegisterBankInfo::OperandsMapper::OperandsMapper(), false::IntervalSorter::operator()(), llvm::raw_ostream::operator<<(), llvm::DWARFDebugLoclists::parseOneLocationList(), llvm::PredicateInfo::PredicateInfo(), llvm::LiveIntervals::print(), PrintCFIEscape(), llvm::JumpThreadingPass::ProcessBranchOnPHI(), PropagateConstantsIntoArguments(), llvm::AttributeList::removeAttributes(), reorderSubVector(), llvm::IndexedMap< unsigned, llvm::VirtReg2IndexFunctor >::resize(), llvm::DIInliningInfo::resize(), llvm::ReachingDefAnalysis::runOnMachineFunction(), llvm::RegisterClassInfo::runOnMachineFunction(), llvm::MachineTraceMetrics::runOnMachineFunction(), llvm::ExecutionDomainFix::runOnMachineFunction(), llvm::SelectionDAGISel::SelectCodeCommon(), selectI64Imm(), llvm::StructType::setName(), shouldKeepInEntry(), llvm::sortPtrAccesses(), StackMallocSizeClass(), llvm::mca::RegisterFile::tryEliminateMove(), llvm::zlib::uncompress(), wrapConstantAsMetadata(), and llvm::ValueSymbolTable::~ValueSymbolTable().

◆ resize() [2/2]

template<typename T>
void llvm::SmallVectorImpl< T >::resize ( size_type  N,
const T NV 
)
inline

Definition at line 356 of file SmallVector.h.

◆ swap()

template<typename T >
void llvm::SmallVectorImpl< T >::swap ( SmallVectorImpl< T > &  RHS)

The documentation for this class was generated from the following files: