Commit History

Author SHA1 Message Date
  Hal Finkel ccb51b9cdd [BasicAA] Support arbitrary pointer sizes (and fix an overflow bug) 6 years ago
  Eli Friedman 47dc01928f [NFC] Make getPreferredAlignment honor section markings. 7 years ago
  Serge Pavlov c71a2123c7 Use uniform mechanism for OOM errors handling 7 years ago
  Serge Pavlov d8472b591c Revert commit 333506 7 years ago
  Serge Pavlov 70fe1686ce Use uniform mechanism for OOM errors handling 7 years ago
  Serge Pavlov d3b4e81711 Reverted commits 333390, 333391 and 333394 7 years ago
  Serge Pavlov 5c9fd60f9f Use uniform mechanism for OOM errors handling 7 years ago
  Dylan McKay a78fde8559 Add default address space for functions to the data layout (1/3) 7 years ago
  Elena Demikhovsky 8e229ec0e5 Adding a width of the GEP index to the Data Layout. 7 years ago
  Matthias Braun 01337d5a14 Support, IR, ADT: Check nullptr after allocation with malloc/realloc or calloc 8 years ago
  Chandler Carruth e3e43d9d57 Sort the remaining #include lines in include/... and lib/.... 8 years ago
  Craig Topper 326f38ff72 [DataLayout] Add llvm_unreachable to the default of a nested switch statement that covers all values given to it by the outer switch. NFC 8 years ago
  Eugene Zelenko e5dc33d4f6 [IR] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 8 years ago
  Craig Topper fb21a1a779 [DataLayout] Removed default value from a variable that isn't used without being overwritten. Make variable an enum instead of an int to avoid a cast later. NFC 8 years ago
  Craig Topper 7b19c164ad [IR] Implement DataLayout::getPointerTypeSizeInBits using getPointerSizeInBits directly 8 years ago
  Matt Arsenault e0b3c335a2 Allow DataLayout to specify addrspace for allocas. 8 years ago
  Craig Topper ba5e420976 [IR] Use a binary search in DataLayout::getAlignmentInfo 8 years ago
  Craig Topper a28580d8ef [IR] Remove validAlignment and validPointer methods DataLayout as they aren't used. 8 years ago
  Peter Collingbourne 06115803f9 IR: Change the gep_type_iterator API to avoid always exposing the "current" type. 8 years ago
  Davide Italiano 30ebcd34f6 [IR/DataLayout] Simplify the code using PowerOf2Ceil. NFCI. 8 years ago
  Sanjoy Das 1c20b71db8 [IR] Introduce a non-integral pointer type 9 years ago
  David Majnemer 17c5ce914c [IR] Make getIndexedOffsetInType return a signed result 9 years ago
  Jun Bum Lim 1bbd21ba14 Rename getLargestLegalIntTypeSize to getLargestLegalIntTypeSizeInBits(). NFC. 9 years ago
  Manuel Jacob 9690516835 Replace Type::getInt32Ty() and comparison by isIntegerTy(32). NFC. 9 years ago
  Eduard Burtescu a269478394 [opaque pointer types] [NFC] DataLayout::getIndexedOffset: take source element type instead of pointer type and rename to getIndexedOffsetInType. 9 years ago
  Eduard Burtescu 17a7116948 [opaque pointer types] [NFC] gep_type_{begin,end} now take source element type and address space. 9 years ago
  Manuel Jacob 75e1cfb035 GlobalValue: use getValueType() instead of getType()->getPointerElementType(). 9 years ago
  Rui Ueyama 3edb0ec229 Update to use new name alignTo(). 9 years ago
  Mehdi Amini 257fee7c73 Instcombine: destructor loads of structs that do not contains padding 9 years ago
  Pete Cooper 80ec0f8f15 Revert "Add const to a bunch of Type* in DataLayout. NFC." 10 years ago