aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Wrap comments at 80 colsMisha Brukman2004-10-261-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17261 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix headerChris Lattner2004-10-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17259 91177308-0d34-0410-b5e6-96231b3b80d8
* * DataTypesFix.h moved to AIXDataTypesFix.hMisha Brukman2004-10-262-12/+9
| | | | | | | | * Condition #inclusion of AIXDataTypes.h on the _AIX preprocessor symbol to prevent extra I/O on non-AIX systems. Thus, no #ifdef in AIXDataTypes.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17257 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the unused MachineBasicBlock2IndexFunctor class.Chris Lattner2004-10-261-32/+5
| | | | | | | | Move method bodies that depend on <algorithm> out of line to MachineBasicBlock.cpp. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17252 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove method getRegClass from MRegisterInfo, as it is no longer used.Nate Begeman2004-10-261-9/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17243 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a dead class. Thanks to Morten Ofstad for pointing this out.Chris Lattner2004-10-251-26/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17222 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to support MSVC better, contributed by Morten OfstadChris Lattner2004-10-251-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17215 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to support MSVC correctly, contributed by Morten Ofstad!Chris Lattner2004-10-251-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17213 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix grammar in comments to getSizeOf()Misha Brukman2004-10-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17200 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve comments and wrap to 80 columns.Alkis Evlogimenos2004-10-241-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17198 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ConstantExpr::getSizeOf(Type*).Alkis Evlogimenos2004-10-241-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17196 91177308-0d34-0410-b5e6-96231b3b80d8
* If we're going to make the braces of functions line up for ease of readabilityMisha Brukman2004-10-191-6/+6
| | | | | | | and aesthetic reasons, might as well finish the job git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17140 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unnecessary spaces in function signatureMisha Brukman2004-10-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17139 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fit constructor initializer on a single lineMisha Brukman2004-10-191-3/+2
| | | | | | | * Delete blank chars at end of line to fit into 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17137 91177308-0d34-0410-b5e6-96231b3b80d8
* Move code to redefine INT64_{MIN,MAX} on AIX/PowerPC to a separate header,Misha Brukman2004-10-182-10/+31
| | | | | | | because #undef becomes commented out in DataTypes.h.in due to autoheader git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17135 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial implementation of the strength reduction for GEP instructions inNate Begeman2004-10-181-1/+6
| | | | | | | | | | | | | | | | | | loops. This optimization is not turned on by default yet, but may be run with the opt tool's -loop-reduce flag. There are many FIXMEs listed in the code that will make it far more applicable to a wide range of code, but you have to start somewhere :) This limited version currently triggers on the following tests in the MultiSource directory: pcompress2: 7 times cfrac: 5 times anagram: 2 times ks: 6 times yacr2: 2 times git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17134 91177308-0d34-0410-b5e6-96231b3b80d8
* * AIX on Power defines INT64_MIN and INT64_MAX in ways that annoy GCC, soMisha Brukman2004-10-181-3/+14
| | | | | | | | special-case those definitions * Add comments in #ifdef/#else/#endif clauses for ease of reading git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17132 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix miscompilations in the SparcV9 backend that were induced by this patch:Chris Lattner2004-10-181-2/+12
| | | | | | | http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041011/019311.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17130 91177308-0d34-0410-b5e6-96231b3b80d8
* Declare a function in the correct namespace.Reid Spencer2004-10-181-1/+1
| | | | | | | Patch contributed by Morten Ofstad. Thanks Morten! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17124 91177308-0d34-0410-b5e6-96231b3b80d8
* Add HAVE_BZLIB_H and HAVE_ZLIB_H tests.Reid Spencer2004-10-171-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17092 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the unreachable instructionChris Lattner2004-10-162-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17039 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new UndefValueVal typeChris Lattner2004-10-161-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17038 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new UnreachableInst classChris Lattner2004-10-161-0/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17037 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new unreachable instructionChris Lattner2004-10-161-44/+45
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17036 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new UndefValue classChris Lattner2004-10-161-0/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17035 91177308-0d34-0410-b5e6-96231b3b80d8
* UndefValue's are constantsChris Lattner2004-10-161-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17034 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the implementation of the clone method for these classes toChris Lattner2004-10-152-25/+19
| | | | | | | | Instructions.cpp, so that a vtable is not emitted into every translation unit that uses the classes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17025 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow machine operands to represent global variables with offsets. This isChris Lattner2004-10-152-21/+44
| | | | | | | | | | | | | | | | | | useful when you have a reference like: int A[100]; void foo() { A[10] = 1; } In this case, &A[10] is a single constant and should be treated as such. Only MO_GlobalAddress and MO_ExternalSymbol are allowed to use this field, no other operand type is. This is another fine patch contributed by Jeff Cohen!! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17007 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert tabs to spacesMisha Brukman2004-10-141-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16988 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure any client of Dominators.h links in Dominators.cppChris Lattner2004-10-141-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16986 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unneeded typedef, patch by Morten OfstadChris Lattner2004-10-141-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16984 91177308-0d34-0410-b5e6-96231b3b80d8
* Use explicit std:: qualification to avoid relying on Koenig lookup, whichChris Lattner2004-10-131-1/+1
| | | | | | | VC++ does not do properly. Thanks to Morten Ofstad for the patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16955 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of template templates that were preventing VC from compiling theChris Lattner2004-10-131-18/+18
| | | | | | | | set_intersect template. Thanks to Morten Ofstad and Jeff Cohen for the patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16954 91177308-0d34-0410-b5e6-96231b3b80d8
* Update doco, make doxygen more, use standard dividers.Chris Lattner2004-10-131-19/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16948 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix file comment headerMisha Brukman2004-10-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16942 91177308-0d34-0410-b5e6-96231b3b80d8
* On second thought, OpaqueType is not really a good first-class type.Misha Brukman2004-10-121-5/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16941 91177308-0d34-0410-b5e6-96231b3b80d8
* Add commentChris Lattner2004-10-121-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16937 91177308-0d34-0410-b5e6-96231b3b80d8
* Opaque types are considered to be first-class.Misha Brukman2004-10-121-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16936 91177308-0d34-0410-b5e6-96231b3b80d8
* Add std:: prefix for compilers without correct koenig lookup implemented.Chris Lattner2004-10-121-2/+2
| | | | | | | Patch contributed by Paolo Invernizzi git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16933 91177308-0d34-0410-b5e6-96231b3b80d8
* Right, calls have Operand#0 == the called function, don't forget this.Chris Lattner2004-10-121-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16930 91177308-0d34-0410-b5e6-96231b3b80d8
* New header. Classes can be added as needed.Chris Lattner2004-10-121-0/+198
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16928 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow creation of GEP constantexprs with a vector of value* operands asChris Lattner2004-10-111-2/+5
| | | | | | | | well as a vector of constant*'s. It turns out that this is more efficient and all of the clients want to do that, so we should cater to them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16923 91177308-0d34-0410-b5e6-96231b3b80d8
* Add long overdue methodsChris Lattner2004-10-114-2/+45
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16921 91177308-0d34-0410-b5e6-96231b3b80d8
* Get friendly with TypeChris Lattner2004-10-071-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16812 91177308-0d34-0410-b5e6-96231b3b80d8
* Change signature of this method againChris Lattner2004-10-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16810 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename passChris Lattner2004-10-071-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16801 91177308-0d34-0410-b5e6-96231b3b80d8
* Undoxyfy internal method.Misha Brukman2004-10-061-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16774 91177308-0d34-0410-b5e6-96231b3b80d8
* Doxygen-ify commentsMisha Brukman2004-10-061-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16773 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename method, change comment, add argumentChris Lattner2004-10-061-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16771 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix #include flavorChris Lattner2004-10-045-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16658 91177308-0d34-0410-b5e6-96231b3b80d8