llvm-6502/lib/MC
Saleem Abdulrasool 696002f3b4 MCAsmParser: better handling for named arguments
Until this point only macro definition with named parameters were parsed but the
names were ignored.  This adds support for using that information for named
parameter instantiation.

In order to support the full semantics of the keyword arguments, the arguments
are no longer lazily initialised since the keyword arguments can be specified
out of order and partially if they are defaulted.  Prepopulate the arguments
with the default value for any defaulted parameters, and then parse the
specified arguments.

This simplies some of the handling of the arguments in the inner loop since
empty arguments simply increment the parameter index and move on.

Note that keyword and positional arguments cannot be mixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201499 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-17 00:40:17 +00:00
..
MCDisassembler For the 'C' disassembler API, add a new ReferenceType for the 2014-01-06 22:08:08 +00:00
MCParser MCAsmParser: better handling for named arguments 2014-02-17 00:40:17 +00:00
CMakeLists.txt
ELFObjectWriter.cpp doesSectionRequireSymbols is meaningless on ELF, remove. 2014-02-06 00:54:53 +00:00
LLVMBuild.txt
MachObjectWriter.cpp
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call 2014-02-13 14:44:26 +00:00
MCAsmInfoCOFF.cpp Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call 2014-02-13 14:44:26 +00:00
MCAsmInfoDarwin.cpp Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call 2014-02-13 14:44:26 +00:00
MCAsmInfoELF.cpp
MCAsmStreamer.cpp Fix generation of 'isa' and 'discriminator' keywords. 2014-02-13 20:05:03 +00:00
MCAssembler.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
MCDisassembler.cpp
MCDwarf.cpp Support DWARF discriminators in object streamer. 2014-02-14 19:27:53 +00:00
MCELF.cpp
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Use the default values. 2014-02-04 18:34:04 +00:00
MCExpr.cpp ARM: suuport .tlsdescseq directive 2014-01-30 04:02:47 +00:00
MCExternalSymbolizer.cpp Tweak the MCExternalSymbolizer to not use the SymbolLookUp() call back 2014-01-21 00:23:17 +00:00
MCFunction.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCModule.cpp
MCModuleYAML.cpp
MCNullStreamer.cpp Change MCStreamer EmitInstruction interface to take subtarget info 2014-01-28 23:12:42 +00:00
MCObjectDisassembler.cpp Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
MCObjectFileInfo.cpp Use __literal16. It has been supported by the linker since 2005. 2014-02-13 23:16:11 +00:00
MCObjectStreamer.cpp DebugInfo: Don't include the name of the CU file in the line table file list when it's unneeded 2014-02-14 19:51:35 +00:00
MCObjectSymbolizer.cpp Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCRegisterInfo.cpp
MCRelocationInfo.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
MCSection.cpp
MCSectionCOFF.cpp MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly 2013-12-17 22:12:40 +00:00
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Always create a temporary symbol to use with the cfi frame. 2014-02-07 21:23:18 +00:00
MCSubtargetInfo.cpp Reverting r199886 (Prevent repetitive warnings for unrecognized processors and features) 2014-01-25 16:56:18 +00:00
MCSymbol.cpp
MCSymbolizer.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp Reverting r199886 (Prevent repetitive warnings for unrecognized processors and features) 2014-01-25 16:56:18 +00:00
WinCOFFObjectWriter.cpp Fix PR18381 - print a minimal diagnostic rather than assert on unresolved .secidx target 2014-01-30 21:13:05 +00:00
WinCOFFStreamer.cpp Use the default values. 2014-02-04 18:34:04 +00:00