diff options
Diffstat (limited to 'llvm/lib/Target/ARM64/ARM64TargetMachine.h')
| -rw-r--r-- | llvm/lib/Target/ARM64/ARM64TargetMachine.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64TargetMachine.h b/llvm/lib/Target/ARM64/ARM64TargetMachine.h index 8274550d019..730ffcaaf6d 100644 --- a/llvm/lib/Target/ARM64/ARM64TargetMachine.h +++ b/llvm/lib/Target/ARM64/ARM64TargetMachine.h @@ -39,7 +39,8 @@ private: public: ARM64TargetMachine(const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, - CodeModel::Model CM, CodeGenOpt::Level OL); + CodeModel::Model CM, CodeGenOpt::Level OL, + bool IsLittleEndian); const ARM64Subtarget *getSubtargetImpl() const override { return &Subtarget; } const ARM64TargetLowering *getTargetLowering() const override { @@ -64,6 +65,28 @@ public: void addAnalysisPasses(PassManagerBase &PM) override; }; +// ARM64leTargetMachine - ARM64 little endian target machine. +// +class ARM64leTargetMachine : public ARM64TargetMachine { + virtual void anchor(); +public: + ARM64leTargetMachine(const Target &T, StringRef TT, + StringRef CPU, StringRef FS, const TargetOptions &Options, + Reloc::Model RM, CodeModel::Model CM, + CodeGenOpt::Level OL); +}; + +// ARM64beTargetMachine - ARM64 big endian target machine. +// +class ARM64beTargetMachine : public ARM64TargetMachine { + virtual void anchor(); +public: + ARM64beTargetMachine(const Target &T, StringRef TT, + StringRef CPU, StringRef FS, const TargetOptions &Options, + Reloc::Model RM, CodeModel::Model CM, + CodeGenOpt::Level OL); +}; + } // end namespace llvm #endif |

