Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
81fe1fbf4abd00b24e078a80cb15a2d2c1343f11
/
llvm
/
lib
/
IR
/
DataLayout.cpp
4f23814
[BasicAA] Support arbitrary pointer sizes (and fix an overflow bug)
by Hal Finkel
· 7 years ago
3769639
[NFC] Make getPreferredAlignment honor section markings.
by Eli Friedman
· 7 years ago
15681ad
Use uniform mechanism for OOM errors handling
by Serge Pavlov
· 7 years ago
c4b6d0e
Revert commit 333506
by Serge Pavlov
· 7 years ago
5096d06
Use uniform mechanism for OOM errors handling
by Serge Pavlov
· 7 years ago
1a09552
Reverted commits 333390, 333391 and 333394
by Serge Pavlov
· 7 years ago
0e31285
Use uniform mechanism for OOM errors handling
by Serge Pavlov
· 7 years ago
ced2fe6
Add default address space for functions to the data layout (1/3)
by Dylan McKay
· 8 years ago
945b7e5
Adding a width of the GEP index to the Data Layout.
by Elena Demikhovsky
· 8 years ago
c20b338
Support, IR, ADT: Check nullptr after allocation with malloc/realloc or calloc
by Matthias Braun
· 8 years ago
6bda14b
Sort the remaining #include lines in include/... and lib/....
by Chandler Carruth
· 8 years ago
64a65ec
[DataLayout] Add llvm_unreachable to the default of a nested switch statement that covers all values given to it by the outer switch. NFC
by Craig Topper
· 8 years ago
f53a7b4
[IR] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC).
by Eugene Zelenko
· 8 years ago
ff6922a
[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
by Craig Topper
· 8 years ago
5b4f5b0
[IR] Implement DataLayout::getPointerTypeSizeInBits using getPointerSizeInBits directly
by Craig Topper
· 8 years ago
3c1fc76
Allow DataLayout to specify addrspace for allocas.
by Matt Arsenault
· 8 years ago
490889c
[IR] Use a binary search in DataLayout::getAlignmentInfo
by Craig Topper
· 9 years ago
c8470e5
[IR] Remove validAlignment and validPointer methods DataLayout as they aren't used.
by Craig Topper
· 9 years ago
ab85225b
IR: Change the gep_type_iterator API to avoid always exposing the "current" type.
by Peter Collingbourne
· 9 years ago
5e32734
[IR/DataLayout] Simplify the code using PowerOf2Ceil. NFCI.
by Davide Italiano
· 9 years ago
c6af5ea
[IR] Introduce a non-integral pointer type
by Sanjoy Das
· 9 years ago
17bdf44
[IR] Make getIndexedOffsetInType return a signed result
by David Majnemer
· 9 years ago
be11bdc
Rename getLargestLegalIntTypeSize to getLargestLegalIntTypeSizeInBits(). NFC.
by Jun Bum Lim
· 9 years ago
cc13c2c
Replace Type::getInt32Ty() and comparison by isIntegerTy(32). NFC.
by Manuel Jacob
· 10 years ago
68e7f49
[opaque pointer types] [NFC] DataLayout::getIndexedOffset: take source element type instead of pointer type and rename to getIndexedOffsetInType.
by Eduard Burtescu
· 10 years ago
093ae49
[opaque pointer types] [NFC] gep_type_{begin,end} now take source element type and address space.
by Eduard Burtescu
· 10 years ago
5f6eaac
GlobalValue: use getValueType() instead of getType()->getPointerElementType().
by Manuel Jacob
· 10 years ago
da00f2f
Update to use new name alignTo().
by Rui Ueyama
· 10 years ago
1c131b3
Instcombine: destructor loads of structs that do not contains padding
by Mehdi Amini
· 10 years ago
0ae7393
Revert "Add const to a bunch of Type* in DataLayout. NFC."
by Pete Cooper
· 10 years ago
6aaad8d
Add const to a bunch of Type* in DataLayout. NFC.
by Pete Cooper
· 10 years ago
42af5c6
fix formatting; NFC
by Sanjay Patel
· 10 years ago
7db449a
COFF: Let globals with private linkage reside in their own section
by David Majnemer
· 11 years ago
7e621e9
Teach DataLayout to infer a plausible alignment for things even when nothing is specified by the user.
by Owen Anderson
· 11 years ago
46a4355
Make DataLayout Non-Optional in the Module
by Mehdi Amini
· 11 years ago
5af4b21
Teach DataLayout that alignments on basic types must be powers of two.
by Owen Anderson
· 11 years ago
ab1c7a7
Teach DataLayout that ABI alignments for non-aggregate types must be non-zero.
by Owen Anderson
· 11 years ago
040f2f8
Teach DataLayout that pointer ABI and preferred alignments are required to be powers of two.
by Owen Anderson
· 11 years ago
5bc2bbe
Teach DataLayout that zero-byte pointer sizes don't make sense.
by Owen Anderson
· 11 years ago
4b04292
DataLayout: Validate that the pref alignment is at least the ABI align
by David Majnemer
· 11 years ago
1b9fc3a
DataLayout: Report when the datalayout type alignment/width is too large
by David Majnemer
· 11 years ago
04578fc
DataLayout: Report when the preferred alignment is less than the ABI
by David Majnemer
· 11 years ago
612f312
DataLayout: Provide nicer diagnostics for malformed strings
by David Majnemer
· 11 years ago
2dc1b0f
DataLayout: Be more verbose when diagnosing problems in pointer specs
by David Majnemer
· 11 years ago
5330c69
DataLayout: Move asserts over to report_fatal_error
by David Majnemer
· 11 years ago
f67321c
Switch the default DataLayout to be little endian, and make the variable
by Chandler Carruth
· 11 years ago
f3cadce
IR: Replace DataLayout::RoundUpAlignment with RoundUpToAlignment
by David Majnemer
· 11 years ago
c172897
Use cast<> instead of unchecked dyn_cast<>
by Matt Arsenault
· 11 years ago
c435adc
Add doInitialization/doFinalization to DataLayoutPass.
by Rafael Espindola
· 11 years ago
e69170a
Revert "Introduce a string_ostream string builder facilty"
by Alp Toker
· 11 years ago
6147173
Introduce a string_ostream string builder facilty
by Alp Toker
· 11 years ago
4dbd489
Use pointer size function where only a pointer is expected
by Matt Arsenault
· 11 years ago
89992b0
Fix DataLayout::operator==().
by Rafael Espindola
· 11 years ago
c620761
[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr.
by Craig Topper
· 11 years ago
cd13082
ARM: update subtarget information for Windows on ARM
by Saleem Abdulrasool
· 11 years ago
3ad5c96
[C++11] Modernize the IR library a bit.
by Benjamin Kramer
· 12 years ago
03eb0de
[Modules] Move GetElementPtrTypeIterator into the IR library. As its
by Chandler Carruth
· 12 years ago
e8ae0db
Fix typo. Thanks to Roman Divacky for noticing it.
by Rafael Espindola
· 12 years ago
ae593f1
Compare DataLayout by Value, not by pointer.
by Rafael Espindola
· 12 years ago
667fcb8
Use a sorted array to store the information about a few address spaces.
by Rafael Espindola
· 12 years ago
5109fcc
Move these functions out of line. A DenseMap lookup is not a simple operation.
by Rafael Espindola
· 12 years ago
339430f
Use DataLayout from the module when easily available.
by Rafael Espindola
· 12 years ago
248ac13
Fix resetting the DataLayout in a Module.
by Rafael Espindola
· 12 years ago
f863ee2
Store a DataLayout in Module.
by Rafael Espindola
· 12 years ago
9351251
Make DataLayout a plain object, not a pass.
by Rafael Espindola
· 12 years ago
f0379fa
Fix uninitialized warning in llvm/lib/IR/DataLayout.cpp.
by Cameron McInally
· 12 years ago
af77e12
Use 'w' instead of 'c' to represent the win32 mangling.
by Rafael Espindola
· 12 years ago
8af9eac
Fix uninitialized variable warning in DataLayout.
by Cameron McInally
· 12 years ago
abdd726
Improve documentation of the 'a' specifier and the '<abi>:<pref>' align pair.
by Rafael Espindola
· 12 years ago
5887356
Make the llvm mangler depend only on DataLayout.
by Rafael Espindola
· 12 years ago
6994fdf
Remove the 's' DataLayout specification
by Rafael Espindola
· 12 years ago
e23b877
Make this array const.
by Rafael Espindola
· 12 years ago
458a485
Change getStringRepresentation to skip defaults.
by Rafael Espindola
· 12 years ago
f39136c
Pointer sizes are stored in Bytes. Fix variables names to say so.
by Rafael Espindola
· 12 years ago
058f5b3
DataLayout: value initialize globals to avoid static construction.
by Benjamin Kramer
· 12 years ago
899f7d2
MemCpyOptimizer: Use max legal int size instead of pointer size
by Matt Arsenault
· 12 years ago
517cf48
Minor code simplification suggested by Duncan
by Matt Arsenault
· 12 years ago
6f4be90
Re-add DataLayout pointer size convenience functions.
by Matt Arsenault
· 12 years ago
af0dea1
Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size.
by Craig Topper
· 12 years ago
b74e3de
Fix extra whitespace / formatting
by Matt Arsenault
· 12 years ago
e858e96
Remove duplicated comment
by Matt Arsenault
· 12 years ago
41913c7
Cleanup naming: DataLayout s/TD/DL/
by Eli Bendersky
· 12 years ago
f364bc6
InstCombine: Improve the result bitvect type when folding (cmp pred (load (gep GV, i)) C) to a bit test.
by Arnaud A. de Grandmaison
· 13 years ago
df973ed
Hoist the definition of getTypeSizeInBits to be inlinable and in the header.
by Chandler Carruth
· 13 years ago
6308a82
Add a doFinalization method to the DataLayout pass.
by Pete Cooper
· 13 years ago
faf5e3e
Clean up whitespace and indentation a bit
by Eli Bendersky
· 13 years ago
9fb823b
Move all of the header files which are involved in modelling the LLVM IR
by Chandler Carruth
· 13 years ago
ef860a2
Rename VMCore directory to IR.
by Chandler Carruth
· 13 years ago
[Renamed from llvm/lib/VMCore/DataLayout.cpp]
e7701eb
Don't use -1 as a value of an unsigned 7-bit enumeration; that has undefined
by Richard Smith
· 13 years ago
ed0881b
Use the new script to sort the includes of every file under lib.
by Chandler Carruth
· 13 years ago
086ee1e
More strict error checking in parseSpecifier + simplified code.
by Patrik Hagglund
· 13 years ago
504f478
Fix warning. [-Wunused-variable]
by Patrik Hägglund
· 13 years ago
3eb16c5
Add error handling in getInt.
by Patrik Hägglund
· 13 years ago
5918959
Disallow the undocumented practice of starting the datalayout string with '-'.
by Patrik Hägglund
· 13 years ago
5669218
Do not handle void types in DataLayout. Patch by Patrick Hägglund.
by Duncan Sands
· 13 years ago
01860a6
Revert some redundant parts of r142605.
by Patrik Hägglund
· 13 years ago
47ef7cf
Enable the assertion in getIntPtrType (I've audited all users of this method and
by Duncan Sands
· 13 years ago
7ec5085
Revert the series of commits starting with r166578 which introduced the
by Chandler Carruth
· 13 years ago
5bdd9dd
Remove a wrapper around getIntPtrType added to GVN by Hal in commit 166624 (the
by Duncan Sands
· 13 years ago
835e93a
Factorize code: rather than duplication the logic in getPointerTypeSizeInBits,
by Duncan Sands
· 13 years ago
Next »