13#ifndef LLVM_LIB_TARGET_XCORE_XCORESUBTARGET_H
14#define LLVM_LIB_TARGET_XCORE_XCORESUBTARGET_H
25#define GET_SUBTARGETINFO_HEADER
26#include "XCoreGenSubtargetInfo.inc"
32 virtual void anchor();
51 return &FrameLowering;
60 return &InstrInfo.getRegisterInfo();
StringRef - Represent a constant reference to a string, i.e.
Primary interface to the complete machine description for the target machine.
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
Triple - Helper class for working with autoconf configuration names.
const TargetRegisterInfo * getRegisterInfo() const override
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
const XCoreFrameLowering * getFrameLowering() const override
XCoreSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)
This constructor initializes the data members to match that of the specified triple.
const XCoreSelectionDAGInfo * getSelectionDAGInfo() const override
const XCoreInstrInfo * getInstrInfo() const override
const XCoreTargetLowering * getTargetLowering() const override
This is an optimization pass for GlobalISel generic memory operations.