LLVM  10.0.0svn
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::LLT Class Reference

#include "llvm/Support/LowLevelTypeImpl.h"

Public Member Functions

 LLT (bool isPointer, bool isVector, uint16_t NumElements, unsigned SizeInBits, unsigned AddressSpace)
 
 LLT ()
 
 LLT (MVT VT)
 
bool isValid () const
 
bool isScalar () const
 
bool isPointer () const
 
bool isVector () const
 
uint16_t getNumElements () const
 Returns the number of elements in a vector LLT. More...
 
unsigned getSizeInBits () const
 Returns the total size of the type. Must only be called on sized types. More...
 
unsigned getSizeInBytes () const
 Returns the total size of the type in bytes, i.e. More...
 
LLT getScalarType () const
 
LLT changeElementType (LLT NewEltTy) const
 If this type is a vector, return a vector with the same number of elements but the new element type. More...
 
LLT changeElementSize (unsigned NewEltSize) const
 If this type is a vector, return a vector with the same number of elements but the new element size. More...
 
unsigned getScalarSizeInBits () const
 
unsigned getAddressSpace () const
 
LLT getElementType () const
 Returns the vector's element type. Only valid for vector types. More...
 
void print (raw_ostream &OS) const
 
bool operator== (const LLT &RHS) const
 
bool operator!= (const LLT &RHS) const
 

Static Public Member Functions

static LLT scalar (unsigned SizeInBits)
 Get a low-level scalar or aggregate "bag of bits". More...
 
static LLT pointer (unsigned AddressSpace, unsigned SizeInBits)
 Get a low-level pointer in the given address space. More...
 
static LLT vector (uint16_t NumElements, unsigned ScalarSizeInBits)
 Get a low-level vector of some number of elements and element width. More...
 
static LLT vector (uint16_t NumElements, LLT ScalarTy)
 Get a low-level vector of some number of elements and element type. More...
 
static LLT scalarOrVector (uint16_t NumElements, LLT ScalarTy)
 
static LLT scalarOrVector (uint16_t NumElements, unsigned ScalarSize)
 

Friends

struct DenseMapInfo< LLT >
 
class GISelInstProfileBuilder
 

Detailed Description

Definition at line 39 of file LowLevelTypeImpl.h.

Constructor & Destructor Documentation

◆ LLT() [1/3]

llvm::LLT::LLT ( bool  isPointer,
bool  isVector,
uint16_t  NumElements,
unsigned  SizeInBits,
unsigned  AddressSpace 
)
inlineexplicit

Definition at line 81 of file LowLevelTypeImpl.h.

◆ LLT() [2/3]

llvm::LLT::LLT ( )
inlineexplicit

Definition at line 85 of file LowLevelTypeImpl.h.

◆ LLT() [3/3]

LLT::LLT ( MVT  VT)
explicit

Member Function Documentation

◆ changeElementSize()

LLT llvm::LLT::changeElementSize ( unsigned  NewEltSize) const
inline

If this type is a vector, return a vector with the same number of elements but the new element size.

Otherwise, return the new element type. Invalid for pointer types. For pointer types, use changeElementType.

Definition at line 133 of file LowLevelTypeImpl.h.

References assert(), getNumElements(), getScalarType(), isPointer(), isVector(), scalar(), and vector().

Referenced by llvm::LegalizeMutations::widenScalarOrEltToNextPow2().

◆ changeElementType()

LLT llvm::LLT::changeElementType ( LLT  NewEltTy) const
inline

If this type is a vector, return a vector with the same number of elements but the new element type.

Otherwise, return the new element type.

Definition at line 126 of file LowLevelTypeImpl.h.

References getNumElements(), isVector(), and vector().

Referenced by llvm::LegalizeMutations::changeElementTo().

◆ getAddressSpace()

unsigned llvm::LLT::getAddressSpace ( ) const
inline

◆ getElementType()

LLT llvm::LLT::getElementType ( ) const
inline

Returns the vector's element type. Only valid for vector types.

Definition at line 165 of file LowLevelTypeImpl.h.

References assert(), getAddressSpace(), getScalarSizeInBits(), isVector(), pointer(), print(), and scalar().

