summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/MCTargetDesc
Commit message (Collapse)AuthorAgeFilesLines
...
* MC: MCCodeGenInfo naming update. NFC.Jim Grosbach2015-05-151-1/+1
| | | | | | s/InitMCCodeGenInfo/initMCCodeGenInfo/ llvm-svn: 237471
* MC: Update MCCodeEmitter naming. NFC.Jim Grosbach2015-05-152-2/+2
| | | | | | s/EncodeInstruction/encodeInstruction/ llvm-svn: 237469
* MC: Update MCFixup naming. NFC.Jim Grosbach2015-05-151-1/+1
| | | | | | s/MCFixup::Create/MCFixup::create/ llvm-svn: 237468
* MC: Modernize MCOperand API naming. NFC.Jim Grosbach2015-05-131-2/+2
| | | | | | MCOperand::Create*() methods renamed to MCOperand::create*(). llvm-svn: 237275
* Fix -Wmicrosoft warning by making enum unsignedReid Kleckner2015-05-041-1/+1
| | | | llvm-svn: 236436
* [Hexagon] Removing variable unused in release.Colin LeMahieu2015-05-011-2/+1
| | | | llvm-svn: 236351
* [Hexagon] Adding expression MC emission and removing XFAIL from test that ↵Colin LeMahieu2015-05-016-9/+634
| | | | | | hits this code path. llvm-svn: 236348
* [Hexagon] Use constant extenders to fix up hardware loopsBrendon Cahoon2015-04-272-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::printRegNameKrzysztof Parzyszek2015-04-222-6/+7
| | | | llvm-svn: 235514
* Use raw_pwrite_stream in the object writer/streamer.Rafael Espindola2015-04-143-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 methodsAlexander Kornienko2015-04-111-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 Christopher2015-04-091-1/+5
| | | | llvm-svn: 234525
* Don't repeat name in comment. NFC.Rafael Espindola2015-04-091-1/+1
| | | | llvm-svn: 234506
* Replace the MCSubtargetInfo parameter with a Triple when creatingEric Christopher2015-03-311-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 Christopher2015-03-301-2/+1
| | | | llvm-svn: 233607
* [MCInstPrinter] Enable MCInstPrinter to change its behavior based on theAkira Hatanaka2015-03-272-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 Kramer2015-03-231-0/+1
| | | | llvm-svn: 232998
* Add a default implementation of createObjectStreamer.Rafael Espindola2015-03-181-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 Espindola2015-03-161-1/+1
| | | | llvm-svn: 232429
* Remove unused argument. NFC.Rafael Espindola2015-03-161-3/+3
| | | | llvm-svn: 232428
* Remove the use of the subtarget in MCCodeEmitter creation andEric Christopher2015-03-103-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 Takumi2015-02-221-0/+1
| | | | llvm-svn: 230170
* [Hexagon] Moving remaining methods off of HexagonMCInst in to ↵Colin LeMahieu2015-02-199-155/+96
| | | | | | HexagonMCInstrInfo and eliminating HexagonMCInst class. llvm-svn: 229914
* [Hexagon] Moving more functions off of HexagonMCInst and in to ↵Colin LeMahieu2015-02-194-174/+191
| | | | | | HexagonMCInstrInfo. llvm-svn: 229903
* [Hexagon] Creating HexagonMCInstrInfo namespace as landing zone for static ↵Colin LeMahieu2015-02-197-40/+87
| | | | | | functions detached from HexagonMCInst. llvm-svn: 229885
* [Hexagon] Removing static variable holding MCInstrInfo.Colin LeMahieu2015-02-194-8/+7
| | | | llvm-svn: 229872
* Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for ↵Aaron Ballman2015-02-151-2/+2
| | | | | | requiring the macro. NFC; LLVM edition. llvm-svn: 229340
* Remove dead code in the HexagonMCInst classes. This also fixesEric Christopher2015-02-021-4/+0
| | | | | | a layering violation in the port and removes calls to getSubtargetImpl. llvm-svn: 227883
* 80-col fixup.Eric Christopher2015-02-021-0/+4
| | | | llvm-svn: 227882
* Remove dead code in the HexagonMCInst classes. This also fixesEric Christopher2015-02-022-15/+0
| | | | | | a layering violation in the port and removes calls to getSubtargetImpl. llvm-svn: 227880
* 80-col fixup.Eric Christopher2015-02-021-1/+3
| | | | llvm-svn: 227879
* [cleanup] Re-sort all the #include lines in LLVM usingChandler Carruth2015-01-143-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 hexagonColin LeMahieu2014-12-311-1/+1
| | | | llvm-svn: 225047
* [Hexagon] Removing assertion to appease buildbot until I can reproduce the ↵Colin LeMahieu2014-12-311-1/+0
| | | | | | problem llvm-svn: 225045
* [Hexagon] Changing an llvm_unreachable to an assertion and returning 0. ↵Colin LeMahieu2014-12-311-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 Takumi2014-12-041-2/+2
| | | | llvm-svn: 223325
* [Hexagon] Converting member InstrDesc to static variable.Colin LeMahieu2014-12-033-21/+28
| | | | llvm-svn: 223268
* [Hexagon] Converting subclass members to an implicit operand.Colin LeMahieu2014-12-032-14/+56
| | | | llvm-svn: 223264
* [NFC] Fixing pendantic warning extra semicolons.Colin LeMahieu2014-12-031-7/+7
| | | | llvm-svn: 223246
* [Hexagon] [NFC] Moving function implementations out of header. ↵Colin LeMahieu2014-12-032-79/+88
| | | | | | Clang-formatting files. llvm-svn: 223245
* [Hexagon] [NFC] Renaming *packetStart to *packetBeginColin LeMahieu2014-12-032-9/+9
| | | | llvm-svn: 223243
* [Hexagon] Adding NOP encoding bits.Colin LeMahieu2014-11-251-1/+1
| | | | llvm-svn: 222791
* [Hexagon] [NFC] Merging InstPrinter directory in to MCTargetDesc since they ↵Colin LeMahieu2014-11-205-2/+344
| | | | | | have a circular dependency. llvm-svn: 222458
* [Hexagon]Colin LeMahieu2014-11-131-4/+4
| | | | | | NFC Renaming reserved identifier. llvm-svn: 221898
* [Hexagon] Adding basic Hexagon ELF object emitter.Colin LeMahieu2014-11-065-4/+182
| | | | llvm-svn: 221465
* [Hexagon] Reverting 220584 to address ASAN errors.Colin LeMahieu2014-11-049-441/+157
| | | | llvm-svn: 221210
* Prune CRLF.NAKAMURA Takumi2014-10-271-23/+23
| | | | llvm-svn: 220678
* [Hexagon] Resubmission of 220427Colin LeMahieu2014-10-249-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 Takumi2014-10-235-98/+155
| | | | | | It brought cyclic dependecy between HexagonAsmPrinter and HexagonDesc. llvm-svn: 220478
* [Hexagon] Adding encoding bits for add opcode.Colin LeMahieu2014-10-225-155/+98
| | | | | | | | | Adding llvm-mc tests. Removing unit tests. http://reviews.llvm.org/D5624 llvm-svn: 220427
OpenPOWER on IntegriCloud