14#ifndef LLVM_LIB_TARGET_M68K_M68KTARGETMACHINE_H
15#define LLVM_LIB_TARGET_M68K_M68KTARGETMACHINE_H
31 const M68kOptions &CLOpts;
32 std::unique_ptr<TargetLoweringObjectFile> TLOF;
38 struct SubtargetAttrs {
42 return CPU ==
RHS.CPU && FS ==
RHS.FS;
52 std::optional<Reloc::Model>
RM,
58 const M68kOptions &
getCLOpts()
const {
return CLOpts; }
Cache of the last subtarget a TargetMachine returned, to skip building the subtarget key for consecut...
This file provides M68k specific target descriptions.
This file declares the M68k specific subclass of TargetSubtargetInfo.
Functions, function parameters, and return types can have attributes to indicate how they should be t...
CodeGenTargetMachineImpl(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOptLevel OL)
Cache of the last subtarget returned by getSubtargetImpl.
~M68kTargetMachine() override
TargetLoweringObjectFile * getObjFileLowering() const override
const M68kSubtarget * getSubtargetImpl() const
MachineFunctionInfo * createMachineFunctionInfo(BumpPtrAllocator &Allocator, const Function &F, const TargetSubtargetInfo *STI) const override
Create the target's instance of MachineFunctionInfo.
const M68kOptions & getCLOpts() const
M68kTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, std::optional< Reloc::Model > RM, std::optional< CodeModel::Model > CM, CodeGenOptLevel OL, bool JIT)
TargetPassConfig * createPassConfig(PassManagerBase &PM) override
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
Represent a constant reference to a string, i.e.
std::unique_ptr< const MCSubtargetInfo > STI
Target-Independent Code Generator Pass Configuration Options.
TargetSubtargetInfo - Generic base class for all target subtargets.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
This is an optimization pass for GlobalISel generic memory operations.
bool operator!=(uint64_t V1, const APInt &V2)
bool operator==(const AddressRangeValuePair &LHS, const AddressRangeValuePair &RHS)
CodeGenOptLevel
Code generation optimization level.
BumpPtrAllocatorImpl<> BumpPtrAllocator
The standard BumpPtrAllocator which just uses the default template parameters.
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...