- Oct 19, 2010
-
-
Dan Gohman authored
llvm-svn: 116815
-
Mikhail Glushenkov authored
Fixes PR8389. llvm-svn: 116812
-
- Oct 18, 2010
-
-
Mikhail Glushenkov authored
llvm-svn: 116749
-
Dan Gohman authored
llvm-svn: 116743
-
Devang Patel authored
Patch by Alexander Herz! llvm-svn: 116733
-
- Oct 16, 2010
-
-
Benjamin Kramer authored
llvm-svn: 116670
-
Owen Anderson authored
forwarding is implemented with a load/store pair rather than a memcpy. llvm-svn: 116637
-
- Oct 14, 2010
-
-
Owen Anderson authored
llvm-svn: 116443
-
- Oct 13, 2010
-
-
Rafael Espindola authored
llvm-svn: 116390
-
Rafael Espindola authored
llvm-svn: 116387
-
- Oct 12, 2010
-
-
Owen Anderson authored
perform initialization without static constructors AND without explicit initialization by the client. For the moment, passes are required to initialize both their (potential) dependencies and any passes they preserve. I hope to be able to relax the latter requirement in the future. llvm-svn: 116334
-
- Oct 10, 2010
-
-
Kenneth Uildriks authored
Now using a variant of the existing inlining heuristics to decide whether to create a given specialization of a function in PartialSpecialization. If the total performance bonus across all callsites passing the same constant exceeds the specialization cost, we create the specialization. llvm-svn: 116158
-
- Oct 08, 2010
-
-
Dan Gohman authored
formulae which become illegal as a result of the offset updating don't escape. This is for rdar://8529692. No testcase yet, because the given cases hit use-list ordering differences. llvm-svn: 116093
-
Daniel Dunbar authored
llvm-svn: 116034
-
Dan Gohman authored
one user. This code will be restructured soon and FormulaSorter is getting in the way. llvm-svn: 116012
-
Dan Gohman authored
llvm-svn: 116011
-
Dan Gohman authored
not just base registers. llvm-svn: 116010
-
Dan Gohman authored
llvm-svn: 116009
-
Dan Gohman authored
the old use to the new one. llvm-svn: 116008
-
Dan Gohman authored
This doesn't usually matter, because the other heuristics usually succeed regardless, but it's good to keep the register use bookkeeping consistent. llvm-svn: 116005
-
Devang Patel authored
llvm-svn: 116004
-
Owen Anderson authored
llvm-svn: 115996
-
- Oct 07, 2010
-
-
Owen Anderson authored
llvm-svn: 115971
-
Owen Anderson authored
llvm-svn: 115965
-
Owen Anderson authored
llvm-svn: 115933
-
Owen Anderson authored
initialization functions that initialize the set of passes implemented in that library. Add C bindings for these functions as well. llvm-svn: 115927
-
Owen Anderson authored
a header declaring them all. This is also where we will declare per-library pass-set initializer functions down the road. llvm-svn: 115900
-
Owen Anderson authored
Since the Hello pass is built as a loadable dynamic library, don't try to convert it to new-style registration yet. llvm-svn: 115881
-
- Oct 01, 2010
-
-
Owen Anderson authored
Now that the profitable bits of EnableFullLoadPRE have been enabled by default, rip out the remainder. Anyone interested in more general PRE would be better served by implementing it separately, to get real anticipation calculation, etc. llvm-svn: 115337
-
Eric Christopher authored
memcpy alignment is the minimum of the incoming alignments. Fixes PR 8266. llvm-svn: 115305
-
Chris Lattner authored
llvm-svn: 115296
-
Dale Johannesen authored
The x86_mmx type is used for MMX intrinsics, parameters and return values where these use MMX registers, and is also supported in load, store, and bitcast. Only the above operations generate MMX instructions, and optimizations do not operate on or produce MMX intrinsics. MMX-sized vectors <2 x i32> etc. are lowered to XMM or split into smaller pieces. Optimizations may occur on these forms and the result casted back to x86_mmx, provided the result feeds into a previous existing x86_mmx operation. The point of all this is prevent optimizations from introducing MMX operations, which is unsafe due to the EMMS problem. llvm-svn: 115243
-
- Sep 30, 2010
-
-
Owen Anderson authored
We do want to allow LoadPRE to perform LICM-like transformations: we already consider PHI nodes to be negligible for code size (making this transform code size neutral), and it allows us to hoist values out of loops, which is always a good thing. llvm-svn: 115205
-
Jakob Stoklund Olesen authored
The bug that broke i386 linux has been fixed in r115191. llvm-svn: 115204
-
Benjamin Kramer authored
Tighten up prototype verification of strchr and strrchr to avoid a crash in the very unlikely case that someone passes an integer > i64 to strchr. llvm-svn: 115144
-
Benjamin Kramer authored
llvm-svn: 115116
-
Benjamin Kramer authored
llvm-svn: 115111
-
Benjamin Kramer authored
llvm-svn: 115095
-
- Sep 29, 2010
-
-
Benjamin Kramer authored
llvm-svn: 115091
-
Owen Anderson authored
Fix PR8247: JumpThreading can cause a block to become unreachable while still having predecessor, if it is part of a self-loop. Because of this, we cannot use the Simplify* APIs, as they can assert-fail on unreachable code. Since it's not easy to determine if a given threading will cause a block to become unreachable, simply defer simplifying simplification to later InstCombine and/or DCE passes. llvm-svn: 115082
-