aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetData.cpp
AgeCommit message (Expand)Author
2010-04-17fix PR6332, allowing an index of zero into a zero sized array Chris Lattner
2010-04-07rename llvm::llvm_report_error -> llvm::report_fatal_errorChris Lattner
2010-04-02Revert the recent alignment changes. They're broken for -Os because,Dan Gohman
2010-04-02Change variables which are exactly 16 bytes to be 16-byte-aligned too.Dan Gohman
2010-03-16reapply r98656 unmodified, which exposed the asmprinter not Chris Lattner
2010-03-16Revert r98656, its breaking all over the place.Daniel Dunbar
2010-03-16improve support for uniontype and ConstantUnion, patch by Tim Northover!Chris Lattner
2010-02-25Revert r97064. Duncan pointed out that bitcasts are defined inDan Gohman
2010-02-24Make getTypeSizeInBits work correctly for array types; it should returnDan Gohman
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-01-25add a method to get the alignment of an integer type even Chris Lattner
2009-12-17finish cleaning up StructLayoutMap.Chris Lattner
2009-12-05Calling InvalidateEntry during the refinement was breaking the bootstrap.Bill Wendling
2009-12-05Final cleanups:Bill Wendling
2009-12-05Inline methods which are called only once.Bill Wendling
2009-12-05Refactor some code. No functionality change.Bill Wendling
2009-12-04Some code cleanup. No functionality change.Bill Wendling
2009-12-03Revert r90371. It was causing build failures.Bill Wendling
2009-12-03Further improvements: refactoring code that does the same thing into oneBill Wendling
2009-12-03remove some dead std::ostream using code.Chris Lattner
2009-12-03improve portability to avoid conflicting with std::next in c++'0x.Chris Lattner
2009-12-03This initial code is meant to convert TargetData to use an AbstractTypesUser soBill Wendling
2009-11-18The llvm-gcc front-end and the pass manager use two separate TargetData objects.Bill Wendling
2009-11-08Make TargetData::getStringRepresentation spit out native integer types,Chris Lattner
2009-11-07add the ability for TargetData to return information about legal integerChris Lattner
2009-11-07more cleanup.Chris Lattner
2009-11-07rewrite TargetData to use StringRef/raw_ostream instead of thrashing std::str...Chris Lattner
2009-08-21Try again at privatizing the layout info map, with a rewritten patch.Owen Anderson
2009-08-20Re-revert r79555. Apparently it's not just buildbot weirdness.Owen Anderson
2009-08-20Reapply r79555 for testing. Daniel's trying to work out some buildbot weirdn...Owen Anderson
2009-08-20--- Reverse-merging r79555 into '.':Bill Wendling
2009-08-20Make the StructType->StructLayout table private to TargetData, allowing us to...Owen Anderson
2009-08-20Update and fix some comments.Dan Gohman
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-07-07Have scoped mutexes take referenes instead of pointers.Owen Anderson
2009-06-23Guard the layout info object.Owen Anderson
2009-05-11Change TargetData::getIntPtrType() to return an IntegerType instead ofJay Foad
2009-05-09Rename PaddedSize to AllocSize, in the hope that thisDuncan Sands
2009-04-01Use LLVM type names instead of C type names in comments, to beDan Gohman
2009-02-16Delete trailing whitespace.Dan Gohman
2009-01-12Rename getABITypeSize to getTypePaddedSize, asDuncan Sands
2008-12-09Handle a compiler warning.Duncan Sands
2008-12-08consistencyChris Lattner
2008-12-08introduce a new RoundUpAlignment helper function, use it to Chris Lattner
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman
2008-06-04Change packed struct layout so that field sizesDuncan Sands
2008-05-13Clean up the use of static and anonymous namespaces. This turned upDan Gohman
2008-04-14Remove unnecessary <sstream> includes.Dan Gohman