18#define DEBUG_TYPE "xtensa-subtarget"
20#define GET_SUBTARGETINFO_TARGET_DESC
21#define GET_SUBTARGETINFO_CTOR
22#include "XtensaGenSubtargetInfo.inc"
29 if (CPUName.
empty()) {
42 InstrInfo(initializeSubtargetDependencies(CPU, FS)), TLInfo(TM, *this),
43 FrameLowering(*this) {
44 TSInfo = std::make_unique<SelectionDAGTargetInfo>();
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
StringRef - Represent a constant reference to a string, i.e.
constexpr bool empty() const
empty - Check if the string is empty.
Primary interface to the complete machine description for the target machine.
Triple - Helper class for working with autoconf configuration names.
XtensaSubtarget(const Triple &TT, StringRef CPU, StringRef FS, const TargetMachine &TM)
~XtensaSubtarget() override
const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
This is an optimization pass for GlobalISel generic memory operations.