LLVM  6.0.0svn
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
llvm::SmallVectorTemplateBase< T, isPodLike > Class Template Reference

SmallVectorTemplateBase<isPodLike = false> - This is where we put method implementations that are designed to work with non-POD-like T's. More...

#include "llvm/ADT/SmallVector.h"

Inherits llvm::SmallVectorTemplateCommon< T >.

Inherited by llvm::SmallVectorImpl< AddressEntry >, llvm::SmallVectorImpl< AnalysisID >, llvm::SmallVectorImpl< Arg * >, llvm::SmallVectorImpl< Attachment >, llvm::SmallVectorImpl< AttributeSpec >, llvm::SmallVectorImpl< BasicBlock * >, llvm::SmallVectorImpl< BitTestCase >, llvm::SmallVectorImpl< BitValue >, llvm::SmallVectorImpl< Block >, llvm::SmallVectorImpl< BlockInterference >, llvm::SmallVectorImpl< BlockMass >, llvm::SmallVectorImpl< BlockNode >, llvm::SmallVectorImpl< BlockT * >, llvm::SmallVectorImpl< bool >, llvm::SmallVectorImpl< ByValInfo >, llvm::SmallVectorImpl< CallInst * >, llvm::SmallVectorImpl< char >, llvm::SmallVectorImpl< CompUnitEntry >, llvm::SmallVectorImpl< const char * >, llvm::SmallVectorImpl< const llvm::CallInst * >, llvm::SmallVectorImpl< const llvm::coverage::CoverageSegment * >, llvm::SmallVectorImpl< const llvm::DICompositeType * >, llvm::SmallVectorImpl< const llvm::DILocation * >, llvm::SmallVectorImpl< const llvm::DISubprogram * >, llvm::SmallVectorImpl< const llvm::GCRelocateInst * >, llvm::SmallVectorImpl< const llvm::MachineInstr * >, llvm::SmallVectorImpl< const llvm::SCEV * >, llvm::SmallVectorImpl< const llvm::SCEVPredicate * >, llvm::SmallVectorImpl< const llvm::Value * >, llvm::SmallVectorImpl< const SamplesWithLoc * >, llvm::SmallVectorImpl< const uint32_t * >, llvm::SmallVectorImpl< const Value * >, llvm::SmallVectorImpl< ConstantPoolEntry >, llvm::SmallVectorImpl< ConstantUser >, llvm::SmallVectorImpl< CriticalEdge >, llvm::SmallVectorImpl< DebugStream >, llvm::SmallVectorImpl< Edge >, llvm::SmallVectorImpl< Entry >, llvm::SmallVectorImpl< ExitNotTakenInfo >, llvm::SmallVectorImpl< ExternalUser >, llvm::SmallVectorImpl< FCmpLibcallsList >, llvm::SmallVectorImpl< FileInfo >, llvm::SmallVectorImpl< FrameIndexExpr >, llvm::SmallVectorImpl< FreeList * >, llvm::SmallVectorImpl< FreeMemBlock >, llvm::SmallVectorImpl< HandlerInfo >, llvm::SmallVectorImpl< HexagonInstr >, llvm::SmallVectorImpl< IdxMBBPair >, llvm::SmallVectorImpl< IndexMaskPair >, llvm::SmallVectorImpl< InlineGraphNode * >, llvm::SmallVectorImpl< InsertedPass >, llvm::SmallVectorImpl< InsnRange >, llvm::SmallVectorImpl< Inst >, llvm::SmallVectorImpl< InState >, llvm::SmallVectorImpl< int >, llvm::SmallVectorImpl< int64_t >, llvm::SmallVectorImpl< LayoutAlignElem >, llvm::SmallVectorImpl< LiveInBlock >, llvm::SmallVectorImpl< LiveOutPair >, llvm::SmallVectorImpl< LiveOutReg >, llvm::SmallVectorImpl< llvm::AllocaInst * >, llvm::SmallVectorImpl< llvm::ArrayRef< uint8_t > >, llvm::SmallVectorImpl< llvm::AsmPrinter::XRayFunctionEntry >, llvm::SmallVectorImpl< llvm::AsmRewrite >, llvm::SmallVectorImpl< llvm::AsmToken >, llvm::SmallVectorImpl< llvm::AssertingVH< const llvm::BasicBlock > >, llvm::SmallVectorImpl< llvm::BasicBlock * >, llvm::SmallVectorImpl< llvm::BitCodeAbbrevOp >, llvm::SmallVectorImpl< llvm::BlockFrequency >, llvm::SmallVectorImpl< llvm::CallSite >, llvm::SmallVectorImpl< llvm::CCValAssign >, llvm::SmallVectorImpl< llvm::cflaa::ExternalAttribute >, llvm::SmallVectorImpl< llvm::cflaa::ExternalRelation >, llvm::SmallVectorImpl< llvm::cl::Option * >, llvm::SmallVectorImpl< llvm::cl::OptionEnumValue >, llvm::SmallVectorImpl< llvm::cl::parser::OptionInfo >, llvm::SmallVectorImpl< llvm::ClrEHUnwindMapEntry >, llvm::SmallVectorImpl< llvm::codeview::TypeIndex >, llvm::SmallVectorImpl< llvm::consthoist::ConstantInfo >, llvm::SmallVectorImpl< llvm::CoroEndInst * >, llvm::SmallVectorImpl< llvm::CoroSizeInst * >, llvm::SmallVectorImpl< llvm::CoroSuspendInst * >, llvm::SmallVectorImpl< llvm::CxxUnwindMapEntry >, llvm::SmallVectorImpl< llvm::DebugLocEntry::Value >, llvm::SmallVectorImpl< llvm::DebugLocStream::Entry >, llvm::SmallVectorImpl< llvm::DebugLocStream::List >, llvm::SmallVectorImpl< llvm::DenseMap >, llvm::SmallVectorImpl< llvm::detail::PtrUseVisitorBase::UseToVisit >, llvm::SmallVectorImpl< llvm::DiagnosticInfoOptimizationBase::Argument >, llvm::SmallVectorImpl< llvm::DICompileUnit * >, llvm::SmallVectorImpl< llvm::DIEAbbrevData >, llvm::SmallVectorImpl< llvm::DIGlobalVariableExpression * >, llvm::SmallVectorImpl< llvm::DILineInfo >, llvm::SmallVectorImpl< llvm::DIScope * >, llvm::SmallVectorImpl< llvm::DISubprogram * >, llvm::SmallVectorImpl< llvm::DIType * >, llvm::SmallVectorImpl< llvm::DomainValue * >, llvm::SmallVectorImpl< llvm::DomTreeNodeBase >, llvm::SmallVectorImpl< llvm::DwarfAccelTable::Atom >, llvm::SmallVectorImpl< llvm::DWARFDebugLoc::Entry >, llvm::SmallVectorImpl< llvm::DWARFDebugLocDWO::Entry >, llvm::SmallVectorImpl< llvm::DwarfExpression::Register >, llvm::SmallVectorImpl< llvm::DWARFFormValue >, llvm::SmallVectorImpl< llvm::EVT >, llvm::SmallVectorImpl< llvm::ForwardedRegister >, llvm::SmallVectorImpl< llvm::Function * >, llvm::SmallVectorImpl< llvm::FunctionLoweringInfo::LiveOutInfo >, llvm::SmallVectorImpl< llvm::fuzzerop::SourcePred >, llvm::SmallVectorImpl< llvm::GCNRegPressure >, llvm::SmallVectorImpl< llvm::GCOVEdge * >, llvm::SmallVectorImpl< llvm::ImmutablePass * >, llvm::SmallVectorImpl< llvm::Init * >, llvm::SmallVectorImpl< llvm::Instruction * >, llvm::SmallVectorImpl< llvm::ISD::ArgFlagsTy >, llvm::SmallVectorImpl< llvm::ISD::InputArg >, llvm::SmallVectorImpl< llvm::ISD::OutputArg >, llvm::SmallVectorImpl< llvm::LazyCallGraph::Node * >, llvm::SmallVectorImpl< llvm::LazyCallGraph::RefSCC * >, llvm::SmallVectorImpl< llvm::LazyCallGraph::SCC * >, llvm::SmallVectorImpl< llvm::LexicalScope * >, llvm::SmallVectorImpl< llvm::LiveInterval * >, llvm::SmallVectorImpl< llvm::LiveRange * >, llvm::SmallVectorImpl< llvm::LiveRange::Segment >, llvm::SmallVectorImpl< llvm::LiveVariables::VarInfo >, llvm::SmallVectorImpl< llvm::Loop * >, llvm::SmallVectorImpl< llvm::MachineBasicBlock * >, llvm::SmallVectorImpl< llvm::MachineInstr * >, llvm::SmallVectorImpl< llvm::MachineInstr *>, llvm::SmallVectorImpl< llvm::MachineTraceMetrics::FixedBlockInfo >, llvm::SmallVectorImpl< llvm::MachineTraceMetrics::LiveInReg >, llvm::SmallVectorImpl< llvm::MachineTraceMetrics::TraceBlockInfo >, llvm::SmallVectorImpl< llvm::MCAsmParser::MCPendingError >, llvm::SmallVectorImpl< llvm::MCDataFragment * >, llvm::SmallVectorImpl< llvm::MCDwarfFile >, llvm::SmallVectorImpl< llvm::MCFixup >, llvm::SmallVectorImpl< llvm::MCLOHDirective >, llvm::SmallVectorImpl< llvm::MCOperand >, llvm::SmallVectorImpl< llvm::MCSection * >, llvm::SmallVectorImpl< llvm::MCSymbol * >, llvm::SmallVectorImpl< llvm::MemoryDepChecker::Dependence >, llvm::SmallVectorImpl< llvm::MemoryPhi * >, llvm::SmallVectorImpl< llvm::Metadata * >, llvm::SmallVectorImpl< llvm::MVT >, llvm::SmallVectorImpl< llvm::object::OwningBinary< llvm::object::Archive > >, llvm::SmallVectorImpl< llvm::Pass * >, llvm::SmallVectorImpl< llvm::PHINode * >, llvm::SmallVectorImpl< llvm::PHINode *>, llvm::SmallVectorImpl< llvm::PMDataManager * >, llvm::SmallVectorImpl< llvm::PredicateBase * >, llvm::SmallVectorImpl< llvm::RangeSpan >, llvm::SmallVectorImpl< llvm::RangeSpanList >, llvm::SmallVectorImpl< llvm::RecordVal >, llvm::SmallVectorImpl< llvm::RegisterMaskPair >, llvm::SmallVectorImpl< llvm::RuntimeDyldMachO::EHFrameRelatedSections >, llvm::SmallVectorImpl< llvm::RuntimePointerChecking::CheckingPtrGroup >, llvm::SmallVectorImpl< llvm::RuntimePointerChecking::PointerInfo >, llvm::SmallVectorImpl< llvm::safestack::StackColoring::LiveRange >, llvm::SmallVectorImpl< llvm::SDDbgValue * >, llvm::SmallVectorImpl< llvm::SDep >, llvm::SmallVectorImpl< llvm::SDNode * >, llvm::SmallVectorImpl< llvm::SDValue >, llvm::SmallVectorImpl< llvm::SEHHandler >, llvm::SmallVectorImpl< llvm::SEHUnwindMapEntry >, llvm::SmallVectorImpl< llvm::SelectInst * >, llvm::SmallVectorImpl< llvm::SIMachineFunctionInfo::SGPRSpillVGPRCSR >, llvm::SmallVectorImpl< llvm::SlotIndex >, llvm::SmallVectorImpl< llvm::SmallVector< unsigned, 8 > >, llvm::SmallVectorImpl< llvm::SMFixIt >, llvm::SmallVectorImpl< llvm::SMLoc >, llvm::SmallVectorImpl< llvm::SplitAnalysis::BlockInfo >, llvm::SmallVectorImpl< llvm::StringRef >, llvm::SmallVectorImpl< llvm::SUnit * >, llvm::SmallVectorImpl< llvm::sys::MemoryBlock >, llvm::SmallVectorImpl< llvm::Type * >, llvm::SmallVectorImpl< llvm::TypedTrackingMDRef >, llvm::SmallVectorImpl< llvm::Use * >, llvm::SmallVectorImpl< llvm::Value * >, llvm::SmallVectorImpl< llvm::Value *>, llvm::SmallVectorImpl< llvm::VPBlockBase * >, llvm::SmallVectorImpl< llvm::VPlan * >, llvm::SmallVectorImpl< llvm::WeakTrackingVH >, llvm::SmallVectorImpl< llvm::WinEHHandlerType >, llvm::SmallVectorImpl< llvm::WinEHTryBlockMapEntry >, llvm::SmallVectorImpl< LoadCommandInfo >, llvm::SmallVectorImpl< LocalVarDefRange >, llvm::SmallVectorImpl< LocalVariable >, llvm::SmallVectorImpl< Location >, llvm::SmallVectorImpl< LocationList >, llvm::SmallVectorImpl< MachineInstr * >, llvm::SmallVectorImpl< MCOperand >, llvm::SmallVectorImpl< MCPhysReg >, llvm::SmallVectorImpl< MILOHDirective >, llvm::SmallVectorImpl< MutableArrayRef< uint8_t > >, llvm::SmallVectorImpl< NodePtr >, llvm::SmallVectorImpl< NodeState >, llvm::SmallVectorImpl< NodeT * >, llvm::SmallVectorImpl< PhiT *>, llvm::SmallVectorImpl< PointerAlignElem >, llvm::SmallVectorImpl< PointerCheck >, llvm::SmallVectorImpl< RebasedConstantInfo >, llvm::SmallVectorImpl< RecordLimit >, llvm::SmallVectorImpl< RegUnitInfo >, llvm::SmallVectorImpl< RootData >, llvm::SmallVectorImpl< RuntimePointerChecking::PointerCheck >, llvm::SmallVectorImpl< ScavengedInfo >, llvm::SmallVectorImpl< SCEVInsertPointGuard * >, llvm::SmallVectorImpl< ScheduleData * >, llvm::SmallVectorImpl< SectionEntry >, llvm::SmallVectorImpl< SectionInfo >, llvm::SmallVectorImpl< Segment >, llvm::SmallVectorImpl< SID >, llvm::SmallVectorImpl< SimpleKey >, llvm::SmallVectorImpl< Slice * >, llvm::SmallVectorImpl< Slice >, llvm::SmallVectorImpl< SMSNode >, llvm::SmallVectorImpl< StackObject >, llvm::SmallVectorImpl< StackRegion >, llvm::SmallVectorImpl< std::function< bool(llvm::PassManager &, llvm::ArrayRef< llvm::PassBuilder::PipelineElement >, bool VerifyEachPass, bool DebugLogging)> >, llvm::SmallVectorImpl< std::function< bool(llvm::StringRef Name, llvm::AAManager &AA)> >, llvm::SmallVectorImpl< std::function< bool(llvm::StringRef, llvm::PassManager &, llvm::ArrayRef< llvm::PassBuilder::PipelineElement >)> >, llvm::SmallVectorImpl< std::function< void(llvm::AnalysisManager &)> >, llvm::SmallVectorImpl< std::function< void(llvm::PassManager &, OptimizationLevel)> >, llvm::SmallVectorImpl< std::pair< AtomType, Form > >, llvm::SmallVectorImpl< std::pair< BlockFrequency, unsigned > >, llvm::SmallVectorImpl< std::pair< BlockNode, BlockMass > >, llvm::SmallVectorImpl< std::pair< bool, llvm::StringRef > >, llvm::SmallVectorImpl< std::pair< const llvm::MCSymbol *, const llvm::MCSymbol * > >, llvm::SmallVectorImpl< std::pair< const llvm::PHINode *, llvm::MachineInstr * > >, llvm::SmallVectorImpl< std::pair< int, int64_t > >, llvm::SmallVectorImpl< std::pair< KeyT, ValueT > >, llvm::SmallVectorImpl< std::pair< llvm::MachineInstrBundleIterator, llvm::MachineInstrBundleIterator > >, llvm::SmallVectorImpl< std::pair< llvm::PointerUnion, llvm::MachineOperand * > >, llvm::SmallVectorImpl< std::pair< llvm::Record *, llvm::SMRange > >, llvm::SmallVectorImpl< std::pair< llvm::RelocationValueRef, llvm::RelocationEntry > >, llvm::SmallVectorImpl< std::pair< llvm::SlotIndex, llvm::SlotIndex > >, llvm::SmallVectorImpl< std::pair< llvm::TerminatorInst *, unsigned > >, llvm::SmallVectorImpl< std::pair< llvm::Value *, llvm::Constant *> >, llvm::SmallVectorImpl< std::pair< MCSectionSubPair, MCSectionSubPair > >, llvm::SmallVectorImpl< std::pair< std::string, GCOVCoverage > >, llvm::SmallVectorImpl< std::pair< std::unique_ptr< llvm::DwarfTypeUnit >, const llvm::DICompositeType * > >, llvm::SmallVectorImpl< std::pair< uint32_t, llvm::codeview::TypeIndex > >, llvm::SmallVectorImpl< std::pair< uint32_t, llvm::SmallVector< uint32_t, 0 > > >, llvm::SmallVectorImpl< std::pair< uint64_t, bool > >, llvm::SmallVectorImpl< std::pair< unsigned, llvm::MCFragment * > >, llvm::SmallVectorImpl< std::pair< unsigned, llvm::MCSymbol * > >, llvm::SmallVectorImpl< std::pair< unsigned, llvm::TypedTrackingMDRef > >, llvm::SmallVectorImpl< std::pair< unsigned, unsigned > >, llvm::SmallVectorImpl< std::pair< void *, size_t > >, llvm::SmallVectorImpl< std::string * >, llvm::SmallVectorImpl< std::string >, llvm::SmallVectorImpl< std::unique_ptr< InsertPoint > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::DbgVariable > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::DWARFCompileUnit > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::DwarfCompileUnit > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::GCOVBlock > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::GCOVEdge > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::GCOVFunction > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::GCStrategy > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::GlobalVariable > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::MemoryBuffer > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::MipsOptionRecord > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::Module > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::object::ObjectFile > >, llvm::SmallVectorImpl< std::unique_ptr< llvm::opt::Arg > >, llvm::SmallVectorImpl< std::unique_ptr< UnitType > >, llvm::SmallVectorImpl< StringRef >, llvm::SmallVectorImpl< SubRecord >, llvm::SmallVectorImpl< SymTableEntry >, llvm::SmallVectorImpl< TreeData >, llvm::SmallVectorImpl< uint32_t >, llvm::SmallVectorImpl< uint64_t >, llvm::SmallVectorImpl< uint8_t >, llvm::SmallVectorImpl< uintptr_t >, llvm::SmallVectorImpl< unique_value >, llvm::SmallVectorImpl< unsigned >, llvm::SmallVectorImpl< unsigned char >, llvm::SmallVectorImpl< UpdateT >, llvm::SmallVectorImpl< Value * >, llvm::SmallVectorImpl< ValueInfo >, llvm::SmallVectorImpl< ValueT >, llvm::SmallVectorImpl< VariableDbgInfo >, llvm::SmallVectorImpl< VariableGEPIndex >, llvm::SmallVectorImpl< VNInfo * >, llvm::SmallVectorImpl< void * >, llvm::SmallVectorImpl< void(*)(llvm::Function &F, llvm::AnalysisManager &AM, llvm::AAResults &llvm::AAResults) >, llvm::SmallVectorImpl< wasm::ValType >, and llvm::SmallVectorImpl< Weight >.

