Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
71d7b18e3d7e81f707caab1e35d5e211c96a941c
/
llvm
/
lib
/
Transforms
/
Utils
/
SimplifyLibCalls.cpp
71d7b18
[SimplifyLibCalls] Don't try to simplify indirect calls.
by Ahmed Bougacha
· 11 years ago
e03bef7
[SimplifyLibCalls] Factor out fortified libcall handling.
by Ahmed Bougacha
· 11 years ago
6722f5e
[SimplifyLibCalls] Factor out str/mem libcall optimizations.
by Ahmed Bougacha
· 11 years ago
b7d8afb
[SimplifyLibCalls] Factor out signature checks for fortifiable libcalls.
by Ahmed Bougacha
· 11 years ago
395a82f
correct spelling, NFC
by Matthias Braun
· 11 years ago
d34e4d2
[SimplifyLibCalls] Improve double->float shrinking to consider constants
by Matthias Braun
· 11 years ago
892c923
[SimplifyLibCalls] Enable double to float shrinking for copysign
by Matthias Braun
· 11 years ago
971c3ea
Use nullptr instead of NULL for variadic sentinels
by Reid Kleckner
· 11 years ago
55a333d
Add fortified (__*_chk) library functions to TLI (NFC)
by Ahmed Bougacha
· 11 years ago
848309d
Handle sqrt() shrinking in SimplifyLibCalls like any other call
by Sanjay Patel
· 11 years ago
a92fa44
Shrinkify libcalls: use float versions of double libm functions with fast-math (bug 17850)
by Sanjay Patel
· 11 years ago
c699a61
fold: sqrt(x * x * y) -> fabs(x) * sqrt(y)
by Sanjay Patel
· 11 years ago
0ca42bb
Optimize away fabs() calls when input is squared (known positive).
by Sanjay Patel
· 11 years ago
cf93cbb
Fixing a build error.
by Chris Bieneman
· 11 years ago
ad070d0
Refactoring SimplifyLibCalls to remove static initializers and generally cleaning up the code.
by Chris Bieneman
· 11 years ago
7f8af8b
Add support for missed and analysis optimization remarks.
by Diego Novillo
· 11 years ago
718ada9
Fold strlen(expr ? "str1" : "str2") to x ? len1 : len2. This fires about 330 times in a bootstrap of clang.
by Nick Lewycky
· 12 years ago
f40110f
[C++] Use 'nullptr'. Transforms edition.
by Craig Topper
· 12 years ago
cdf4788
[C++11] Add range based accessors for the Use-Def chain of a Value.
by Chandler Carruth
· 12 years ago
3e4c697
[C++11] Add 'override' keyword to virtual methods that override their base class.
by Craig Topper
· 12 years ago
37dc9e1
Rename many DataLayout variables from TD to DL.
by Rafael Espindola
· 12 years ago
34f460e
SimplifyLibCalls: Push TLI through the exp2->ldexp transform.
by Benjamin Kramer
· 12 years ago
103e648
OS X: the correct function is __sincospif_stret, not __sincospi_stretf
by Tim Northover
· 12 years ago
a56bb78
Add strchr(p, 0) -> p + strlen(p) to SimplifyLibCalls
by Kai Nacke
· 12 years ago
6ab044e
Enable double to float shrinking optimizations for binary functions like 'fmin/fmax'. Fix radar:15283121
by Yi Jiang
· 12 years ago
f92a574
Resubmit r196544: Apply transformation on OS X 10.9+ and iOS 7.0+: pow(10, x) ―> __exp10(x)
by Yi Jiang
· 12 years ago
2e06c8c
Revert 196544 due to internal bot failures.
by Manman Ren
· 12 years ago
01cfa94
Apply transformation on OS X 10.9+ and iOS 7.0+: pow(10, x) ―> __exp10(x)
by Yi Jiang
· 12 years ago
66cd3f1
Add the cold attribute to error-reporting call sites
by Hal Finkel
· 12 years ago
c900303
Use type form of getIntPtrType.
by Matt Arsenault
· 12 years ago
d8d92d9
Convert calls to __sinpi and __cospi into __sincospi_stret
by Bob Wilson
· 12 years ago
f631f8c
Use StringRef::npos for StringRef instead of std::string one
by Matt Arsenault
· 12 years ago
2702caa
SimplifyLibCalls: When emitting an overloaded fp function check that it's available.
by Benjamin Kramer
· 12 years ago
05efa23
No functionality change.
by Yunzhong Gao
· 12 years ago
4bb3f8f
Adds missing TLI check for library simplification of
by Michael Kuperstein
· 12 years ago
c0c2b16
Fixing a corner-case bug in strchr and strrchr lib call optimizations where
by Yunzhong Gao
· 12 years ago
41748d7
Added support for the Builtin attribute.
by Michael Gottesman
· 12 years ago
dfb08a2
Remove the simplify-libcalls pass (finally)
by Meador Inge
· 12 years ago
37ae72b
Do not optimise fprintf() calls if its return value is used.
by Peter Collingbourne
· 13 years ago
20255ef
LibCallSimplifier: optimize speed for short-lived instances
by Meador Inge
· 13 years ago
1b97a9c
Modify {Call,Invoke}Inst::addAttribute to take an AttrKind.
by Peter Collingbourne
· 13 years ago
464e807
For each function that we optimize we initialize a new list of lib functions. For each function name we malloc memory. This patch changes the Libcall map to use BumpPtrAllocator. Now we malloc only once. This speeds up instcombine by a few % on a large c++ program.
by Nadav Rotem
· 13 years ago
09bd1f7
Implement the NoBuiltin attribute.
by Bill Wendling
· 13 years ago
c98e4fe
Temporarily revert r175470 for more review.
by Bill Wendling
· 13 years ago
66651e4
Check to see if the 'no-builtin' attribute is set before simplifying a library call.
by Bill Wendling
· 13 years ago
22d275f
[SimplifyLibCalls] Library call simplification doen't work if the call site
by Chad Rosier
· 13 years ago
9fb823b
Move all of the header files which are involved in modelling the LLVM IR
by Chandler Carruth
· 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
75798bb
instcombine: Migrate puts optimizations
by Meador Inge
· 13 years ago
f8e7250
instcombine: Migrate fputs optimizations
by Meador Inge
· 13 years ago
bc84d1a
instcombine: Migrate fwrite optimizations
by Meador Inge
· 13 years ago
1009cec
instcombine: Migrate fprintf optimizations
by Meador Inge
· 13 years ago
25c9b3b
instcombine: Migrate sprintf optimizations
by Meador Inge
· 13 years ago
efe2393
Fix a comment bug in toascii simplifier
by Meador Inge
· 13 years ago
08ca115
instcombine: Migrate printf optimizations
by Meador Inge
· 13 years ago
604937d
instcombine: Migrate toascii optimizations
by Meador Inge
· 13 years ago
a62a39e
instcombine: Migrate isascii optimizations
by Meador Inge
· 13 years ago
9a59ab6
instcombine: Migrate isdigit optimizations
by Meador Inge
· 13 years ago
a0b6d87
instcombine: Migrate *abs optimizations
by Meador Inge
· 13 years ago
7415f84
instcombine: Migrate ffs* optimizations
by Meador Inge
· 13 years ago
193e035
instcombine: Migrate math library call simplifications
by Meador Inge
· 13 years ago
b3e91f6
Normalize memcmp constant folding results.
by Meador Inge
· 13 years ago
d482578
instcombine: Migrate memset optimizations
by Meador Inge
· 13 years ago
9cf328b
instcombine: Migrate memmove optimizations
by Meador Inge
· 13 years ago
dd9234a
instcombine: Migrate memcpy optimizations
by Meador Inge
· 13 years ago
4d2827c
instcombine: Migrate memcmp optimizations
by Meador Inge
· 13 years ago
56edbc9
instcombine: Migrate strstr optimizations
by Meador Inge
· 13 years ago
76fc1a4
Add method for replacing instructions to LibCallSimplifier
by Meador Inge
· 13 years ago
bcd88ef7
instcombine: Migrate strcspn optimizations
by Meador Inge
· 13 years ago
03be256
instcombine: Query target library information to gate libcall simplifications
by Meador Inge
· 13 years ago
489b5d6
instcombine: Migrate strspn optimizations
by Meador Inge
· 13 years ago
7ec5085
Revert the series of commits starting with r166578 which introduced the
by Chandler Carruth
· 13 years ago
05a625a
instcombine: Migrate strto* optimizations
by Meador Inge
· 13 years ago
6f8e011
instcombine: Migrate strpbrk optimizations
by Meador Inge
· 13 years ago
d589ac6
instcombine: Migrate strlen optimizations
by Meador Inge
· 13 years ago
067294b
instcombine: Migrate strncpy optimizations
by Meador Inge
· 13 years ago
9a6a190
instcombine: Migrate stpcpy optimizations
by Meador Inge
· 13 years ago
cdb2ca5
instcombine: Split out the __stpcpy_chk simplifications from StrCpyChkOpt
by Meador Inge
· 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
2332615
Cosmetic change -- move two simplifiers to the right commented statement group.
by Meador Inge
· 13 years ago
000dbcc
instcombine: Migrate strcpy optimizations
by Meador Inge
· 13 years ago
40b6fac
instcombine: Migrate strcmp and strncmp optimizations
by Meador Inge
· 13 years ago
44e58f9
Remove unused private field.
by Benjamin Kramer
· 13 years ago
1741850
instcombine: Migrate strchr and strrchr optimizations
by Meador Inge
· 13 years ago
7fb2f73
instcombine: Migrate strcat and strncat optimizations
by Meador Inge
· 13 years ago
df796f8
Implement new LibCallSimplifier class
by Meador Inge
· 13 years ago