summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* getBasicBlocks() is not needed anymore for reading Method dataChris Lattner2001-06-271-1/+1
| | | | llvm-svn: 85
* Added methods to make dealing with switches and branch instructionsChris Lattner2001-06-271-1/+22
| | | | | | more tolerable. llvm-svn: 84
* Minor formating changesChris Lattner2001-06-271-2/+6
| | | | llvm-svn: 83
* Make a new GenericBinaryInst class, instead of providing lots of sillyChris Lattner2001-06-271-15/+7
| | | | | | little classes. llvm-svn: 82
* Convert postincrements to more efficient preincrementsChris Lattner2001-06-271-2/+2
| | | | llvm-svn: 81
* Add a new slew of functions to allow dynamic_cast<> like operation forChris Lattner2001-06-271-1/+59
| | | | | | upcasting Value's to their subclasses. llvm-svn: 80
* Add extra forwarding accessor methods so that getMethodList(), getBasicBlocks()Chris Lattner2001-06-273-17/+101
| | | | | | | and getInstList() are obsolete... except for when modifying those lists. This makes code much more succinct and to the point. llvm-svn: 79
* Add more notesChris Lattner2001-06-271-0/+20
| | | | llvm-svn: 78
* Filter out some more stuffChris Lattner2001-06-271-1/+1
| | | | llvm-svn: 77
* Moved UnaryOperator::create to InstrTypes.cpp until there is an iUnaryOps.cppChris Lattner2001-06-254-33/+47
| | | | | | | Moved BinaryOperator::create to iBinaryOperators.cpp Add getUniqueName to SymbolTable llvm-svn: 76
* Implement induction variable injection!Chris Lattner2001-06-251-12/+76
| | | | llvm-svn: 75
* Renamed get.*Operator to create seeing that it would have to be qualifiedChris Lattner2001-06-253-8/+7
| | | | | | with the classname anyways. llvm-svn: 74
* * Rename get.*Operator to create seeing that it would have to be qualifiedChris Lattner2001-06-255-12/+45
| | | | | | | | | with the classname anyways. * Add an isPHINode() method to Instruction * Add getUniqueName() to SymbolTable class * Add an insert method to ValueHolder llvm-svn: 73
* A silly stupid test of the loop depth calculator was added. REMOVE in theChris Lattner2001-06-251-0/+11
| | | | | | future. llvm-svn: 72
* IntervalPartition: recode to use IntervalIterator to do all the workChris Lattner2001-06-252-117/+75
| | | | | | | LoopDepth.cpp: new file that calculates the depth of a loop, using IntervalPartitions. llvm-svn: 71
* Add a helper function bind_objChris Lattner2001-06-251-0/+16
| | | | llvm-svn: 70
* Big changes. Interval*.h is now more or less finalized. IntervalPartitionChris Lattner2001-06-254-64/+106
| | | | | | | | | | | | | is recoded to use IntervalIterators. IntervalIterators can now maintain their own memory or let an external entity do it. Loop depth is a new user of IntervalPartition for calculating the loop nesting depth of a basic block TODO: add IntervalPartition capability to split intervals between the looping portion and the "tail" portion. llvm-svn: 69
* CFG.h: change the iterator tagChris Lattner2001-06-252-1/+3
| | | | | | Method.h: Add an iterator type. llvm-svn: 68
* ValueHolder's aren't interseting to me anymoreChris Lattner2001-06-251-1/+1
| | | | llvm-svn: 67
* New file due to the Intervals.h splitupChris Lattner2001-06-241-0/+181
| | | | llvm-svn: 66
* New files due to the Intervals.h splitupChris Lattner2001-06-242-0/+346
| | | | llvm-svn: 65
* Add a useless phi for testing with InductionVariables stuffChris Lattner2001-06-241-0/+1
| | | | llvm-svn: 64
* #include a different header due to Intervals.h splitting upChris Lattner2001-06-242-10/+48
| | | | llvm-svn: 63
* IntervalPartition & IntervalIterator classes have been split out intoChris Lattner2001-06-241-197/+4
| | | | | | their own .h files & .cpp file llvm-svn: 62
* IntervalPartition & IntervalIterator classes have been split out intoChris Lattner2001-06-241-316/+24
| | | | | | their own .h files llvm-svn: 61
* Prepare for split between Interval, IntervalIterator, and IntervalIPartitionChris Lattner2001-06-241-2/+2
| | | | llvm-svn: 60
* Addition of IntervalIterator. Preparing for rename of Intervals.h toChris Lattner2001-06-241-6/+197
| | | | | | Interval.h, IntervalPartition.h, and IntervalIterator.h llvm-svn: 59
* Added notesChris Lattner2001-06-241-0/+30
| | | | llvm-svn: 58
* Implement a lot more functionality. Now loop invariant and linearChris Lattner2001-06-221-5/+253
| | | | | | induction variables are correctly identified. llvm-svn: 57
* Interval::HeaderNode is now accessed thorugh an accessor functionChris Lattner2001-06-221-1/+1
| | | | llvm-svn: 56
* Add commentsChris Lattner2001-06-221-5/+17
| | | | | | Interval::HeaderNode is now accessed thorugh an accessor function llvm-svn: 55
* Add accessor methods to binary/unary operatorsChris Lattner2001-06-222-0/+18
| | | | | | Add extra helper methods to PHI class llvm-svn: 54
* Add a space to the PHI node output code to make it look nicerChris Lattner2001-06-211-2/+2
| | | | llvm-svn: 53
* Moved printing code to the Assembly/Writer library.Chris Lattner2001-06-212-27/+67
| | | | | | Code now detects looping intervals llvm-svn: 52
* Implement the new Interval::isLoop methodChris Lattner2001-06-211-0/+29
| | | | | | Implement destructor to free memory llvm-svn: 51
* New header file defined with neeto utilities put in one placeChris Lattner2001-06-211-0/+163
| | | | llvm-svn: 50
* Modified to use the new reduce_apply algorithmChris Lattner2001-06-211-5/+3
| | | | llvm-svn: 49
* * Added capability to print out an intervalChris Lattner2001-06-211-0/+11
| | | | llvm-svn: 48
* * Added commentsChris Lattner2001-06-211-7/+20
| | | | | | | | | * Added prototype for new Interval::isLoop method * Added destructor to free memory * Added IntervalPartition::isDegeneratePartition method * Added IntervalPartition::size() method llvm-svn: 47
* Add a test case: an irreducible flow graph.Chris Lattner2001-06-211-0/+14
| | | | llvm-svn: 46
* Get rid of a silly printout that isn't needed right nowChris Lattner2001-06-201-1/+1
| | | | llvm-svn: 45
* Add noteChris Lattner2001-06-201-0/+1
| | | | llvm-svn: 44
* New test caseChris Lattner2001-06-201-0/+29
| | | | llvm-svn: 43
* Add capability to print a derived interval graphChris Lattner2001-06-201-0/+9
| | | | llvm-svn: 42
* Add capability to build a derived interval graphChris Lattner2001-06-202-48/+225
| | | | llvm-svn: 41
* Factor the predeclarations of the CFG.h functionality into a seperate, new ↵Chris Lattner2001-06-203-139/+173
| | | | | | | | | | header file: CFGdecls.h This allows the addition of BasicBlock::(pred|succ)_iterator typedefs. llvm-svn: 40
* Initial Checking of Interval handling codeChris Lattner2001-06-201-0/+85
| | | | llvm-svn: 39
* Add stub for induction variable codeChris Lattner2001-06-201-0/+1
| | | | llvm-svn: 38
* Add a more complex test caseChris Lattner2001-06-201-0/+43
| | | | llvm-svn: 37
* Add a test case for interval codeChris Lattner2001-06-201-0/+44
| | | | llvm-svn: 36
OpenPOWER on IntegriCloud