Chris Lattner [Fri, 20 Jul 2001 19:15:36 +0000 (19:15 +0000)]
Add support for constant propogation of multiplies
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:15:21 +0000 (19:15 +0000)]
Factor out WriteAsOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:15:08 +0000 (19:15 +0000)]
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:14:41 +0000 (19:14 +0000)]
Add multiply as a supported constant propogation operation
Include the LevelChange.h header in AllOpts.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:14:01 +0000 (19:14 +0000)]
New function: WriteAsOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:13:28 +0000 (19:13 +0000)]
Add new base class ConstPoolInt, useful for dealing with integral constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:13:04 +0000 (19:13 +0000)]
Add new method, ensureTypeAvailable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:12:34 +0000 (19:12 +0000)]
Change is*Type to be a casting convertion operator
Add a new isIntegral virtual function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:09:33 +0000 (19:09 +0000)]
Add an function to BinaryOperator to swap the two operands
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 19:09:11 +0000 (19:09 +0000)]
Add short forms of the get*Type methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 20 Jul 2001 04:39:07 +0000 (04:39 +0000)]
Fix nasty typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jul 2001 23:43:53 +0000 (23:43 +0000)]
Fix clean target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 18 Jul 2001 23:43:37 +0000 (23:43 +0000)]
Compile source files in alphabetical order
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jul 2001 16:17:18 +0000 (16:17 +0000)]
Fixed typo in comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 21:43:45 +0000 (21:43 +0000)]
Support external methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 21:43:17 +0000 (21:43 +0000)]
New test case for prototype support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 15 Jul 2001 21:13:29 +0000 (21:13 +0000)]
Reordered link line for correct static linking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 15 Jul 2001 13:16:47 +0000 (13:16 +0000)]
Changed default to building library archives instead of shared objects.
Added support for compiling *.c files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 06:35:59 +0000 (06:35 +0000)]
Implement forward/external declarations for methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 06:35:53 +0000 (06:35 +0000)]
Implement forward/external declarations for methods. Also, emit an error if a method
is defined more than once, instead of crashing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 06:35:24 +0000 (06:35 +0000)]
Rename 'isMethodExternal' to 'isExternal'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:23:59 +0000 (00:23 +0000)]
Add notes on instruction selection pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:18:50 +0000 (00:18 +0000)]
New testcase from GCC doing array operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:18:39 +0000 (00:18 +0000)]
Add support for assembly printing fp constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:17:23 +0000 (00:17 +0000)]
Add support to the bytecode writer to recognize floating point constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:17:18 +0000 (00:17 +0000)]
Add support to the bytecode reader to recognize floating point constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:17:01 +0000 (00:17 +0000)]
Add support to the parser to recognize floating point constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:16:38 +0000 (00:16 +0000)]
Add a function to convert a double to a string
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:16:22 +0000 (00:16 +0000)]
Add support to write and read a fixed amount of raw data
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Jul 2001 00:16:02 +0000 (00:16 +0000)]
Add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:13:19 +0000 (06:13 +0000)]
* ValueHolder now takes 3 arguments
* Added a few methods to ConstantPool
* ConstPoolVal no longer derives from Value
* Method & Module multiply inherit from SymTabValue & Value now
* Added a GetElementPtrInst::isStructSelector() method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:11:51 +0000 (06:11 +0000)]
Add knowledge about the struct form of the GetElementPtr instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:11:26 +0000 (06:11 +0000)]
Remove dependency on the structure of ValueHolder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:10:49 +0000 (06:10 +0000)]
* The parent of a constant pool is a symtabvalue, not a value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:10:33 +0000 (06:10 +0000)]
The parent of a constant pool is a symtabvalue, not a value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:10:16 +0000 (06:10 +0000)]
Added some comments, preparing to add global variables and method prototypes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:08:51 +0000 (06:08 +0000)]
* The parent of a constant pool is a SymTabValue, not a value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:07:58 +0000 (06:07 +0000)]
Made the following changes:
* ValueHolder became a 3 argument template. This allows for BasicBlock to
use the value holder arg as a typesafe parent pointer.
* SymTabValue no longer inherits from Value
* Method does not inherit from only SymTabValue. Now it inherits from both
STV & Value.
* Module does not inherit from only SymTabValue. Now it inherits from both
STV & Value.
* Updated the SymTabValue.h file to reference SymTabValue instead of STDef
in several places
* Added isArraySelector & isStructSelector to GetElementPtr instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 14 Jul 2001 06:04:27 +0000 (06:04 +0000)]
Added more todo's. Don't I ever accomplish anything?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Jul 2001 23:35:26 +0000 (23:35 +0000)]
Add DebugValue member.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Jul 2001 23:35:11 +0000 (23:35 +0000)]
Made it not inline
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Jul 2001 23:33:53 +0000 (23:33 +0000)]
Add DebugValue global function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2001 19:38:52 +0000 (19:38 +0000)]
Don't clean out the type plane of the constant pool... this is a hack. FIXME
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2001 19:38:36 +0000 (19:38 +0000)]
Make sure that types go in the constant pool if they are used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2001 19:38:26 +0000 (19:38 +0000)]
hasSideEffects should be marked virtual
stores and free's have sideeffects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2001 19:38:08 +0000 (19:38 +0000)]
Modify notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2001 16:54:29 +0000 (16:54 +0000)]
Fix stupid typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2001 03:27:08 +0000 (03:27 +0000)]
Initial checkin of coding standards
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2001 00:26:23 +0000 (00:26 +0000)]
Updated documentation for load, store & getelementptr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 23:23:30 +0000 (23:23 +0000)]
add coverage of newly implemented instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 23:22:50 +0000 (23:22 +0000)]
Implementation of Store & GetElementPtr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 21:18:49 +0000 (21:18 +0000)]
Implement checking for new instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 21:18:41 +0000 (21:18 +0000)]
Add note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 21:10:27 +0000 (21:10 +0000)]
Implemented shl, shl, & load instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 19:03:27 +0000 (19:03 +0000)]
Moved Cast from being a Unary instruction to being an "Other" instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 18:38:36 +0000 (18:38 +0000)]
Use the CDG to mark branches alive on demand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 18:38:18 +0000 (18:38 +0000)]
Add a new "addOperand" method to User.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 05:54:09 +0000 (05:54 +0000)]
Fixed post dominator frontiers! Yaay!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 04:57:15 +0000 (04:57 +0000)]
Neg instruction removed. Cast instruction implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Jul 2001 04:56:59 +0000 (04:56 +0000)]
Neg instruction removed. TODO item fulfilled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 20:54:19 +0000 (20:54 +0000)]
Removing unnecesary file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 20:17:23 +0000 (20:17 +0000)]
Convert BinaryOperand and UnaryOperator to only take instruction types of
the appropriate enum
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 19:24:15 +0000 (19:24 +0000)]
Broad superficial changes:
* Renamed getOpcode to getOpcodeName
* Changed getOpcodeName to return a const char * instead of string
* Added a getOpcode method to replace getInstType
* Changed code to use getOpcode instead of getInstType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 19:00:36 +0000 (19:00 +0000)]
Devirtualize User::dropAllReferences
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 18:42:52 +0000 (18:42 +0000)]
Remove dtor's that simply call dropAllReferences
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 08:36:50 +0000 (08:36 +0000)]
Changed the fundemental architecture of Operands for Instructions. Now
Operands are maintained as a vector<Use> in the User class, and operator
iterators are provided as before. Getting an operand no longer requires
a virtual function call.
WARNING: getOperand(x) where x >= getNumOperands() will now assert instead
of returning null!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 08:36:30 +0000 (08:36 +0000)]
Changed memory reference instructions to store the result as the implicit
type of the instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 08:36:05 +0000 (08:36 +0000)]
Fixed some error messages to be nicer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Jul 2001 08:33:39 +0000 (08:33 +0000)]
Add note about nuking Instruction::neg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Jul 2001 22:00:42 +0000 (22:00 +0000)]
Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Jul 2001 16:59:10 +0000 (16:59 +0000)]
Add better support for post dominator information.
Print method name for each analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Jul 2001 16:58:36 +0000 (16:58 +0000)]
Add method to unify all exit nodes of a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Jul 2001 16:58:22 +0000 (16:58 +0000)]
Implement support for postdominators, except in dom frontiers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Jul 2001 16:57:52 +0000 (16:57 +0000)]
New file, includes method to merge exit nodes together
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Jul 2001 16:57:21 +0000 (16:57 +0000)]
* Add a DominatorBase base class to maintain root of Dominator info
* Implement post dominator support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Jul 2001 16:56:17 +0000 (16:56 +0000)]
* Added comments
* Made iterators inherit from appropriate iterator base class
* Abstracted out graphs from depth first iterator
* Add "Inverse" traversal of CFG
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Jul 2001 16:32:07 +0000 (16:32 +0000)]
Update to include right file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 15:30:38 +0000 (15:30 +0000)]
Initial checkin of analyze tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 15:30:21 +0000 (15:30 +0000)]
Build new analyze tool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 15:30:10 +0000 (15:30 +0000)]
Added analyze to path for SetupOpt script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 15:29:48 +0000 (15:29 +0000)]
Add analyze tool to path for Setup script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 15:28:35 +0000 (15:28 +0000)]
IntervalPartition was changed to inherit from vector<Interval*> instead of
contain it so that it would have full iterator access without much work.
Writer includes code to print out IntervalPartition's now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 15:28:08 +0000 (15:28 +0000)]
IntervalPartition was changed to inherit from vector<Interval*> instead of
contain it so that it would have full iterator access without much work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 15:27:41 +0000 (15:27 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 05:37:26 +0000 (05:37 +0000)]
Checkin of new Analysis result printing header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 05:36:34 +0000 (05:36 +0000)]
Code got moved from the lib/Assembly/Writer/IntervalWriter.cpp file to
here. Updates to correct description n stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 05:35:52 +0000 (05:35 +0000)]
Remove code for printing out Analysis data structures. It got moved
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 05:35:23 +0000 (05:35 +0000)]
Update documentation a bit, correct #include guard
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Jul 2001 05:35:04 +0000 (05:35 +0000)]
Add note about tool idea. Change command line of note to be more specific
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Jul 2001 05:46:47 +0000 (05:46 +0000)]
Add printing code for dominator info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Jul 2001 05:46:38 +0000 (05:46 +0000)]
Checkin of new dominator calculation routines. These will be improved in
the future to do post dominators and stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Jul 2001 05:45:30 +0000 (05:45 +0000)]
Enable printing of dominator related information.
Theis will eventually be moved!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Jul 2001 05:45:17 +0000 (05:45 +0000)]
Add new anaysis routines for building dominator related information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Jul 2001 01:09:41 +0000 (01:09 +0000)]
Addition of 'deleter' function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Jul 2001 01:08:08 +0000 (01:08 +0000)]
Moved deleter to include/llvm/Tools/STLExtras.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 30 Jun 2001 06:39:11 +0000 (06:39 +0000)]
Initial checkin. Should print dead instructions, except it doesn't do
control dependencies. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 30 Jun 2001 06:38:31 +0000 (06:38 +0000)]
Include ADCE pass, rename include/Opt directory to llvm/Optimizations
Optimizations now in opt namespace.
Rename SCCP pass to DoSCCP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 30 Jun 2001 06:37:43 +0000 (06:37 +0000)]
Rename DoSparseConditionalConstantProp -> DoSCCP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 30 Jun 2001 06:37:33 +0000 (06:37 +0000)]
Add note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 30 Jun 2001 06:37:16 +0000 (06:37 +0000)]
Add prototypes for ADCE pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115
91177308-0d34-0410-b5e6-
96231b3b80d8