LLVM API Documentation
#include <TargetData.h>

Public Member Functions | |
| uint64_t | getSizeInBytes () const |
| uint64_t | getSizeInBits () const |
| unsigned | getAlignment () const |
| unsigned | getElementContainingOffset (uint64_t Offset) const |
| uint64_t | getElementOffset (unsigned Idx) const |
| uint64_t | getElementOffsetInBits (unsigned Idx) const |
Friends | |
| class | TargetData |
Definition at line 259 of file TargetData.h.
| uint64_t llvm::StructLayout::getSizeInBytes | ( | ) | const [inline] |
Definition at line 266 of file TargetData.h.
| uint64_t llvm::StructLayout::getSizeInBits | ( | ) | const [inline] |
| unsigned llvm::StructLayout::getAlignment | ( | ) | const [inline] |
Definition at line 274 of file TargetData.h.
| unsigned StructLayout::getElementContainingOffset | ( | uint64_t | Offset | ) | const |
getElementContainingOffset - Given a valid offset into the structure, return the structure index that contains it.
getElementContainingOffset - Given a valid offset into the structure, return the structure index that contains it.
Definition at line 76 of file TargetData.cpp.
| uint64_t llvm::StructLayout::getElementOffset | ( | unsigned | Idx | ) | const [inline] |
Definition at line 283 of file TargetData.h.
Referenced by llvm::ComputeMaskedBits(), ComputeValueVTs(), EmitGEPOffset(), EvaluateGEPOffsetExpression(), llvm::Interpreter::executeGEPOperation(), getElementOffsetInBits(), llvm::TargetData::getIndexedOffset(), GetOffsetFromIndex(), llvm::ExecutionEngine::InitializeMemory(), llvm::MachOWriter::InitMem(), IsConstantOffsetFromGlobal(), and SRAGlobal().
| uint64_t llvm::StructLayout::getElementOffsetInBits | ( | unsigned | Idx | ) | const [inline] |
Definition at line 288 of file TargetData.h.
References getElementOffset().
Referenced by HasPadding().
friend class TargetData [friend] |
Definition at line 293 of file TargetData.h.
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.