Referenced by llvm::AArch64LegalizerInfo::AArch64LegalizerInfo(), llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), llvm::CSEMIRBuilder::buildConstant(), llvm::CSEMIRBuilder::buildFConstant(), llvm::LegalizationArtifactCombiner::canFoldMergeOpcode(), changeFCMPPredToAArch64CC(), llvm::LegalizeRuleSet::clampMaxNumElements(), llvm::LegalizeRuleSet::clampMinNumElements(), llvm::LegalizeRuleSet::clampNumElements(), llvm::LegalizerInfo::computeTables(), llvm::LegalizerHelper::fewerElementsVectorBasic(), llvm::LegalizerHelper::fewerElementsVectorBuildVector(), llvm::LegalizerHelper::fewerElementsVectorCasts(), llvm::LegalizerHelper::fewerElementsVectorCmp(), llvm::LegalizerHelper::fewerElementsVectorSelect(), fewerEltsToSize64Vector(), getGCDType(), getHalfSizedType(), getInsertVecEltOpInfo(), getMultipleType(), llvm::getMVTForLLT(), getScalarType(), llvm::AMDGPULegalizerInfo::handleD16VData(), isRegisterType(), isSmallOddVector(), llvm::AMDGPULegalizerInfo::legalizeExtractVectorElt(), llvm::AMDGPULegalizerInfo::legalizeInsertVectorElt(), llvm::AArch64LegalizerInfo::legalizeIntrinsic(), llvm::AMDGPULegalizerInfo::legalizeRawBufferStore(), llvm::LegalizerHelper::lowerExtract(), llvm::LegalizerHelper::lowerInsert(), llvm::LegalizerHelper::lowerShuffleVector(), llvm::LegalizerHelper::lowerUnmergeValues(), llvm::LegalizeRuleSet::minScalarSameAs(), llvm::LegalizeMutations::moreElementsToNextPow2(), moreEltsToNext32Bit(), mutationIsSane(), llvm::LegalizerHelper::narrowScalar(), oneMoreElement(), packSplitRegsToOrigType(), print(), substituteSimpleCopyRegs(), llvm::LegalizationArtifactCombiner::tryCombineInstruction(), unpackRegsToOrigType(), and llvm::LegalizerHelper::widenScalar().

◆ getNumElements()

uint16_t llvm::LLT::getNumElements ( ) const
inline

Returns the number of elements in a vector LLT.

Must only be called on vector types.

Definition at line 99 of file LowLevelTypeImpl.h.

References assert().

Referenced by llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), llvm::MachineIRBuilder::buildInstr(), llvm::MachineIRBuilder::buildSplatVector(), changeElementSize(), changeElementType(), changeFCMPPredToAArch64CC(), llvm::LegalizeRuleSet::clampMaxNumElements(), llvm::LegalizeRuleSet::clampMinNumElements(), llvm::LegalizeRuleSet::clampNumElements(), llvm::LegalizerInfo::decreaseToSmallerTypesAndIncreaseToSmallest(), extractDLC(), llvm::LegalizerHelper::fewerElementsVectorBuildVector(), llvm::LegalizerHelper::fewerElementsVectorCasts(), llvm::LegalizerHelper::fewerElementsVectorCmp(), llvm::LegalizerHelper::fewerElementsVectorMultiEltType(), llvm::LegalizerHelper::fewerElementsVectorSelect(), fewerEltsToSize64Vector(), getBufferStoreFormatOpcode(), getGCDType(), getHalfSizedType(), llvm::GISelKnownBits::getKnownBits(), llvm::getLLTForType(), getMultipleType(), llvm::getMVTForLLT(), getSizeInBits(), getTypeForLLT(), llvm::CallLowering::handleAssignments(), llvm::AMDGPULegalizerInfo::handleD16VData(), isRegisterType(), isSmallOddVector(), isWideVec16(), llvm::AMDGPULegalizerInfo::legalizeExtractVectorElt(), llvm::AMDGPULegalizerInfo::legalizeInsertVectorElt(), llvm::AArch64LegalizerInfo::legalizeIntrinsic(), llvm::AMDGPULegalizerInfo::legalizeRawBufferStore(), llvm::AArch64CallLowering::lowerReturn(), llvm::LegalizerHelper::lowerShuffleVector(), llvm::CombinerHelper::matchCombineConcatVectors(), llvm::CombinerHelper::matchCombineShuffleVector(), llvm::LegalizeMutations::moreElementsToNextPow2(), mutationIsSane(), llvm::LegalizerHelper::narrowScalar(), numElementsNotEven(), llvm::LegalityPredicates::numElementsNotPow2(), oneMoreElement(), packSplitRegsToOrigType(), print(), substituteSimpleCopyRegs(), llvm::MachineIRBuilder::validateSelectOp(), llvm::MachineIRBuilder::validateTruncExt(), and llvm::LegalizerHelper::widenScalar().