Collaboration diagram for llvm::SmallVectorTemplateBase< T, isPodLike >:
Collaboration graph
[legend]

Public Member Functions

void push_back (const T &Elt)
 
void push_back (T &&Elt)
 
void pop_back ()
 
- Public Member Functions inherited from llvm::SmallVectorTemplateCommon< T >
LLVM_ATTRIBUTE_ALWAYS_INLINE iterator begin ()
 
LLVM_ATTRIBUTE_ALWAYS_INLINE const_iterator begin () const
 
LLVM_ATTRIBUTE_ALWAYS_INLINE iterator end ()
 
LLVM_ATTRIBUTE_ALWAYS_INLINE const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
LLVM_ATTRIBUTE_ALWAYS_INLINE size_type size () const
 
size_type max_size () const
 
size_t capacity () const
 Return the total number of elements in the currently allocated buffer. More...
 
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...
 
LLVM_ATTRIBUTE_ALWAYS_INLINE reference operator[] (size_type idx)
 
LLVM_ATTRIBUTE_ALWAYS_INLINE 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_in_bytes () const
 This returns size()*sizeof(T). More...
 
size_t capacity_in_bytes () const
 capacity_in_bytes - This returns capacity()*sizeof(T). More...
 
LLVM_NODISCARD bool empty () const
 

