LLVM API Documentation
#include "TransformInternals.h"
#include "llvm/Type.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
Include dependency graph for TransformInternals.cpp:
Go to the source code of this file.
Functions | |
static const Type * | getStructOffsetStep (const StructType *STy, uint64_t &Offset, std::vector< Value * > &Indices, const TargetData &TD) |
const Type * | llvm::getStructOffsetType (const Type *Ty, unsigned &Offset, std::vector< Value * > &Indices, const TargetData &TD, bool StopEarly) |
static const Type* getStructOffsetStep | ( | const StructType * | STy, | |
uint64_t & | Offset, | |||
std::vector< Value * > & | Indices, | |||
const TargetData & | TD | |||
) | [static] |
Definition at line 21 of file TransformInternals.cpp.
References llvm::Type::getContainedType(), llvm::TargetData::getStructLayout(), llvm::TargetData::getTypeSize(), and TD.
Referenced by llvm::getStructOffsetType().