◆ getScalarSizeInBits()

unsigned llvm::LLT::getScalarSizeInBits ( ) const
inline

◆ getScalarType()

LLT llvm::LLT::getScalarType ( ) const
inline

◆ getSizeInBits()

unsigned llvm::LLT::getSizeInBits ( ) const
inline

Returns the total size of the type. Must only be called on sized types.

Definition at line 108 of file LowLevelTypeImpl.h.

References getNumElements(), getScalarSizeInBits(), isPointer(), and isScalar().

Referenced by llvm::AArch64LegalizerInfo::AArch64LegalizerInfo(), llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), llvm::CombinerHelper::applyCombineExtendingLoads(), llvm::CombinerHelper::applyCombineShuffleVector(), llvm::RegisterBankInfo::applyDefaultMapping(), llvm::MachineIRBuilder::buildExtOrTrunc(), llvm::MachineIRBuilder::buildExtract(), llvm::MachineIRBuilder::buildFConstant(), llvm::AMDGPULegalizerInfo::buildPCRelGlobalAddress(), llvm::MachineIRBuilder::buildSequence(), llvm::MachineIRBuilder::buildUnmerge(), llvm::LegalizationArtifactCombiner::canFoldMergeOpcode(), canTurnIntoCOPY(), changeFCMPPredToAArch64CC(), llvm::GISelKnownBits::computeKnownBitsImpl(), llvm::LegalizerInfo::computeTables(), llvm::ConstantFoldBinOp(), llvm::ConstantFoldExtOp(), llvm::createMemLibcall(), llvm::LegalizerInfo::decreaseToSmallerTypesAndIncreaseToSmallest(), llvm::InstructionSelector::executeMatchTable(), extractDLC(), llvm::LegalizerHelper::fewerElementsVectorBasic(), llvm::LegalizerHelper::fewerElementsVectorCasts(), llvm::LegalizerHelper::fewerElementsVectorImplicitDef(), llvm::LegalizerHelper::fewerElementsVectorSelect(), fewerEltsToSize64Vector(), findGISelOptimalMemOpLowering(), findIntrinsicID(), getBufferStoreFormatOpcode(), getBufferStoreOpcode(), getExtendTypeForInst(), getFPTrueImmVal(), getGCDType(), getHalfSizedType(), getInsertVecEltOpInfo(), llvm::AMDGPURegisterBankInfo::getInstrAlternativeMappings(), llvm::MipsRegisterBankInfo::getInstrMapping(), llvm::ARMRegisterBankInfo::getInstrMapping(), llvm::X86RegisterBankInfo::getInstrMapping(), llvm::AArch64RegisterBankInfo::getInstrMapping(), llvm::AMDGPURegisterBankInfo::getInstrMapping(), getLaneCopyOpcode(), getLeaOP(), getLogicalBitOpcode(), getMemsetValue(), getMultipleType(), llvm::getMVTForLLT(), getNarrowTypeBreakDown(), getOffsetFromIndices(), getOtherVRegDef(), llvm::X86GenRegisterBankInfo::getPartialMappingIdx(), llvm::SIRegisterInfo::getRegClassForTypeOnBank(), getRegClassFromGRPhysReg(), llvm::TargetRegisterInfo::getRegSizeInBits(), getShiftTypeForInst(), getSizeInBytes(), getTypeForLLT(), isConstant(), isMultiple32(), isPreISelGenericFloatingPointOpcode(), isRegisterType(), isSCC(), isSmallOddVector(), isWideScalarTruncStore(), isWideVec16(), llvm::ARMLegalizerInfo::legalizeCustom(), llvm::AMDGPULegalizerInfo::legalizeExtractVectorElt(), llvm::AMDGPULegalizerInfo::legalizeFrint(), llvm::AMDGPULegalizerInfo::legalizeGlobalValue(), llvm::AMDGPULegalizerInfo::legalizeImplicitArgPtr(), llvm::AMDGPULegalizerInfo::legalizeInsertVectorElt(), llvm::LegalizerHelper::legalizeInstrStep(), llvm::AArch64LegalizerInfo::legalizeIntrinsic(), llvm::LegalizerHelper::libcall(), llvm::LegalizerHelper::lower(), llvm::LegalizerHelper::lowerBitCount(), llvm::LegalizerHelper::lowerDynStackAlloc(), llvm::LegalizerHelper::lowerExtract(), llvm::LegalizerHelper::lowerFPTOUI(), llvm::LegalizerHelper::lowerInsert(), llvm::AArch64CallLowering::lowerReturn(), llvm::LegalizerHelper::lowerUnmergeValues(), llvm::LegalizeRuleSet::maxScalar(), llvm::LegalizeRuleSet::maxScalarIf(), llvm::LegalizeRuleSet::minScalar(), llvm::LegalizerHelper::moreElementsVector(), moreEltsToNext32Bit(), llvm::LegalityPredicates::narrowerThan(), llvm::LegalizerHelper::narrowScalar(), llvm::LegalizerHelper::narrowScalarExtract(), llvm::LegalizerHelper::narrowScalarInsert(), llvm::LegalizerHelper::narrowScalarMul(), llvm::LegalizerHelper::narrowScalarShiftByConstant(), packSplitRegsToOrigType(), llvm::LegalizerHelper::reduceLoadStoreWidth(), llvm::InstructionSelect::runOnMachineFunction(), selectFPConvOpc(), selectMergeValues(), selectUnmergeValues(), setRegsToType(), shouldUseAndMask(), llvm::LegalityPredicates::sizeNotPow2(), sizeToSubRegIndex(), llvm::LegalizationArtifactCombiner::tryCombineAnyExt(), llvm::LegalizationArtifactCombiner::tryCombineExtract(), llvm::LegalizationArtifactCombiner::tryCombineZExt(), unpackRegsToOrigType(), llvm::MachineIRBuilder::validateTruncExt(), vector(), vectorSmallerThan(), vectorWiderThan(), llvm::LegalizerHelper::widenScalar(), llvm::LegalityPredicates::widerThan(), and X86SelectAddress().

