Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce the size of MCRelaxableFragment. | Akira Hatanaka | 2015-11-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | MCRelaxableFragment previously kept a copy of MCSubtargetInfo and MCInst to enable re-encoding the MCInst later during relaxation. A copy of MCSubtargetInfo (instead of a reference or pointer) was needed because the feature bits could be modified by the parser. This commit replaces the MCSubtargetInfo copy in MCRelaxableFragment with a constant reference to MCSubtargetInfo. The copies of MCSubtargetInfo are kept in MCContext, and the target parsers are now responsible for asking MCContext to provide a copy whenever the feature bits of MCSubtargetInfo have to be toggled. With this patch, I saw a 4% reduction in peak memory usage when I compiled verify-uselistorder.lto.bc using llc. rdar://problem/21736951 Differential Revision: http://reviews.llvm.org/D14346 llvm-svn: 253127 | ||||
* | [MCTargetAsmParser] Move the member varialbes that reference | Akira Hatanaka | 2015-11-14 | 1 | -8/+7 |
| | | | | | | | | | | MCSubtargetInfo in the subclasses into MCTargetAsmParser and define a member function getSTI. This is done in preparation for making changes to shrink the size of MCRelaxableFragment. (see http://reviews.llvm.org/D14346). llvm-svn: 253124 | ||||
* | [Hexagon] Factoring bundle creation in to a utility function. | Colin LeMahieu | 2015-11-13 | 1 | -2/+1 |
| | | | | llvm-svn: 253056 | ||||
* | [Hexagon] Allocate MCInst in the MCContext to avoid leaking it. | Benjamin Kramer | 2015-11-12 | 1 | -1/+1 |
| | | | | | | Found by leaksanitizer. llvm-svn: 252931 | ||||
* | [Hexagon] Separating statement to match what clang-format would do. | Colin LeMahieu | 2015-11-09 | 1 | -2/+4 |
| | | | | llvm-svn: 252513 | ||||
* | [Hexagon] Adding override to methods. | Colin LeMahieu | 2015-11-09 | 1 | -4/+5 |
| | | | | llvm-svn: 252453 | ||||
* | [Hexagon] Fixing warnings. | Colin LeMahieu | 2015-11-09 | 1 | -4/+2 |
| | | | | llvm-svn: 252448 | ||||
* | [Hexagon] Enabling ASM parsing on Hexagon backend and adding instruction ↵ | Colin LeMahieu | 2015-11-09 | 1 | -0/+2152 |
parsing tests. General updating of the code emission. llvm-svn: 252443 |