Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
00b34996b49748045e2dd77e4f7ca60c258639e2
/
llvm
/
lib
/
Analysis
/
ConstantFolding.cpp
00b3499
Use MutableArrayRef for APFloat::convertToInteger
by Simon Pilgrim
· 9 years ago
1640e68
[Analysis] bitreverse(undef) returns undef
by Brian Gesiak
· 9 years ago
d21529f
[Analysis] Add LibFunc_ prefix to enums in TargetLibraryInfo. (NFC)
by David L. Jones
· 9 years ago
8b18a34
[ConstantFolding] Constant-fold llvm.sqrt(x) like other intrinsics.
by Justin Lebar
· 9 years ago
b5e03b6
[InstCombiner] Simplify lib calls to `round{,f}`
by Bryant Wong
· 9 years ago
dd92c78
[ConstantFolding] Fix vector GEPs harder
by Michael Kuperstein
· 9 years ago
17c7f70
Replace APFloatBase static fltSemantics data members with getter functions
by Stephan Bergmann
· 9 years ago
dc09119
ConstantFolding: Don't crash when encountering vector GEP
by Keno Fischer
· 9 years ago
624e1b3
InstCombine: Fold bitcast of vector to FP scalar
by Matt Arsenault
· 9 years ago
47a4b39
ConstantFolding: Factor code into helper function
by Matt Arsenault
· 9 years ago
0a4fc46
Analysis: gep inbounds (gep inbounds (...)) is inbounds.
by Peter Collingbourne
· 9 years ago
d93620b
IR: Introduce inrange attribute on getelementptr indices.
by Peter Collingbourne
· 9 years ago
b6befc3
DCE math library calls with a constant operand.
by Eli Friedman
· 9 years ago
7277afe
[ConstantFold] Improve the bitcast folding logic for constant vectors.
by Andrea Di Biagio
· 9 years ago
1804a77
Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes.
by Eugene Zelenko
· 9 years ago
6fa08aa
[ConstantFolding] Don't create illegal (non-integral) inttoptrs
by Sanjoy Das
· 9 years ago
718da3d
[ConstantFolding] Handle bitcasts of undef fp vector elements
by David Majnemer
· 9 years ago
e4218cf
[ConstantFolding] Fold bitcasts of vectors w/ undef elements
by David Majnemer
· 9 years ago
a926b3e
[ConstantFolding] Remove an unused ConstantFoldInstOperands overload
by David Majnemer
· 9 years ago
57b94c8
[ConstantFolding] Use ConstantExpr::getWithOperands
by David Majnemer
· 9 years ago
d536f23
[ConstnatFolding] Teach the folder how to fold ConstantVector
by David Majnemer
· 9 years ago
19d024b
[ConstantFolding] Don't bail on folding if ConstantFoldConstantExpression fails
by David Majnemer
· 9 years ago
bc36b15
[ConstantFolding] Correctly handle failures in ConstantFoldConstantExpressionImpl
by David Majnemer
· 9 years ago
0ea8d27
[X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR
by Simon Pilgrim
· 9 years ago
17a95aa
Simplify llvm.masked.load w/ undef masks
by David Majnemer
· 9 years ago
7f781ab
[ConstantFolding] Fold masked loads
by David Majnemer
· 9 years ago
f89660a
[ConstantFolding] Extend FoldReinterpretLoadFromConstPtr to handle negative offsets
by David Majnemer
· 9 years ago
4cff2f8
[ConstantFolding] Use sdiv_ov
by David Majnemer
· 9 years ago
1b3db33
[ConstantFolding] Don't treat negative GEP offsets as positive
by David Majnemer
· 9 years ago
90a9704
[ConstantFolding] Cleanups
by David Majnemer
· 9 years ago
17bdf44
[IR] Make getIndexedOffsetInType return a signed result
by David Majnemer
· 9 years ago
7357849
[ConstantFolding] Fix bitcast vector of i1.
by Igor Breger
· 9 years ago
e61e4bf
Replace silly uses of 'signed' with 'int'
by David Majnemer
· 9 years ago
3918cdd
[ConstantFolding, ValueTracking] Fold constants involving bitcasts of ConstantVector
by David Majnemer
· 9 years ago
265ebd7
CodeGen: Use PLT relocations for relative references to unnamed_addr functions.
by Peter Collingbourne
· 9 years ago
87b9e1b
Propagate Undef in llvm.cos Intrinsic
by Sanjoy Das
· 9 years ago
5ce3272
Don't IPO over functions that can be de-refined
by Sanjoy Das
· 9 years ago
35623fb
Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes.
by Eugene Zelenko
· 10 years ago
155dda9
Implement constant folding for bitreverse
by Matt Arsenault
· 10 years ago
6be3559
Re-add ConstantFoldInstOperands form taking opcode and return type.
by Manuel Jacob
· 10 years ago
2e5c0c2
ConstantFoldInstruction: avoid wasted calls to ConstantFoldConstantExpression
by Fiona Glaser
· 10 years ago
8f59adb
[ConstantFolding] Reduce APInt and APFloat copying.
by Benjamin Kramer
· 10 years ago
0af37b2
Remove duplicate documentation in ConstantFolding.cpp. 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
1423921
[opaque pointer types] [NFC] Add an explicit type argument to ConstantFoldLoadFromConstPtr.
by Eduard Burtescu
· 10 years ago
2f4758b
[opaque pointer types] [NFC] Take advantage of get{Source,Result}ElementType when folding GEPs.
by Eduard Burtescu
· 10 years ago
f3ee254
Undo r258163 "Move part of an if condition into an assertion. NFC."
by Manuel Jacob
· 10 years ago
e902459
Change ConstantFoldInstOperands to take Instruction instead of opcode and type. NFC.
by Manuel Jacob
· 10 years ago
925d029
Introduce ConstantFoldCastOperand function and migrate some callers of ConstantFoldInstOperands to use it. NFC.
by Manuel Jacob
· 10 years ago
a61ca37
Introduce ConstantFoldBinaryOpOperands function and migrate some callers of ConstantFoldInstOperands to use it. NFC.
by Manuel Jacob
· 10 years ago
3f49f65
Move part of an if condition into an assertion. NFC.
by Manuel Jacob
· 10 years ago
5e93e28
Enable constant propagation for more math functions
by Erik Schnetter
· 10 years ago
ed6eab3
Revert 246186; still breaks on some systems
by Erik Schnetter
· 10 years ago
05845d3
Enable constant propagation for more math functions
by Erik Schnetter
· 10 years ago
a236726
Revert r246158 since it breaks LLVM.Transforms/ConstProp.calls.ll
by Erik Schnetter
· 10 years ago
694bf5c
Enable constant propagation for more math functions
by Erik Schnetter
· 10 years ago
95365ca
Fix assert when inlining a constantexpr addrspacecast
by Matt Arsenault
· 10 years ago
ed9abe1
[ConstantFolding] Support folding loads from a GlobalAlias
by David Majnemer
· 10 years ago
d818e38
Constfold trunc,rint,nearbyint,ceil and floor using APFloat
by Karthik Bhat
· 10 years ago
d2bc0d8
Allow constfolding of llvm.sin.* and llvm.cos.* intrinsics
by Karthik Bhat
· 10 years ago
2905999
[ConstantFolding] Fix wrong folding of intrinsic 'convert.from.fp16'.
by Andrea Di Biagio
· 10 years ago
833f34d
Convert PHI getIncomingValue() to foreach over incoming_values(). NFC.
by Pete Cooper
· 10 years ago
d528112
Added support for building against Android API-9 SDK
by Vince Harron
· 10 years ago
4a2e73b
[opaque pointer type] API migration for GEP constant factories
by David Blaikie
· 10 years ago
d288fb8
[opaque pointer type] Change GetElementPtrInst::getIndexedType to take the pointee type
by David Blaikie
· 11 years ago
a28d91d
DataLayout is mandatory, update the API to reflect it with references.
by Mehdi Amini
· 11 years ago
37dce44
Drop the hacks used for partial C99 math libraries.
by Benjamin Kramer
· 11 years ago
62d4215
[PM] Move TargetLibraryInfo into the Analysis library.
by Chandler Carruth
· 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
c29520c
[InstSimplify] Support constant folding to vector of pointers
by Bruno Cardoso Lopes
· 11 years ago
d6511b4
Add minnum / maxnum intrinsics
by Matt Arsenault
· 11 years ago
0d7dee6
Remove duplicate function names from comments. NFC.
by Sanjay Patel
· 11 years ago
7b2cd9a
Make the sqrt intrinsic return undef for a negative input.
by Sanjay Patel
· 11 years ago
71b7b68
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
by Craig Topper
· 11 years ago
6230691
Revert "Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size."
by Craig Topper
· 11 years ago
5229cfd
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
by Craig Topper
· 11 years ago
caa9c71
Look through addrspacecast in IsConstantOffsetFromGlobal
by Matt Arsenault
· 11 years ago
51420a8
Remove old fenv.h workaround for a historic clang driver bug
by Alp Toker
· 11 years ago
c817d6a
Fold FEnv.h into the implementation
by Alp Toker
· 11 years ago
78598d9
Add a Constant version of stripPointerCasts.
by Rafael Espindola
· 11 years ago
a0e5695
Teach the constant folder to look through bitcast constant expressions
by Chandler Carruth
· 11 years ago
a0653a3
Rename ComputeMaskedBits to computeKnownBits. "Masked" has been
by Jay Foad
· 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
195e9dd
Allow constant folding of ceil function whenever feasible
by Karthik Bhat
· 12 years ago
b67688a
Allow constant folding of round function whenever feasible
by Karthik Bhat
· 12 years ago
daa8cd1
Allow constant folding of copysign
by Karthik Bhat
· 12 years ago
061d147
ConstantFolding: Also fold the vector overloads of our math intrinsics.
by Benjamin Kramer
· 12 years ago
8377858
Allow constant folding of fma and fmuladd
by Matt Arsenault
· 12 years ago
f8ecf9b
Fix duplicate code in ConstantFolding
by Matt Arsenault
· 12 years ago
03eb0de
[Modules] Move GetElementPtrTypeIterator into the IR library. As its
by Chandler Carruth
· 12 years ago
b03bd4d
Add addrspacecast instruction.
by Matt Arsenault
· 12 years ago
a8e8944
Fix another constant folding address space place I missed.
by Matt Arsenault
· 12 years ago
d12e802
Fix a constant folding address space place I missed.
by Matt Arsenault
· 12 years ago
bed5bf2
Move variable under condition where it is used
by Matt Arsenault
· 12 years ago
7a960a8
Teach ConstantFolding about pointer address spaces
by Matt Arsenault
· 12 years ago
8c78909
Slightly simplify code with helper functions
by Matt Arsenault
· 12 years ago
a5e5698
Add some braces, and spaces around operators
by Matt Arsenault
· 12 years ago
ec1bb4f
ConstantFolding: ComputeMaskedBits wants the scalar size for vectors.
by Benjamin Kramer
· 12 years ago
89ca4bc
Fix a scalability issue with complex ConstantExprs.
by Benjamin Kramer
· 12 years ago
a7b93c1
Constant fold vector bitcasts of halves similarly to how floats and doubles are folded. Test case included.
by Michael Ilseman
· 13 years ago
Next »