◆ getSizeInBytes()

unsigned llvm::LLT::getSizeInBytes ( ) const
inline

Returns the total size of the type in bytes, i.e.

number of whole bytes needed to represent the size in bits. Must only be called on sized types.

Definition at line 116 of file LowLevelTypeImpl.h.

References getSizeInBits().

Referenced by llvm::AArch64TargetLowering::allowsMisalignedMemoryAccesses(), changeFCMPPredToAArch64CC(), findGISelOptimalMemOpLowering(), and getMemsetValue().

◆ isPointer()

bool llvm::LLT::isPointer ( ) const
inline

◆ isScalar()

bool llvm::LLT::isScalar ( ) const
inline

◆ isValid()

bool llvm::LLT::isValid ( ) const
inline

◆ isVector()

bool llvm::LLT::isVector ( ) const
inline

Definition at line 95 of file LowLevelTypeImpl.h.

References isValid().

Referenced by llvm::AArch64LegalizerInfo::AArch64LegalizerInfo(), llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), llvm::CSEMIRBuilder::buildConstant(), llvm::MachineIRBuilder::buildConstant(), llvm::MachineIRBuilder::buildExtOrTrunc(), llvm::CSEMIRBuilder::buildFConstant(), llvm::MachineIRBuilder::buildFConstant(), llvm::MachineIRBuilder::buildInstr(), llvm::LegalizationArtifactCombiner::canFoldMergeOpcode(), canTurnIntoCOPY(), changeElementSize(), changeElementType(), changeFCMPPredToAArch64CC(), llvm::LegalizeRuleSet::clampMaxNumElements(), llvm::LegalizeRuleSet::clampMinNumElements(), llvm::GISelKnownBits::computeKnownBitsImpl(), llvm::LegalizerInfo::computeTables(), llvm::LegalizerInfo::decreaseToSmallerTypesAndIncreaseToSmallest(), llvm::LegalizerHelper::fewerElementsVectorBasic(), llvm::LegalizerHelper::fewerElementsVectorCasts(), llvm::LegalizerHelper::fewerElementsVectorCmp(), llvm::LegalizerHelper::fewerElementsVectorImplicitDef(), llvm::LegalizerHelper::fewerElementsVectorMultiEltType(), llvm::LegalizerHelper::fewerElementsVectorSelect(), findGISelOptimalMemOpLowering(), getBufferStoreFormatOpcode(), getElementType(), getGCDType(), getHalfSizedType(), getInsertVecEltOpInfo(), llvm::MipsRegisterBankInfo::getInstrMapping(), llvm::AArch64RegisterBankInfo::getInstrMapping(), llvm::GISelKnownBits::getKnownBits(), getLaneCopyOpcode(), getMemsetValue(), getMultipleType(), llvm::getMVTForLLT(), getNarrowTypeBreakDown(), getRegClassFromGRPhysReg(), getScalarType(), getTypeForLLT(), llvm::CallLowering::handleAssignments(), llvm::AMDGPULegalizerInfo::handleD16VData(), isPreISelGenericFloatingPointOpcode(), isRegisterType(), isSmallOddVector(), isWideScalarTruncStore(), llvm::AMDGPULegalizerInfo::legalizeAddrSpaceCast(), llvm::LegalizerHelper::legalizeInstrStep(), llvm::AArch64LegalizerInfo::legalizeIntrinsic(), llvm::AMDGPULegalizerInfo::legalizeRawBufferStore(), llvm::LegalizerHelper::lower(), llvm::LegalizerHelper::lowerExtract(), llvm::LegalizerHelper::lowerInsert(), llvm::AArch64CallLowering::lowerReturn(), llvm::LegalizerHelper::lowerShuffleVector(), llvm::LegalizerHelper::lowerUnmergeValues(), llvm::LegalizeRuleSet::minScalarSameAs(), mutationIsSane(), llvm::LegalizerHelper::narrowScalar(), llvm::LegalizerHelper::narrowScalarMul(), llvm::LegalizerHelper::narrowScalarSelect(), llvm::LegalizerHelper::narrowScalarShift(), numElementsNotEven(), llvm::LegalityPredicates::numElementsNotPow2(), packSplitRegsToOrigType(), print(), substituteSimpleCopyRegs(), llvm::LegalizationArtifactCombiner::tryCombineInstruction(), unpackRegsToOrigType(), llvm::MachineIRBuilder::validateBinaryOp(), llvm::MachineIRBuilder::validateSelectOp(), llvm::MachineIRBuilder::validateShiftOp(), llvm::MachineIRBuilder::validateTruncExt(), vector(), vectorSmallerThan(), and vectorWiderThan().

