summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Switch InsertedPHINodes back to SmallPtrSet now that the SmallPtrSet::eraseChris Lattner2007-02-051-6/+6
| | | | | | bug is fixed. llvm-svn: 33932
* Fix a bug in smallptrset::erase: in the small case, return true if theChris Lattner2007-02-051-1/+1
| | | | | | element was in the set. llvm-svn: 33931
* switch a SmallPtrSet back to an std::set for now, this caused problems.Chris Lattner2007-02-051-6/+6
| | | | llvm-svn: 33930
* switch an std::set over to a SmallPtrSet, speeding up mem2reg 6% on 176.gcc.Chris Lattner2007-02-051-1/+1
| | | | llvm-svn: 33929
* switch an std::set over to SmallPtrSet, speeding up mem2reg 3.4% on 176.gcc.Chris Lattner2007-02-051-16/+13
| | | | llvm-svn: 33928
* eliminate some malloc traffic, this speeds up mem2reg by 3.4%.Chris Lattner2007-02-051-5/+8
| | | | llvm-svn: 33927
* Add missing and needed #include.Reid Spencer2007-02-051-0/+1
| | | | llvm-svn: 33926
* Make the class VISIBILITY_HIDDEN.Reid Spencer2007-02-051-3/+3
| | | | | | Reduce lexical size of the anonymous namespace. llvm-svn: 33925
* Fix PR1178Chris Lattner2007-02-051-1/+11
| | | | llvm-svn: 33924
* For PR411:Reid Spencer2007-02-0512-22/+22
| | | | | | | | Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922
* For PR411:Reid Spencer2007-02-0530-1222/+896
| | | | | | | | | | This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
* For PR411:Reid Spencer2007-02-051-363/+0
| | | | | | This pass is no longer needed. llvm-svn: 33917
* Create a pass to strip dead function declarations (prototypes). This isReid Spencer2007-02-051-0/+61
| | | | | | for use by llvm-extract and bugpoint. llvm-svn: 33916
* Fix PR1158Devang Patel2007-02-051-0/+5
| | | | | | Do not insert Analysis pass, if it is already available. llvm-svn: 33915
* Regenerate.Reid Spencer2007-02-052-18/+18
| | | | llvm-svn: 33912
* ! removal was a little over zealous. Put the ! back in asserts.Reid Spencer2007-02-051-9/+9
| | | | llvm-svn: 33911
* Regenerate.Reid Spencer2007-02-052-204/+204
| | | | llvm-svn: 33909
* There is nothing exclamatory about an error message. No other compilerReid Spencer2007-02-051-102/+102
| | | | | | or assembler uses ! at the end of every message. We shouldn't either. llvm-svn: 33907
* Fix miscompilations of consumer-typeset, telecomm-gsm, and 176.gcc.Chris Lattner2007-02-051-6/+6
| | | | llvm-svn: 33902
* For PR1177:Reid Spencer2007-02-051-4/+4
| | | | | | Revert last patch which caused iteration invalidation. llvm-svn: 33901
* fix a miscompilation of 176.gccChris Lattner2007-02-051-2/+2
| | | | llvm-svn: 33900
* Use DenseMap for pointer->pointer maps.Owen Anderson2007-02-051-4/+4
| | | | llvm-svn: 33897
* rewrite shift/shift folding, now that types are not signed.Chris Lattner2007-02-051-74/+103
| | | | llvm-svn: 33892
* Fix indenting, remove tabs.Nick Lewycky2007-02-041-32/+90
| | | | | | | | | | | | Learn from sext and zext. The destination value falls within the range of the source type. Generalize properties regarding constant ints. Get smarter about marking blocks as unreachable. If 1 >= 2 in order for this block to execute, then it isn't reachable. llvm-svn: 33889
* Fixing silly "not-implemented" bug in AsmPrinter. This fixes PR1169.Anton Korobeynikov2007-02-041-2/+4
| | | | llvm-svn: 33888
* Fix a miscompilation in the addr mode code trying to implement X | C andChris Lattner2007-02-041-20/+17
| | | | | | | | | X + C to promote LEA formation. We would incorrectly apply it in some cases (test) and miss it in others. This fixes CodeGen/X86/2007-02-04-OrAddrMode.ll llvm-svn: 33884
* switch the VRBaseMap in the scheduler from an std::map to a DenseMap. ThisChris Lattner2007-02-042-6/+6
| | | | | | speeds up the isel pass from 2.5570s to 2.4722s on kc++ (3.4%). llvm-svn: 33879
* Introduce new UnarySDNode/BinarySDNode/TernarySDNode nodes, which coallocateChris Lattner2007-02-041-12/+29
| | | | | | | their operands with the node itself. This reduces malloc traffic for operand lists. This reduces isel time on kc++ from 2.6164 to 2.5570s, about 2.3%. llvm-svn: 33878
* eliminate the SDNode::setValueTypes method.Chris Lattner2007-02-041-34/+17
| | | | llvm-svn: 33876
* eliminate a bunch of duplicate ctors and helper functions.Chris Lattner2007-02-041-116/+81
| | | | llvm-svn: 33875
* Fix some comments and other minor sundry things.Reid Spencer2007-02-041-12/+13
| | | | llvm-svn: 33873
* Ensure that visibility and section are properly propagated.Reid Spencer2007-02-041-9/+8
| | | | llvm-svn: 33872
* Back out last revision which was committed by accident.Reid Spencer2007-02-041-101/+85
| | | | llvm-svn: 33871
* Make sure that section and visibility are properly propagated.Reid Spencer2007-02-041-85/+101
| | | | llvm-svn: 33870
* move MorphNode to out of line and merge setNodeOperands into it. There isChris Lattner2007-02-041-14/+33
| | | | | | no behavior or performance change here. llvm-svn: 33869
* simplify MorphNodeTo to take a VTList operand.Chris Lattner2007-02-041-14/+13
| | | | llvm-svn: 33868
* eliminate some extraneous methods in SDNodeChris Lattner2007-02-041-5/+16
| | | | llvm-svn: 33867
* Give each selectiondag node class a home for it's vtable and rtti infoChris Lattner2007-02-041-2/+17
| | | | llvm-svn: 33866
* Encode small integers more densely in foldingset, avoiding overflowing the ↵Chris Lattner2007-02-041-1/+4
| | | | | | SmallVector as often. llvm-svn: 33864
* Switch VAlueMap from std::map to DenseMap.Chris Lattner2007-02-041-3/+3
| | | | llvm-svn: 33863
* Switch NodeMap from std::map to DenseMap, this speeds up isel by 2.3%Chris Lattner2007-02-041-7/+11
| | | | llvm-svn: 33862
* swtich vector-> smallvector, speeding up selectiondag stuff 1%Chris Lattner2007-02-041-2/+2
| | | | llvm-svn: 33861
* Switch promoted/expanded ops over to using a DenseMap. Vector related mapsChris Lattner2007-02-041-8/+7
| | | | | | aren't worth it. llvm-svn: 33860
* switch LegalizedNodes from std::map to a DenseMap. This speeds up iselChris Lattner2007-02-041-3/+15
| | | | | | time as a whole on kc++ by 11%. llvm-svn: 33857
* For PR1163:Reid Spencer2007-02-045-1/+21
| | | | | | | Make the Module's dependent library use a std::vector instead of SetVector adjust #includes in .cpp files because SetVector.h is no longer included. llvm-svn: 33855
* Eliminate some malloc traffic from LegalizeAllNodesNotLeadingTo, speedingChris Lattner2007-02-041-4/+5
| | | | | | up isel on kimwitu by 0.7%. llvm-svn: 33853
* Eliminate some std::sets. This speeds up isel of kimwitu by about 0.9%Chris Lattner2007-02-041-6/+6
| | | | llvm-svn: 33852
* Switch SelectionDAG::ReplaceAllUsesOfValueWith to use a SmallSetVector forChris Lattner2007-02-041-2/+3
| | | | | | | the users set (most nodes have 1 or 2 users). This speeds up the isel pass 3.2% on kimwitu. llvm-svn: 33849
* remove some dead codeChris Lattner2007-02-031-14/+3
| | | | llvm-svn: 33845
* For PR1072:Reid Spencer2007-02-034-1544/+0
| | | | | | | Removing -raise has neglible positive or negative side effects so we are opting to remove it. See the PR for comparison details. llvm-svn: 33844
OpenPOWER on IntegriCloud