LLVM API Documentation
#include <DataLayout.h>


DataLayout - This class holds a parsed version of the target data layout string in a module and provides methods for querying it. The target data layout string is specified *by the target* - a frontend generating LLVM IR is required to generate the right target data for the target being codegen'd to. If some measure of portability is desired, an empty string may be specified in the module.
Definition at line 98 of file DataLayout.h.
| DataLayout::DataLayout | ( | ) |
Default ctor.
Definition at line 310 of file DataLayout.cpp.
References llvm::report_fatal_error().
| llvm::DataLayout::DataLayout | ( | StringRef | LayoutDescription | ) | [inline, explicit] |
Constructs a DataLayout from a specification string. See init().
Definition at line 166 of file DataLayout.h.
References init().
| DataLayout::DataLayout | ( | const Module * | M | ) | [explicit] |
Initialize target data from properties stored in the module.
Definition at line 315 of file DataLayout.cpp.
References llvm::Module::getDataLayout(), and init().
| llvm::DataLayout::DataLayout | ( | const DataLayout & | DL | ) | [inline] |
Definition at line 174 of file DataLayout.h.
| DataLayout::~DataLayout | ( | ) |
Definition at line 437 of file DataLayout.cpp.
DataLayout is an immutable pass, but holds state. This allows the pass manager to clear its mutable state.
Reimplemented from llvm::Pass.
Definition at line 441 of file DataLayout.cpp.
Returns true if the given alignment exceeds the natural stack alignment.
Definition at line 222 of file DataLayout.h.
Referenced by enforceKnownAlignment(), and getMemcpyLoadsAndStores().
fitsInLegalInteger - This function returns true if the specified type fits in a native integer type supported by the CPU. For example, if the CPU only supports i32 as a native integer type, then i27 fits in a legal
Definition at line 230 of file DataLayout.h.
References llvm::SmallVectorTemplateCommon< T, typename >::size().
Referenced by llvm::MemoryDependenceAnalysis::getLoadLoadClobberFullWidthSize().
getABIIntegerTypeAlignment - Return the minimum ABI-required alignment for an integer type of the specified bitwidth.
Definition at line 581 of file DataLayout.cpp.
References llvm::INTEGER_ALIGN.
Referenced by llvm::MachineJumpTableInfo::getEntryAlignment().
getABITypeAlignment - Return the minimum ABI-required alignment for the specified type.
Definition at line 575 of file DataLayout.cpp.
Referenced by llvm::ComputeMaskedBits(), llvm::X86TargetLowering::getByValTypeAlignment(), getCallFrameTypeAlignment(), getMemcpyLoadsAndStores(), getMemmoveLoadsAndStores(), getMemsetStores(), getPreferredAlignment(), getTypeAllocSize(), llvm::NVPTXTargetLowering::LowerCall(), llvm::TargetLowering::LowerCallTo(), llvm::NVPTXTargetLowering::LowerFormalArguments(), llvm::AArch64TargetLowering::LowerGlobalAddressELFSmall(), SRAGlobal(), llvm::InstCombiner::visitLoadInst(), and llvm::InstCombiner::visitStoreInst().
getCallFrameTypeAlignment - Return the minimum ABI-required alignment for the specified type when it is part of a call frame.
Definition at line 586 of file DataLayout.cpp.
References getABITypeAlignment(), llvm::SmallVectorTemplateCommon< T, typename >::size(), and llvm::STACK_ALIGN.
Referenced by llvm::TargetLoweringBase::getByValTypeAlignment().
getIndexedOffset - return the offset from the beginning of the type for the specified indices. This is used to implement getelementptr.
Definition at line 626 of file DataLayout.cpp.
References llvm::gep_type_begin(), llvm::Type::getContext(), llvm::StructLayout::getElementOffset(), llvm::Type::getInt32Ty(), getStructLayout(), getType(), getTypeAllocSize(), llvm::Type::isPointerTy(), and llvm::ArrayRef< T >::size().
Referenced by llvm::CompileUnit::createGlobalVariableDIE(), and SymbolicallyEvaluateGEP().
| IntegerType * DataLayout::getIntPtrType | ( | LLVMContext & | C, |
| unsigned | AddressSpace = 0 |
||
| ) | const |
getIntPtrType - Return an integer type with size at least as big as that of a pointer in the given address space.
Definition at line 604 of file DataLayout.cpp.
References llvm::IntegerType::get(), and getPointerSizeInBits().
Referenced by llvm::IntrinsicLowering::AddPrototypes(), CastGEPIndices(), CoerceAvailableValueToLoadType(), llvm::ConstantFoldCompareInstOperands(), convertPointerToIntegerType(), llvm::EmitFWrite(), llvm::EmitGEPOffset(), llvm::EmitMemChr(), llvm::EmitMemCmp(), llvm::EmitMemCpyChk(), llvm::EmitStrLen(), llvm::EmitStrNCmp(), llvm::EmitStrNLen(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::ARMSelectionDAGInfo::EmitTargetCodeForMemset(), EvaluateGEPOffsetExpression(), llvm::SimplifyFortifiedLibCalls::fold(), GetConstantInt(), llvm::ScalarEvolution::getEffectiveSCEVType(), llvm::IRBuilderBase::getIntPtrTy(), llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), llvm::ScalarEvolution::getOffsetOfExpr(), llvm::ScalarEvolution::getSizeOfExpr(), GetStoreValueForLoad(), isEliminableCastPair(), nvptx::LowerConstant(), lowerConstant(), llvm::IntrinsicLowering::LowerIntrinsicCall(), llvm::ObjectSizeOffsetEvaluator::ObjectSizeOffsetEvaluator(), llvm::ObjectSizeOffsetVisitor::ObjectSizeOffsetVisitor(), PerformHeapAllocSRoA(), ReadDataFromGlobal(), SimplifyBranchOnICmpChain(), stripAndComputeConstantOffsets(), SymbolicallyEvaluateGEP(), TryToOptimizeStoreOfMallocToGlobal(), llvm::InstCombiner::visitAllocaInst(), and llvm::PtrUseVisitor< PartitionBuilder >::visitPtr().
getIntPtrType - Return an integer (vector of integer) type with size at least as big as that of a pointer of the given pointer (vector of pointer) type.
Definition at line 609 of file DataLayout.cpp.
References llvm::IntegerType::get(), llvm::VectorType::get(), llvm::Type::getContext(), llvm::Type::getScalarType(), getTypeSizeInBits(), and llvm::Type::isPtrOrPtrVectorTy().
Layout pointer alignment FIXME: The defaults need to be removed once all of the backends/clients are updated.
Definition at line 240 of file DataLayout.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find().
Referenced by llvm::TargetLoweringObjectFileELF::emitPersonalityValue(), and llvm::MachineJumpTableInfo::getEntryAlignment().
Return target's alignment for stack-based pointers FIXME: The defaults need to be removed once all of the backends/clients are updated.
Definition at line 250 of file DataLayout.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find().
Referenced by FindOptimalMemOpLowering(), and getOpenCLAlignment().
Layout pointer size FIXME: The defaults need to be removed once all of the backends/clients are updated.
Definition at line 260 of file DataLayout.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find().
Referenced by llvm::X86AsmPrinter::EmitEndOfAsmFile(), llvm::SystemZAsmPrinter::EmitEndOfAsmFile(), llvm::AArch64AsmPrinter::EmitEndOfAsmFile(), llvm::DwarfException::EmitExceptionTable(), llvm::TargetLoweringObjectFileELF::emitPersonalityValue(), llvm::DIEInteger::EmitValue(), llvm::MachineJumpTableInfo::getEntrySize(), getPointerSizeInBits(), llvm::MSP430TargetLowering::getReturnAddressFrameIndex(), llvm::TargetLoweringBase::getScalarShiftAmountTy(), llvm::AsmPrinter::GetSizeOfEncodedValue(), isTargetNullPtr(), llvm::MSP430TargetLowering::LowerRETURNADDR(), llvm::DIEInteger::SizeOf(), llvm::DIELabel::SizeOf(), llvm::DIEDelta::SizeOf(), and llvm::TargetLoweringBase::TargetLoweringBase().
Layout pointer size, in bits FIXME: The defaults need to be removed once all of the backends/clients are updated.
Definition at line 270 of file DataLayout.h.
References getPointerSize().
Referenced by llvm::GEPOperator::accumulateConstantOffset(), llvm::ConstantFoldInstOperands(), DecomposeGEPExpression(), llvm::EmitGEPOffset(), llvm::AsmPrinter::EmitGlobalVariable(), EvaluateGEPOffsetExpression(), FoldReinterpretLoadFromConstPtr(), getBitWidth(), llvm::ExecutionEngine::getConstantValue(), getIntPtrType(), getNaturalGEPWithType(), llvm::getOrEnforceKnownAlignment(), llvm::GetPointerBaseWithConstantOffset(), getTypeSizeInBits(), lle_X_sprintf(), nvptx::LowerConstant(), lowerConstant(), SimplifyICmpInst(), stripAndComputeConstantOffsets(), and SymbolicallyEvaluateBinop().
| unsigned DataLayout::getPreferredAlignment | ( | const GlobalVariable * | GV | ) | const |
getPreferredAlignment - Return the preferred alignment of the specified global. This includes an explicitly requested alignment (if the global has one).
Definition at line 666 of file DataLayout.cpp.
References getABITypeAlignment(), llvm::GlobalValue::getAlignment(), llvm::SequentialType::getElementType(), getPrefTypeAlignment(), llvm::GlobalValue::getType(), getTypeSizeInBits(), and llvm::GlobalVariable::hasInitializer().
Referenced by llvm::ComputeMaskedBits(), llvm::JIT::getMemoryForGV(), getPreferredAlignmentLog(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
| unsigned DataLayout::getPreferredAlignmentLog | ( | const GlobalVariable * | GV | ) | const |
getPreferredAlignmentLog - Return the preferred alignment of the specified global, returned in log form. This includes an explicitly requested alignment (if the global has one).
Definition at line 690 of file DataLayout.cpp.
References getPreferredAlignment(), and llvm::Log2_32().
Referenced by getGVAlignmentLog2().
getPreferredTypeAlignmentShift - Return the preferred alignment for the specified type, returned as log2 of the value (a shift amount).
Definition at line 598 of file DataLayout.cpp.
References getPrefTypeAlignment(), and llvm::Log2_32().
getPrefTypeAlignment - Return the preferred stack/global alignment for the specified type. This is always at least as good as the ABI alignment.
Definition at line 594 of file DataLayout.cpp.
Referenced by llvm::SelectionDAG::CreateStackTemporary(), llvm::SelectionDAG::getConstantPool(), getOpenCLAlignment(), getPreferredAlignment(), getPreferredTypeAlignmentShift(), HandleByValArgument(), llvm::isSafeToLoadUnconditionally(), llvm::SelectionDAGBuilder::LowerCallTo(), llvm::FunctionLoweringInfo::set(), llvm::InstCombiner::visitAllocaInst(), llvm::InstCombiner::visitLoadInst(), and llvm::InstCombiner::visitStoreInst().
| Type * DataLayout::getSmallestLegalIntType | ( | LLVMContext & | C, |
| unsigned | Width = 0 |
||
| ) | const |
getSmallestLegalIntType - Return the smallest integer type with size at least as big as Width bits.
Definition at line 619 of file DataLayout.cpp.
References llvm::Type::getIntNTy(), and llvm::SmallVectorTemplateCommon< T, typename >::size().
| std::string DataLayout::getStringRepresentation | ( | ) | const |
getStringRepresentation - Return the string representation of the DataLayout. This representation is in the same format accepted by the string constructor above.
Definition at line 470 of file DataLayout.cpp.
References llvm::LayoutAlignElem::ABIAlign, llvm::PointerAlignElem::ABIAlign, llvm::PointerAlignElem::AddressSpace, llvm::LayoutAlignElem::AlignType, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorBase::empty(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find(), if(), llvm::LayoutAlignElem::PrefAlign, llvm::PointerAlignElem::PrefAlign, llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::raw_string_ostream::str(), llvm::LayoutAlignElem::TypeBitWidth, and llvm::PointerAlignElem::TypeBitWidth.
| const StructLayout * DataLayout::getStructLayout | ( | StructType * | Ty | ) | const |
getStructLayout - Return a StructLayout object, indicating the alignment of the struct, its size, and the offsets of its fields. Note that this information is lazily cached.
Definition at line 447 of file DataLayout.cpp.
References llvm::StructType::getNumElements(), and llvm::LibFunc::malloc.
Referenced by llvm::GEPOperator::accumulateConstantOffset(), computeArraySize(), llvm::ComputeValueVTs(), DecomposeGEPExpression(), llvm::EmitGEPOffset(), emitGlobalConstantStruct(), EvaluateGEPOffsetExpression(), getIndexedOffset(), getNaturalGEPRecursively(), GetOffsetFromIndex(), llvm::ScalarEvolution::getOffsetOfExpr(), getTypePartition(), getTypeSizeInBits(), HasPadding(), llvm::ExecutionEngine::InitializeMemory(), isGEPKnownNonNull(), PerformHeapAllocSRoA(), ReadDataFromGlobal(), SRAGlobal(), stripAggregateTypeWrapping(), SymbolicallyEvaluateGEP(), and TryToOptimizeStoreOfMallocToGlobal().
| uint64_t llvm::DataLayout::getTypeAllocSize | ( | Type * | Ty | ) | const [inline] |
getTypeAllocSize - Return the offset in bytes between successive objects of the specified type, including alignment padding. This is the amount that alloca reserves for this type. For example, returns 12 or 16 for x86_fp80, depending on alignment.
Definition at line 313 of file DataLayout.h.
References getABITypeAlignment(), getTypeStoreSize(), and RoundUpAlignment().
Referenced by llvm::GEPOperator::accumulateConstantOffset(), AddFastCallStdCallSuffix(), computeArraySize(), llvm::ComputeValueVTs(), DecomposeGEPExpression(), llvm::AsmPrinter::EmitConstantPool(), llvm::EmitGEPOffset(), llvm::AsmPrinter::EmitGlobalConstant(), emitGlobalConstantArray(), emitGlobalConstantDataSequential(), emitGlobalConstantFP(), emitGlobalConstantImpl(), emitGlobalConstantStruct(), emitGlobalConstantVector(), llvm::AsmPrinter::EmitGlobalVariable(), llvm::ExecutionEngine::EmitGlobalVariable(), llvm::SystemZAsmPrinter::EmitMachineConstantPoolValue(), llvm::ARMAsmPrinter::EmitMachineConstantPoolValue(), llvm::ARMAsmPrinter::EmitXXStructor(), EvaluateGEPOffsetExpression(), FoldReinterpretLoadFromConstPtr(), GetConstantPoolSizeInBytes(), getIndexedOffset(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::JIT::getMemoryForGV(), getNaturalGEPRecursively(), getNaturalGEPWithOffset(), GetOffsetFromIndex(), llvm::NVPTXTargetLowering::getPrototype(), llvm::ScalarEvolution::getSizeOfExpr(), llvm::SparcTargetLowering::getSRetArgSize(), llvm::ARMTargetLowering::getTgtMemIntrinsic(), getTypeAllocSizeInBits(), getTypePartition(), INITIALIZE_PASS(), llvm::ExecutionEngine::InitializeMemory(), llvm::InlineFunction(), isGEPKnownNonNull(), llvm::MBlazeTargetObjectFile::IsGlobalInSmallSection(), llvm::HexagonTargetObjectFile::IsGlobalInSmallSection(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), llvm::XCoreTargetLowering::isLegalAddressingMode(), isRepeatedByteSequence(), isSafeToEliminateVarargsCast(), llvm::SelectionDAGBuilder::LowerCallTo(), nvptx::LowerConstant(), lowerConstant(), PerformHeapAllocSRoA(), ReadDataFromGlobal(), llvm::FunctionLoweringInfo::set(), SimplifyGEPInst(), SRAGlobal(), stripAggregateTypeWrapping(), SymbolicallyEvaluateGEP(), TryToOptimizeStoreOfMallocToGlobal(), llvm::Interpreter::visitAllocaInst(), llvm::ObjectSizeOffsetVisitor::visitAllocaInst(), llvm::InstCombiner::visitAllocaInst(), llvm::ObjectSizeOffsetEvaluator::visitAllocaInst(), llvm::ObjectSizeOffsetVisitor::visitArgument(), and llvm::ObjectSizeOffsetVisitor::visitGlobalVariable().
| uint64_t llvm::DataLayout::getTypeAllocSizeInBits | ( | Type * | Ty | ) | const [inline] |
getTypeAllocSizeInBits - Return the offset in bits between successive objects of the specified type, including alignment padding; always a multiple of 8. This is the amount that alloca reserves for this type. For example, returns 96 or 128 for x86_fp80, depending on alignment.
Definition at line 322 of file DataLayout.h.
References getTypeAllocSize().
Referenced by FoldBitCast(), FoldReinterpretLoadFromConstPtr(), getTypeSizeInBits(), HasPadding(), nvptx::LowerConstant(), and lowerConstant().
| uint64_t llvm::DataLayout::getTypeSizeInBits | ( | Type * | Ty | ) | const [inline] |
Size examples:
Type SizeInBits StoreSizeInBits AllocSizeInBits[*] ---- ---------- --------------- --------------- i1 1 8 8 i8 8 8 8 i19 19 24 32 i32 32 32 32 i100 100 104 128 i128 128 128 128 Float 32 32 32 Double 64 64 64 X86_FP80 80 80 96
[*] The alloc size depends on the alignment, and thus on the target. These values are for x86-32 linux. getTypeSizeInBits - Return the number of bits necessary to hold the specified type. For example, returns 36 for i36 and 80 for x86_fp80. The type passed must have a size (Type::isSized() must return true).
Definition at line 435 of file DataLayout.h.
References llvm::Type::ArrayTyID, llvm::Type::DoubleTyID, llvm::Type::FloatTyID, llvm::Type::FP128TyID, getBitWidth(), llvm::SequentialType::getElementType(), llvm::ArrayType::getNumElements(), llvm::VectorType::getNumElements(), getPointerSizeInBits(), llvm::StructLayout::getSizeInBits(), getStructLayout(), getTypeAllocSizeInBits(), llvm::Type::getTypeID(), llvm::Type::HalfTyID, llvm::Type::IntegerTyID, llvm::Type::isSized(), llvm::Type::LabelTyID, llvm_unreachable, llvm::Type::PointerTyID, llvm::Type::PPC_FP128TyID, llvm::Type::StructTyID, llvm::Type::VectorTyID, llvm::Type::X86_FP80TyID, and llvm::Type::X86_MMXTyID.
Referenced by AnalyzeLoadFromClobberingLoad(), AnalyzeLoadFromClobberingStore(), AnalyzeLoadFromClobberingWrite(), CanCoerceMustAliasedValueToLoad(), canConvertValue(), CoerceAvailableValueToLoadType(), llvm::ComputeMaskedBits(), llvm::ComputeNumSignBits(), llvm::ExecutionEngine::getConstantValue(), getIntPtrType(), GetMemInstValueForLoad(), getMemSetPatternValue(), getNaturalGEPRecursively(), getPreferredAlignment(), GetStoreValueForLoad(), llvm::ScalarEvolution::getTypeSizeInBits(), getTypeStoreSize(), HasPadding(), InstCombineLoadCast(), InstCombineStoreToCast(), isIntegerWideningViable(), isSimpleEnoughValueToCommitHelper(), isVectorPromotionViable(), llvm::TargetLowering::ParseConstraints(), stripAggregateTypeWrapping(), SymbolicallyEvaluateBinop(), and SymbolicallyEvaluateGEP().
| uint64_t llvm::DataLayout::getTypeStoreSize | ( | Type * | Ty | ) | const [inline] |
getTypeStoreSize - Return the maximum number of bytes that may be overwritten by storing the specified type. For example, returns 5 for i36 and 10 for x86_fp80.
Definition at line 298 of file DataLayout.h.
References getTypeSizeInBits().
Referenced by AnalyzeLoadFromClobberingLoad(), CanShareConstantPoolEntry(), emitGlobalConstantFP(), extractInteger(), GetLoadValueForLoad(), getTypeAllocSize(), llvm::AliasAnalysis::getTypeStoreSize(), getTypeStoreSizeInBits(), HandleByValArgument(), insertInteger(), llvm::BoUpSLP::isConsecutiveAccess(), isIntegerWideningViable(), llvm::isSafeToLoadUnconditionally(), llvm::ExecutionEngine::LoadValueFromMemory(), llvm::NVPTXLowerAggrCopies::runOnFunction(), and llvm::ExecutionEngine::StoreValueToMemory().
| uint64_t llvm::DataLayout::getTypeStoreSizeInBits | ( | Type * | Ty | ) | const [inline] |
getTypeStoreSizeInBits - Return the maximum number of bits that may be overwritten by storing the specified type; always a multiple of 8. For example, returns 40 for i36 and 80 for x86_fp80.
Definition at line 305 of file DataLayout.h.
References getTypeStoreSize().
Referenced by isIntegerWideningViable().
| void DataLayout::init | ( | StringRef | LayoutDescription | ) |
Parse a data layout string (with fallback to default values). Ensure that the data layout pass is registered.
Definition at line 154 of file DataLayout.cpp.
References llvm::AGGREGATE_ALIGN, llvm::FLOAT_ALIGN, llvm::PassRegistry::getPassRegistry(), llvm::initializeDataLayoutPass(), llvm::INTEGER_ALIGN, and llvm::VECTOR_ALIGN.
Referenced by DataLayout().
| bool llvm::DataLayout::isBigEndian | ( | ) | const [inline] |
Definition at line 196 of file DataLayout.h.
Referenced by CoerceAvailableValueToLoadType(), emitGlobalConstantFP(), emitGlobalConstantLargeInt(), extractInteger(), GetLoadValueForLoad(), getMemSetPatternValue(), insertInteger(), and OptimizeIntToFloatBitCast().
Definition at line 217 of file DataLayout.h.
References isLegalInteger().
isLegalInteger - This function returns true if the specified type is known to be a native integer type supported by the CPU. For example, i64 is not native on most 32-bit CPUs and i37 is not native on any known one. This returns false if the integer width is not legal.
The width is specified in bits.
Definition at line 210 of file DataLayout.h.
References llvm::SmallVectorTemplateCommon< T, typename >::size().
Referenced by llvm::IVUsers::AddUsersImpl(), FindLoopCounter(), isIllegalInteger(), and llvm::InstCombiner::visitPHINode().
| bool llvm::DataLayout::isLittleEndian | ( | ) | const [inline] |
Layout endianness...
Definition at line 195 of file DataLayout.h.
Referenced by llvm::CompileUnit::addConstantFPValue(), llvm::CompileUnit::addConstantValue(), llvm::ConstantFoldLoadFromConstPtr(), llvm::CompileUnit::createMemberDIE(), FoldBitCast(), FoldReinterpretLoadFromConstPtr(), GetStoreValueForLoad(), ReadDataFromGlobal(), and llvm::TargetLoweringBase::TargetLoweringBase().
| static UIntTy llvm::DataLayout::RoundUpAlignment | ( | UIntTy | Val, |
| unsigned | Alignment | ||
| ) | [inline, static] |
RoundUpAlignment - Round the specified value up to the next alignment boundary specified by Alignment. For example, 7 rounded up to an alignment boundary of 4 is 8. 8 rounded up to the alignment boundary of 4 is 8 because it is already aligned.
Definition at line 383 of file DataLayout.h.
Referenced by getTypeAllocSize().
char DataLayout::ID = 0 [static] |
Definition at line 388 of file DataLayout.h.