14 #ifndef LLVM_AVR_SUBTARGET_H
15 #define LLVM_AVR_SUBTARGET_H
26 #define GET_SUBTARGETINFO_HEADER
27 #include "AVRGenSubtargetInfo.inc"
54 bool hasSRAM()
const {
return m_hasSRAM; }
60 bool hasMOVW()
const {
return m_hasMOVW; }
61 bool hasLPM()
const {
return m_hasLPM; }
62 bool hasLPMX()
const {
return m_hasLPMX; }
63 bool hasELPM()
const {
return m_hasELPM; }
65 bool hasSPM()
const {
return m_hasSPM; }
66 bool hasSPMX()
const {
return m_hasSPMX; }
67 bool hasDES()
const {
return m_hasDES; }
77 "every device must have an associate ELF architecture");
104 bool m_supportsMultiplication;
106 bool m_hasTinyEncoding;
113 bool m_FeatureSetDummy;
118 #endif // LLVM_AVR_SUBTARGET_H
const AVRInstrInfo * getInstrInfo() const override
const AVRSelectionDAGInfo * getSelectionDAGInfo() const override
bool hasSmallStack() const
Utilities relating to AVR registers.
const AVRRegisterInfo & getRegisterInfo() const
const AVRTargetLowering * getTargetLowering() const override
A generic AVR implementation.
Utilities related to the AVR instruction set.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)
Parses a subtarget feature string, setting appropriate options.
Triple - Helper class for working with autoconf configuration names.
unsigned getELFArch() const
Gets the ELF architecture for the e_flags field of an ELF object file.
bool hasEIJMPCALL() const
Holds information about the AVR instruction selection DAG.
Performs target lowering for the AVR.
Information about stack frame layout on the target.
A specific AVR target MCU.
AVRSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, AVRTargetMachine &TM)
Creates an AVR subtarget.
bool supportsMultiplication() const
Utilities for creating function call frames.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
const TargetFrameLowering * getFrameLowering() const override
const AVRRegisterInfo * getRegisterInfo() const override
StringRef - Represent a constant reference to a string, i.e.
bool hasTinyEncoding() const