22#define DEBUG_TYPE "arc-subtarget"
24#define GET_SUBTARGETINFO_TARGET_DESC
25#define GET_SUBTARGETINFO_CTOR
26#include "ARCGenSubtargetInfo.inc"
28#define OPTIONS_STRUCT_DEFS
29#include "ARCOptions.inc"
31void ARCSubtarget::anchor() {}
36 InstrInfo(*this), FrameLowering(*this), TLInfo(TM, *this) {
37 TSInfo = std::make_unique<ARCSelectionDAGInfo>();
ARCSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const ARCTargetMachine &TM)
This constructor initializes the data members to match that of the specified triple.
const ARCOptions & getCLOpts() const
const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
Triple - Helper class for working with autoconf configuration names.
This is an optimization pass for GlobalISel generic memory operations.