diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2023-02-11 12:38:04 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2023-02-11 12:38:11 +0000 | 
| commit | e3b557809604d036af6e00c60f012c2025b59a5e (patch) | |
| tree | 8a11ba2269a3b669601e2fd41145b174008f4da8 /llvm/lib/Target/SystemZ/SystemZTargetMachine.h | |
| parent | 08e8dd7b9db7bb4a9de26d44c1cbfd24e869c014 (diff) | |
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZTargetMachine.h')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZTargetMachine.h | 11 | 
1 files changed, 8 insertions, 3 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetMachine.h b/llvm/lib/Target/SystemZ/SystemZTargetMachine.h index 2cdb33a5064b..20d68fff170a 100644 --- a/llvm/lib/Target/SystemZ/SystemZTargetMachine.h +++ b/llvm/lib/Target/SystemZ/SystemZTargetMachine.h @@ -15,12 +15,12 @@  #define LLVM_LIB_TARGET_SYSTEMZ_SYSTEMZTARGETMACHINE_H  #include "SystemZSubtarget.h" -#include "llvm/ADT/Optional.h"  #include "llvm/ADT/StringRef.h"  #include "llvm/Analysis/TargetTransformInfo.h"  #include "llvm/Support/CodeGen.h"  #include "llvm/Target/TargetMachine.h"  #include <memory> +#include <optional>  namespace llvm { @@ -32,8 +32,9 @@ class SystemZTargetMachine : public LLVMTargetMachine {  public:    SystemZTargetMachine(const Target &T, const Triple &TT, StringRef CPU,                         StringRef FS, const TargetOptions &Options, -                       Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, -                       CodeGenOpt::Level OL, bool JIT); +                       std::optional<Reloc::Model> RM, +                       std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, +                       bool JIT);    ~SystemZTargetMachine() override;    const SystemZSubtarget *getSubtargetImpl(const Function &) const override; @@ -50,6 +51,10 @@ public:      return TLOF.get();    } +  MachineFunctionInfo * +  createMachineFunctionInfo(BumpPtrAllocator &Allocator, const Function &F, +                            const TargetSubtargetInfo *STI) const override; +    bool targetSchedulesPostRAScheduling() const override { return true; };  };  | 
