summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll, which is partChris Lattner2007-01-131-3/+13
| | | | | | of PR1107 llvm-svn: 33185
* Fix indentation to prior level for easier diffs.Reid Spencer2007-01-131-70/+69
| | | | llvm-svn: 33184
* Regenerate.Reid Spencer2007-01-135-4079/+3723
| | | | llvm-svn: 33182
* Bye bye bool. AsmWriter doesn't generate it any more so AsmParser shouldn'tReid Spencer2007-01-132-6/+8
| | | | | | read it any more. This is consistent with the new IR as well. llvm-svn: 33181
* "Default context" blocks can occur after a non-default one. This meantNick Lewycky2007-01-131-8/+12
| | | | | | | | | that properties were being applied where they didn't belong. Fixes crash in new MiBench testcase. Also mark debugging code as such in #ifdef. llvm-svn: 33177
* Fix a FIXME. 1 bit integer types are now printed as i1 not bool.Reid Spencer2007-01-131-4/+1
| | | | llvm-svn: 33176
* Fix a minor bug handling constant exprs, introduced by a recent patch.Chris Lattner2007-01-131-1/+1
| | | | llvm-svn: 33175
* Make sure the IntegerValType has enough space for 2^23 bits.Reid Spencer2007-01-131-1/+1
| | | | llvm-svn: 33168
* Make sure that GEP indices are only 32 or 64 bits. We're not ready forReid Spencer2007-01-131-6/+10
| | | | | | indices with other bit sizes yet. llvm-svn: 33167
* Get rid of some useless distinction between bool and integer.Reid Spencer2007-01-131-11/+4
| | | | llvm-svn: 33166
* fix a bug in a recent patchChris Lattner2007-01-131-1/+1
| | | | llvm-svn: 33164
* Remove this file. It was inadvertently added because I could not findReid Spencer2007-01-121-40/+0
| | | | | | TargetLowering.cpp in CodeGen/SelectionDAG (location makes no sense to me) llvm-svn: 33160
* Compensate for loss of DerivedTypes.h in TargetLowering.hReid Spencer2007-01-121-0/+1
| | | | llvm-svn: 33159
* Move a function out of line.Reid Spencer2007-01-121-0/+21
| | | | llvm-svn: 33158
* remove over-general code.Chris Lattner2007-01-121-3/+3
| | | | llvm-svn: 33157
* remove unneeded special case for boolChris Lattner2007-01-121-6/+1
| | | | llvm-svn: 33156
* Eliminate a log(n) lookupChris Lattner2007-01-121-3/+3
| | | | llvm-svn: 33155
* Adjust #includes to compensate for lost of DerivedTypes.h inReid Spencer2007-01-122-0/+2
| | | | | | TargetLowering.h llvm-svn: 33154
* Add a new home for TargetLowering member functions.Reid Spencer2007-01-121-0/+40
| | | | llvm-svn: 33152
* remove obsolete fixmeChris Lattner2007-01-121-3/+0
| | | | llvm-svn: 33151
* simplify some codeChris Lattner2007-01-121-8/+2
| | | | llvm-svn: 33150
* Minor fix.Evan Cheng2007-01-121-1/+1
| | | | llvm-svn: 33149
* Remove over-general comparisonsChris Lattner2007-01-121-4/+6
| | | | llvm-svn: 33147
* Allow isAllOnesValue testing on packed constantsJim Laskey2007-01-121-0/+16
| | | | llvm-svn: 33146
* Don't add or sub zero to sp.Lauro Ramos Venancio2007-01-121-6/+10
| | | | llvm-svn: 33142
* Build constants using instructions mov/orr or mvn/eor.Lauro Ramos Venancio2007-01-124-89/+186
| | | | llvm-svn: 33141
* s/addPassToManager/add/gDevang Patel2007-01-121-4/+4
| | | | llvm-svn: 33138
* RegenerateAnton Korobeynikov2007-01-123-4656/+6108
| | | | llvm-svn: 33137
* * PIC codegen for X86/Linux has been implementedAnton Korobeynikov2007-01-1219-143/+358
| | | | | | | | * PIC-aware internal structures in X86 Codegen have been refactored * Visibility (default/weak) has been added * Docs fixes (external weak linkage, visibility, formatting) llvm-svn: 33136
* Move PMTopLevelManager, PMDataManager and FPPassManger classes intoDevang Patel2007-01-121-323/+38
| | | | | | | | new PassManagers.h header. This opens door for implementing CGPassManager in IPA library. llvm-svn: 33135
* Remove a bunch of duplicated code. Among other things, this fixesChris Lattner2007-01-121-93/+50
| | | | | | constant folding of signed comparisons of bool. llvm-svn: 33134
* eliminate redundant checkChris Lattner2007-01-121-1/+0
| | | | llvm-svn: 33132
* regenerateChris Lattner2007-01-123-4326/+3197
| | | | llvm-svn: 33131
* This production is dead, the lexer can never return 'NOT'Chris Lattner2007-01-121-14/+1
| | | | llvm-svn: 33130
* Branch conditions must be i1Chris Lattner2007-01-121-3/+1
| | | | llvm-svn: 33129
* don't discriminate against boolChris Lattner2007-01-121-1/+1
| | | | llvm-svn: 33128
* remove unneeded special casesChris Lattner2007-01-121-7/+0
| | | | llvm-svn: 33127
* GEP operands can't be boolsChris Lattner2007-01-121-6/+3
| | | | llvm-svn: 33125
* Simplify codeChris Lattner2007-01-121-4/+1
| | | | llvm-svn: 33123
* Remove dead code.Devang Patel2007-01-121-225/+26
| | | | llvm-svn: 33121
* Regenerate.Reid Spencer2007-01-122-79/+79
| | | | llvm-svn: 33117
* Integer type names need 1 or more digits, not zero or more.Reid Spencer2007-01-121-1/+1
| | | | llvm-svn: 33116
* Always write 1 bit integers as i1 not "bool".Reid Spencer2007-01-121-5/+1
| | | | llvm-svn: 33115
* Comment.Evan Cheng2007-01-121-1/+1
| | | | llvm-svn: 33114
* For PR1064:Reid Spencer2007-01-1235-3305/+3906
| | | | | | | | | | | | | | | | | | | | | | | Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64 bit integers. This change does several things: 1. Introduces a new Derived Type, IntegerType, to represent the number of bits in an integer. The Type classes SubclassData field is used to store the number of bits. This allows 2^23 bits in an integer type. 2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and 64-bit integers. These are replaced with just IntegerType which is not a primitive any more. 3. Adjust the rest of LLVM to account for this change. Note that while this incremental change lays the foundation for arbitrary bit-width integers, LLVM has not yet been converted to actually deal with them in any significant way. Most optimization passes, for example, will still only deal with the byte-width integer types. Future increments will rectify this situation. llvm-svn: 33113
* Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer2007-01-1224-129/+168
| | | | | | | | recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t). This implements those changes. llvm-svn: 33110
* Store default libgcc routine names and allow them to be redefined by target.Evan Cheng2007-01-122-82/+205
| | | | llvm-svn: 33105
* If we know that it's a constant being casted, propagate through the castNick Lewycky2007-01-121-1/+10
| | | | | | | instruction. Doesn't work the other way though (can't recover bits that have been truncated). llvm-svn: 33104
* Clean up logic after ConstantBool removal.Nick Lewycky2007-01-121-20/+14
| | | | llvm-svn: 33096
* Start using PMStack. Now each pass is responsibe for assingingDevang Patel2007-01-111-28/+23
| | | | | | | | a pass manager for itself. There is some opportunity to remove some dead code from PassManager.cpp. llvm-svn: 33087
OpenPOWER on IntegriCloud