Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | File depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructure | Misha Brukman | 2004-06-22 | 1 | -0/+0 | |
| | | | | llvm-svn: 14327 | |||||
* | Files depend on DSA, moved to lib/Analysis/DataStructure | Misha Brukman | 2004-06-22 | 2 | -0/+0 | |
| | | | | llvm-svn: 14326 | |||||
* | File depends on DSA, moved to lib/Analysis/DataStructure | Misha Brukman | 2004-06-22 | 1 | -0/+0 | |
| | | | | llvm-svn: 14325 | |||||
* | Making an archive version of the CodeGen library is unnecessary if we just | Misha Brukman | 2004-06-22 | 1 | -1/+0 | |
| | | | | | | move InstructionLowering itself. llvm-svn: 14324 | |||||
* | Provide archive version of CodeGen library (for those tools that only need | Misha Brukman | 2004-06-22 | 1 | -0/+1 | |
| | | | | | | IntrinsicLowering, for instance). llvm-svn: 14323 | |||||
* | If an edge points to a field of another memory object, actually reflect this | Chris Lattner | 2004-06-22 | 1 | -0/+18 | |
| | | | | | | in the DOT visualization of the DSGraphs. llvm-svn: 14316 | |||||
* | Order #includes as per style guide. | Misha Brukman | 2004-06-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 14305 | |||||
* | Use a reference instead of a pointer for the ostream. The pointer was only | Misha Brukman | 2004-06-21 | 1 | -103/+102 | |
| | | | | | | | there to assist in the development of llvm-tv, and it no longer has a need to modify the AsmWriter output stream. llvm-svn: 14304 | |||||
* | Direct declaration of namespace-ified globals does not work, must enclose | Misha Brukman | 2004-06-21 | 1 | -3/+4 | |
| | | | | | | them with a namespace declaration. llvm-svn: 14303 | |||||
* | Specify variables' namespace directly instead of using an enclosing namespace. | Misha Brukman | 2004-06-21 | 1 | -4/+2 | |
| | | | | llvm-svn: 14302 | |||||
* | Move implemented interface header up to the top. | Misha Brukman | 2004-06-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 14301 | |||||
* | Spell out `NoFramePointerElim'. | Misha Brukman | 2004-06-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 14300 | |||||
* | Spell out `NoFramePointerElim' for readability. | Misha Brukman | 2004-06-21 | 2 | -3/+4 | |
| | | | | llvm-svn: 14299 | |||||
* | Use the common `NoFPElim' setting instead of our own. | Misha Brukman | 2004-06-21 | 2 | -10/+4 | |
| | | | | llvm-svn: 14298 | |||||
* | Implement `NoFPElim' in a target-agnostic fashion so it can be shared. | Misha Brukman | 2004-06-21 | 1 | -1/+8 | |
| | | | | llvm-svn: 14297 | |||||
* | * Make indentation consistent at 2 chars | Misha Brukman | 2004-06-21 | 2 | -402/+624 | |
| | | | | | | | * Doxygenify function comments * Wrap code at 80 cols llvm-svn: 14295 | |||||
* | This file is no longer applicable. | Misha Brukman | 2004-06-21 | 1 | -26/+0 | |
| | | | | llvm-svn: 14294 | |||||
* | llvm/IntrinsicLowering.h => llvm/CodeGen/IntrinsicLowering.h | Misha Brukman | 2004-06-21 | 3 | -4/+4 | |
| | | | | llvm-svn: 14292 | |||||
* | Intrinsic::isnan has gone away, support for it commented out. | Misha Brukman | 2004-06-21 | 2 | -6/+14 | |
| | | | | | | | Intrinsic::isunordered has arrived, and we just use the standard lowering pass for it. llvm-svn: 14290 | |||||
* | Convert tabs to spaces. | Misha Brukman | 2004-06-21 | 2 | -750/+750 | |
| | | | | llvm-svn: 14289 | |||||
* | Type::getPrimitiveID() -> getTypeID() | Misha Brukman | 2004-06-21 | 2 | -8/+8 | |
| | | | | llvm-svn: 14288 | |||||
* | Type::getPrimitiveID() -> getTypeID() | Misha Brukman | 2004-06-21 | 3 | -5/+5 | |
| | | | | llvm-svn: 14287 | |||||
* | Initial revision | Misha Brukman | 2004-06-21 | 20 | -0/+9690 | |
| | | | | llvm-svn: 14283 | |||||
* | Rename Interval class to LiveInterval to avoid conflicting with the already | Chris Lattner | 2004-06-21 | 3 | -50/+54 | |
| | | | | | | | | | existing llvm::Interval class. Patch contributed by Vladimir Prus! http://mail.cs.uiuc.edu/pipermail/llvmbugs/2004-June/000710.html llvm-svn: 14281 | |||||
* | Make ConstantBool act like a 1 bit ConstantInt, in order to simplify client | Chris Lattner | 2004-06-21 | 1 | -4/+7 | |
| | | | | | | code. Patch contributed by Vladimir Prus. llvm-svn: 14280 | |||||
* | *FINALLY* Fix a really nasty nondeterministic bug that has been haunting us | Chris Lattner | 2004-06-21 | 1 | -6/+7 | |
| | | | | | | | | | | | 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 | |||||
* | Comment out the isnan stuff until we get a proper autoconf test for it | Chris Lattner | 2004-06-21 | 1 | -1/+7 | |
| | | | | | | breaking the build on sparc is not acceptable. llvm-svn: 14277 | |||||
* | Make order of argument addition deterministic. In particular, the layout | Chris Lattner | 2004-06-21 | 1 | -10/+35 | |
| | | | | | | | of ConstantInt objects in memory used to determine which order arguments were added in in some cases. llvm-svn: 14276 | |||||
* | REALLY fix PR378: crash in scalar evolution analysis | Chris Lattner | 2004-06-20 | 1 | -0/+1 | |
| | | | | llvm-svn: 14275 | |||||
* | Fix a bug in my change last night that caused a few test failures. | Chris Lattner | 2004-06-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 14270 | |||||
* | IntrinsicLowering.cpp now lives in lib/CodeGen/ | Chris Lattner | 2004-06-20 | 1 | -214/+0 | |
| | | | | llvm-svn: 14269 | |||||
* | Move the IntrinsicLowering header into the CodeGen directory, as per PR346 | Chris Lattner | 2004-06-20 | 13 | -14/+229 | |
| | | | | llvm-svn: 14266 | |||||
* | Move the IntrinsicLowering header into the CodeGen directory | Chris Lattner | 2004-06-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 14265 | |||||
* | Do not sort SCEV objects by address: instead sort by complexity and group | Chris Lattner | 2004-06-20 | 1 | -18/+60 | |
| | | | | | | | by address. This prevents the resultant SCEV objects from depending on where in memory other scev objects happen to live. llvm-svn: 14263 | |||||
* | Make use of BinaryOperator::create* methods to shrinkify code. | Chris Lattner | 2004-06-20 | 1 | -21/+14 | |
| | | | | llvm-svn: 14262 | |||||
* | Fix the inliner to be deterministic, not letting its output depend on the | Chris Lattner | 2004-06-20 | 1 | -4/+3 | |
| | | | | | | relative location of Function objects in memory. llvm-svn: 14260 | |||||
* | Add some DEBUG output to the simplifycfg routines | Chris Lattner | 2004-06-20 | 1 | -14/+13 | |
| | | | | | | | Fix another non-deterministic behavior, this one should actually speed up the code though as it was doing silly things. llvm-svn: 14258 | |||||
* | Now that dominator tree children are built in determinstic order, this ↵ | Chris Lattner | 2004-06-19 | 1 | -16/+2 | |
| | | | | | | | | horrible code can go away llvm-svn: 14254 | |||||
* | compute dominator tree children in a deterministic order that does not depend | Chris Lattner | 2004-06-19 | 1 | -11/+12 | |
| | | | | | | | | | | | | | | | | | on the address of BasicBlock objects in memory. This eliminates stuff like this: Inorder Dominator Tree: [1] %entry [2] %loopentry - [3] %loopexit [3] %no_exit - [4] %endif [4] %then + [4] %endif + [3] %loopexit [3] %return llvm-svn: 14253 | |||||
* | Print out immediate dominators in program order, not in random order based ↵ | Chris Lattner | 2004-06-19 | 1 | -7/+5 | |
| | | | | | | | | on the address of BasicBlock objects llvm-svn: 14252 | |||||
* | This will hopefully fix a heisenbug that Vladimir Merzliakov is running | Chris Lattner | 2004-06-19 | 1 | -0/+1 | |
| | | | | | | into valiantly trying to compile stuff on freebsd. llvm-svn: 14251 | |||||
* | Fix a nasty bug, noticed by Reid | Chris Lattner | 2004-06-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 14249 | |||||
* | Fix one source of nondeterminism in the -licm pass: the hoist pass | Chris Lattner | 2004-06-19 | 1 | -2/+16 | |
| | | | | | | | was processing blocks in whatever order they happened to end up in the dominator tree data structure. Force an ordering. llvm-svn: 14248 | |||||
* | Change to use the StableBasicBlockNumbering class | Chris Lattner | 2004-06-19 | 1 | -15/+7 | |
| | | | | llvm-svn: 14247 | |||||
* | Fix a tiny bug in the -no-aa pass, in which it did not ever get a target data. | Chris Lattner | 2004-06-19 | 1 | -9/+8 | |
| | | | | | | This is a regression from 1.2, though noone uses -no-aa anyway llvm-svn: 14245 | |||||
* | Do not let the numbering of PHI nodes placed in the function depend on | Chris Lattner | 2004-06-19 | 1 | -2/+36 | |
| | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Do not sort by the address of LLVM ConstantInt* objects. This produces | Chris Lattner | 2004-06-19 | 1 | -10/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Do not loop over uses as we delete them. This causes iterators to be | Chris Lattner | 2004-06-19 | 1 | -3/+2 | |
| | | | | | | invalidated out from under us. This bug goes back to revision 1.1: scary. llvm-svn: 14242 | |||||
* | * Fix file header and name | Misha Brukman | 2004-06-18 | 1 | -8/+8 | |
| | | | | | | * Order #includes alphabetically llvm-svn: 14234 | |||||
* | Use the machine-independent method of querying the page size. | Misha Brukman | 2004-06-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 14233 |