aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
Commit message (Collapse)AuthorAgeFilesLines
* added support for implict operands in machine instructionRuchira Sasanka2001-10-122-29/+76
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@728 91177308-0d34-0410-b5e6-96231b3b80d8
* --added support for implicit operands in machine instructionsRuchira Sasanka2001-10-121-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@727 91177308-0d34-0410-b5e6-96231b3b80d8
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-031-1/+1
| | | | | | | | | * ConstPoolPointerReference now represents a pointer to a GlobalValue * Methods name references are now explicit pointers to methods * Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@703 91177308-0d34-0410-b5e6-96231b3b80d8
* Commit more code over to new cast styleChris Lattner2001-10-023-9/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@697 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert more code to use new style castsChris Lattner2001-10-011-8/+11
| | | | | | | Eliminate old style casts from value.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@696 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more support for new style castsChris Lattner2001-10-011-1/+1
| | | | | | | Convert more code to use them git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@695 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for new style castsChris Lattner2001-10-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@694 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull predecessor and successor iterators out of the CFG*.h files, and plop ↵Chris Lattner2001-10-014-15/+14
| | | | | | | | | | them into the BasicBlock class where they should be. pred_begin/pred_end become methods on BasicBlock, and the cfg namespace isn't used anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@691 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Ruchira Sasanka2001-09-301-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@675 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull iterators out of CFG.h and CFGdecls and put them in Support directoryChris Lattner2001-09-283-27/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@664 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for construction of a call graphChris Lattner2001-09-281-0/+66
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@660 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the sparc target to a new lib/Target directoryChris Lattner2001-09-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@562 91177308-0d34-0410-b5e6-96231b3b80d8
* This checkin represents some cleanup of the backend, implementing the ↵Chris Lattner2001-09-141-1/+1
| | | | | | | | | | | | | | following things: 1. The TargetMachine structure is free to decide the process a particular target uses to generate code. 2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory. The Sparc.h file that is globally visible is just a stub. 3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort. NOTE! The BBLiveVar.cpp file dependant on the Sparc backend, and is therefore not generic/portale to other backends. This needs to be fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@558 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle subtract in expression classifierChris Lattner2001-09-111-45/+91
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@548 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for global variablesChris Lattner2001-09-101-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@535 91177308-0d34-0410-b5e6-96231b3b80d8
* Module analyzer no longer has to iterate over constant poolChris Lattner2001-09-071-43/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@441 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify code by eliminating need to hang onto constant pool referencesChris Lattner2001-09-071-52/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@440 91177308-0d34-0410-b5e6-96231b3b80d8
* Added directory LiveVar/Vikram S. Adve2001-08-281-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@410 91177308-0d34-0410-b5e6-96231b3b80d8
* analyze() now checks to see that we don't analyze the same method twice.Vikram S. Adve2001-08-281-1/+5
| | | | | | | Needs a mechnanism to override this check (e.g., after a transformation). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@391 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure noone branches to the entry node of the methodChris Lattner2001-08-241-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle case where there is no exit node from a flowgraphChris Lattner2001-08-231-3/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365 91177308-0d34-0410-b5e6-96231b3b80d8
* LV code on machine instructionsRuchira Sasanka2001-08-204-136/+253
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360 91177308-0d34-0410-b5e6-96231b3b80d8
* LV info on machine instructionsRuchira Sasanka2001-08-201-7/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug when compiling 'shl ubyte * %var, ubyte 2'Chris Lattner2001-07-251-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed printValue() to print constant value if the value is a constant.Ruchira Sasanka2001-07-241-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Ruchira Sasanka2001-07-246-0/+506
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-234-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279 91177308-0d34-0410-b5e6-96231b3b80d8
* More functionality, renamed APIChris Lattner2001-07-211-70/+145
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241 91177308-0d34-0410-b5e6-96231b3b80d8
* Start of expression analysis supportChris Lattner2001-07-201-0/+207
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix nasty typoChris Lattner2001-07-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204 91177308-0d34-0410-b5e6-96231b3b80d8
* * The parent of a constant pool is a SymTabValue, not a value.Chris Lattner2001-07-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed post dominator frontiers! Yaay!Chris Lattner2001-07-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement support for postdominators, except in dom frontiersChris Lattner2001-07-061-41/+173
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142 91177308-0d34-0410-b5e6-96231b3b80d8
* IntervalPartition was changed to inherit from vector<Interval*> instead ofChris Lattner2001-07-032-2/+16
| | | | | | | | | 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
* Code got moved from the lib/Assembly/Writer/IntervalWriter.cpp file toChris Lattner2001-07-031-7/+22
| | | | | | | here. Updates to correct description n stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129 91177308-0d34-0410-b5e6-96231b3b80d8
* Add printing code for dominator infoChris Lattner2001-07-021-0/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin of new dominator calculation routines. These will be improved inChris Lattner2001-07-021-0/+239
| | | | | | | 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
* Moved deleter to include/llvm/Tools/STLExtras.hChris Lattner2001-07-021-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120 91177308-0d34-0410-b5e6-96231b3b80d8
* Miscellaneous cleanups:Chris Lattner2001-06-272-33/+31
| | | | | | | | | | | | * Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71 91177308-0d34-0410-b5e6-96231b3b80d8
* New file due to the Intervals.h splitupChris Lattner2001-06-241-0/+181
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66 91177308-0d34-0410-b5e6-96231b3b80d8
* #include a different header due to Intervals.h splitting upChris Lattner2001-06-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63 91177308-0d34-0410-b5e6-96231b3b80d8
* IntervalPartition & IntervalIterator classes have been split out intoChris Lattner2001-06-241-197/+4
| | | | | | | their own .h files & .cpp file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62 91177308-0d34-0410-b5e6-96231b3b80d8
* Prepare for split between Interval, IntervalIterator, and IntervalIPartitionChris Lattner2001-06-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60 91177308-0d34-0410-b5e6-96231b3b80d8
* Interval::HeaderNode is now accessed thorugh an accessor functionChris Lattner2001-06-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved printing code to the Assembly/Writer library.Chris Lattner2001-06-211-0/+28
| | | | | | | Code now detects looping intervals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the new Interval::isLoop methodChris Lattner2001-06-211-0/+29
| | | | | | | Implement destructor to free memory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51 91177308-0d34-0410-b5e6-96231b3b80d8
* Add capability to build a derived interval graphChris Lattner2001-06-201-44/+153
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial Checking of Interval handling codeChris Lattner2001-06-201-0/+85
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial revisionChris Lattner2001-06-062-0/+157
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8