LLVM API Documentation
#include "llvm/Target/TargetData.h"#include "llvm/Module.h"#include "llvm/DerivedTypes.h"#include "llvm/Constants.h"#include "llvm/Support/GetElementPtrTypeIterator.h"#include "llvm/Support/MathExtras.h"#include "llvm/Support/ManagedStatic.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/StringExtras.h"#include <algorithm>#include <cstdlib>
Go to the source code of this file.
Typedefs | |
| typedef std::pair< const TargetData *, const StructType * > | LayoutKey |
| typedef DenseMap< LayoutKey, StructLayout *, DenseMapLayoutKeyInfo > | LayoutInfoTy |
Variables | |
| static RegisterPass< TargetData > | X ("targetdata","Target Data Layout", false, true) |
| static ManagedStatic < LayoutInfoTy > | LayoutInfo |
typedef DenseMap<LayoutKey, StructLayout*, DenseMapLayoutKeyInfo> LayoutInfoTy [static] |
Definition at line 343 of file TargetData.cpp.
typedef std::pair<const TargetData*,const StructType*> LayoutKey [static] |
LayoutInfo - The lazy cache of structure layout information maintained by TargetData. Note that the struct types must have been free'd before llvm_shutdown is called (and thus this is deallocated) because all the targets with cached elements should have been destroyed.
Definition at line 325 of file TargetData.cpp.
ManagedStatic<LayoutInfoTy> LayoutInfo [static] |
Definition at line 347 of file TargetData.cpp.
RegisterPass<TargetData> X("targetdata","Target Data Layout", false, true) [static] |