summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
Commit message (Collapse)AuthorAgeFilesLines
* Fixed comment width, changed arg to be const, fixed indentation, removed ↵Tanya Lattner2003-05-311-8/+6
| | | | | | unnecessary includes. llvm-svn: 6476
* Added the CloneTrace function which clones traces. It takes a vector of ↵Tanya Lattner2003-05-301-0/+83
| | | | | | | | basic blocks, removes internal phi nodes, and returns a new vector of basic blocks. llvm-svn: 6431
* Eliminate unnecessary ->get calls that are now automatically handled.Chris Lattner2003-05-291-10/+8
| | | | llvm-svn: 6397
* * Separate all of the grunt work of inlining out into the Utils library.Chris Lattner2003-05-291-0/+164
| | | | | | * Make the function inliner _significantly_ smarter. :) llvm-svn: 6396
* Remove using declarationsChris Lattner2003-05-221-4/+3
| | | | llvm-svn: 6306
* Hopefully, the final fix for `[Pp]ropogate'.Misha Brukman2003-05-201-2/+2
| | | | llvm-svn: 6251
* Fix Bug: Linker/2003-05-15-TypeProblem.llChris Lattner2003-05-151-20/+66
| | | | llvm-svn: 6225
* Fix major problem with appending linkage changesChris Lattner2003-05-141-1/+2
| | | | llvm-svn: 6185
* Implement linkage of appending global variables!Chris Lattner2003-05-131-6/+115
| | | | llvm-svn: 6178
* Fix bug: mem2reg/2003-04-24-MultipleIdenticalSuccessors.llChris Lattner2003-04-251-7/+8
| | | | llvm-svn: 5919
* Fix iterator invalidation problemChris Lattner2003-04-241-2/+7
| | | | llvm-svn: 5895
* Make sure that the cloned module retains the type symbol table entries!Chris Lattner2003-04-241-0/+9
| | | | llvm-svn: 5894
* Make sure to preserve endiannes and pointer size when cloning modules!Chris Lattner2003-04-241-0/+2
| | | | llvm-svn: 5892
* Fix Bug: Linker/2003-04-23-LinkOnceLost.llChris Lattner2003-04-231-30/+40
| | | | llvm-svn: 5879
* Remove unnecesary &*'sChris Lattner2003-04-232-3/+3
| | | | llvm-svn: 5872
* 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
OpenPOWER on IntegriCloud