Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
91be65be656072a68b51a8c4e7bb751ea475d896
/
llvm
/
lib
/
Analysis
/
ConstantFolding.cpp
2946cd7
Update the file headers across all of the LLVM projects in the monorepo
by Chandler Carruth
· 7 years ago
9f6e9cf
[ConstantFolding] Fold undef for integer intrinsics
by Nikita Popov
· 7 years ago
79c994d
[ConstantFolding] Handle leading zero-size elements in load folding
by Nikita Popov
· 7 years ago
efc3d1d
[ConstantFolding] Add support for saturating add/sub
by Sanjay Patel
· 7 years ago
72f76bf
Add support for llvm.is.constant intrinsic (PR4898)
by James Y Knight
· 7 years ago
fa54e56
[ConstantFolding] Constant fold minimum and maximum intrinsics
by Thomas Lively
· 7 years ago
c7d2819
Prevent Constant Folding From Optimizing inrange GEP
by Peter Collingbourne
· 7 years ago
411b860
[ConstantFolding] add simplifications for funnel shift intrinsics
by Sanjay Patel
· 7 years ago
484b342
[X86] Add constant folding for AVX512 versions of scalar floating point to integer conversion intrinsics.
by Craig Topper
· 7 years ago
f9f50f6
ConstantFolding: Avoid a crash.
by Manoj Gupta
· 7 years ago
77eeac3
llvm: Add support for "-fno-delete-null-pointer-checks"
by Manoj Gupta
· 7 years ago
5b3db45
Implement strip.invariant.group
by Piotr Padlewski
· 7 years ago
a26a08c
Constant fold launder of null and undef
by Piotr Padlewski
· 7 years ago
6f42a2c
[Evaluator] Evaluate load/store with bitcast
by Eugene Leviant
· 8 years ago
945b7e5
Adding a width of the GEP index to the Data Layout.
by Elena Demikhovsky
· 8 years ago
c063c3f
Revert "Fix typo [NFC]"
by Xin Tong
· 8 years ago
efec219
Fix typo [NFC]
by Xin Tong
· 8 years ago
53a5fbb
Add strictfp attribute to prevent unwanted optimizations of libm calls
by Andrew Kaylor
· 8 years ago
647025f
[InstSimplify] Don't constant fold or DCE calls that are marked nobuiltin
by Andrew Kaylor
· 8 years ago
6bda14b
Sort the remaining #include lines in include/... and lib/....
by Chandler Carruth
· 8 years ago
d470d73
[ConstantFolding] Combine an if statement into an earlier one that checked the same condition. NFC
by Craig Topper
· 8 years ago
0dd29e2
[ConstantFolding][X86] Replace an LLVM_FALLTHROUGH with a break because it really shouldn't fallthrough.
by Craig Topper
· 8 years ago
fe9ad82
[ConstantFolding] Properly support constant folding of vector powi intrinsic. The second argument is not a vector so needs special treatment.
by Craig Topper
· 8 years ago
7c553ed
[ConstantFolding] Fix constant folding for vector cttz and ctlz intrinsics to understand that the second argument is still a scalar.
by Craig Topper
· 8 years ago
b23e7c7
[InstSimplify][ConstantFolding] Teach constant folding how to handle icmp null, (inttoptr x) as well as it handles icmp (inttoptr x), null
by Craig Topper
· 8 years ago
c2b642d
Added missing break; added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
by Galina Kistanova
· 8 years ago
8205a1a
[ValueTracking] Convert most of the calls to computeKnownBits to use the version that returns the KnownBits object.
by Craig Topper
· 8 years ago
f7c864f
[ConstantFolding] Add folding for various math '__<func>_finite' routines generated from -ffast-math
by Andrew Kaylor
· 8 years ago
8189a87
[KnownBits] Add methods for determining if KnownBits is a constant value
by Craig Topper
· 9 years ago
b45eabc
[ValueTracking] Introduce a KnownBits struct to wrap the two APInts for computeKnownBits
by Craig Topper
· 9 years ago
492db48
[ConstantFolding] Use Intrinsic::not_intrinsic instead of 0 for readability. NFCI
by Craig Topper
· 9 years ago
da21170
[ConstantFolding] Fix to prevent constant folding having to repeatedly scan operands. NFCI
by David Green
· 9 years ago
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
· 10 years ago
265ebd7
CodeGen: Use PLT relocations for relative references to unnamed_addr functions.
by Peter Collingbourne
· 10 years ago
87b9e1b
Propagate Undef in llvm.cos Intrinsic
by Sanjoy Das
· 10 years ago
5ce3272
Don't IPO over functions that can be de-refined
by Sanjoy Das
· 10 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
· 11 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
Next »