- Jul 29, 2004
-
-
Misha Brukman authored
llvm-svn: 15337
-
Misha Brukman authored
llvm-svn: 15334
-
Alkis Evlogimenos authored
llvm-svn: 15325
-
- Jul 21, 2004
-
-
Brian Gaeke authored
llvm-svn: 15089
-
- Jul 20, 2004
-
-
Chris Lattner authored
return, clone the 'ret' BB code into the block AFTER the inlined call, not the other way around. llvm-svn: 15030
-
Chris Lattner authored
llvm-svn: 15022
-
- Jul 18, 2004
-
-
Reid Spencer authored
llvm-svn: 14968
-
Reid Spencer authored
- Replace ConstantPointerRef usage with GlobalValue usage llvm-svn: 14953
-
Reid Spencer authored
- Minimize redundant isa<GlobalValue> usage llvm-svn: 14948
-
- Jul 15, 2004
-
-
Chris Lattner authored
llvm-svn: 14840
-
- Jul 04, 2004
-
-
Reid Spencer authored
llvm-svn: 14622
-
- Jun 23, 2004
-
-
Misha Brukman authored
llvm-svn: 14348
-
Brian Gaeke authored
llvm-svn: 14340
-
- Jun 21, 2004
-
-
Chris Lattner authored
since May 1st. In this code, the pred iterator was being invalidated sometimes causing the wrong entries to be added to PHI nodes. The fix for this is to defererence and safe the *PI value before we hack on branch instructions, which changes use/def chains, which SOMETIMES invalidates the iterator. llvm-svn: 14278
-
Chris Lattner authored
breaking the build on sparc is not acceptable. llvm-svn: 14277
-
- Jun 20, 2004
-
-
Chris Lattner authored
Fix another non-deterministic behavior, this one should actually speed up the code though as it was doing silly things. llvm-svn: 14258
-
- Jun 19, 2004
-
-
Chris Lattner authored
llvm-svn: 14247
-
Chris Lattner authored
non-deterministic things like the ordering of blocks in the dominance frontier of a BB. Unfortunately, I don't know of a better way to solve this problem than to explicitly sort the BB's in function-order before processing them. This is guaranteed to slow the pass down a bit, but is absolutely necessary to get usable diffs between two different tools executing the mem2reg or scalarrepl pass. Before this, bazillions of spurious diff failures occurred all over the place due to the different order of processing PHIs: - %tmp.111 = getelementptr %struct.Connector_struct* %upcon.0.0, uint 0, uint 0 + %tmp.111 = getelementptr %struct.Connector_struct* %upcon.0.1, uint 0, uint 0 Now, the diffs match. llvm-svn: 14244
-
Chris Lattner authored
nondeterministic results that depend on where these objects land in memory. Instead, sort by the value of the constant, which is stable. Before this patch, the -simplifycfg pass run from two different compilers could cause different code to be generated, though it was semantically the same: @@ -12258,8 +12258,8 @@ %s_addr.1 = phi sbyte* [ %s, %entry ], [ %inc.0, %no_exit ] ; <sbyte*> [#uses=5] %tmp.1 = load sbyte* %s_addr.1 ; <sbyte> [#uses=1] switch sbyte %tmp.1, label %no_exit [ - sbyte 0, label %loopexit sbyte 46, label %loopexit + sbyte 0, label %loopexit ] We need to stomp all of this stuff out. llvm-svn: 14243
-
- Jun 18, 2004
-
-
Brian Gaeke authored
llvm-svn: 14206
-
- Jun 17, 2004
-
-
Chris Lattner authored
PR371 llvm-svn: 14203
-
Chris Lattner authored
llvm-svn: 14201
-
- Jun 16, 2004
-
-
Brian Gaeke authored
llvm-svn: 14192
-
- Jun 15, 2004
-
-
Chris Lattner authored
llvm-svn: 14186
-
- Jun 14, 2004
-
-
Brian Gaeke authored
is write an autoconf macro that checks whether __isnan or isnan actually works **using the C++ compiler after #include <cmath>**, instead of doing it the easy way with AC_CHECK_FUNCS(). llvm-svn: 14171
-
- Jun 13, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 14168
-
- Jun 11, 2004
-
-
Chris Lattner authored
llvm-svn: 14150
-
- May 27, 2004
-
-
Chris Lattner authored
llvm-svn: 13823
-
Chris Lattner authored
Add support for acos/asin/atan. 188.ammp contains three calls to acos with constant arguments. Constant folding it allows elimination of those 3 calls and three FP divisions of the results. llvm-svn: 13821
-
Alkis Evlogimenos authored
appended anywhere. llvm-svn: 13798
-
- May 26, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 13792
-
- May 25, 2004
-
-
Reid Spencer authored
llvm-svn: 13754
-
Reid Spencer authored
llvm-svn: 13751
-
- May 19, 2004
-
-
Brian Gaeke authored
effects as) CloneFunctionInto(). llvm-svn: 13601
-
Brian Gaeke authored
CloneTrace, and because it is primarily an operation on ValueMaps. It is now a global (non-static) function which can be pulled in using ValueMapper.h. llvm-svn: 13600
-
- May 12, 2004
-
-
Chris Lattner authored
give the extracted function a more useful name than just foo_code. llvm-svn: 13493
-
Chris Lattner authored
instruction in them. llvm-svn: 13490
-
Chris Lattner authored
PHI node entries from multiple outside-the-region blocks. This also fixes extraction of the entry block in a function. Yaay. This has successfully block extracted all (but one) block from the score_move function in obsequi (out of 33). Hrm, I wonder which block the bug is in. :) llvm-svn: 13489
-
Chris Lattner authored
* Add a stub for the severSplitPHINodes which will allow us to bbextract bb's with PHI nodes in them soon. * Remove unused arguments from findInputsOutputs * Dramatically simplify the code in findInputsOutputs. In particular, nothing really cares whether or not a PHI node is using something. * Move moveCodeToFunction to after emitCallAndSwitchStatement as that's the order they get called. * Fix a bug where we would code extract a region that included a call to vastart. Like 'alloca', calls to vastart must stay in the function that they are defined in. * Add some comments. llvm-svn: 13482
-
Chris Lattner authored
from the extracted region. If the return has 0 or 1 exit blocks, the new function returns void. If it has 2 exits, it returns bool, otherwise it returns a ushort as before. This allows us to use a conditional branch instruction when there are two exit blocks, as often happens during block extraction. llvm-svn: 13481
-