LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TransformInternals.cpp File Reference

#include "TransformInternals.h"
#include "llvm/Type.h"
#include "llvm/Analysis/Expressions.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 TypegetStructOffsetStep (const StructType *STy, uint64_t &Offset, std::vector< Value * > &Indices, const TargetData &TD)
const Typellvm::getStructOffsetType (const Type *Ty, unsigned &Offset, std::vector< Value * > &Indices, const TargetData &TD, bool StopEarly)
const Typellvm::ConvertibleToGEP (const Type *Ty, Value *OffsetVal, std::vector< Value * > &Indices, const TargetData &TD, BasicBlock::iterator *BI)


Function Documentation

static const Type* getStructOffsetStep const StructType STy,
uint64_t &  Offset,
std::vector< Value * > &  Indices,
const TargetData TD
[static]
 

Definition at line 22 of file TransformInternals.cpp.

References llvm::ConstantUInt::get(), llvm::Type::getContainedType(), llvm::TargetData::getStructLayout(), llvm::TargetData::getTypeSize(), llvm::StructLayout::MemberOffsets, and llvm::Type::UIntTy.

Referenced by llvm::getStructOffsetType().