llvm-project/llvm/lib/Target/M68k
Nick Desaulniers 93bc038126 [M68k] fix -Wdefaulted-function-deleted and -Woverloaded-virtual
Fixes the following warnings observerd when building the experimental
m68k backend (-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="M68k"):

../lib/Target/M68k/M68kMachineFunction.h:71:3: warning: explicitly
defaulted default constructor is implicitly deleted
[-Wdefaulted-function-deleted]
  M68kMachineFunctionInfo() = default;
  ^
../lib/Target/M68k/M68kMachineFunction.h:24:20: note: default
constructor of 'M68kMachineFunctionInfo' is implicitly deleted because
field 'MF' of reference type 'llvm::MachineFunction &' would not be
initialized
  MachineFunction &MF;
                   ^
In file included from ../lib/Target/M68k/M68kISelLowering.cpp:18:
In file included from ../lib/Target/M68k/M68kSubtarget.h:17:
../lib/Target/M68k/M68kFrameLowering.h:60:8: warning:
'llvm::M68kFrameLowering::emitCalleeSavedFrameMoves' hides overloaded
virtual functions [-Woverloaded-virtual]
  void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
       ^
../include/llvm/CodeGen/TargetFrameLowering.h:215:3: note: hidden
overloaded virtual function
'llvm::TargetFrameLowering::emitCalleeSavedFrameMoves' declared here:
different number of parameters (2 vs 3)
  emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
  ^
../include/llvm/CodeGen/TargetFrameLowering.h:218:16: note: hidden
overloaded virtual function
'llvm::TargetFrameLowering::emitCalleeSavedFrameMoves' declared here:
different number of parameters (4 vs 3)
  virtual void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
               ^

pr/50071

Reviewed By: myhsu

Differential Revision: https://reviews.llvm.org/D101588
2021-04-30 11:23:31 -07:00
..
AsmParser [M68k][AsmParser][NFC] Remove redundant default cases 2021-04-22 11:50:48 -07:00
Disassembler [M68k][Disassembler][NFC] Decorate dump methods with LLVM_DUMP_METHOD 2021-04-22 12:02:07 -07:00
MCTargetDesc [M68k] Change printing of absolute memory references 2021-04-19 22:24:12 +01:00
TargetInfo [M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro 2021-04-05 09:24:30 -07:00
CMakeLists.txt [M68k] Implement Disassembler 2021-04-19 22:24:12 +01:00
M68k.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68k.td [M68k] Implement AsmParser 2021-04-13 09:25:34 +01:00
M68kAsmPrinter.cpp [M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro 2021-04-05 09:24:30 -07:00
M68kAsmPrinter.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kCallingConv.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kCallingConv.td
M68kCollapseMOVEMPass.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kExpandPseudo.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kFrameLowering.cpp [M68k] fix -Wdefaulted-function-deleted and -Woverloaded-virtual 2021-04-30 11:23:31 -07:00
M68kFrameLowering.h [M68k] fix -Wdefaulted-function-deleted and -Woverloaded-virtual 2021-04-30 11:23:31 -07:00
M68kISelDAGToDAG.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kISelLowering.cpp Normalize interaction with boolean attributes 2021-04-17 08:17:33 +02:00
M68kISelLowering.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kInstrArithmetic.td [M68k] Replace unknown operand with explicit type 2021-03-19 13:44:46 +00:00
M68kInstrBits.td [M68k] Introduce DReg bead 2021-03-19 11:44:53 +00:00
M68kInstrBuilder.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kInstrCompiler.td [M68k] Use fixed asm string for MxPseudo instructions 2021-03-17 13:31:27 -07:00
M68kInstrControl.td [M68k] Use fixed asm string for MxPseudo instructions 2021-03-17 13:31:27 -07:00
M68kInstrData.td [M68k] Use fixed asm string for MxPseudo instructions 2021-03-17 13:31:27 -07:00
M68kInstrFormats.td [M68k] Introduce DReg bead 2021-03-19 11:44:53 +00:00
M68kInstrInfo.cpp [M68k] Forward declare getMCInstrBeads in one place 2021-03-17 13:31:27 -07:00
M68kInstrInfo.h [M68k] Forward declare getMCInstrBeads in one place 2021-03-17 13:31:27 -07:00
M68kInstrInfo.td [M68k] Implement AsmParser 2021-04-13 09:25:34 +01:00
M68kInstrShiftRotate.td [M68k] Introduce DReg bead 2021-03-19 11:44:53 +00:00
M68kMCInstLower.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMCInstLower.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMachineFunction.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMachineFunction.h [M68k] fix -Wdefaulted-function-deleted and -Woverloaded-virtual 2021-04-30 11:23:31 -07:00
M68kRegisterInfo.cpp [NFC][CodeGen] Tidy up TargetRegisterInfo stack realignment functions 2021-03-30 17:31:39 +01:00
M68kRegisterInfo.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kRegisterInfo.td [M68k] Convert register Aliases to AltNames 2021-03-19 11:44:53 +00:00
M68kSchedule.td
M68kSubtarget.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kSubtarget.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kTargetMachine.cpp [M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro 2021-04-05 09:24:30 -07:00
M68kTargetMachine.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kTargetObjectFile.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kTargetObjectFile.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00