Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a covnersion from string to bool issue used in an assert | Ron Lieberman | 2016-05-19 | 1 | -1/+1 | |
| | | | | | | | Problem Was exposed by -Wstring-conversion llvm-svn: 270087 | |||||
* | Delete Reloc::Default. | Rafael Espindola | 2016-05-18 | 1 | -2/+0 | |
| | | | | | | | | | | | | Having an enum member named Default is quite confusing: Is it distinct from the others? This patch removes that member and instead uses Optional<Reloc> in places where we have a user input that still hasn't been maped to the default value, which is now clear has no be one of the remaining 3 options. llvm-svn: 269988 | |||||
* | [scan-build] fix dead store warnings emitted on LLVM Hexagon code base | Krzysztof Parzyszek | 2016-05-13 | 2 | -2/+0 | |
| | | | | | | | | Patch by Apelete Seketeli. Differential Revision: http://reviews.llvm.org/D19900 llvm-svn: 269415 | |||||
* | [Hexagon] Handle double-vector registers as new-value producers | Krzysztof Parzyszek | 2016-04-28 | 3 | -3/+42 | |
| | | | | | | Patch by Colin LeMahieu. llvm-svn: 267897 | |||||
* | [Hexagon] Merging nops in to previous packet rather than always creating a ↵ | Colin LeMahieu | 2016-04-27 | 1 | -17/+69 | |
| | | | | | | new one. llvm-svn: 267798 | |||||
* | [Hexagon] Few fixes for exception handling | Krzysztof Parzyszek | 2016-04-25 | 2 | -1/+2 | |
| | | | | llvm-svn: 267469 | |||||
* | [Hexagon] Correctly set "Flags" in ELF header | Krzysztof Parzyszek | 2016-04-25 | 1 | -3/+7 | |
| | | | | llvm-svn: 267397 | |||||
* | Fix a couple assertions that can never fire because they just contained the ↵ | Craig Topper | 2016-04-24 | 1 | -1/+1 | |
| | | | | | | text string which always evaluates to true. Add a ! so they'll evaluate to false. llvm-svn: 267312 | |||||
* | [Hexagon] Add -mv.. options to override CPU selection | Krzysztof Parzyszek | 2016-04-20 | 1 | -3/+39 | |
| | | | | | | | This is for compatibility with scripts that use -mv5, etc. with the assembler. llvm-svn: 266918 | |||||
* | [Hexagon] Fix handling of lcomm directive | Krzysztof Parzyszek | 2016-04-20 | 1 | -7/+12 | |
| | | | | | | Patch by Colin LeMahieu. llvm-svn: 266882 | |||||
* | [NFC] Header cleanup | Mehdi Amini | 2016-04-18 | 3 | -5/+2 | |
| | | | | | | | | | | | | | | Removed some unused headers, replaced some headers with forward class declarations. Found using simple scripts like this one: clear && ack --cpp -l '#include "llvm/ADT/IndexedMap.h"' | xargs grep -L 'IndexedMap[<]' | xargs grep -n --color=auto 'IndexedMap' Patch by Eugene Kosov <claprix@yandex.ru> Differential Revision: http://reviews.llvm.org/D19219 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266595 | |||||
* | [Hexagon] Add handling fixups and instruction relaxation | Krzysztof Parzyszek | 2016-03-21 | 1 | -112/+451 | |
| | | | | llvm-svn: 263981 | |||||
* | [Hexagon] Properly encode registers in duplex instructions | Krzysztof Parzyszek | 2016-03-21 | 3 | -6/+126 | |
| | | | | llvm-svn: 263980 | |||||
* | [Hexagon] Modifying r262258 to only be in effect in the hand assembler path, ↵ | Colin LeMahieu | 2016-03-01 | 1 | -14/+2 | |
| | | | | | | not the integrated assembler. llvm-svn: 262400 | |||||
* | [Hexagon] As a size optimization, not lazy extending TPREL or DTPREL ↵ | Colin LeMahieu | 2016-02-29 | 1 | -8/+14 | |
| | | | | | | variants since they're usually in range. llvm-svn: 262258 | |||||
* | [Hexagon] Missed member initialization causing ubsan failure. | Colin LeMahieu | 2016-02-29 | 1 | -1/+2 | |
| | | | | llvm-svn: 262252 | |||||
* | [Hexagon] Setting sign mismatch flag on expression instead of using bit tricks. | Colin LeMahieu | 2016-02-29 | 2 | -0/+11 | |
| | | | | llvm-svn: 262243 | |||||
* | [Hexagon] Using MustExtend flag on expression instead of passing around bools. | Colin LeMahieu | 2016-02-29 | 2 | -11/+13 | |
| | | | | llvm-svn: 262238 | |||||
* | [Hexagon] Remove redundant check. | Chad Rosier | 2016-02-18 | 1 | -2/+2 | |
| | | | | llvm-svn: 261232 | |||||
* | [Hexagon] Implement TLS support | Krzysztof Parzyszek | 2016-02-18 | 1 | -1/+21 | |
| | | | | | | Patch by Anand Kodnani. llvm-svn: 261218 | |||||
* | [Hexagon] Replacing reference/dereference with reference cast. | Colin LeMahieu | 2016-02-17 | 1 | -4/+4 | |
| | | | | llvm-svn: 261133 | |||||
* | [Hexagon] cast<> a reference instead of referencing + dereferencing. | Benjamin Kramer | 2016-02-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 261077 | |||||
* | [Hexagon] Adding relocation for code size, cold path optimization allowing a ↵ | Colin LeMahieu | 2016-02-16 | 7 | -1/+33 | |
| | | | | | | | | | | | | 23-bit 4-byte aligned relocation to be a valid instruction encoding. The usual way to get a 32-bit relocation is to use a constant extender which doubles the size of the instruction, 4 bytes to 8 bytes. Another way is to put a .word32 and mix code and data within a function. The disadvantage is it's not a valid instruction encoding and jumping over it causes prefetch stalls inside the hardware. This relocation packs a 23-bit value in to an "r0 = add(rX, #a)" instruction by overwriting the source register bits. Since r0 is the return value register, if this instruction is placed after a function call which return void, r0 will be filled with an undefined value, the prefetch won't be confused, and the callee can access the constant value by way of the link register. llvm-svn: 261006 | |||||
* | [Hexagon] Hoist nonnull assert up. | Benjamin Kramer | 2016-02-16 | 1 | -0/+1 | |
| | | | | | | | | Once a pointer is turned into a reference it cannot be nullptr, clang rightfully warns about this assert being a tautology. Put the assert before the reference is created. llvm-svn: 260949 | |||||
* | [NFC] Fixing naming convention, lowercase start of function name. | Colin LeMahieu | 2016-02-15 | 3 | -3/+3 | |
| | | | | llvm-svn: 260903 | |||||
* | [Hexagon] Wrapping all MCExprs inside MCOperands within HexagonMCExpr to ↵ | Colin LeMahieu | 2016-02-15 | 5 | -20/+71 | |
| | | | | | | simplify handling and allow flags on the expression. llvm-svn: 260902 | |||||
* | [MC] Merge VK_PPC_TPREL in to generic VK_TPREL. | Colin LeMahieu | 2016-02-10 | 2 | -21/+21 | |
| | | | | | | Differential Revision: http://reviews.llvm.org/D17038 llvm-svn: 260401 | |||||
* | [Hexagon] Fixing relocation generation and adding tests. | Colin LeMahieu | 2016-02-09 | 2 | -182/+263 | |
| | | | | llvm-svn: 260259 | |||||
* | Remove autoconf support | Chris Bieneman | 2016-01-26 | 1 | -16/+0 | |
| | | | | | | | | | | | | | | | | Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "I felt a great disturbance in the [build system], as if millions of [makefiles] suddenly cried out in terror and were suddenly silenced. I fear something [amazing] has happened." - Obi Wan Kenobi Reviewers: chandlerc, grosbach, bob.wilson, tstellarAMD, echristo, whitequark Subscribers: chfast, simoncook, emaste, jholewinski, tberghammer, jfb, danalbert, srhines, arsenm, dschuff, jyknight, dsanders, joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D16471 llvm-svn: 258861 | |||||
* | Convert a few assert failures into proper errors. | Rafael Espindola | 2016-01-13 | 1 | -3/+4 | |
| | | | | | | Fixes PR25944. llvm-svn: 257697 | |||||
* | [Hexagon] Add check for nullptr in getFixupNoBits | Krzysztof Parzyszek | 2016-01-11 | 1 | -15/+15 | |
| | | | | llvm-svn: 257338 | |||||
* | [Hexagon] Replace a static member variable in HexagonCVIResource (NFC) | Tobias Edler von Koch | 2016-01-08 | 2 | -20/+19 | |
| | | | | | | | This creates one instance of TUL per HexagonShuffler, which avoids thread-safety issues with future changes. llvm-svn: 257215 | |||||
* | [Hexagon] Add PIC support | Krzysztof Parzyszek | 2015-12-18 | 1 | -3/+3 | |
| | | | | llvm-svn: 256025 | |||||
* | [Hexagon] Subtarget features/default CPU corrections | Krzysztof Parzyszek | 2015-12-14 | 2 | -8/+16 | |
| | | | | llvm-svn: 255501 | |||||
* | Use make_range to reduce mentions of iterator type. NFC | Craig Topper | 2015-12-06 | 1 | -2/+1 | |
| | | | | llvm-svn: 254872 | |||||
* | [Hexagon] Don't call getNumImplicitDefs and then iterate over the count. ↵ | Craig Topper | 2015-12-05 | 1 | -24/+25 | |
| | | | | | | getNumImplicitDefs contains a loop so its better to just loop over the null terminated implicit def list. NFC llvm-svn: 254852 | |||||
* | Replace uint16_t with the MCPhysReg typedef in many places. A lot of ↵ | Craig Topper | 2015-12-05 | 2 | -2/+2 | |
| | | | | | | physical register arrays already use this typedef. llvm-svn: 254843 | |||||
* | [Hexagon] Adding shuffling resources for HVX instructions and tests for ↵ | Colin LeMahieu | 2015-12-03 | 2 | -7/+131 | |
| | | | | | | instruction encodings. llvm-svn: 254652 | |||||
* | [Hexagon] Fix instruction descriptor flags for memory access size | Krzysztof Parzyszek | 2015-12-03 | 1 | -2/+6 | |
| | | | | llvm-svn: 254613 | |||||
* | [Hexagon] Use std::begin() and std::end() instead of doing the same ↵ | Craig Topper | 2015-12-01 | 1 | -2/+1 | |
| | | | | | | manually. NFC llvm-svn: 254385 | |||||
* | [Hexagon] NFC Reordering headers. | Colin LeMahieu | 2015-11-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 254307 | |||||
* | [Hexagon] Bring HexagonInstrInfo up to date | Krzysztof Parzyszek | 2015-11-24 | 1 | -1/+9 | |
| | | | | llvm-svn: 253986 | |||||
* | [Hexagon] Remove redundant local variable. | Tilmann Scheller | 2015-11-20 | 1 | -4/+2 | |
| | | | | | | Identified by the Clang static analyzer. llvm-svn: 253660 | |||||
* | [Hexagon] Fixing memory leak during relaxation by allocating MCInst in ↵ | Colin LeMahieu | 2015-11-13 | 1 | -5/+22 | |
| | | | | | | MCContext. llvm-svn: 253090 | |||||
* | [Hexagon] Factoring bundle creation in to a utility function. | Colin LeMahieu | 2015-11-13 | 5 | -6/+12 | |
| | | | | llvm-svn: 253056 | |||||
* | [Hexagon] Fixing leak in padEndloop by allocating in MCContext. | Colin LeMahieu | 2015-11-13 | 3 | -5/+5 | |
| | | | | llvm-svn: 253019 | |||||
* | [Hexagon] Adding relaxation functionality to backend and test. | Colin LeMahieu | 2015-11-13 | 1 | -3/+31 | |
| | | | | llvm-svn: 252989 | |||||
* | [Hexagon] Allocate MCInst in the MCContext to avoid leaking it. | Benjamin Kramer | 2015-11-12 | 2 | -7/+10 | |
| | | | | | | Found by leaksanitizer. llvm-svn: 252931 | |||||
* | [Hexagon] Fixing compound register printing and reenabling more tests. | Colin LeMahieu | 2015-11-10 | 2 | -10/+33 | |
| | | | | llvm-svn: 252574 | |||||
* | [Hexagon] Fixing store instructions and reenabling a few more tests. | Colin LeMahieu | 2015-11-10 | 1 | -18/+13 | |
| | | | | llvm-svn: 252561 |