llvm-6502/include/llvm/MC
Jakob Stoklund Olesen f2c64ef519 Add an MCID::Select flag and TII hooks for optimizing selects.
Select instructions pick one of two virtual registers based on a
condition, like x86 cmov. On targets like ARM that support predication,
selects can sometimes be eliminated by predicating the instruction
defining one of the operands.

Teach PeepholeOptimizer to recognize select instructions, and ask the
target to optimize them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162059 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-16 23:11:47 +00:00
..
MCParser Make member variables of AsmToken private. Remove unnecessary forward declarations. Remove an unnecessary include. 2012-04-15 22:00:22 +00:00
EDInstInfo.h Tidy up. Trailing whitespace. 2012-05-11 01:39:13 +00:00
MachineLocation.h Tidy up. Trailing whitespace. 2012-05-11 01:39:13 +00:00
MCAsmBackend.h Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCAsmInfo.h Remove another duplicated variable. We only need one to tell us if the linker 2012-06-22 13:32:49 +00:00
MCAsmInfoCOFF.h Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:50:00 +00:00
MCAsmInfoDarwin.h Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:50:00 +00:00
MCAsmLayout.h Make headers standalone. 2011-11-14 17:45:03 +00:00
MCAssembler.h Fix an overzealous assertion. It is legitimate for a target to have multiple fixups on a single instruction that target the same byte, so long as their bit-offsets are coordinates appropriately. 2012-07-05 22:30:42 +00:00
MCAtom.h MCAtom extending methods need to extend the range of the atom as well. 2011-10-10 18:09:38 +00:00
MCCodeEmitter.h Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCCodeGenInfo.h Fix typo in comment. 2012-02-17 16:39:47 +00:00
MCContext.h Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
MCDirectives.h Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
MCDisassembler.h Tidy up. Trailing whitespace. 2012-05-11 01:39:13 +00:00
MCDwarf.h Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCELFObjectWriter.h The ELF relocation record format is different for N64 2012-06-27 22:28:30 +00:00
MCELFSymbolFlags.h sets bit 0 of the function address of thumb function in .symtab 2011-05-16 16:17:21 +00:00
MCExpr.h Add VK_Mips_HIGHER and VK_Mips_HIGHEST to MCSymbolRefExpr::VariantKind. 2012-07-21 02:15:19 +00:00
MCFixedLenDisassembler.h Switch the fixed-length disassembler to be table-driven. 2012-08-14 19:06:05 +00:00
MCFixup.h Convert assert(0) to llvm_unreachable 2012-02-05 22:14:15 +00:00
MCFixupKindInfo.h Tidy up. Trailing whitespace. 2012-05-11 01:39:13 +00:00
MCInst.h Add simple support for keeping MCFixup source information. 2012-01-26 23:20:11 +00:00
MCInstPrinter.h Move getOpcodeName from the various target InstPrinters into the superclass MCInstPrinter. 2012-04-02 08:32:38 +00:00
MCInstrAnalysis.h Use the correct predicate for determining if a branch is conditional or not. 2011-10-17 21:21:44 +00:00
MCInstrDesc.h Add an MCID::Select flag and TII hooks for optimizing selects. 2012-08-16 23:11:47 +00:00
MCInstrInfo.h Revert r152202: "Use uint16_t to store InstrNameIndices in MCInstrInfo." 2012-03-15 18:05:57 +00:00
MCInstrItineraries.h I'm introducing a new machine model to simultaneously allow simple 2012-07-07 04:00:00 +00:00
MCLabel.h
MCMachObjectWriter.h Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
MCMachOSymbolFlags.h MC/Mach-O/Thumb: Set the thumb bit in the symbol table. 2010-12-29 14:14:06 +00:00
MCModule.h Start stubbing out MCModule and MCAtom, which provide an API for accessing the rich disassembly of a complete object or executable. 2011-09-22 22:32:22 +00:00
MCObjectFileInfo.h Tidy up. Trailing whitespace. 2012-05-11 01:39:13 +00:00
MCObjectStreamer.h Better diagnostic for malformed .org assembly directive. 2012-01-27 00:37:08 +00:00
MCObjectWriter.h Move [SU]LEB128 encoding to a utility header. 2012-08-08 23:56:06 +00:00
MCRegisterInfo.h Give MCRegisterInfo an implementation file. 2012-07-27 16:25:20 +00:00
MCSchedule.h Added MispredictPenalty to SchedMachineModel. 2012-08-08 02:44:16 +00:00
MCSection.h Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCSectionCOFF.h Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCSectionELF.h Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCSectionMachO.h Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCStreamer.h EmitZerofill should take a 64-bit size or else it's chopping off large zero-filled global. rdar://11729134 2012-06-22 20:14:46 +00:00
MCSubtargetInfo.h I'm introducing a new machine model to simultaneously allow simple 2012-07-07 04:00:00 +00:00
MCSymbol.h MCExpr: Add FindAssociatedSection, which attempts to mirror the 'as' semantics 2011-04-29 18:00:03 +00:00
MCTargetAsmLexer.h Tidy up. Trailing whitespace. 2012-05-11 01:39:13 +00:00
MCTargetAsmParser.h [ms-inline asm] Extend the MC AsmParser API to match MCInsts (but not emit). 2012-08-09 22:04:55 +00:00
MCValue.h Remove unimplemented method. Fixes PR10658. 2011-08-16 13:53:50 +00:00
MCWin64EH.h Add a parameter to the Win64 EH section getters to get a section with a 2011-05-27 19:09:24 +00:00
MCWinCOFFObjectWriter.h Move x86 specific bits of the COFF writer to lib/Target/X86. 2011-12-24 02:14:02 +00:00
SectionKind.h
SubtargetFeature.h Tidy up. Trailing whitespace. 2012-05-11 01:39:13 +00:00