Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | MC: MCCodeGenInfo naming update. NFC. | Jim Grosbach | 2015-05-15 | 1 | -1/+1 | |
| | | | | | | s/InitMCCodeGenInfo/initMCCodeGenInfo/ llvm-svn: 237471 | |||||
* | MC: Update MCCodeEmitter naming. NFC. | Jim Grosbach | 2015-05-15 | 2 | -2/+2 | |
| | | | | | | s/EncodeInstruction/encodeInstruction/ llvm-svn: 237469 | |||||
* | MC: Update MCFixup naming. NFC. | Jim Grosbach | 2015-05-15 | 1 | -1/+1 | |
| | | | | | | s/MCFixup::Create/MCFixup::create/ llvm-svn: 237468 | |||||
* | MC: Modernize MCOperand API naming. NFC. | Jim Grosbach | 2015-05-13 | 1 | -2/+2 | |
| | | | | | | MCOperand::Create*() methods renamed to MCOperand::create*(). llvm-svn: 237275 | |||||
* | Fix -Wmicrosoft warning by making enum unsigned | Reid Kleckner | 2015-05-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 236436 | |||||
* | [Hexagon] Removing variable unused in release. | Colin LeMahieu | 2015-05-01 | 1 | -2/+1 | |
| | | | | llvm-svn: 236351 | |||||
* | [Hexagon] Adding expression MC emission and removing XFAIL from test that ↵ | Colin LeMahieu | 2015-05-01 | 6 | -9/+634 | |
| | | | | | | hits this code path. llvm-svn: 236348 | |||||
* | [Hexagon] Use constant extenders to fix up hardware loops | Brendon Cahoon | 2015-04-27 | 2 | -0/+15 | |
| | | | | | | | | | | Use a loop instruction with a constant extender for a hardware loop instruction that is too far away from the start of the loop. This is cheaper than changing the SA register value. Differential Revision: http://reviews.llvm.org/D9262 llvm-svn: 235882 | |||||
* | [Hexagon] Implement HexagonInstPrinter::printRegName | Krzysztof Parzyszek | 2015-04-22 | 2 | -6/+7 | |
| | | | | llvm-svn: 235514 | |||||
* | Use raw_pwrite_stream in the object writer/streamer. | Rafael Espindola | 2015-04-14 | 3 | -4/+5 | |
| | | | | | | The ELF object writer will take advantage of that in the next commit. llvm-svn: 234950 | |||||
* | Use 'override/final' instead of 'virtual' for overridden methods | Alexander Kornienko | 2015-04-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | The patch is generated using clang-tidy misc-use-override check. This command was used: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ -checks='-*,misc-use-override' -header-filter='llvm|clang' \ -j=32 -fix -format http://reviews.llvm.org/D8925 llvm-svn: 234679 | |||||
* | Remove duplicated code and consolidate initializers. | Eric Christopher | 2015-04-09 | 1 | -1/+5 | |
| | | | | llvm-svn: 234525 | |||||
* | Don't repeat name in comment. NFC. | Rafael Espindola | 2015-04-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 234506 | |||||
* | Replace the MCSubtargetInfo parameter with a Triple when creating | Eric Christopher | 2015-03-31 | 1 | -3/+3 | |
| | | | | | | | an MCInstPrinter. Update all callers and use where we wanted a Triple previously. llvm-svn: 233648 | |||||
* | Remove unused Target argument from MCInstPrinter ctor functions. | Eric Christopher | 2015-03-30 | 1 | -2/+1 | |
| | | | | llvm-svn: 233607 | |||||
* | [MCInstPrinter] Enable MCInstPrinter to change its behavior based on the | Akira Hatanaka | 2015-03-27 | 2 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | per-function subtarget. Currently, code-gen passes the default or generic subtarget to the constructors of MCInstPrinter subclasses (see LLVMTargetMachine::addPassesToEmitFile), which enables some targets (AArch64, ARM, and X86) to change their instprinter's behavior based on the subtarget feature bits. Since the backend can now use different subtargets for each function, instprinter has to be changed to use the per-function subtarget rather than the default subtarget. This patch takes the first step towards enabling instprinter to change its behavior based on the per-function subtarget. It adds a bit "PassSubtarget" to AsmWriter which tells table-gen to pass a reference to MCSubtargetInfo to the various print methods table-gen auto-generates. I will follow up with changes to instprinters of AArch64, ARM, and X86. llvm-svn: 233411 | |||||
* | Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used. | Benjamin Kramer | 2015-03-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 232998 | |||||
* | Add a default implementation of createObjectStreamer. | Rafael Espindola | 2015-03-18 | 1 | -22/+0 | |
| | | | | | | | This removes duplicated code from backends that don't need to do anything fancy. llvm-svn: 232658 | |||||
* | Pass in a "const Triple &T" instead of a raw StringRef. | Rafael Espindola | 2015-03-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 232429 | |||||
* | Remove unused argument. NFC. | Rafael Espindola | 2015-03-16 | 1 | -3/+3 | |
| | | | | llvm-svn: 232428 | |||||
* | Remove the use of the subtarget in MCCodeEmitter creation and | Eric Christopher | 2015-03-10 | 3 | -12/+3 | |
| | | | | | | | update all ports accordingly. Required a couple of small rewrites in handling subtarget features during creation in PPC. llvm-svn: 231861 | |||||
* | Fix a warning on HexagonMCCodeEmitter::MCII. [-Wunused-private-field] | NAKAMURA Takumi | 2015-02-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 230170 | |||||
* | [Hexagon] Moving remaining methods off of HexagonMCInst in to ↵ | Colin LeMahieu | 2015-02-19 | 9 | -155/+96 | |
| | | | | | | HexagonMCInstrInfo and eliminating HexagonMCInst class. llvm-svn: 229914 | |||||
* | [Hexagon] Moving more functions off of HexagonMCInst and in to ↵ | Colin LeMahieu | 2015-02-19 | 4 | -174/+191 | |
| | | | | | | HexagonMCInstrInfo. llvm-svn: 229903 | |||||
* | [Hexagon] Creating HexagonMCInstrInfo namespace as landing zone for static ↵ | Colin LeMahieu | 2015-02-19 | 7 | -40/+87 | |
| | | | | | | functions detached from HexagonMCInst. llvm-svn: 229885 | |||||
* | [Hexagon] Removing static variable holding MCInstrInfo. | Colin LeMahieu | 2015-02-19 | 4 | -8/+7 | |
| | | | | llvm-svn: 229872 | |||||
* | Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for ↵ | Aaron Ballman | 2015-02-15 | 1 | -2/+2 | |
| | | | | | | requiring the macro. NFC; LLVM edition. llvm-svn: 229340 | |||||
* | Remove dead code in the HexagonMCInst classes. This also fixes | Eric Christopher | 2015-02-02 | 1 | -4/+0 | |
| | | | | | | a layering violation in the port and removes calls to getSubtargetImpl. llvm-svn: 227883 | |||||
* | 80-col fixup. | Eric Christopher | 2015-02-02 | 1 | -0/+4 | |
| | | | | llvm-svn: 227882 | |||||
* | Remove dead code in the HexagonMCInst classes. This also fixes | Eric Christopher | 2015-02-02 | 2 | -15/+0 | |
| | | | | | | a layering violation in the port and removes calls to getSubtargetImpl. llvm-svn: 227880 | |||||
* | 80-col fixup. | Eric Christopher | 2015-02-02 | 1 | -1/+3 | |
| | | | | llvm-svn: 227879 | |||||
* | [cleanup] Re-sort all the #include lines in LLVM using | Chandler Carruth | 2015-01-14 | 3 | -3/+1 | |
| | | | | | | | | | | | utils/sort_includes.py. I clearly haven't done this in a while, so more changed than usual. This even uncovered a missing include from the InstrProf library that I've added. No functionality changed here, just mechanical cleanup of the include order. llvm-svn: 225974 | |||||
* | Reverting 225045 and 225043 and XFAIL multiline.ll on hexagon | Colin LeMahieu | 2014-12-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 225047 | |||||
* | [Hexagon] Removing assertion to appease buildbot until I can reproduce the ↵ | Colin LeMahieu | 2014-12-31 | 1 | -1/+0 | |
| | | | | | | problem llvm-svn: 225045 | |||||
* | [Hexagon] Changing an llvm_unreachable to an assertion and returning 0. ↵ | Colin LeMahieu | 2014-12-31 | 1 | -1/+2 | |
| | | | | | | Relocations aren't implemented yet but we don't need to abort for this in release builds. llvm-svn: 225043 | |||||
* | HexagonMCInst.h: Qualify constants explicitly to appease msc17. | NAKAMURA Takumi | 2014-12-04 | 1 | -2/+2 | |
| | | | | llvm-svn: 223325 | |||||
* | [Hexagon] Converting member InstrDesc to static variable. | Colin LeMahieu | 2014-12-03 | 3 | -21/+28 | |
| | | | | llvm-svn: 223268 | |||||
* | [Hexagon] Converting subclass members to an implicit operand. | Colin LeMahieu | 2014-12-03 | 2 | -14/+56 | |
| | | | | llvm-svn: 223264 | |||||
* | [NFC] Fixing pendantic warning extra semicolons. | Colin LeMahieu | 2014-12-03 | 1 | -7/+7 | |
| | | | | llvm-svn: 223246 | |||||
* | [Hexagon] [NFC] Moving function implementations out of header. ↵ | Colin LeMahieu | 2014-12-03 | 2 | -79/+88 | |
| | | | | | | Clang-formatting files. llvm-svn: 223245 | |||||
* | [Hexagon] [NFC] Renaming *packetStart to *packetBegin | Colin LeMahieu | 2014-12-03 | 2 | -9/+9 | |
| | | | | llvm-svn: 223243 | |||||
* | [Hexagon] Adding NOP encoding bits. | Colin LeMahieu | 2014-11-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 222791 | |||||
* | [Hexagon] [NFC] Merging InstPrinter directory in to MCTargetDesc since they ↵ | Colin LeMahieu | 2014-11-20 | 5 | -2/+344 | |
| | | | | | | have a circular dependency. llvm-svn: 222458 | |||||
* | [Hexagon] | Colin LeMahieu | 2014-11-13 | 1 | -4/+4 | |
| | | | | | | NFC Renaming reserved identifier. llvm-svn: 221898 | |||||
* | [Hexagon] Adding basic Hexagon ELF object emitter. | Colin LeMahieu | 2014-11-06 | 5 | -4/+182 | |
| | | | | llvm-svn: 221465 | |||||
* | [Hexagon] Reverting 220584 to address ASAN errors. | Colin LeMahieu | 2014-11-04 | 9 | -441/+157 | |
| | | | | llvm-svn: 221210 | |||||
* | Prune CRLF. | NAKAMURA Takumi | 2014-10-27 | 1 | -23/+23 | |
| | | | | llvm-svn: 220678 | |||||
* | [Hexagon] Resubmission of 220427 | Colin LeMahieu | 2014-10-24 | 9 | -157/+441 | |
| | | | | | | | | | | | Modified library structure to deal with circular dependency between HexagonInstPrinter and HexagonMCInst. Adding encoding bits for add opcode. Adding llvm-mc tests. Removing unit tests. http://reviews.llvm.org/D5624 llvm-svn: 220584 | |||||
* | Revert r220427, "[Hexagon] Adding encoding bits for add opcode." | NAKAMURA Takumi | 2014-10-23 | 5 | -98/+155 | |
| | | | | | | It brought cyclic dependecy between HexagonAsmPrinter and HexagonDesc. llvm-svn: 220478 | |||||
* | [Hexagon] Adding encoding bits for add opcode. | Colin LeMahieu | 2014-10-22 | 5 | -155/+98 | |
| | | | | | | | | | Adding llvm-mc tests. Removing unit tests. http://reviews.llvm.org/D5624 llvm-svn: 220427 |