summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
Commit message (Collapse)AuthorAgeFilesLines
* Add warning when linking modules with disagreeing target propertiesChris Lattner2003-04-221-0/+4
| | | | llvm-svn: 5845
* Preserve the new moduleID fieldChris Lattner2003-04-221-1/+1
| | | | llvm-svn: 5835
* Fix bug: 2003-01-30-LinkerRename.llChris Lattner2003-04-211-7/+33
| | | | llvm-svn: 5828
* Fix linking a function with qualifiers to a external function declaration:Chris Lattner2003-04-211-6/+18
| | | | | | Fixed bug: Linker/2003-04-21-Linkage.ll llvm-svn: 5827
* Fix bug where use still existed in dead codeChris Lattner2003-04-211-0/+2
| | | | llvm-svn: 5824
* Fix bug: Mem2reg/2003-04-18-DeadBlockProblem.llChris Lattner2003-04-181-4/+17
| | | | llvm-svn: 5810
* Refactor CloneFunction to expose the new CloneBasicBlock functionChris Lattner2003-04-181-13/+22
| | | | llvm-svn: 5806
* New const_cast instead of c style castChris Lattner2003-04-181-1/+1
| | | | llvm-svn: 5805
* Add new linkage types to support a real frontendChris Lattner2003-04-163-61/+79
| | | | llvm-svn: 5786
* * Fix bug: Mem2Reg/2003-04-10-DFNotFound.llChris Lattner2003-04-101-9/+26
| | | | | | | * Make Mem2Reg assign version numbers now for renamed variables instead of .mem2reg suffixes. This produces what people think of as SSA. llvm-svn: 5771
* * We now preserve the no-critical-edge pass (because we cannot insert ↵Chris Lattner2003-03-311-11/+17
| | | | | | | | critical edges) * Small modification to be more efficient llvm-svn: 5757
* Fix bug: SimplifyCFG/2003-03-07-DominateProblem.llChris Lattner2003-03-071-2/+19
| | | | llvm-svn: 5722
* Implement CFGSimplify/PhiBlockMerge*.llChris Lattner2003-03-051-10/+36
| | | | llvm-svn: 5702
* Implement testcase CFGSimplify/EqualPHIEdgeBlockMerge.llChris Lattner2003-03-051-10/+24
| | | | llvm-svn: 5699
* Change the mem2reg interface to accept a TargetData argumentChris Lattner2003-03-031-6/+11
| | | | llvm-svn: 5685
* Rename Instruction::hasSideEffects() -> mayWriteToMemory()Chris Lattner2003-02-241-1/+1
| | | | llvm-svn: 5620
* Split mem2reg promotion into two parts: a function which does the work, andChris Lattner2003-02-221-85/+53
| | | | | | a pass which wraps the function. This allows other passes to use the functionality llvm-svn: 5610
* Clean up std namespace referencesChris Lattner2003-02-221-32/+29
| | | | llvm-svn: 5608
* * Fix linking of opaque types and their non-opaque versionsChris Lattner2003-01-301-7/+17
| | | | | | * Fix bug: Linker/2003-01-30-LinkerTypeRename.ll llvm-svn: 5441
* Eliminate using declsChris Lattner2003-01-301-35/+33
| | | | llvm-svn: 5439
* Add debugging helperChris Lattner2003-01-131-1/+2
| | | | llvm-svn: 5235
* This file implements the function DemoteRegToStack(), which takes aVikram S. Adve2002-12-101-0/+193
| | | | | | | virtual register computed by an Instruction& X and replaces it with a slot in the stack frame, allocated via alloca. llvm-svn: 4964
* Fix bug that was bugging bugpointChris Lattner2002-12-071-2/+2
| | | | llvm-svn: 4953
* Fix big bug introduced with symbol table changesChris Lattner2002-12-031-2/+2
| | | | llvm-svn: 4885
* Initial checkin of Module cloning support stuffChris Lattner2002-11-204-4/+179
| | | | llvm-svn: 4788
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-202-8/+5
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* Fix minor bugsChris Lattner2002-11-201-2/+2
| | | | llvm-svn: 4778
* Remove unneccesary #includeChris Lattner2002-11-191-1/+0
| | | | llvm-svn: 4772
* Implement the CloneFunction functionChris Lattner2002-11-191-0/+40
| | | | llvm-svn: 4771
* Minor changes to cloning interfaceChris Lattner2002-11-191-14/+5
| | | | llvm-svn: 4770
* Fix two fixmes: integrate with inlining, and documentChris Lattner2002-11-191-6/+7
| | | | llvm-svn: 4769
* Rework inline pass to use cloning infrastructure to do the dirty workChris Lattner2002-11-191-7/+14
| | | | llvm-svn: 4766
* Start using the new function cloning headerChris Lattner2002-11-191-3/+3
| | | | llvm-svn: 4764
* BreakCriticalEdges should update dominance frontier information as well asChris Lattner2002-10-311-2/+14
| | | | | | other dominance stuff. Patch contributed by Casey Carter llvm-svn: 4457
* Fix spelling of `propagate'.Misha Brukman2002-10-292-4/+4
| | | | llvm-svn: 4423
* - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG toChris Lattner2002-10-211-1/+1
| | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255
* - Change Function's so that their argument list is populated when they areChris Lattner2002-10-131-5/+4
| | | | | | | constructed. Before, external functions would have an empty argument list, now a Function ALWAYS has a populated argument list. llvm-svn: 4149
* - Fix bug: cee/2002-10-07-NoImmediateDominator.llChris Lattner2002-10-081-1/+2
| | | | llvm-svn: 4081
* Changes to support PHINode::removeIncoming changesChris Lattner2002-10-081-9/+2
| | | | llvm-svn: 4079
* Expose isCriticalEdge & SplitCriticalEdge methods from crit-edges passChris Lattner2002-10-081-9/+10
| | | | llvm-svn: 4075
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-012-6/+5
| | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002
* - Cleanup break-crit-edges pass by making SplitCriticalEdge a member method.Chris Lattner2002-09-261-29/+30
| | | | | | - break-crit-edges pass does not invalidate loop-preheader pass. llvm-svn: 3944
* - Fix bug: Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.llChris Lattner2002-09-241-2/+7
| | | | llvm-svn: 3917
* Fix bug: SimplifyCFG/2002-09-24-PHIAssertion.llChris Lattner2002-09-241-3/+4
| | | | llvm-svn: 3913
* - Do not expose Critical Edge breaking mechanics outside the BCE pass, thusChris Lattner2002-09-241-93/+0
| | | | | | removing it from Transforms/Local.h and from Transforms/Utils/* llvm-svn: 3911
* - Do not expose Critical Edge breaking mechanics outside the BCE pass, thusChris Lattner2002-09-241-9/+94
| | | | | | removing it from Transforms/Local.h and from Transforms/Utils/* llvm-svn: 3910
* - Expose passinfo from BreakCriticalEdges pass so that it may be "Required"Chris Lattner2002-09-241-14/+17
| | | | | | by other passes. Make BCE pass be in anonymous namespace now. llvm-svn: 3907
* Minor cleanupsChris Lattner2002-09-241-7/+5
| | | | llvm-svn: 3904
* Add new BreakCriticalEdges passChris Lattner2002-09-241-0/+52
| | | | llvm-svn: 3903
* Insert resolved constants into the global map so they are reused correctly.Chris Lattner2002-09-231-3/+6
| | | | | | This bug was exposed linking the SPEC benchmark suite. llvm-svn: 3888
OpenPOWER on IntegriCloud