Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
81fe1fbf4abd00b24e078a80cb15a2d2c1343f11
/
llvm
/
lib
/
Analysis
/
MemoryBuiltins.cpp
d9b6b81
Reverting r340807.
by Andrew Kaylor
· 7 years ago
5e52cad
Fix in getAllocationDataForFunction
by David Chisnall
· 7 years ago
3fbfa9c4
Make llvm.objectsize more conservative with null
by George Burgess IV
· 7 years ago
1f343fa
[InstCombine] Remove calloc transformations
by David Bolvansky
· 7 years ago
41f4b64
[InstCombine] Calloc-ed strings optimizations
by David Bolvansky
· 7 years ago
d34e60c
Rename DEBUG macro to LLVM_DEBUG.
by Nicola Zaghen
· 7 years ago
5f8f34e4
Remove \brief commands from doxygen comments.
by Adrian Prantl
· 7 years ago
96bbec7
[Analysis] Support aligned new/delete functions.
by Eric Fiselier
· 7 years ago
e03d45f
Revert "[Analysis] Support aligned new/delete functions."
by Eric Fiselier
· 7 years ago
0d5f3b0
[Analysis] Support aligned new/delete functions.
by Eric Fiselier
· 7 years ago
2be3922
Fix a couple of layering violations in Transforms
by David Blaikie
· 8 years ago
1a8456d
Fix more spelling mistakes in comments of LLVM Analysis passes
by Vedant Kumar
· 8 years ago
fd06306
[MemoryBuiltins] Check nobuiltin status when identifying calls to free.
by Benjamin Kramer
· 8 years ago
bb1b2d0
[Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
by Eugene Zelenko
· 8 years ago
ad7e718
[MemoryBuiltins] Allow truncation in visitAllocaInst()
by Mikael Holmen
· 8 years ago
ef1c2ba
fix trivial typos, NFC
by Hiroshi Inoue
· 8 years ago
09bb760
[MemoryBuiltins] Add isMallocOrCallocLikeFn so BasicAA can check for both at the same time
by Craig Topper
· 8 years ago
eae6db0
[MemoryBuiltins] Use ImmutableCallSite instead of CallSite to remove a const_cast and const correct. NFCI
by Craig Topper
· 8 years ago
fb502d2
[IR] Make paramHasAttr to use arg indices instead of attr indices
by Reid Kleckner
· 8 years ago
56c7e88
Let llvm.objectsize be conservative with null pointers
by George Burgess IV
· 9 years ago
b518054
Rename AttributeSet to AttributeList
by Reid Kleckner
· 9 years ago
d21529f
[Analysis] Add LibFunc_ prefix to enums in TargetLibraryInfo. (NFC)
by David L. Jones
· 9 years ago
ed16024
[Analysis] Ignore `nobuiltin` on `allocsize` function calls.
by George Burgess IV
· 9 years ago
ce04489
[Analysis] Refactor as promised in r290397.
by George Burgess IV
· 9 years ago
ccae43a
Don't consider allocsize functions to be allocation functions.
by George Burgess IV
· 9 years ago
3f08914
[Analysis] Centralize objectsize lowering logic.
by George Burgess IV
· 9 years ago
45a540f
Replace std::find_if with llvm::find_if. NFC.
by George Burgess IV
· 9 years ago
381fc0e
Make some LLVM_CONSTEXPR variables const. NFC.
by George Burgess IV
· 9 years ago
490193d
fix formatting; NFC
by Sanjay Patel
· 9 years ago
aa20915
Apply clang-tidy's modernize-loop-convert to lib/Analysis.
by Benjamin Kramer
· 9 years ago
644b8c1
Calculate __builtin_object_size when pointer depends on a condition
by Petar Jovanovic
· 9 years ago
278199f
Add the allocsize attribute to LLVM.
by George Burgess IV
· 9 years ago
5ce3272
Don't IPO over functions that can be de-refined
by Sanjoy Das
· 9 years ago
ef8ed0c
[MemoryBuiltins] Fix an issue with hasNoAliasAttr
by Sanjoy Das
· 10 years ago
da00f2f
Update to use new name alignTo().
by Rui Ueyama
· 10 years ago
2466719
[MemoryBuiltins] Remove isOperatorNewLike by consolidating non-null inference handling
by Philip Reames
· 10 years ago
87a8677
[MemoryBuiltins] Delete dead code [NFC]
by Philip Reames
· 10 years ago
f6665f6
[Analysis] Become aware of MSVC's new/delete functions
by David Majnemer
· 10 years ago
2ae15e0
Specify explicit storage type for AllocType. NFC.
by George Burgess IV
· 10 years ago
74b6d3b
Use find_if to simplify control flow. NFC.
by Benjamin Kramer
· 10 years ago
5a82c91
Analysis: Remove implicit ilist iterator conversions
by Duncan P. N. Exon Smith
· 10 years ago
a28d91d
DataLayout is mandatory, update the API to reflect it with references.
by Mehdi Amini
· 11 years ago
75eda5e
DCE: isArrayMalloc() is not used neither in LLVM nor Clang
by Mehdi Amini
· 11 years ago
62d4215
[PM] Move TargetLibraryInfo into the Analysis library.
by Chandler Carruth
· 11 years ago
e78bb12
For PR21145: recognise a builtin call to a known deallocation function even if
by Richard Smith
· 11 years ago
70573dc
Update SetVector to rely on the underlying set's insert to return a pair<iterator, bool>
by David Blaikie
· 11 years ago
1ed4229
PR21145: Teach LLVM about C++14 sized deallocation functions.
by Richard Smith
· 11 years ago
f1221bd
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
by Chandler Carruth
· 11 years ago
9f00886
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
by Craig Topper
· 11 years ago
cdf4788
[C++11] Add range based accessors for the Use-Def chain of a Value.
by Chandler Carruth
· 12 years ago
26af2ca
Update optimization passes to handle inalloca arguments
by Reid Kleckner
· 12 years ago
d3ee7af
Teach MemoryBuiltins about address spaces
by Matt Arsenault
· 12 years ago
340b046
fix PR17635: false positive with packed structures
by Nuno Lopes
· 12 years ago
40dddd7
Rename DataLayout variables TD -> DL
by Matt Arsenault
· 12 years ago
155c9d5
ObjectSizeOffsetEvaluator: Don't run into infinite recursion if we have a cyclic GEP.
by Benjamin Kramer
· 12 years ago
01df817
MemoryBuiltins: Remove posix_memalign from the list and replace it with a TODO.
by Benjamin Kramer
· 12 years ago
2939dd3
MemoryBuiltins: Reinstate optimizing (uninitialized) loads from operator new.
by Benjamin Kramer
· 12 years ago
4d4df04
MemoryBuiltins: Fix operator new bits.
by Benjamin Kramer
· 12 years ago
fd4777c
Teach MemoryBuiltins and InstructionSimplify that operator new never returns NULL.
by Benjamin Kramer
· 12 years ago
70523c7
Treat nothrow forms of ::operator delete and ::operator delete[] as
by Richard Smith
· 12 years ago
41748d7
Added support for the Builtin attribute.
by Michael Gottesman
· 12 years ago
e04f0d3
Respect the 'nobuiltin' attribute when determining if a call is to a memory builtin.
by Richard Smith
· 12 years ago
abcc64f
Revert r176408 and r176407 to address PR15540.
by Nadav Rotem
· 12 years ago
7b7585d
Revert 179071 because it is not the right way to support non standard new/new[] operators.
by Nadav Rotem
· 12 years ago
9dd90ac
c++ new operators are not malloc-like functions because they do not return uninitialized memory.
by Nadav Rotem
· 12 years ago
74ffc27
Early exit from getAllocationData() and isFreeCall() for intrinsics.
by Michael Ilseman
· 13 years ago
d974524
Remove trailing whitespace
by Michael Ilseman
· 13 years ago
afe60c1
Simplify code. No functionality change.
by Jakub Staszak
· 13 years ago
08c26eb
Change NULL to 0.
by Jakub Staszak
· 13 years ago
589443b
recommit r172363 & r171325 (reverted in r172756)
by Nuno Lopes
· 13 years ago
6e3d460
add getUnderlyingObjectSize()
by Nuno Lopes
· 13 years ago
da29e00
Reverting r171325 & r172363. This was causing a mis-compile on the self-hosted LTO build bots.
by Bill Wendling
· 13 years ago
f4ddc9c
fix compile-time regression report by Joerg Sonnenberger:
by Nuno Lopes
· 13 years ago
9fb823b
Move all of the header files which are involved in modelling the LLVM IR
by Chandler Carruth
· 13 years ago
d896a40
recommit r171298 (add support for PHI nodes to ObjectSizeOffsetVisitor). Hopefully with bugs corrected now.
by Nuno Lopes
· 13 years ago
af46357
Revert "add support for PHI nodes to ObjectSizeOffsetVisitor"
by Benjamin Kramer
· 13 years ago
4b47f82
revert r171306, since we cannot compare APInts with different bitwidths
by Nuno Lopes
· 13 years ago
556b7de
minor code simplification
by Nuno Lopes
· 13 years ago
e9d6dbf
add support for GlobalAlias to ObjectSizeOffsetVisitor
by Nuno Lopes
· 13 years ago
7ab7c02
add support for PHI nodes to ObjectSizeOffsetVisitor
by Nuno Lopes
· 13 years ago
b6ad982
convert a bunch of callers from DataLayout::getIndexedOffset() to GEP::accumulateConstantOffset().
by Nuno Lopes
· 13 years ago
3d7b0b8
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
by Bill Wendling
· 13 years ago
ed0881b
Use the new script to sort the includes of every file under lib.
by Chandler Carruth
· 13 years ago
7ec5085
Revert the series of commits starting with r166578 which introduced the
by Chandler Carruth
· 13 years ago
12d9127
Add in support for getIntPtrType to get the pointer type based on the address space.
by Micah Villmow
· 13 years ago
ff758fb
Use the attribute enums to query if a function has an attribute.
by Bill Wendling
· 13 years ago
375eb1f
Remove more uses of the attribute enums by supplying appropriate query methods for them.
by Bill Wendling
· 13 years ago
cdfe20b
Move TargetData to DataLayout.
by Micah Villmow
· 13 years ago
8bcc971
Make MemoryBuiltins aware of TargetLibraryInfo.
by Benjamin Kramer
· 13 years ago
34764fe
MemoryBuiltins: Properly guard ObjectSizeOffsetVisitor against cycles in the IR.
by Benjamin Kramer
· 13 years ago
4901f0d
Guard MemoryBuiltins against self-looping GEPs, which can occur in unreachable code due to constant propagation.
by Benjamin Kramer
· 13 years ago
85591f8
fix PR13390: do not loop forever with self-referencing self instructions
by Nuno Lopes
· 13 years ago
f0626f2
revert r160742: it's breaking CMake build
by Nuno Lopes
· 13 years ago
f0441e0
MemoryBuiltins: add support to determine the size of strdup'ed non-constant strings
by Nuno Lopes
· 13 years ago
2a4b09c
teach objectsize about strdup() and strndup()
by Nuno Lopes
· 13 years ago
705141d
baby steps toward fixing some problems with inbound GEPs that overflow, as discussed 2 months ago or so.
by Nuno Lopes
· 13 years ago
9291ff4
fold PHI nodes in SizeOffsetEvaluator whenever possible.
by Nuno Lopes
· 13 years ago
181d67e
MemoryBuiltins:
by Nuno Lopes
· 13 years ago
9ecc876
check for the NoAlias attribute through CallSite
by Nuno Lopes
· 13 years ago
15dbcb4
simplify code from previous commits (Thanks Duncan)
by Nuno Lopes
· 13 years ago
Next »