summaryrefslogtreecommitdiff
path: root/lib/IR/DataLayout.cpp
AgeCommit message (Expand)Author
2017-07-20Support, IR, ADT: Check nullptr after allocation with malloc/realloc or callocMatthias Braun
2017-06-06Sort the remaining #include lines in include/... and lib/....Chandler Carruth
2017-05-22[DataLayout] Add llvm_unreachable to the default of a nested switch statement...Craig Topper
2017-05-05[IR] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC).Eugene Zelenko
2017-04-19[DataLayout] Removed default value from a variable that isn't used without be...Craig Topper
2017-04-17[IR] Implement DataLayout::getPointerTypeSizeInBits using getPointerSizeInBit...Craig Topper
2017-04-10Allow DataLayout to specify addrspace for allocas.Matt Arsenault
2017-03-23[IR] Use a binary search in DataLayout::getAlignmentInfoCraig Topper
2017-03-21[IR] Remove validAlignment and validPointer methods DataLayout as they aren't...Craig Topper
2016-12-02IR: Change the gep_type_iterator API to avoid always exposing the "current" t...Peter Collingbourne
2016-11-11[IR/DataLayout] Simplify the code using PowerOf2Ceil. NFCI.Davide Italiano
2016-07-28[IR] Introduce a non-integral pointer typeSanjoy Das
2016-07-13[IR] Make getIndexedOffsetInType return a signed resultDavid Majnemer
2016-05-13Rename getLargestLegalIntTypeSize to getLargestLegalIntTypeSizeInBits(). NFC.Jun Bum Lim
2016-01-22Replace Type::getInt32Ty() and comparison by isIntegerTy(32). NFC.Manuel Jacob
2016-01-22[opaque pointer types] [NFC] DataLayout::getIndexedOffset: take source elemen...Eduard Burtescu
2016-01-22[opaque pointer types] [NFC] gep_type_{begin,end} now take source element typ...Eduard Burtescu
2016-01-16GlobalValue: use getValueType() instead of getType()->getPointerElementType().Manuel Jacob
2016-01-14Update to use new name alignTo().Rui Ueyama
2015-12-15Instcombine: destructor loads of structs that do not contains paddingMehdi Amini
2015-07-27Revert "Add const to a bunch of Type* in DataLayout. NFC."Pete Cooper
2015-07-24Add const to a bunch of Type* in DataLayout. NFC.Pete Cooper
2015-07-21fix formatting; NFCSanjay Patel
2015-03-17COFF: Let globals with private linkage reside in their own sectionDavid Majnemer
2015-03-08Teach DataLayout to infer a plausible alignment for things even when nothing ...Owen Anderson
2015-03-04Make DataLayout Non-Optional in the ModuleMehdi Amini
2015-03-02Teach DataLayout that alignments on basic types must be powers of two.Owen Anderson
2015-03-02Teach DataLayout that ABI alignments for non-aggregate types must be non-zero.Owen Anderson
2015-03-02Teach DataLayout that pointer ABI and preferred alignments are required to be...Owen Anderson
2015-03-02Teach DataLayout that zero-byte pointer sizes don't make sense.Owen Anderson
2015-02-16DataLayout: Validate that the pref alignment is at least the ABI alignDavid Majnemer
2015-02-16DataLayout: Report when the datalayout type alignment/width is too largeDavid Majnemer
2015-02-11DataLayout: Report when the preferred alignment is less than the ABIDavid Majnemer
2014-12-10DataLayout: Provide nicer diagnostics for malformed stringsDavid Majnemer
2014-12-10DataLayout: Be more verbose when diagnosing problems in pointer specsDavid Majnemer
2014-12-10DataLayout: Move asserts over to report_fatal_errorDavid Majnemer
2014-10-20Switch the default DataLayout to be little endian, and make the variableChandler Carruth
2014-10-20IR: Replace DataLayout::RoundUpAlignment with RoundUpToAlignmentDavid Majnemer
2014-09-18Use cast<> instead of unchecked dyn_cast<>Matt Arsenault
2014-09-10Add doInitialization/doFinalization to DataLayoutPass.Rafael Espindola
2014-06-26Revert "Introduce a string_ostream string builder facilty"Alp Toker
2014-06-26Introduce a string_ostream string builder faciltyAlp Toker
2014-04-23Use pointer size function where only a pointer is expectedMatt Arsenault
2014-04-22Fix DataLayout::operator==().Rafael Espindola
2014-04-09[C++11] More 'nullptr' conversion or in some cases just using a boolean check...Craig Topper
2014-04-02ARM: update subtarget information for Windows on ARMSaleem Abdulrasool
2014-03-10[C++11] Modernize the IR library a bit.Benjamin Kramer
2014-03-04[Modules] Move GetElementPtrTypeIterator into the IR library. As itsChandler Carruth
2014-02-26Fix typo. Thanks to Roman Divacky for noticing it.Rafael Espindola
2014-02-26Compare DataLayout by Value, not by pointer.Rafael Espindola