forked from OSchip/llvm-project
5277b3ff25
Summary: The InlineAsm::AsmDialect is only required for X86; no architecture makes use of it and as such it gets passed around between arch-specific and general code while being unused for all architectures but X86. Since the AsmDialect is queried from a MachineInstr, which we also pass around, remove the additional AsmDialect parameter and query for it deep in the X86AsmPrinter only when needed/as late as possible. This refactor should help later planned refactors to AsmPrinter, as this difference in the X86AsmPrinter makes it harder to make AsmPrinter more generic. Reviewers: craig.topper Subscribers: jholewinski, arsenm, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, nhaehnle, javed.absar, sbc100, jgravelle-google, eraman, hiraditya, aheejin, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, llvm-commits, peter.smith, srhines Tags: #llvm Differential Revision: https://reviews.llvm.org/D60488 llvm-svn: 358101 |
||
---|---|---|
.. | ||
AsmParser | ||
Disassembler | ||
InstPrinter | ||
MCTargetDesc | ||
TargetInfo | ||
AVR.h | ||
AVR.td | ||
AVRAsmPrinter.cpp | ||
AVRCallingConv.td | ||
AVRDevices.td | ||
AVRExpandPseudoInsts.cpp | ||
AVRFrameLowering.cpp | ||
AVRFrameLowering.h | ||
AVRISelDAGToDAG.cpp | ||
AVRISelLowering.cpp | ||
AVRISelLowering.h | ||
AVRInstrFormats.td | ||
AVRInstrInfo.cpp | ||
AVRInstrInfo.h | ||
AVRInstrInfo.td | ||
AVRMCInstLower.cpp | ||
AVRMCInstLower.h | ||
AVRMachineFunctionInfo.h | ||
AVRRegisterInfo.cpp | ||
AVRRegisterInfo.h | ||
AVRRegisterInfo.td | ||
AVRRelaxMemOperations.cpp | ||
AVRSelectionDAGInfo.h | ||
AVRSubtarget.cpp | ||
AVRSubtarget.h | ||
AVRTargetMachine.cpp | ||
AVRTargetMachine.h | ||
AVRTargetObjectFile.cpp | ||
AVRTargetObjectFile.h | ||
CMakeLists.txt | ||
LLVMBuild.txt | ||
README.md | ||
TODO.md |