| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Enable support for returning i1, i8, and i16. Nothing special todo as it's the | Chad Rosier | 2011-11-08 | 2 | -1/+9 |
| | | | | | | | | | callee's responsibility to sign or zero-extend the return value. The additional test case just checks to make sure the calls are selected (i.e., -fast-isel-abort doesn't assert). llvm-svn: 144047 | ||||
| * | Revert r144034 while I try to track down a crash. | Eli Friedman | 2011-11-07 | 1 | -19/+3 |
| | | | | | llvm-svn: 144044 | ||||
| * | This code is dead, what with the new EH model and the auto-upgraders in place. | Bill Wendling | 2011-11-07 | 1 | -639/+12 |
| | | | | | | | Delete! llvm-svn: 144043 | ||||
| * | Kill and collapse outstanding DomainValues. | Jakob Stoklund Olesen | 2011-11-07 | 1 | -5/+14 |
| | | | | | | | | | | | | | DomainValues that are only used by "don't care" instructions are now collapsed to the first possible execution domain after all basic blocks have been processed. This typically means the PS domain on x86. For example, the vsel_i64 and vsel_double functions in sse2-blend.ll are completely collapsed to the PS domain instead of containing a mix of execution domains created by isel. llvm-svn: 144037 | ||||
| * | InstCombine now optimizes vector udiv by power of 2 to shifts | Pete Cooper | 2011-11-07 | 1 | -5/+9 |
| | | | | | | | Fixes r8429 llvm-svn: 144036 | ||||
| * | Add a bunch of calls to RemoveDeadNode in LegalizeDAG, so legalization ↵ | Eli Friedman | 2011-11-07 | 1 | -3/+19 |
| | | | | | | | doesn't get confused by CSE later on. Fixes PR11318. llvm-svn: 144034 | ||||
| * | Add all completed and named types to the dwarf type accelerator tables. | Eric Christopher | 2011-11-07 | 2 | -2/+7 |
| | | | | | llvm-svn: 144027 | ||||
| * | Use a reverse post order instead of a DFS order. | Jakob Stoklund Olesen | 2011-11-07 | 1 | -6/+5 |
| | | | | | | | | | The enterBasicBlock() function is combining live-out values from predecessor blocks. The RPO traversal means that more predecessors have been visited when that happens, only back-edges are missing. llvm-svn: 144025 | ||||
| * | Move the hash function to using and taking a StringRef. | Eric Christopher | 2011-11-07 | 1 | -4/+4 |
| | | | | | llvm-svn: 144024 | ||||
| * | Simple destructor to delete the hash data we created earlier. | Eric Christopher | 2011-11-07 | 2 | -0/+6 |
| | | | | | llvm-svn: 144023 | ||||
| * | Allow i1 to be promoted to i32 for ARM AAPCS and AAPCS-VFP calling ↵ | Chad Rosier | 2011-11-07 | 1 | -1/+1 |
| | | | | | | | convention as well. llvm-svn: 144021 | ||||
| * | Extract two methods. No functional change. | Jakob Stoklund Olesen | 2011-11-07 | 1 | -18/+26 |
| | | | | | llvm-svn: 144020 | ||||
| * | Various Mips64 floating point instruction patterns. | Akira Hatanaka | 2011-11-07 | 1 | -3/+18 |
| | | | | | llvm-svn: 144019 | ||||
| * | Add definition of the base class for floating point comparison instructions | Akira Hatanaka | 2011-11-07 | 1 | -8/+8 |
| | | | | | | | and add Mips64's version too. llvm-svn: 144018 | ||||
| * | Add code needed for copying between 64-bit integer and floating pointer | Akira Hatanaka | 2011-11-07 | 1 | -0/+6 |
| | | | | | | | registers. llvm-svn: 144017 | ||||
| * | Add definitions of 64-bit instructions which move data between integer and | Akira Hatanaka | 2011-11-07 | 1 | -0/+8 |
| | | | | | | | floating pointer registers. llvm-svn: 144016 | ||||
| * | MBB doesn't need to be a class member. | Jakob Stoklund Olesen | 2011-11-07 | 1 | -6/+4 |
| | | | | | llvm-svn: 144015 | ||||
| * | Fix pass name after the source was moved. | Jakob Stoklund Olesen | 2011-11-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 144014 | ||||
| * | Simplify some uses of utohexstr. | Benjamin Kramer | 2011-11-07 | 3 | -7/+5 |
| | | | | | | | As a side effect hex is printed lowercase instead of uppercase now. llvm-svn: 144013 | ||||
| * | Simplify code. No functionality change. | Benjamin Kramer | 2011-11-07 | 1 | -155/+91 |
| | | | | | llvm-svn: 144012 | ||||
| * | Make sure we don't insert instructions before a landingpad instruction. | Bill Wendling | 2011-11-07 | 1 | -2/+2 |
| | | | | | | | <rdar://problem/10405911> llvm-svn: 144000 | ||||
| * | Expand V_SET0 to xorps by default. | Jakob Stoklund Olesen | 2011-11-07 | 1 | -1/+1 |
| | | | | | | | | | | The xorps instruction is smaller than pxor, so prefer that encoding. The ExecutionDepsFix pass will switch the encoding to pxor and xorpd when appropriate. llvm-svn: 143996 | ||||
| * | Add definition of 64-bit load upper immediate. | Akira Hatanaka | 2011-11-07 | 2 | -3/+4 |
| | | | | | llvm-svn: 143994 | ||||
| * | Include RegSaveAreaSize in the computation of stack size. | Akira Hatanaka | 2011-11-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 143993 | ||||
| * | Define functions that get or set the size of area on callee's stack frame which | Akira Hatanaka | 2011-11-07 | 1 | -1/+10 |
| | | | | | | | is used to save va_arg or byval arguments passed in registers. llvm-svn: 143992 | ||||
| * | Use array_lengthof to compute the number of iterations of a loop. | Akira Hatanaka | 2011-11-07 | 1 | -6/+6 |
| | | | | | llvm-svn: 143991 | ||||
| * | Fix patterns for unaligned 32-bit load. DSLL32 or DSRL32 should be emitted | Akira Hatanaka | 2011-11-07 | 1 | -2/+2 |
| | | | | | | | when shift amount is larger than 32. llvm-svn: 143990 | ||||
| * | Make the type of shift amount i32 in order to reduce the number of shift | Akira Hatanaka | 2011-11-07 | 3 | -5/+7 |
| | | | | | | | instruction definitions. llvm-svn: 143989 | ||||
| * | Add 64-bit to 32-bit trunc pattern. | Akira Hatanaka | 2011-11-07 | 1 | -0/+5 |
| | | | | | llvm-svn: 143988 | ||||
| * | Use StringRef::startswith to do some string comparisons. | Eric Christopher | 2011-11-07 | 1 | -5/+2 |
| | | | | | llvm-svn: 143982 | ||||
| * | Avoid the use of a local temporary for comment twines. | Eric Christopher | 2011-11-07 | 1 | -6/+3 |
| | | | | | llvm-svn: 143974 | ||||
| * | Allow for the case where the name of the subprogram is "". | Eric Christopher | 2011-11-07 | 1 | -0/+1 |
| | | | | | | | Fixes a self-host error. llvm-svn: 143970 | ||||
| * | Don't introduce custom nodes after legalization in TargetLowering::BuildSDIV() | Richard Osborne | 2011-11-07 | 2 | -10/+16 |
| | | | | | | | and TargetLowering::BuildUDIV(). Fixes PR11283 llvm-svn: 143964 | ||||
| * | Remove unnecessary addition to API. Replace with something much simpler. | Eric Christopher | 2011-11-07 | 3 | -13/+1 |
| | | | | | llvm-svn: 143925 | ||||
| * | Add new files to cmake. | Eric Christopher | 2011-11-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 143924 | ||||
| * | Add the support code to enable the dwarf accelerator tables. Upcoming patches | Eric Christopher | 2011-11-07 | 6 | -8/+248 |
| | | | | | | | | | to fix the types section (all types, not just global types), and testcases. The code to do the final emission is disabled by default. llvm-svn: 143923 | ||||
| * | Add a new dwarf accelerator table prototype with the goal of replacing | Eric Christopher | 2011-11-07 | 2 | -0/+504 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the pubnames and pubtypes tables. LLDB can currently use this format and a full spec is forthcoming and submission for standardization is planned. A basic summary: The dwarf accelerator tables are an indirect hash table optimized for null lookup rather than access to known data. They are output into an on-disk format that looks like this: .-------------. | HEADER | |-------------| | BUCKETS | |-------------| | HASHES | |-------------| | OFFSETS | |-------------| | DATA | `-------------' where the header contains a magic number, version, type of hash function, the number of buckets, total number of hashes, and room for a special struct of data and the length of that struct. The buckets contain an index (e.g. 6) into the hashes array. The hashes section contains all of the 32-bit hash values in contiguous memory, and the offsets contain the offset into the data area for the particular hash. For a lookup example, we could hash a function name and take it modulo the number of buckets giving us our bucket. From there we take the bucket value as an index into the hashes table and look at each successive hash as long as the hash value is still the same modulo result (bucket value) as earlier. If we have a match we look at that same entry in the offsets table and grab the offset in the data for our final match. llvm-svn: 143921 | ||||
| * | Expose a way to get the beginning of the dwarf string section. | Eric Christopher | 2011-11-07 | 2 | -12/+23 |
| | | | | | llvm-svn: 143920 | ||||
| * | Fix up comment. | Eric Christopher | 2011-11-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 143919 | ||||
| * | Typo. | Eric Christopher | 2011-11-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 143918 | ||||
| * | Add AVX2 variable shift instructions and intrinsics. | Craig Topper | 2011-11-07 | 1 | -0/+40 |
| | | | | | llvm-svn: 143915 | ||||
| * | Add AVX2 VPMOVMASK instructions and intrinsics. | Craig Topper | 2011-11-07 | 1 | -0/+38 |
| | | | | | llvm-svn: 143904 | ||||
| * | Add AVX2 VEXTRACTI128 and VINSERTI128 instructions. Fix VPERM2I128 to be ↵ | Craig Topper | 2011-11-07 | 1 | -2/+38 |
| | | | | | | | qualified with HasAVX2 instead of HasAVX. Mark VINSERTF128 and VEXTRACTF128 as never having side effects. llvm-svn: 143902 | ||||
| * | More AVX2 instructions and their intrinsics. | Craig Topper | 2011-11-06 | 4 | -14/+80 |
| | | | | | llvm-svn: 143895 | ||||
| * | Replace (Lower|Upper)caseString in favor of StringRef's newest methods. | Benjamin Kramer | 2011-11-06 | 10 | -43/+21 |
| | | | | | llvm-svn: 143891 | ||||
| * | Fix a typo. | Benjamin Kramer | 2011-11-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 143890 | ||||
| * | ADT/StringRef: Add ::lower() and ::upper() methods. | Daniel Dunbar | 2011-11-06 | 1 | -0/+26 |
| | | | | | llvm-svn: 143880 | ||||
| * | Return only the least significant 8 bits of the exit status from | Peter Collingbourne | 2011-11-06 | 1 | -1/+1 |
| | | | | | | | Process::Wait on Windows (mimicing POSIX behaviour). llvm-svn: 143876 | ||||
| * | Add more AVX2 instructions and intrinsics. | Craig Topper | 2011-11-06 | 2 | -13/+96 |
| | | | | | llvm-svn: 143861 | ||||
| * | Add support for passing i1, i8, and i16 call parameters. Also, be sure to | Chad Rosier | 2011-11-05 | 1 | -28/+16 |
| | | | | | | | | zero-extend the constant integer encoding. Test case provides testing for both call parameters and materialization of i1, i8, and i16 types. llvm-svn: 143821 | ||||

