summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Moved all of the cilkifier stuff into lib/Transforms/IPO, as it really is notChris Lattner2003-09-012-4/+2
| | | | | | support stuff. llvm-svn: 8287
* Minor cleanupsChris Lattner2003-09-011-13/+8
| | | | | | Do not #include Parallelize.h, it's just a subset of Cilkifier.h llvm-svn: 8285
* Remove gross old hacky code that was in there for backwards compatibilityChris Lattner2003-09-011-56/+9
| | | | | | 1 year is plenty of migration time! llvm-svn: 8282
* Change the RaiseAllocations pass to be a Pass instead of a BasicBlock pass.Chris Lattner2003-09-011-54/+75
| | | | | | | | This makes it more efficient: it doesn't have to scan the whole program, so it performs work proportional to the number of malloc/free calls in the program, not the size of the program. llvm-svn: 8280
* Fix bug: TailDuplicate/2003-08-31-UnreachableBlocks.llChris Lattner2003-08-311-2/+5
| | | | llvm-svn: 8276
* Replace M with F when refering to functionsChris Lattner2003-08-311-11/+11
| | | | llvm-svn: 8274
* Rename TarjanSCCIterator -> scc_iteratorChris Lattner2003-08-313-16/+16
| | | | | | | | * Increases consistency with other iterators (e.g. df_iterator, po_iterator...) * It's shorter * We don't name classes by the implementation, we name it for the interface! llvm-svn: 8273
* Don't explicitly use the SCC classChris Lattner2003-08-311-2/+2
| | | | llvm-svn: 8271
* Remove dead varChris Lattner2003-08-311-1/+0
| | | | llvm-svn: 8270
* The SCC::HasLoop method is now in the main iteratorChris Lattner2003-08-312-8/+8
| | | | llvm-svn: 8269
* Remove explicit passing of SCC's around as objects.Chris Lattner2003-08-311-6/+5
| | | | llvm-svn: 8267
* Move the getAnalysisUsage method from the header fileChris Lattner2003-08-311-2/+12
| | | | llvm-svn: 8264
* The tarjan iterator now returns a reference to the current SCC, not a ↵Chris Lattner2003-08-313-4/+4
| | | | | | possibly null pointer! llvm-svn: 8262
* Minor cleanupsChris Lattner2003-08-311-14/+9
| | | | | | Iterate from tarj_begin -> tarj_end, not from tarj_begin -> NULL llvm-svn: 8260
* Indent classes correctly in the namespaceChris Lattner2003-08-311-46/+56
| | | | | | | move bodies out-of-line Add getAnalysisUsage method for SFGSCC llvm-svn: 8259
* * CleanupsChris Lattner2003-08-311-38/+30
| | | | | | * Iterate from tarj_begin -> tarj_end, not from tarj_begin -> NULL llvm-svn: 8258
* Heavily refactor code:Chris Lattner2003-08-313-127/+198
| | | | | | | | | * Separate the policy decisions into a derived class [InlineSimple] * Move the inlining mechanics into a base class [Inliner] * Change the inliner to be an SCCPass, making it more structured and eventually pipelinable with other SCC passes llvm-svn: 8257
* Add accessor functionChris Lattner2003-08-311-0/+2
| | | | llvm-svn: 8253
* Initial checkin of the -prune-eh pass, a very simple exception handling ↵Chris Lattner2003-08-311-0/+93
| | | | | | removal pass llvm-svn: 8250
* Initial checkin of the CallGraphSCCPass classChris Lattner2003-08-311-0/+30
| | | | llvm-svn: 8247
* ScalarRepl does not modify the CFG. Say so!Chris Lattner2003-08-311-0/+6
| | | | llvm-svn: 8243
* Use new interface, simplifies codeChris Lattner2003-08-311-11/+3
| | | | llvm-svn: 8242
* Use the new interface, simplifies codeChris Lattner2003-08-312-18/+13
| | | | | | NOTE that these two files are _BUGGY_ and need to be fixed, just not by me :) llvm-svn: 8241
* Use the new interface, simplifies codeChris Lattner2003-08-311-43/+4
| | | | | | Delete a bunch of commented out code llvm-svn: 8240
* Use the new interface, simplifies codeChris Lattner2003-08-311-13/+8
| | | | llvm-svn: 8239
* Implement new methodChris Lattner2003-08-311-0/+24
| | | | llvm-svn: 8238
* There is no reason for this to be a pass!Chris Lattner2003-08-291-5/+5
| | | | llvm-svn: 8214
* Fix bug: Linker/2003-08-28-TypeResolvesGlobal3.llChris Lattner2003-08-291-1/+1
| | | | | | Use new replaceAllUsesWith stuff in a way that works even though types have not yet been propagated llvm-svn: 8210
* Implement "unsafe" replaceAllUsesWWith stuff for use during type resolution.Chris Lattner2003-08-291-17/+31
| | | | llvm-svn: 8209
* Fix bug: Linker/2003-08-28-TypeResolvesGlobal2.llChris Lattner2003-08-291-7/+2
| | | | llvm-svn: 8206
* Refactor code to make it useful outside of Constants.cppChris Lattner2003-08-292-24/+24
| | | | llvm-svn: 8205
* Fix bug: Linker/2003-08-28-TypeResolvesGlobal.llChris Lattner2003-08-291-6/+12
| | | | llvm-svn: 8202
* * Use alloca() to force GCC not to eliminate frame pointerMisha Brukman2003-08-291-115/+90
| | | | | | | | | * Break apart saving and restoring registers into separate functions * Instead of saving single and double FP registers, just save the double registers -- aliasing helps preserve the single FP registers as well. * Request just as much memory for a stub as we actually use llvm-svn: 8200
* Fixed two double free bugs that caused llc to segfault or run forever.John Criswell2003-08-281-5/+21
| | | | llvm-svn: 8191
* Add support for the llvm.unwind intrinsic, which we codegen to just do an abortChris Lattner2003-08-281-1/+29
| | | | | | | | | | | | until we implement unwinding. Add support for the invoke instruction, which codegens just like a call with a branch after it. The end effect of this change is that programs using the invoke instruction, but never unwinding, will work fine. Programs that unwind will abort until we get unwind support. llvm-svn: 8187
* Fix really nasty bugs in the CWriter, handling invoke instructions. TrackingChris Lattner2003-08-281-2/+5
| | | | | | these down was NOT phun. llvm-svn: 8181
* Removing READMETanya Lattner2003-08-282-35/+2
| | | | llvm-svn: 8180
* Putting my revised version of ModuloScheduling in cvs. This is not complete...Tanya Lattner2003-08-284-2940/+155
| | | | llvm-svn: 8179
* Fix bug where we considered function types equivalent even if they had ↵Chris Lattner2003-08-281-1/+3
| | | | | | differing numbers of arguments llvm-svn: 8178
* Moved index into BB to common graph class because its needed by ↵Tanya Lattner2003-08-282-4/+1
| | | | | | ModuloSchedGraph. llvm-svn: 8174
* Added/removed header fileTanya Lattner2003-08-271-1/+0
| | | | llvm-svn: 8160
* *** empty log message ***Tanya Lattner2003-08-273-416/+273
| | | | llvm-svn: 8153
* Fix bug: SCCP/2003-08-26-InvokeHandling.llChris Lattner2003-08-271-1/+4
| | | | llvm-svn: 8152
* First version of SchedGraph common class and refactoring of SchedGraph.Tanya Lattner2003-08-255-481/+353
| | | | llvm-svn: 8148
* As it turns out, things will be simpler than I first expected. We no longerChris Lattner2003-08-252-6/+0
| | | | | | need any exception handling intrinsics beyond llvm.unwind. (yaay) llvm-svn: 8145
* Remove special casingChris Lattner2003-08-251-3/+0
| | | | llvm-svn: 8144
* Mangle ALL letters that we do not allow, not just a few.Chris Lattner2003-08-241-14/+26
| | | | llvm-svn: 8140
* Simplify codeChris Lattner2003-08-241-3/+1
| | | | llvm-svn: 8139
* Consult the target data, not the module, about how large the current pointerChris Lattner2003-08-241-4/+4
| | | | | | | size is. This ensures that if the module has no specified pointer size that things will work correctly. llvm-svn: 8136
* Targets now configure themselves based on the source module, not on theChris Lattner2003-08-243-13/+31
| | | | | | ad-hoc "Config" flags llvm-svn: 8134
OpenPOWER on IntegriCloud