summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Use a cheaper computation.Reid Spencer2007-01-181-1/+1
| | | | llvm-svn: 33336
* Fix a regression in the last patch. When constructing a BitMask, be carefulReid Spencer2007-01-181-0/+4
| | | | | | | not to overflow 64-bits and end up with a 0 mask. This caused i64 values to always be stored as 0 with lots of consequential damage to nightly test. llvm-svn: 33335
* move contents of PR587 to here.Chris Lattner2007-01-181-0/+45
| | | | llvm-svn: 33333
* Provide an isPowerOf2ByteWidth method for the IntegerType class. This willReid Spencer2007-01-182-0/+11
| | | | | | | mostly be used by back ends that wish to distinguish between integer types that fit evenly within a natural integer type and those that don't. llvm-svn: 33328
* The zerofill directive needs a newline after it.Bill Wendling2007-01-181-1/+1
| | | | llvm-svn: 33327
* Use the new maskToBitWidth function to ensure that the results ofReid Spencer2007-01-181-10/+15
| | | | | | computations do not overflow the intended bit width. llvm-svn: 33326
* Add an inline helper function that masks a GenericValue to a specifiedReid Spencer2007-01-181-0/+12
| | | | | | bit width. llvm-svn: 33325
* Minor code clean up.Evan Cheng2007-01-182-18/+21
| | | | llvm-svn: 33323
* Make shl instruction mask its result to the correct bitsize. This isReid Spencer2007-01-181-5/+10
| | | | | | | sufficient to get llvm-test/SingleSource/UnitTests/Integer/general-test.ll working with lli in interpreter mode. llvm-svn: 33321
* Two changes:Reid Spencer2007-01-181-18/+17
| | | | | | | | | 1. Fix logic for executeGEP. Only 32-bit and 64-bit integer types are acceptable as indices. 2. Ensure that all integer cast operations truncate their result to the integer size of the operand. llvm-svn: 33318
* Make sure we truncate stored values to their bit width.Reid Spencer2007-01-181-30/+40
| | | | llvm-svn: 33317
* Have the OutputBuffer take the is64Bit and isLittleEndian booleans.Bill Wendling2007-01-184-28/+36
| | | | llvm-svn: 33316
* Modify emission of jump tables on darwin to emit an extra "l" label thatChris Lattner2007-01-182-0/+14
| | | | | | | delimits the boundaries of jump tables. This lets the linker's dead code stripping optimization do a better job. llvm-svn: 33315
* add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission.Chris Lattner2007-01-183-1/+17
| | | | llvm-svn: 33314
* For PR1028:Reid Spencer2007-01-171-2/+4
| | | | | | | | | | | | | Add the llvm.stacksave and llvm.stackrestore intrinsics that correspond to the GCC builtins __builtin_stack_save and __builtin_stack_restore. This allows the CBE to execute these builtins, and fixes: test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll External/SPEC/CINT2000/176.gcc (CBE) Patch by Gordon Henriksen. llvm-svn: 33313
* For PR1028:Reid Spencer2007-01-171-0/+12
| | | | | | | | | Ensure the CBE generates calls to GCC builtins for stack_save and stack_restore when it encounters the corresponding intrinsics. Patch by Gordon Henriksen. llvm-svn: 33312
* Changed to use the OutputBuffer instead of the methods in MachO and ELFBill Wendling2007-01-175-348/+200
| | | | | | writers. llvm-svn: 33311
* Refactored output buffer methods from MachO and ELF writers.Bill Wendling2007-01-171-0/+146
| | | | llvm-svn: 33310
* Add CGPassManager.Devang Patel2007-01-171-0/+124
| | | | llvm-svn: 33309
* Update ModulePass::assignPassManager() to take into account PreferredDevang Patel2007-01-171-4/+5
| | | | | | Pass Manager Type. llvm-svn: 33308
* s/PassDebugging_New/PassDebugging/gDevang Patel2007-01-171-5/+5
| | | | llvm-svn: 33307
* Update assignPassManager() signature to allow selection of preferredDevang Patel2007-01-172-20/+35
| | | | | | | pass manager type. This allows new FPPassManager to select Call Graph Pass Manager (if available) as its parent. llvm-svn: 33306
* For PR739:Reid Spencer2007-01-171-19/+13
| | | | | | | | | Support overriding the prefix and DESTDIR variables from the make command line. This makes the makefile system a little more GNU compliant and the feature makes it easier for distribution builders to re-target the install location of LLVM. llvm-svn: 33305
* restructure code a bit to make use of continue (simplifying things). GeneralizeChris Lattner2007-01-171-92/+95
| | | | | | the .zerofill directive emission to not be darwin-specific llvm-svn: 33304
* darwin doesn't support .bss, but it does have .zerofillChris Lattner2007-01-171-0/+2
| | | | llvm-svn: 33303
* add new directiveChris Lattner2007-01-171-0/+1
| | | | llvm-svn: 33302
* document that BSSSection can be null.Chris Lattner2007-01-171-1/+9
| | | | | | Add new ZeroFillDirective directive. llvm-svn: 33301
* Document flagAnton Korobeynikov2007-01-171-0/+3
| | | | llvm-svn: 33300
* * Fix one more bug in PIC codegen: extra load is needed for *all*Anton Korobeynikov2007-01-178-16/+57
| | | | | | | | | non-statics. * Introduce new option to output zero-initialized data to .bss section. This can reduce size of binaries. Enable it by default for ELF & Cygwin/Mingw targets. Probably, Darwin should be also added. llvm-svn: 33299
* Revert patch.Bill Wendling2007-01-1716-603/+338
| | | | llvm-svn: 33298
* The Regression directory is now gone.Reid Spencer2007-01-171-1/+1
| | | | llvm-svn: 33297
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-171786-5/+1
| | | | llvm-svn: 33296
* Make tblgen error more useful. Patch by B. Scott MichelChris Lattner2007-01-171-1/+4
| | | | llvm-svn: 33295
* make doxygen comment much better. Patch by B. Scott Michel!Chris Lattner2007-01-171-1/+31
| | | | llvm-svn: 33294
* Update for changes in location of Stacker.Reid Spencer2007-01-171-11/+16
| | | | llvm-svn: 33293
* remove obsolete commentChris Lattner2007-01-171-1/+1
| | | | llvm-svn: 33292
* Create the specified TargetObjInfo and use it.Bill Wendling2007-01-175-18/+30
| | | | llvm-svn: 33291
* Create/store/and delete the TargetObjInfo object.Bill Wendling2007-01-171-0/+2
| | | | llvm-svn: 33290
* Use the methods in the TargetObjInfo object instead of internal methods.Bill Wendling2007-01-172-126/+156
| | | | llvm-svn: 33289
* The TargetObjInfo object goes here.Bill Wendling2007-01-171-3/+18
| | | | llvm-svn: 33288
* Removed methods which are now in the respective TargetObjInfo implementations.Bill Wendling2007-01-172-191/+10
| | | | llvm-svn: 33287
* New "TargetObjInfo" class. This holds information that the object writers willBill Wendling2007-01-175-0/+387
| | | | | | | use to write things to the file. It's abstract so each target should implement its own version for each writer type. llvm-svn: 33286
* Fix this tool for use on Darwin which requires the file to come after theReid Spencer2007-01-171-1/+1
| | | | | | | | commands. Linux is more forgiving. Patch by Gordon Henriksen. Thanks, Gordon! llvm-svn: 33285
* Regenerate.Reid Spencer2007-01-173-3228/+4298
| | | | llvm-svn: 33284
* For PR1117:Reid Spencer2007-01-171-15/+12
| | | | | | | | | Make the assembler generate a nice error message if a bad cast instruction is attempted instead of asserting out. This is made possible by the recently exposed method CastInst::castIsValid() which checks the validity of any cast instruction. llvm-svn: 33283
* For PR1117:Reid Spencer2007-01-172-29/+35
| | | | | | Expose the previously hidden checkCast function as CastInst::castIsValid. llvm-svn: 33282
* Test cases for PR1117.Reid Spencer2007-01-172-0/+13
| | | | llvm-svn: 33281
* For PR1094:Reid Spencer2007-01-171-4/+4
| | | | | | | Adjust the use of SetVector for changes in SetVector's interface. Patch by Gordon Henriksen. llvm-svn: 33280
* For PR1094:Reid Spencer2007-01-171-2/+3
| | | | | | Make the SetVector::iterator be the vector's const_iterator. llvm-svn: 33279
* For PR1074:Reid Spencer2007-01-1795-43683/+0
| | | | | | | Remove the projects/Stacker directory. LLVM is now free of dependency on llvm-gcc. llvm-svn: 33278
OpenPOWER on IntegriCloud