LLVM API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
llvm::SequentialType Class Reference

#include <DerivedTypes.h>

Inheritance diagram for llvm::SequentialType:
Inheritance graph
[legend]
Collaboration diagram for llvm::SequentialType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

TypegetElementType () const

Static Public Member Functions

static bool classof (const Type *T)
 Methods for support type inquiry through isa, cast, and dyn_cast.

Protected Member Functions

 SequentialType (TypeID TID, Type *ElType)

Detailed Description

SequentialType - This is the superclass of the array, pointer and vector type classes. All of these represent "arrays" in memory. The array type represents a specifically sized array, pointer types are unsized/unknown size arrays, vector types represent specifically sized arrays that allow for use of SIMD instructions. SequentialType holds the common features of all, which stem from the fact that all three lay their components out in memory identically.

Definition at line 306 of file DerivedTypes.h.


Constructor & Destructor Documentation

llvm::SequentialType::SequentialType ( TypeID  TID,
Type ElType 
) [inline, protected]

Definition at line 312 of file DerivedTypes.h.

References llvm::Type::ContainedTys, and llvm::Type::NumContainedTys.


Member Function Documentation

static bool llvm::SequentialType::classof ( const Type T) [inline, static]

Methods for support type inquiry through isa, cast, and dyn_cast.

Reimplemented from llvm::CompositeType.

Reimplemented in llvm::PointerType, llvm::VectorType, and llvm::ArrayType.

Definition at line 322 of file DerivedTypes.h.

References llvm::Type::ArrayTyID, llvm::Type::getTypeID(), llvm::Type::PointerTyID, and llvm::Type::VectorTyID.

Definition at line 319 of file DerivedTypes.h.

References llvm::Type::ContainedTys.

Referenced by BitCastConstantVector(), llvm::ComputeMaskedBits(), llvm::ConstantArray::ConstantArray(), llvm::ConstantFoldCastInstruction(), ConstantFoldGetElementPtrImpl(), ConstantFoldVectorCall(), llvm::ConstantVector::ConstantVector(), emitGlobalConstantDataSequential(), emitGlobalConstantVector(), llvm::AsmPrinter::EmitGlobalVariable(), llvm::ExecutionEngine::EmitGlobalVariable(), FoldBitCast(), FoldReinterpretLoadFromConstPtr(), llvm::ConstantArray::get(), llvm::AllocaInst::getAllocatedType(), llvm::Constant::getAllOnesValue(), llvm::getConstantStringInfo(), llvm::ExecutionEngine::getConstantValue(), llvm::VectorType::getDoubleElementsVectorType(), llvm::ConstantDataSequential::getElementType(), llvm::EVT::getEVT(), llvm::VectorType::getExtendedElementVectorType(), llvm::ConstantInt::getFalse(), llvm::InlineAsm::getFunctionType(), llvm::Function::getFunctionType(), llvm::GetGlobalTypeString(), llvm::VectorType::getHalfElementsVectorType(), getIndexedTypeInternal(), llvm::VectorType::getInteger(), llvm::getMallocAllocatedType(), llvm::JIT::getMemoryForGV(), getNaturalGEPWithOffset(), getOpenCLAlignment(), llvm::DataLayout::getPreferredAlignment(), llvm::NVPTXTargetLowering::getPrototype(), getStrideFromPointer(), llvm::ARM64TargetLowering::getTgtMemIntrinsic(), llvm::ARMTargetLowering::getTgtMemIntrinsic(), llvm::ConstantInt::getTrue(), llvm::VectorType::getTruncatedElementVectorType(), llvm::DataLayout::getTypeSizeInBits(), llvm::SelectionDAGBuilder::getValueImpl(), llvm::TargetLoweringBase::getValueType(), llvm::MVT::getVT(), HasPadding(), INITIALIZE_PASS(), InstallGlobalCtors(), InstCombineLoadCast(), InstCombineStoreToCast(), llvm::Type::isEmptyTy(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), llvm::HexagonTargetObjectFile::IsGlobalInSmallSection(), isHomogeneousAggregate(), llvm::isImageOrSamplerVal(), llvm::SpecialCaseList::isIn(), isLeakCheckerRoot(), llvm::isSafeToLoadUnconditionally(), llvm::ShuffleVectorInst::isValidOperands(), isVectorPromotionViableForSlice(), isZero(), llvm::ExecutionEngine::LoadValueFromMemory(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SelectionDAGBuilder::LowerCallTo(), llvm::TargetLowering::LowerCallTo(), llvm::AArch64TargetLowering::LowerGlobalAddressELFSmall(), OptimizeGlobalAddressOfMalloc(), OptimizeIntegerToVectorInsertions(), OptimizeIntToFloatBitCast(), OptimizeVectorResize(), llvm::TargetLowering::ParseConstraints(), PerformHeapAllocSRoA(), llvm::TypePrinting::print(), llvm::AssemblyWriter::printGlobal(), llvm::AssemblyWriter::printInstruction(), llvm::GlobalVariable::setInitializer(), SimplifyGEPInst(), StripPtrCastKeepAS(), TryToShrinkGlobalToBoolean(), llvm::Interpreter::visitAllocaInst(), llvm::ObjectSizeOffsetVisitor::visitArgument(), llvm::InstCombiner::visitBitCast(), llvm::InstCombiner::visitGetElementPtrInst(), llvm::ObjectSizeOffsetVisitor::visitGlobalVariable(), llvm::InstCombiner::visitLandingPadInst(), and WriteTypeTable().


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