◆ operator!=()

bool llvm::LLT::operator!= ( const LLT RHS) const
inline

Definition at line 180 of file LowLevelTypeImpl.h.

◆ operator==()

bool llvm::LLT::operator== ( const LLT RHS) const
inline

Definition at line 175 of file LowLevelTypeImpl.h.

◆ pointer()

static LLT llvm::LLT::pointer ( unsigned  AddressSpace,
unsigned  SizeInBits 
)
inlinestatic

◆ print()

void LLT::print ( raw_ostream OS) const

◆ scalar()

static LLT llvm::LLT::scalar ( unsigned  SizeInBits)
inlinestatic

Get a low-level scalar or aggregate "bag of bits".

Definition at line 42 of file LowLevelTypeImpl.h.

References assert().

Referenced by llvm::AArch64CallLowering::AArch64CallLowering(), llvm::AArch64LegalizerInfo::AArch64LegalizerInfo(), llvm::SITargetLowering::allocateSpecialEntryInputVGPRs(), allocateVGPR32Input(), llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), llvm::MipsRegisterBankInfo::applyMappingImpl(), llvm::ARMLegalizerInfo::ARMLegalizerInfo(), changeElementSize(), llvm::RegisterBankInfo::OperandsMapper::createVRegs(), llvm::LegalizerInfo::decreaseToSmallerTypesAndIncreaseToSmallest(), extractDLC(), extractF64Exponent(), findGISelOptimalMemOpLowering(), llvm::IRTranslator::getAnalysisUsage(), getBaseWithConstantOffset(), getElementType(), getGCDType(), getHalfSizedType(), llvm::AArch64RegisterBankInfo::getInstrMapping(), llvm::getLLTForMVT(), llvm::getLLTForType(), getMemsetValue(), getMultipleType(), getNarrowTypeBreakDown(), getOffsetFromIndices(), llvm::AArch64TargetLowering::getOptimalMemOpLLT(), getOtherVRegDef(), llvm::AMDGPULegalizerInfo::getSegmentAperture(), llvm::MipsCallLowering::MipsHandler::handle(), llvm::CallLowering::handleAssignments(), llvm::AMDGPULegalizerInfo::handleD16VData(), isSupportedType(), llvm::AMDGPULegalizerInfo::legalizeAddrSpaceCast(), llvm::MipsLegalizerInfo::legalizeCustom(), llvm::ARMLegalizerInfo::legalizeCustom(), llvm::AMDGPULegalizerInfo::legalizeFastUnsafeFDIV(), llvm::AMDGPULegalizerInfo::legalizeFceil(), llvm::AMDGPULegalizerInfo::legalizeFDIVFastIntrin(), llvm::AMDGPULegalizerInfo::legalizeFMad(), llvm::AMDGPULegalizerInfo::legalizeImplicitArgPtr(), llvm::LegalizerHelper::legalizeInstrStep(), llvm::AArch64LegalizerInfo::legalizeIntrinsic(), llvm::X86LegalizerInfo::legalizeIntrinsic(), llvm::AMDGPULegalizerInfo::legalizeIntrinsicTrunc(), llvm::AMDGPULegalizerInfo::legalizeIsAddrSpace(), llvm::AMDGPULegalizerInfo::legalizeITOFP(), llvm::AMDGPULegalizerInfo::legalizeRawBufferStore(), llvm::AMDGPULegalizerInfo::loadInputValue(), llvm::LegalizerHelper::lower(), llvm::LegalizerHelper::lowerBitCount(), llvm::LegalizerHelper::lowerDynStackAlloc(), llvm::LegalizerHelper::lowerExtract(), llvm::MipsCallLowering::lowerFormalArguments(), llvm::LegalizerHelper::lowerFPTOUI(), llvm::LegalizerHelper::lowerInsert(), llvm::X86CallLowering::lowerReturn(), llvm::ARMCallLowering::lowerReturn(), llvm::AArch64CallLowering::lowerReturn(), llvm::AMDGPUCallLowering::lowerReturn(), llvm::LegalizerHelper::lowerShuffleVector(), llvm::LegalizerHelper::lowerSITOFP(), llvm::LegalizerHelper::lowerU64ToF32BitOps(), llvm::LegalizerHelper::lowerUITOFP(), llvm::LegalizerHelper::lowerUnmergeValues(), llvm::MipsLegalizerInfo::MipsLegalizerInfo(), llvm::LegalizerHelper::moreElementsVector(), llvm::LegalizerHelper::narrowScalar(), llvm::LegalizerHelper::narrowScalarExtract(), llvm::LegalizerHelper::narrowScalarInsert(), llvm::LegalizerHelper::narrowScalarShift(), llvm::LegalizerHelper::reduceLoadStoreWidth(), scalarOrVector(), llvm::MipsRegisterBankInfo::setRegBank(), shouldUseAndMask(), substituteSimpleCopyRegs(), verifyAddrSpace(), and llvm::X86CallLowering::X86CallLowering().

