summaryrefslogtreecommitdiff
path: root/llvm/lib/IR/DataLayout.cpp
AgeCommit message (Expand)Author
2019-03-06Revert "[IR][ARM] Add function pointer alignment to datalayout"Mitch Phillips
2019-03-06[IR][ARM] Add function pointer alignment to datalayoutMichael Platings
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
2019-01-02[BasicAA] Support arbitrary pointer sizes (and fix an overflow bug)Hal Finkel
2018-08-29[NFC] Make getPreferredAlignment honor section markings.Eli Friedman
2018-06-09Use uniform mechanism for OOM errors handlingSerge Pavlov
2018-05-30Revert commit 333506Serge Pavlov
2018-05-30Use uniform mechanism for OOM errors handlingSerge Pavlov
2018-05-29Reverted commits 333390, 333391 and 333394Serge Pavlov
2018-05-29Use uniform mechanism for OOM errors handlingSerge Pavlov
2018-02-19Add default address space for functions to the data layout (1/3)Dylan McKay
2018-02-14Adding a width of the GEP index to the Data Layout.Elena Demikhovsky
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