aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetData.cpp
AgeCommit message (Expand)Author
2005-08-02Update to use the new MathExtras.h support for log2 computation.Chris Lattner
2005-04-21Remove trailing whitespaceMisha Brukman
2005-03-13add a StructLayout::getElementContainingOffset method.Chris Lattner
2004-12-01Initial support for packed types, contributed by Morten OfstadChris Lattner
2004-11-02Fix this function to not say that longs have 8-byte alignment on X86/PPC.Chris Lattner
2004-09-01Changes For Bug 352Reid Spencer
2004-08-17Add a new helper method to get log2(type alignment)Chris Lattner
2004-07-23* Add BoolAlignment to TargetData, default is 1 byte, size 1 byteMisha Brukman
2004-07-15Nuke a clearly bogus assertionChris Lattner
2004-07-02Fix use-before-def thinkoBrian Gaeke
2004-07-01Handle targets where alignment can be bigger than the size of the data.Chris Lattner
2004-06-17Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner
2004-04-14Fix typo.Brian Gaeke
2004-04-05Support getelementptr instructions which use uint's to index into structureChris Lattner
2004-02-26Use a map instead of annotationsChris Lattner
2004-02-09Adjust to the changed StructType interface. In particular, getElementTypes()...Chris Lattner
2003-12-22finegrainify namespacificationChris Lattner
2003-11-11Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke
2003-10-20Added LLVM project notice to the top of every C++ source file.John Criswell
2003-08-24Add support for 'any' pointer size and endiannessChris Lattner
2003-08-18Spell `necessary' correctly.Misha Brukman
2003-07-23Remove redundant const qualifiers from cast<> expressionsChris Lattner
2003-06-04No really, you _cannot use_ getelementptr on an unsized type: that makesChris Lattner
2003-06-04Undo one of those last fixes -- it was incorrect.Vikram S. Adve
2003-06-02Minor cleanupsChris Lattner
2003-05-21* Fix divide by zero error with empty structsChris Lattner
2003-04-26Remove two fields from TargetData which are target specific.Chris Lattner
2003-04-25Whoops, 32 bit targets have _4_ byte pointers, not _32_ byte pointers!Chris Lattner
2003-04-25Allow for easy detection of when a "default" TargetData is created by theChris Lattner
2003-04-24add a new targetdata ctor to create a target data appropriate to the moduleChris Lattner
2003-02-25Remove wierd case that can never happenChris Lattner
2002-10-29* Privatize the TargetNameChris Lattner
2002-10-14 - Add an endianness field to the TargetData datastructureChris Lattner
2002-10-13Don't try to compute the size of an "array" element if the index is 0:Vikram S. Adve
2002-09-25Convert TargetData to be an ImmutablePassChris Lattner
2002-09-11- Change getelementptr instruction to use long indexes instead of uintChris Lattner
2002-08-24Fix sign-extension: it needs to happen *after* multiplying by type size.Vikram S. Adve
2002-08-23Simplify previous hack slightly.Vikram S. Adve
2002-08-23Force sign-extension for uint array indexes from 32-bit to 64-bitsVikram S. Adve
2002-08-13Bug fix in TargetData::getIndexedOffset: We were using the pointerVikram S. Adve
2002-08-04Bug fix in TargetData::getIndexedOffset(): handle struct offsetVikram S. Adve
2002-07-25*** empty log message ***Chris Lattner
2002-05-19Add integer register size field.Vikram S. Adve
2002-05-07Extend TargetData::getIndexedOffset to support arrays and pointers!Chris Lattner
2002-05-06Replace all usages of Type::isPointerType with isa<PointerType>Chris Lattner
2002-04-28Split ConstantVals.h into Constant.h and Constants.hChris Lattner
2002-01-21Remove dead variableChris Lattner
2002-01-20Changes to build successfully with GCC 3.02Chris Lattner
2001-12-15getIndexedOffset() shd take vector of Values, not of Constants!Vikram S. Adve
2001-12-13Not just arrays are unsizedChris Lattner