◆ scalarOrVector() [1/2]

static LLT llvm::LLT::scalarOrVector ( uint16_t  NumElements,
LLT  ScalarTy 
)
inlinestatic

◆ scalarOrVector() [2/2]

static LLT llvm::LLT::scalarOrVector ( uint16_t  NumElements,
unsigned  ScalarSize 
)
inlinestatic

Definition at line 77 of file LowLevelTypeImpl.h.

References scalar(), and scalarOrVector().

◆ vector() [1/2]

static LLT llvm::LLT::vector ( uint16_t  NumElements,
unsigned  ScalarSizeInBits 
)
inlinestatic

◆ vector() [2/2]

static LLT llvm::LLT::vector ( uint16_t  NumElements,
LLT  ScalarTy 
)
inlinestatic

Get a low-level vector of some number of elements and element type.

Definition at line 65 of file LowLevelTypeImpl.h.

References assert(), getAddressSpace(), getSizeInBits(), isPointer(), and isVector().

Friends And Related Function Documentation

◆ DenseMapInfo< LLT >

friend struct DenseMapInfo< LLT >
friend

Definition at line 182 of file LowLevelTypeImpl.h.

◆ GISelInstProfileBuilder

friend class GISelInstProfileBuilder
friend

Definition at line 183 of file LowLevelTypeImpl.h.


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