diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/AVR/AVRSubtarget.h')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Target/AVR/AVRSubtarget.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/AVR/AVRSubtarget.h b/contrib/llvm-project/llvm/lib/Target/AVR/AVRSubtarget.h index 7d49e43a83f5..90b9cd4da7c1 100644 --- a/contrib/llvm-project/llvm/lib/Target/AVR/AVRSubtarget.h +++ b/contrib/llvm-project/llvm/lib/Target/AVR/AVRSubtarget.h @@ -39,10 +39,18 @@ public: const AVRTargetMachine &TM); const AVRInstrInfo *getInstrInfo() const override { return &InstrInfo; } - const TargetFrameLowering *getFrameLowering() const override { return &FrameLowering; } - const AVRTargetLowering *getTargetLowering() const override { return &TLInfo; } - const AVRSelectionDAGInfo *getSelectionDAGInfo() const override { return &TSInfo; } - const AVRRegisterInfo *getRegisterInfo() const override { return &InstrInfo.getRegisterInfo(); } + const TargetFrameLowering *getFrameLowering() const override { + return &FrameLowering; + } + const AVRTargetLowering *getTargetLowering() const override { + return &TLInfo; + } + const AVRSelectionDAGInfo *getSelectionDAGInfo() const override { + return &TSInfo; + } + const AVRRegisterInfo *getRegisterInfo() const override { + return &InstrInfo.getRegisterInfo(); + } /// Parses a subtarget feature string, setting appropriate options. /// \note Definition of function is auto generated by `tblgen`. @@ -84,7 +92,6 @@ public: } private: - /// The ELF e_flags architecture. unsigned ELFArch; |