Protected Member Functions

 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 MinSizeInBytes, 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...
 
void setEnd (T *P)
 
iterator capacity_ptr ()
 
const_iterator capacity_ptr () const
 
- Protected Member Functions inherited from llvm::SmallVectorBase
 SmallVectorBase (void *FirstEl, size_t Size)
 
void grow_pod (void *FirstEl, size_t MinSizeInBytes, 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...
 

Static Protected Member Functions

static void destroy_range (T *S, T *E)
 
template<typename It1 , typename It2 >
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...
 
template<typename It1 , typename It2 >
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...
 

Additional Inherited Members

- 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 *
 
- Protected Attributes inherited from llvm::SmallVectorBase
void * BeginX
 
void * EndX
 
void * CapacityX
 

Detailed Description

template<typename T, bool isPodLike>
class llvm::SmallVectorTemplateBase< T, isPodLike >

SmallVectorTemplateBase<isPodLike = false> - This is where we put method implementations that are designed to work with non-POD-like T's.

Definition at line 180 of file SmallVector.h.

Constructor & Destructor Documentation

◆ SmallVectorTemplateBase()

template<typename T, bool isPodLike>
llvm::SmallVectorTemplateBase< T, isPodLike >::SmallVectorTemplateBase ( size_t  Size)
inlineprotected

Definition at line 182 of file SmallVector.h.

Member Function Documentation

◆ destroy_range()

template<typename T, bool isPodLike>
static void llvm::SmallVectorTemplateBase< T, isPodLike >::destroy_range ( T S,
T E 
)
inlinestaticprotected

Definition at line 184 of file SmallVector.h.

◆ grow()

template<typename T , bool isPodLike>
void llvm::SmallVectorTemplateBase< T, isPodLike >::grow ( size_t  MinSize = 0)
protected

Grow the allocated memory (without initializing new elements), doubling the size of the allocated memory.

Guarantees space for at least one more element, or MinSize more elements if specified.

Definition at line 234 of file SmallVector.h.

Referenced by llvm::LiveRangeEdit::eliminateDeadDefs().

◆ pop_back()

template<typename T, bool isPodLike>
void llvm::SmallVectorTemplateBase< T, isPodLike >::pop_back ( )
inline

Definition at line 226 of file SmallVector.h.

Referenced by llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterKilled(), advanceToNextLeafType(), llvm::MipsInstrInfo::analyzeBranch(), llvm::A57ChainingConstraint::apply(), BuildSubAggregate(), llvm::SmallString< 256 >::c_str(), CheckBaseRegAndIndexRegAndScale(), llvm::ArrayRecycler< llvm::MachineOperand >::clear(), createUniqueEntity(), llvm::ARMFrameLowering::determineCalleeSaves(), llvm::yaml::Output::endFlowMapping(), llvm::yaml::Output::endFlowSequence(), llvm::yaml::Output::endMapping(), llvm::codeview::CodeViewRecordIO::endRecord(), llvm::yaml::Output::endSequence(), llvm::SparseSet< unsigned, llvm::VirtReg2IndexFunctor >::erase(), llvm::DominatorTreeBase< BasicBlock, false >::eraseNode(), extendSegmentsToUses(), llvm::RegionInfoBase< RegionTraits< Function > >::getCommonRegion(), getPrefixes(), llvm::LiveVariables::HandleVirtRegDef(), is_ns_word_char(), IsNonLocalValue(), IsSafeAndProfitableToMove(), llvm::WebAssemblyMCInstLower::Lower(), llvm::yaml::Output::mapTag(), llvm::object::ExportEntry::moveNext(), llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator--(), llvm::IntervalMapImpl::Path::pop(), llvm::LiveRangeEdit::pop_back(), llvm::yaml::Output::postflightKey(), llvm::WebAssemblyInstPrinter::printInst(), llvm::sampleprof::SampleProfileReaderText::read(), llvm::BitstreamCursor::ReadBlockEnd(), RefineErrorLoc(), regOverlapsSet(), llvm::ImutAVLTreeGenericIterator< ImutInfo >::skipToParent(), llvm::Twine::toNullTerminatedStringRef(), and llvm::sroa::AllocaSliceRewriter::visit().

◆ push_back() [1/2]

template<typename T, bool isPodLike>
void llvm::SmallVectorTemplateBase< T, isPodLike >::push_back ( const T Elt)
inline

Definition at line 212 of file SmallVector.h.

Referenced by llvm::opt::Option::accept(), llvm::PMDataManager::add(), llvm::LiveRangeUpdater::add(), llvm::opt::ArgList::AddAllArgsTranslated(), addData(), llvm::ConstantPool::addEntry(), llvm::RegsForValue::AddInlineAsmOperands(), llvm::CCState::addInRegsParamInfo(), llvm::addLandingPadInfo(), llvm::SpillPlacement::Node::addLink(), llvm::LiveRangeCalc::addLiveInBlock(), llvm::PPCFunctionInfo::addMustSaveCR(), addNegOperand(), llvm::safestack::StackLayout::addObject(), llvm::lowertypetests::BitSetBuilder::addOffset(), llvm::AnalysisUsage::addPreserved(), llvm::AnalysisUsage::addPreservedID(), llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterKilled(), llvm::DominatorTreeBase< BasicBlock, false >::addRoot(), llvm::RegScavenger::addScavengingFrameIndex(), addToListsIfDependent(), llvm::AnalysisUsage::addUsedIfAvailable(), llvm::AnalysisUsage::addUsedIfAvailableID(), llvm::consthoist::ConstantCandidate::addUser(), advanceToNextLeafType(), aliasSameBasePointerGEPs(), llvm::StatepointLoweringState::allocateStackSlot(), llvm::MipsInstrInfo::analyzeBranch(), llvm::SystemZCCState::AnalyzeCallOperands(), llvm::SystemZCCState::AnalyzeFormalArguments(), llvm::HexagonShuffler::append(), llvm::sys::path::append(), llvm::opt::ArgList::append(), llvm::RegsForValue::append(), llvm::DIExpression::appendOffset(), appendSpeculatableOperands(), llvm::A57ChainingConstraint::apply(), areCandidatesToMergeOrPair(), llvm::opt::Arg::Arg(), llvm::LiveRange::assign(), llvm::HexagonFrameLowering::assignCalleeSavedSpillSlots(), AssignProtectedObjSet(), llvm::yaml::Output::beginFlowMapping(), llvm::yaml::Output::beginFlowSequence(), llvm::yaml::Output::beginMapping(), llvm::codeview::CodeViewRecordIO::beginRecord(), llvm::yaml::Output::beginSequence(), llvm::CriticalAntiDepBreaker::BreakAntiDependencies(), llvm::rdf::DataFlowGraph::build(), llvm::SSAUpdaterImpl< UpdaterT >::BuildBlockList(), BuildConstantFromSCEV(), llvm::coro::Shape::buildFrom(), buildFromShuffleMostly(), buildNew(), llvm::LazyCallGraph::buildRefSCCs(), BuildSubAggregate(), llvm::SmallString< 256 >::c_str(), calculateCXXStateNumbers(), calculateOffsetDiff(), llvm::LiveRangeCalc::calculateValues(), CallingConvSupported(), canSafelyUnrollMultiExitLoop(), llvm::TailDuplicator::canTailDuplicate(), CC_MipsO32_FP64(), llvm::ARMTargetLowering::CCAssignFnForReturn(), llvm::HexagonShuffler::check(), CheckBaseRegAndIndexRegAndScale(), CheckForLiveRegDef(), CheckForLiveRegDefMasked(), cloneLoopBlocks(), llvm::cloneLoopWithPreheader(), CloneNodeWithValues(), llvm::LexicalScope::closeInsnRange(), llvm::collectCmpOps(), collectDebugValues(), llvm::PMDataManager::collectRequiredAndUsedAnalyses(), collectValuesToDemote(), combineConcatVectorOfExtracts(), combineShuffleOfConcatUndef(), combineShuffleOfSplat(), combineX86ShuffleChain(), combineX86ShufflesRecursively(), compressAnnotation(), llvm::EHStreamer::computeActionsTable(), computeBytesPoppedByCalleeForSRet(), ComputePostOrders(), computeUnsignedMinMaxValuesFromKnownBits(), llvm::JumpThreadingPass::ComputeValueKnownInPredecessors(), llvm::ComputeValueVTs(), llvm::concatenateVectors(), ContainsReg(), llvm::ConvertDebugDeclareToDebugValue(), ConvertI1VectorToInteger(), llvm::PPCInstrInfo::copyPhysReg(), createBSWAPShuffleMask(), llvm::createDeadArgHackingPass(), createDevirtTriggerFunc(), llvm::createGreedyRegisterAllocator(), llvm::createHexagonHardwareLoops(), createPackShuffleMask(), createPrivateNonConstGlobalForString(), createShuffleStride(), llvm::createSIWholeQuadModePass(), createUniqueEntity(), llvm::LiveRange::createValueCopy(), createVirtualRegs(), llvm::createX86FixupSetCC(), llvm::DecodeBLENDMask(), llvm::DecodeEXTRQIMask(), llvm::DecodeInsertElementMask(), llvm::DecodeINSERTPSMask(), llvm::DecodeINSERTQIMask(), llvm::DecodeMOVDDUPMask(), llvm::DecodeMOVHLPSMask(), llvm::DecodeMOVLHPSMask(), llvm::DecodeMOVSHDUPMask(), llvm::DecodeMOVSLDUPMask(), llvm::DecodePALIGNRMask(), DecodePALIGNRMask(), llvm::DecodePSHUFBMask(), llvm::DecodePSHUFHWMask(), llvm::DecodePSHUFLWMask(), llvm::DecodePSHUFMask(), llvm::DecodePSLLDQMask(), llvm::DecodePSRLDQMask(), llvm::DecodePSWAPMask(), llvm::DecodeScalarMoveMask(), llvm::DecodeSHUFPMask(), llvm::DecodeSubVectorBroadcast(), llvm::DecodeUNPCKHMask(), llvm::DecodeUNPCKLMask(), llvm::DecodeVALIGNMask(), llvm::DecodeVPERM2X128Mask(), llvm::DecodeVPERMIL2PMask(), llvm::DecodeVPERMILPMask(), llvm::DecodeVPERMMask(), llvm::DecodeVPERMV3Mask(), llvm::DecodeVPERMVMask(), llvm::DecodeVPPERMMask(), llvm::decodeVSHUF64x2FamilyMask(), llvm::DecodeZeroExtendMask(), llvm::DecodeZeroMoveLowMask(), definesFullReg(), llvm::ARMFrameLowering::determineCalleeSaves(), llvm::MachineRegisterInfo::disableCalleeSavedRegister(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::BlockFrequencyInfoImplBase::distributeMass(), llvm::AsmPrinter::doInitialization(), llvm::DWARFGdbIndex::dump(), llvm::SplitEditor::dump(), dumpMachineInstrRangeWithSlotIndex(), emitDarwinBCHeaderAndTrailer(), llvm::InstrEmitter::EmitDbgValue(), llvm::WebAssemblyTargetWasmStreamer::emitIndirectFunctionType(), llvm::BufferByteStreamer::EmitInt8(), llvm::ARMAsmPrinter::EmitJumpTableTBInst(), llvm::TargetLoweringObjectFileMachO::emitModuleMetadata(), emitNullTerminatedSymbolName(), llvm::WebAssemblyTargetWasmStreamer::emitParam(), llvm::HexagonFrameLowering::emitPrologue(), llvm::SystemZFrameLowering::emitPrologue(), llvm::UnwindOpcodeAssembler::EmitRaw(), llvm::WebAssemblyTargetWasmStreamer::emitResult(), emitSignedInt64(), llvm::BufferByteStreamer::EmitSLEB128(), llvm::BufferByteStreamer::EmitULEB128(), encodeBitmaskPerm(), encodeCnt(), encodeUTF8(), llvm::BitstreamWriter::EnterBlockInfoBlock(), llvm::BitstreamCursor::EnterSubBlock(), llvm::rdf::DeadCodeElimination::erase(), llvm::LiveRangeEdit::eraseVirtReg(), llvm::Evaluator::EvaluateBlock(), llvm::InstructionSelector::executeMatchTable(), extendSegmentsToUses(), llvm::DbgVariableLocation::extractFromMachineInstruction(), llvm::LegalizerHelper::fewerElementsVector(), llvm::finalizeBundle(), llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldCOFFX86_64::finalizeLoad(), findBuildAggregate(), findBuildVector(), llvm::findDevirtualizableCallsForTypeTest(), findHoistingInsertPosAndDeps(), findIBRPredecessor(), findInitTrampoline(), llvm::SSAUpdaterTraits< SSAUpdater >::FindPredecessorBlocks(), FindSingleUseMultiplyFactors(), llvm::MachineInstr::findTiedOperandIdx(), findUnconditionalPreds(), llvm::SplitEditor::finish(), firstRealType(), fixPhis(), fixupRegionExits(), FoldBitCast(), foldBitcastedFPLogic(), foldOperationIntoPhiValue(), FunctionNumber(), llvm::AArch64InstrInfo::genAlternativeCodeSequence(), genFusedMultiply(), genMaddR(), genShuffleBland(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::ChildrenGetter< Inverse >::Get(), llvm::SITargetLowering::getAddrModeArguments(), llvm::IRTranslator::getAnalysisUsage(), GetBranchWeights(), getCompareCC(), getComparePred(), llvm::SelectionDAG::getConstant(), GetConstantInt(), llvm::DominatorTreeBase< BasicBlock, false >::getDescendants(), getDwarfRegNum(), llvm::LoopBase< BasicBlock, Loop >::getExitBlocks(), llvm::LoopBase< BasicBlock, Loop >::getExitingBlocks(), llvm::RegionBase< RegionTraits< Function > >::getExitingBlocks(), llvm::cl::generic_parser_base::getExtraOptionNames(), getFallThroughMBB(), getFauxShuffleMask(), getFPReg(), getFPSequenceIfElementsMatch(), getFrameIndexOperandNum(), getGEPSmallConstantIntOffsetV(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::NVPTXMachineFunctionInfo::getImageHandleSymbolIndex(), getInputChainForNode(), llvm::X86RegisterBankInfo::getInstrAlternativeMappings(), llvm::AArch64RegisterBankInfo::getInstrAlternativeMappings(), llvm::RegisterBankInfo::getInstrMapping(), llvm::Intrinsic::getIntrinsicInfoTableEntries(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getIntrinsicInstrCost(), getIntSequenceIfElementsMatch(), llvm::pdb::PDBContext::getLineInfoForAddressRange(), llvm::DWARFContext::getLineInfoForAddressRange(), llvm::LoopBase< BasicBlock, Loop >::getLoopLatches(), llvm::MCContext::getMachOSection(), llvm::ManagedStringPool::getManagedString(), getMemSetPatternValue(), getMOVL(), getNaturalGEPRecursively(), getNaturalGEPWithOffset(), getNaturalGEPWithType(), getNextRegister(), llvm::rdf::DataFlowGraph::getNextShadow(), llvm::LiveRange::getNextValue(), getNodeRegMask(), getOptimizationFlags(), getPrefixes(), getQualifiedNameComponents(), llvm::ARMBaseRegisterInfo::getRegAllocationHints(), llvm::TargetRegisterInfo::getRegAllocationHints(), GetRegistersForValue(), getRegsUsedByPHIs(), llvm::rdf::DataFlowGraph::getRelatedRefs(), llvm::CCState::getRemainingRegParmsForType(), llvm::RegScavenger::getScavengingFrameIndices(), getSchedRegions(), llvm::ShuffleVectorInst::getShuffleMask(), llvm::GetSignature(), llvm::MipsCCState::getSpecialCallingConvForCallee(), getSpecialRegForName(), getStartOrEndSlot(), llvm::InnerLoopVectorizer::getStepVector(), getTargetShuffleMaskIndices(), llvm::slpvectorizer::BoUpSLP::getTreeCost(), llvm::GetUnderlyingObjects(), llvm::getUnderlyingObjectsForCodeGen(), getUnderlyingObjectsForInstr(), llvm::Loop::getUniqueExitBlocks(), llvm::yaml::ScalarNode::getValue(), llvm::MachineSSAUpdater::GetValueInMiddleOfBlock(), getX86SSEConditionCode(), group2Shuffle(), llvm::IntEqClasses::grow(), handleFree(), llvm::LiveVariables::HandleVirtRegDef(), hasOnlySelectUsers(), hasOutsideLoopUser(), hasTiedDef(), hasTrivialSuccessor(), hasValueBeenRAUWed(), llvm::detail::IEEEFloat::IEEEFloat(), llvm::ImutAVLTreeGenericIterator< ImutInfo >::ImutAVLTreeGenericIterator(), llvm::LexicalScopes::initialize(), INITIALIZE_PASS(), llvm::DbgVariable::initializeDbgValue(), llvm::DbgVariable::initializeMMI(), llvm::InlineFunction(), llvm::SparseSet< unsigned, llvm::VirtReg2IndexFunctor >::insert(), llvm::RuntimePointerChecking::insert(), llvm::MemorySSAUpdater::insertDef(), llvm::SlotIndexes::insertMBBInMaps(), llvm::SIInstrInfo::insertSelect(), insertSinCosCall(), insertUseHolderAfter(), llvm::MipsAnalyzeImmediate::Inst::Inst(), is_ns_word_char(), isCompareZero(), isDebug(), isDefInSubRange(), isFullUndefDef(), isInRage(), isLiveOut(), IsNonLocalValue(), isObjectStart(), llvm::isPotentiallyReachable(), isRegOrImmWithInputMods(), isReInterleaveMask(), IsSafeAndProfitableToMove(), IsSingleInstrConstant(), isStrideMul(), isSupportedType(), isTargetConstant(), isTruncateOf(), isUseSafeToFold(), llvm::LiveRange::join(), llvm::ARMLegalizerInfo::legalizeCustom(), llvm::LegalizerHelper::legalizeInstrStep(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::LegalizeUpdates(), LinearizeExprTree(), llvm::X86InstrInfo::loadRegFromAddr(), llvm::WebAssemblyMCInstLower::Lower(), LowerBITREVERSE_XOP(), llvm::ARMCallLowering::lowerCall(), llvm::AArch64CallLowering::lowerCall(), LowerCONCAT_VECTORSvXi1(), llvm::LowerDbgDeclare(), LowerEXTRACT_VECTOR_ELT_SSE4(), llvm::ARMCallLowering::lowerFormalArguments(), lowerVectorShuffleAsBlend(), llvm::opt::InputArgList::MakeIndex(), mangleCoveragePath(), llvm::yaml::Output::mapTag(), llvm::Regex::match(), MatchCoprocessorOperandName(), mayLoadFromGOTOrConstantPool(), llvm::MCDwarfCallFrameFragment::MCDwarfCallFrameFragment(), llvm::MCDwarfLineAddrFragment::MCDwarfLineAddrFragment(), llvm::MCLEBFragment::MCLEBFragment(), llvm::MCStreamer::MCStreamer(), llvm::rdf::CodeNode::members_if(), MergeAliasResults(), MoveAndTeeForMultiUse(), llvm::LegalizerHelper::narrowScalar(), llvm::object::ExportEntry::nodeOffset(), llvm::RegisterBankInfo::OperandsMapper::OperandsMapper(), false::IntervalSorter::operator()(), llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator++(), llvm::SmallString< 256 >::operator+=(), llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator--(), operator<<(), llvm::slpvectorizer::BoUpSLP::optimizeGatherSequence(), optimizeVectorResize(), llvm::SplitEditor::overlapIntv(), parseBackslash(), llvm::parseExternFuncCallArgs(), ParseFunctionArgs(), llvm::parseFunctionArgs(), parseOperands(), parseOptionalLinkageAux(), llvm::MIRParserImpl::parseRegisterInfo(), parseSegmentLoadCommand(), parseValidVectorKind(), llvm::PHITransAddr::PHITranslateWithInsertion(), pickOpcodeForVT(), populateDependencyMatrix(), llvm::yaml::Output::postflightKey(), llvm::PPCCCState::PreAnalyzeCallOperands(), llvm::PPCCCState::PreAnalyzeFormalArguments(), llvm::LoopVersioning::prepareNoAliasMetadata(), previousIsLoop(), llvm::AVROperand::print(), llvm::LiveIntervals::print(), llvm::FileInfo::print(), llvm::MachineInstr::print(), llvm::ScopedPrinter::printFlags(), llvm::WebAssemblyInstPrinter::printInst(), llvm::BumpPtrAllocatorImpl< MallocAllocator, 65536 >::PrintStats(), llvm::JumpThreadingPass::ProcessBranchOnXOR(), processCallSite(), promoteSingleBlockAlloca(), promoteToConstantPool(), llvm::IntervalMapImpl::Path::push(), llvm::GVNHoist::rank(), llvm::coverage::RawCoverageMappingReader::read(), llvm::sampleprof::SampleProfileReaderText::read(), llvm::SIInstrInfo::readlaneVGPRToSGPR(), llvm::sampleprof::SampleProfileReaderGCC::readOneFunctionProfile(), llvm::BitstreamCursor::readRecord(), llvm::MachineInstr::readsWritesVirtualRegister(), llvm::object::MachOObjectFile::ReadULEB128s(), readWideAPInt(), llvm::TargetInstrInfo::reassociateOps(), llvm::MachineDominatorTree::recordSplitCriticalEdge(), llvm::HexagonInstrInfo::reduceLoopCount(), RefineErrorLoc(), llvm::RuntimeDyldCOFFX86_64::registerEHFrames(), regOverlapsSet(), llvm::RegsForValue::RegsForValue(), removeExternalCFGEdges(), RemoveInstInputs(), llvm::opt::Arg::render(), reorderSubVector(), llvm::sys::path::replace_extension(), ReplaceLoadVector(), RequiresVFPRegListValidation(), llvm::UnwindOpcodeAssembler::Reset(), llvm::MCStreamer::reset(), llvm::ARMFrameLowering::ResolveFrameIndexReference(), llvm::InnerLoopVectorizer::reverseVector(), RewriteHeapSROALoadUser(), rewritesSort(), rotateSign(), llvm::WholeProgramDevirtPass::run(), llvm::DevirtSCCRepeatedPass< PassT >::run(), llvm::RegisterClassInfo::runOnMachineFunction(), llvm::SlotIndexes::runOnMachineFunction(), llvm::IRTranslator::runOnMachineFunction(), selectELFSectionForGlobal(), llvm::NVPTXDAGToDAGISel::SelectInlineAsmMemoryOperand(), selectWasmSectionForGlobal(), llvm::BlockFrequencyInfoImpl< llvm::BitTracker >::setBlockFreq(), llvm::MachineRegisterInfo::setCalleeSavedRegs(), setGroupSize(), llvm::StructType::setName(), llvm::setProfMetadata(), setRequiredFeatureString(), llvm::IntervalMapImpl::Path::setRoot(), setupSwiftErrorVals(), shouldBeSls(), shouldReorderOperands(), llvm::LiveIntervals::shrinkToUses(), llvm::simplifyLoop(), simplifyShuffleMask(), simplifyX86muldq(), simplifyX86varShift(), AllocaSlices::SliceBuilder::SliceBuilder(), SortBlocks(), SortCallTargets(), llvm::StringRef::split(), llvm::MachineBasicBlock::SplitCriticalEdge(), llvm::SplitLandingPadPredecessors(), llvm::SplitString(), SRAGlobal(), llvm::X86InstrInfo::storeRegToAddr(), llvm::PPCInstrInfo::storeRegToStackSlot(), llvm::JumpThreadingPass::ThreadEdge(), llvm::JumpThreadingPass::ThreadGuard(), llvm::cl::TokenizeGNUCommandLine(), llvm::cl::TokenizeWindowsCommandLine(), llvm::Twine::toNullTerminatedStringRef(), llvm::detail::IEEEFloat::toString(), llvm::APInt::toString(), TrackDefUses(), llvm::LegalizerCombiner::tryCombineInstruction(), llvm::LegalizerCombiner::tryCombineMerges(), llvm::IntEqClasses::uncompress(), llvm::X86InstrInfo::unfoldMemoryOperand(), unifyReturnBlockSet(), llvm::UnwindOpcodeAssembler::UnwindOpcodeAssembler(), updatePhysDepsDownwards(), updatePhysDepsUpwards(), UpdatePredRedefs(), llvm::sroa::AllocaSliceRewriter::visit(), llvm::InstCombiner::visitGetElementPtrInst(), llvm::codeview::TypeSerializer::visitMemberEnd(), llvm::InnerLoopVectorizer::widenInstruction(), and llvm::X86CallLowering::X86CallLowering().

◆ push_back() [2/2]

template<typename T, bool isPodLike>
void llvm::SmallVectorTemplateBase< T, isPodLike >::push_back ( T &&  Elt)
inline

Definition at line 219 of file SmallVector.h.

◆ uninitialized_copy()

template<typename T, bool isPodLike>
template<typename It1 , typename It2 >
static void llvm::SmallVectorTemplateBase< T, isPodLike >::uninitialized_copy ( It1  I,
It1  E,
It2  Dest 
)
inlinestaticprotected

Copy the range [I, E) onto the uninitialized memory starting with "Dest", constructing elements as needed.

Definition at line 202 of file SmallVector.h.

◆ uninitialized_move()

template<typename T, bool isPodLike>
template<typename It1 , typename It2 >
static void llvm::SmallVectorTemplateBase< T, isPodLike >::uninitialized_move ( It1  I,
It1  E,
It2  Dest 
)
inlinestaticprotected

Move the range [I, E) into the uninitialized memory starting with "Dest", constructing elements as needed.

Definition at line 194 of file SmallVector.h.


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