14 #ifndef LLVM_AVR_SUBTARGET_H 15 #define LLVM_AVR_SUBTARGET_H 26 #define GET_SUBTARGETINFO_HEADER 27 #include "AVRGenSubtargetInfo.inc" 57 bool hasSRAM()
const {
return m_hasSRAM; }
63 bool hasMOVW()
const {
return m_hasMOVW; }
64 bool hasLPM()
const {
return m_hasLPM; }
65 bool hasLPMX()
const {
return m_hasLPMX; }
66 bool hasELPM()
const {
return m_hasELPM; }
68 bool hasSPM()
const {
return m_hasSPM; }
69 bool hasSPMX()
const {
return m_hasSPMX; }
70 bool hasDES()
const {
return m_hasDES; }
80 "every device must have an associate ELF architecture");
107 bool m_supportsMultiplication;
109 bool m_hasTinyEncoding;
116 bool m_FeatureSetDummy;
121 #endif // LLVM_AVR_SUBTARGET_H
const AVRInstrInfo * getInstrInfo() const override
unsigned getELFArch() const
Gets the ELF architecture for the e_flags field of an ELF object file.
This class represents lattice values for constants.
const AVRSelectionDAGInfo * getSelectionDAGInfo() const override
Utilities relating to AVR registers.
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.
bool hasTinyEncoding() const
Triple - Helper class for working with autoconf configuration names.
Holds information about the AVR instruction selection DAG.
bool hasSmallStack() const
Performs target lowering for the AVR.
Information about stack frame layout on the target.
A specific AVR target MCU.
AVRSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS, const TargetMachine &TM)
Utilities for creating function call frames.
AVRSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const AVRTargetMachine &TM)
Creates an AVR subtarget.
const AVRRegisterInfo & getRegisterInfo() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
const TargetFrameLowering * getFrameLowering() const override
const AVRRegisterInfo * getRegisterInfo() const override
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
bool supportsMultiplication() const
bool hasEIJMPCALL() const