summaryrefslogtreecommitdiffstats
path: root/llvm
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-0519-46/+46
| | | | | | | | Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922
* For PR411:Reid Spencer2007-02-051-1/+2
| | | | | | | Change getNamedFunction -> getFunction Make llvm-extract run the StripDeadPrototypes pass. llvm-svn: 33921
* For PR411:Reid Spencer2007-02-051-14/+5
| | | | | | | Clean up the Module::getFunction interface. getMainFunction and getNamedFunction are now gone. Just use getFunction instead. llvm-svn: 33920
* For PR411:Reid Spencer2007-02-051-33/+0
| | | | | | This test is not particularly useful without type planes. llvm-svn: 33919
* For PR411:Reid Spencer2007-02-0574-2346/+1575
| | | | | | | | | | 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
* Test case for PR1158Devang Patel2007-02-051-0/+5
| | | | llvm-svn: 33914
* Add a class APInt to represent arbitrary precision constant integral values.Zhou Sheng2007-02-051-0/+489
| | | | | | | | | It is a functional replacement for common case integer type like "unsigned", "uint64_t", but also allows non-byte-width integer type and large integer value types such as 3-bits, 15-bits, or more than 64-bits of precision. For more details, see pr1043. llvm-svn: 33913
* 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
* Fix unord test.Lauro Ramos Venancio2007-02-051-2/+2
| | | | llvm-svn: 33910
* Regenerate.Reid Spencer2007-02-052-204/+204
| | | | llvm-svn: 33909
* Assembler no longer prints ! at the end of its error messages.Reid Spencer2007-02-051-1/+1
| | | | llvm-svn: 33908
* 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
* Make the RUN: line readable.Reid Spencer2007-02-051-1/+2
| | | | llvm-svn: 33906
* Don't prevent install target from descending into the utils directory.Reid Spencer2007-02-051-7/+0
| | | | | | It prevents "make install" on a clean directory from working. llvm-svn: 33905
* add a noteChris Lattner2007-02-051-0/+27
| | | | llvm-svn: 33904
* Use opt to generate the list of passes to run.Reid Spencer2007-02-051-5/+5
| | | | llvm-svn: 33903
* 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
* For PR411:Reid Spencer2007-02-051-2/+2
| | | | | | Don't re-use var names. llvm-svn: 33899
* new testcase for 1174, currently xfailedChris Lattner2007-02-051-0/+22
| | | | llvm-svn: 33898
* Use DenseMap for pointer->pointer maps.Owen Anderson2007-02-051-4/+4
| | | | llvm-svn: 33897
* Use unsigned char& instead of std::vector<>::reference.Bill Wendling2007-02-051-4/+2
| | | | llvm-svn: 33896
* Test for PR1173Anton Korobeynikov2007-02-051-0/+13
| | | | llvm-svn: 33895
* fix bug numberChris Lattner2007-02-051-1/+1
| | | | llvm-svn: 33894
* test for pr1173Chris Lattner2007-02-051-0/+23
| | | | llvm-svn: 33893
* rewrite shift/shift folding, now that types are not signed.Chris Lattner2007-02-051-74/+103
| | | | llvm-svn: 33892
* testcase for PR1175Chris Lattner2007-02-041-0/+9
| | | | llvm-svn: 33891
* 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
* When using LINK_COMPONENTS, append the components to the end of theReid Spencer2007-02-041-2/+2
| | | | | | | | libraries linked with. This permits a project to still use USEDLIBS to specify its own libraries in conjunction with LINK_COMPONENTS. llvm-stacker needs this after libLLVMTransforms.a went away. llvm-svn: 33886
* Fix grammaro in output message.Reid Spencer2007-02-041-1/+1
| | | | llvm-svn: 33885
* 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
* new testcase for x86 backend miscompilationChris Lattner2007-02-041-0/+21
| | | | llvm-svn: 33883
* switch the VRBaseMap in the scheduler from an std::map to a DenseMap. ThisChris Lattner2007-02-043-8/+8
| | | | | | 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-042-12/+72
| | | | | | | 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
* Add a new SDNode ctor and InitOperands method. This allows the operands forChris Lattner2007-02-041-37/+69
| | | | | | | | | | an SDNode to be allocated as part of the node itself, instead of being a separate new[]'d object. Switch HandleSDNode, LoadSDNode, and StoreSDNode to use this mechanism. This saves one heap allocation and free for each node of this type that is allocated. This reduces isel time from 2.7638 to 2.6164s on kc++, which is a 5.6% speedup. llvm-svn: 33877
OpenPOWER on IntegriCloud