summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* File depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructureMisha Brukman2004-06-221-0/+0
| | | | llvm-svn: 14327
* Files depend on DSA, moved to lib/Analysis/DataStructureMisha Brukman2004-06-222-0/+0
| | | | llvm-svn: 14326
* File depends on DSA, moved to lib/Analysis/DataStructureMisha Brukman2004-06-221-0/+0
| | | | llvm-svn: 14325
* Making an archive version of the CodeGen library is unnecessary if we justMisha Brukman2004-06-221-1/+0
| | | | | | move InstructionLowering itself. llvm-svn: 14324
* Provide archive version of CodeGen library (for those tools that only needMisha Brukman2004-06-221-0/+1
| | | | | | IntrinsicLowering, for instance). llvm-svn: 14323
* If an edge points to a field of another memory object, actually reflect thisChris Lattner2004-06-221-0/+18
| | | | | | in the DOT visualization of the DSGraphs. llvm-svn: 14316
* Order #includes as per style guide.Misha Brukman2004-06-211-1/+1
| | | | llvm-svn: 14305
* Use a reference instead of a pointer for the ostream. The pointer was onlyMisha Brukman2004-06-211-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 encloseMisha Brukman2004-06-211-3/+4
| | | | | | them with a namespace declaration. llvm-svn: 14303
* Specify variables' namespace directly instead of using an enclosing namespace.Misha Brukman2004-06-211-4/+2
| | | | llvm-svn: 14302
* Move implemented interface header up to the top.Misha Brukman2004-06-211-1/+1
| | | | llvm-svn: 14301
* Spell out `NoFramePointerElim'.Misha Brukman2004-06-211-1/+1
| | | | llvm-svn: 14300
* Spell out `NoFramePointerElim' for readability.Misha Brukman2004-06-212-3/+4
| | | | llvm-svn: 14299
* Use the common `NoFPElim' setting instead of our own.Misha Brukman2004-06-212-10/+4
| | | | llvm-svn: 14298
* Implement `NoFPElim' in a target-agnostic fashion so it can be shared.Misha Brukman2004-06-211-1/+8
| | | | llvm-svn: 14297
* * Make indentation consistent at 2 charsMisha Brukman2004-06-212-402/+624
| | | | | | | * Doxygenify function comments * Wrap code at 80 cols llvm-svn: 14295
* This file is no longer applicable.Misha Brukman2004-06-211-26/+0
| | | | llvm-svn: 14294
* llvm/IntrinsicLowering.h => llvm/CodeGen/IntrinsicLowering.hMisha Brukman2004-06-213-4/+4
| | | | llvm-svn: 14292
* Intrinsic::isnan has gone away, support for it commented out.Misha Brukman2004-06-212-6/+14
| | | | | | | Intrinsic::isunordered has arrived, and we just use the standard lowering pass for it. llvm-svn: 14290
* Convert tabs to spaces.Misha Brukman2004-06-212-750/+750
| | | | llvm-svn: 14289
* Type::getPrimitiveID() -> getTypeID()Misha Brukman2004-06-212-8/+8
| | | | llvm-svn: 14288
* Type::getPrimitiveID() -> getTypeID()Misha Brukman2004-06-213-5/+5
| | | | llvm-svn: 14287
* Initial revisionMisha Brukman2004-06-2120-0/+9690
| | | | llvm-svn: 14283
* Rename Interval class to LiveInterval to avoid conflicting with the alreadyChris Lattner2004-06-213-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 clientChris Lattner2004-06-211-4/+7
| | | | | | code. Patch contributed by Vladimir Prus. llvm-svn: 14280
* *FINALLY* Fix a really nasty nondeterministic bug that has been haunting usChris Lattner2004-06-211-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 itChris Lattner2004-06-211-1/+7
| | | | | | breaking the build on sparc is not acceptable. llvm-svn: 14277
* Make order of argument addition deterministic. In particular, the layoutChris Lattner2004-06-211-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 analysisChris Lattner2004-06-201-0/+1
| | | | llvm-svn: 14275
* Fix a bug in my change last night that caused a few test failures.Chris Lattner2004-06-201-1/+1
| | | | llvm-svn: 14270
* IntrinsicLowering.cpp now lives in lib/CodeGen/Chris Lattner2004-06-201-214/+0
| | | | llvm-svn: 14269
* Move the IntrinsicLowering header into the CodeGen directory, as per PR346Chris Lattner2004-06-2013-14/+229
| | | | llvm-svn: 14266
* Move the IntrinsicLowering header into the CodeGen directoryChris Lattner2004-06-201-1/+1
| | | | llvm-svn: 14265
* Do not sort SCEV objects by address: instead sort by complexity and groupChris Lattner2004-06-201-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 Lattner2004-06-201-21/+14
| | | | llvm-svn: 14262
* Fix the inliner to be deterministic, not letting its output depend on theChris Lattner2004-06-201-4/+3
| | | | | | relative location of Function objects in memory. llvm-svn: 14260
* Add some DEBUG output to the simplifycfg routinesChris Lattner2004-06-201-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 Lattner2004-06-191-16/+2
| | | | | | | | horrible code can go away llvm-svn: 14254
* compute dominator tree children in a deterministic order that does not dependChris Lattner2004-06-191-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 Lattner2004-06-191-7/+5
| | | | | | | | on the address of BasicBlock objects llvm-svn: 14252
* This will hopefully fix a heisenbug that Vladimir Merzliakov is runningChris Lattner2004-06-191-0/+1
| | | | | | into valiantly trying to compile stuff on freebsd. llvm-svn: 14251
* Fix a nasty bug, noticed by ReidChris Lattner2004-06-191-1/+1
| | | | llvm-svn: 14249
* Fix one source of nondeterminism in the -licm pass: the hoist passChris Lattner2004-06-191-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 classChris Lattner2004-06-191-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 Lattner2004-06-191-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 onChris Lattner2004-06-191-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 producesChris Lattner2004-06-191-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 beChris Lattner2004-06-191-3/+2
| | | | | | invalidated out from under us. This bug goes back to revision 1.1: scary. llvm-svn: 14242
* * Fix file header and nameMisha Brukman2004-06-181-8/+8
| | | | | | * Order #includes alphabetically llvm-svn: 14234
* Use the machine-independent method of querying the page size.Misha Brukman2004-06-181-1/+2
| | | | llvm-svn: 14233
OpenPOWER on IntegriCloud