14 #ifndef LLVM_AVR_SUBTARGET_H
15 #define LLVM_AVR_SUBTARGET_H
27 #define GET_SUBTARGETINFO_HEADER
28 #include "AVRGenSubtargetInfo.inc"
55 bool hasSRAM()
const {
return m_hasSRAM; }
61 bool hasMOVW()
const {
return m_hasMOVW; }
62 bool hasLPM()
const {
return m_hasLPM; }
63 bool hasLPMX()
const {
return m_hasLPMX; }
64 bool hasELPM()
const {
return m_hasELPM; }
66 bool hasSPM()
const {
return m_hasSPM; }
67 bool hasSPMX()
const {
return m_hasSPMX; }
68 bool hasDES()
const {
return m_hasDES; }
78 "every device must have an associate ELF architecture");
105 bool m_supportsMultiplication;
107 bool m_hasTinyEncoding;
114 bool m_FeatureSetDummy;
119 #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