| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix PR2088. Use modulo linear equation solver to compute loop iteration | Wojciech Matyjewicz | 2008-07-20 | 1 | -1/+1 |
| | | | | | | | count. llvm-svn: 53810 | ||||
| * | Reapply 53476 and 53480, with a fix so that it properly updates | Dan Gohman | 2008-07-14 | 1 | -2/+34 |
| | | | | | | | | the BB member to the current basic block after emitting instructions. llvm-svn: 53567 | ||||
| * | Back out 53476 and 53480 for now. Somehow they cause llc to miscompile 179.art. | Evan Cheng | 2008-07-12 | 1 | -34/+2 |
| | | | | | llvm-svn: 53502 | ||||
| * | Add support for putting NamedRegionTimers in TimerGroups, and | Dan Gohman | 2008-07-11 | 1 | -2/+34 |
| | | | | | | | | | use a timer group for the timers in SelectionDAGISel. Also, Split scheduling out from emitting, to give each their own timer. llvm-svn: 53476 | ||||
| * | Use find instead of lower_bound. | Dan Gohman | 2008-07-11 | 1 | -2/+2 |
| | | | | | llvm-svn: 53474 | ||||
| * | Add some basic Pool-allocation infrastructure. This adds a Recycler class, | Dan Gohman | 2008-07-07 | 1 | -0/+7 |
| | | | | | | | | | for handling bookkeeping for deleted objects, as well as the alist class template, for keeping lists of objects allocated from Recyclers, and some related utilities. llvm-svn: 53210 | ||||
| * | Add a version of AddString that takes a const char* so we can avoid extraneous | Owen Anderson | 2008-07-01 | 1 | -0/+38 |
| | | | | | | | conversions to std::string. llvm-svn: 52995 | ||||
| * | Append to the ActiveTimers std::vector before looking at the timer instead | Dan Gohman | 2008-06-24 | 1 | -1/+1 |
| | | | | | | | | | of after, so that any reallocation it does doesn't get counted for the pass being timed. This probably doesn't account for a timing discrepancy I was looking into, but I'm fixing it anyway. llvm-svn: 52693 | ||||
| * | First step to fix PR2088. Implement routine to compute the | Wojciech Matyjewicz | 2008-06-23 | 1 | -7/+48 |
| | | | | | | | | | multiplicative inverse of a given number. Modify udivrem to allow input and output pairs of arguments to overlap. Patch is based on the work by Chandler Carruth. llvm-svn: 52638 | ||||
| * | Avoid creating a redundant zero APInt. | Dan Gohman | 2008-06-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 52602 | ||||
| * | Consistently set "Buckets[NumBuckets] = reinterpret_cast<void*>(-1)" ↵ | Ted Kremenek | 2008-06-17 | 1 | -1/+1 |
| | | | | | | | throughout FoldingSet.cpp. llvm-svn: 52425 | ||||
| * | As comments said, for negative value, the arithmetic | Zhou Sheng | 2008-06-05 | 1 | -1/+1 |
| | | | | | | | | | | over-shift-right should return -1. So here it should be signed-extended, when bitwidth larger than 64. test case: llvm/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll llvm-svn: 51999 | ||||
| * | Give a proper error message when a command line option is defined more than | Matthijs Kooijman | 2008-05-30 | 1 | -1/+1 |
| | | | | | | | | once (ie, at two different places in the source, not two times on the commandline). llvm-svn: 51771 | ||||
| * | Remove more iostream header includes. Needed to implement a "FlushStream" | Bill Wendling | 2008-05-29 | 1 | -0/+9 |
| | | | | | | | function to flush a specified std::ostream. llvm-svn: 51705 | ||||
| * | Tidy up whitespace in ConstantRange::print output. | Dan Gohman | 2008-05-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 51606 | ||||
| * | Don't assume underlying APInt type is limited | Dale Johannesen | 2008-05-14 | 1 | -1/+1 |
| | | | | | | | to 64 bits. llvm-svn: 51135 | ||||
| * | Remove undefined behavior in hex string->APFloat | Dale Johannesen | 2008-05-14 | 1 | -1/+1 |
| | | | | | | | conversion. Try 0x1.0000a4p+0f. Neil, please review. llvm-svn: 51132 | ||||
| * | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -0/+4 |
| | | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
| * | Make firstEightPowers const. | Dan Gohman | 2008-05-12 | 1 | -2/+2 |
| | | | | | llvm-svn: 50975 | ||||
| * | Remove uses of llvm/System/IncludeFile.h that are no longer needed. | Dan Gohman | 2008-05-06 | 1 | -3/+0 |
| | | | | | llvm-svn: 50695 | ||||
| * | Fix more -Wshorten-64-to-32 warnings. | Evan Cheng | 2008-05-05 | 7 | -40/+42 |
| | | | | | llvm-svn: 50659 | ||||
| * | Suppress -Wshorten-64-to-32 warnings for 64-bit hosts. | Evan Cheng | 2008-05-02 | 2 | -43/+46 |
| | | | | | llvm-svn: 50590 | ||||
| * | fcntl.h is pretty standard on unix (without the sys/) | Gabor Greif | 2008-04-30 | 1 | -2/+1 |
| | | | | | llvm-svn: 50475 | ||||
| * | Fix a pointer-arithmetic bug that caused 64-bit host pointer values to | Dan Gohman | 2008-04-28 | 1 | -1/+1 |
| | | | | | | | | be truncated to 32 bits. This fixes the recent Benchmarks/McCat/09-vor regression on x86-64, among other things. llvm-svn: 50372 | ||||
| * | Bug fix in BumpPtrAllocator: don't assume that all objects have the same ↵ | Ted Kremenek | 2008-04-28 | 1 | -6/+9 |
| | | | | | | | alignment. "Bump" of the pointer for the next allocated object to be of the specified alignment. llvm-svn: 50362 | ||||
| * | Add support for response files to the CommandLine library. | Mikhail Glushenkov | 2008-04-28 | 1 | -23/+79 |
| | | | | | llvm-svn: 50355 | ||||
| * | Make these variables static. | Dan Gohman | 2008-04-23 | 2 | -6/+6 |
| | | | | | llvm-svn: 50196 | ||||
| * | Check that APFloat::convert is not trying to target | Dale Johannesen | 2008-04-20 | 1 | -0/+1 |
| | | | | | | | | | | ppc long double, which doesn't work. This may break some stuff temporarily, but I want to avoid the propagation of code that assumes this works. llvm-svn: 49983 | ||||
| * | Use gv's --spartan option, which trades away an extra row of UI buttons | Dan Gohman | 2008-04-15 | 1 | -0/+1 |
| | | | | | | | for more space for displaying the graph. llvm-svn: 49730 | ||||
| * | Make several symbols static. | Dan Gohman | 2008-04-10 | 2 | -23/+23 |
| | | | | | llvm-svn: 49496 | ||||
| * | Fix compilation errors on MSVC. Patch by Argiris Kirtzidis! | Bill Wendling | 2008-04-01 | 1 | -1/+2 |
| | | | | | llvm-svn: 49055 | ||||
| * | Change the MemoryBuffer::getFile* methods to take just a pointer to the | Chris Lattner | 2008-04-01 | 2 | -17/+10 |
| | | | | | | | | | start of a filename, not a filename+length. All clients can produce a null terminated name, and the system api's require null terminated strings anyway. llvm-svn: 49041 | ||||
| * | Reimplement MemoryBuffer::getFile with three enhancements: | Chris Lattner | 2008-04-01 | 1 | -85/+64 |
| | | | | | | | | | | | | | | | | | | | | | | 1) stop using MappedFile. 2) if profitable use the sys::path::MapInFilePages api to read the file. 3) otherwise fallback to read. When sys::path::MapInFilePages is implemented, this provides several benefits: #1: this avoids fragmenting memory for small files. #2: this avoids extraneous stat calls when the file size is known. #3: this only keeps the file descriptor open while reading the file, not for the duration of the lifetime of the memory buffer. This fixes a serious clang FD 'leak' problem. I believe that this will work on a win32 machine, but I don't have one to test on. I'd appreciate it if someone could check. llvm-svn: 49031 | ||||
| * | Remove the MappedFile::charBase member, rename base -> getBase() and | Chris Lattner | 2008-04-01 | 1 | -3/+4 |
| | | | | | | | make getBase() return a const-correct pointer. llvm-svn: 49025 | ||||
| * | Change DiffFilesWithTolerance to be written in terms of MemoryBuffer, | Chris Lattner | 2008-04-01 | 1 | -73/+56 |
| | | | | | | | | | not an mmapped file. This more closely matches its requirements and provides an implicitly null terminated buffer, something this routine had to emulate itself before. llvm-svn: 49024 | ||||
| * | Remove MappedFile support for mapping files for write and exec | Chris Lattner | 2008-04-01 | 2 | -3/+3 |
| | | | | | | | | and shared. This complicates the design, is not used, and probably doesn't even work. llvm-svn: 49022 | ||||
| * | Add explicit keywords. | Dan Gohman | 2008-03-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 48801 | ||||
| * | A quick nm audit turned up several fixed tables and objects that were | Dan Gohman | 2008-03-25 | 2 | -2/+2 |
| | | | | | | | | marked read-write. Use const so that they can be allocated in a read-only segment. llvm-svn: 48800 | ||||
| * | Add assert for non-hexadecimal radixes. | Bill Wendling | 2008-03-16 | 1 | -0/+4 |
| | | | | | llvm-svn: 48421 | ||||
| * | Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more. | Evan Cheng | 2008-03-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 48035 | ||||
| * | Add support to APInt for shift and rotate operations with APInt | Dan Gohman | 2008-02-29 | 1 | -0/+27 |
| | | | | | | | instead of uint32_t for the shift/rotate count operand type. llvm-svn: 47741 | ||||
| * | Add a method to APFloat to convert directly from APInt. | Dan Gohman | 2008-02-29 | 1 | -0/+17 |
| | | | | | llvm-svn: 47738 | ||||
| * | Fix a bug that caused opt and other tools to silently ignore | Dan Gohman | 2008-02-23 | 1 | -1/+1 |
| | | | | | | | invalid command-line options. llvm-svn: 47523 | ||||
| * | Add explicit keywords. | Dan Gohman | 2008-02-20 | 1 | -2/+2 |
| | | | | | llvm-svn: 47382 | ||||
| * | Add 'sink' cmdline option. Patch by Mikhail Glushenkov! | Anton Korobeynikov | 2008-02-20 | 1 | -6/+18 |
| | | | | | llvm-svn: 47377 | ||||
| * | Unbreak build with gcc 4.3: provide missed includes and silence most ↵ | Anton Korobeynikov | 2008-02-20 | 5 | -0/+5 |
| | | | | | | | annoying warnings. llvm-svn: 47367 | ||||
| * | Fixed bug in APInt::Profile() where the BitWidth field was not included in the | Ted Kremenek | 2008-02-19 | 1 | -0/+2 |
| | | | | | | | | profile of the APSInt object. This caused unexpected Profile collisions where none should have occurred. llvm-svn: 47338 | ||||
| * | Fixed bug in FoldingSetIteratorImpl where we did not correctly check if | Ted Kremenek | 2008-02-15 | 1 | -2/+4 |
| | | | | | | | | we had reached the "fake bucket" after the last bucket, allowing the iterator in some cases to run off the end of the hashtable. llvm-svn: 47178 | ||||
| * | Fix a warning about comparison between signed and unsigned, | Dan Gohman | 2008-02-14 | 1 | -1/+1 |
| | | | | | | | being consistent with the rest of the APInt implementation. llvm-svn: 47138 | ||||
| * | Add countTrailingOnes member functions to APInt. | Dan Gohman | 2008-02-13 | 1 | -0/+12 |
| | | | | | llvm-svn: 47086 | ||||

