13#ifndef LLVM_LIB_TARGET_SPARC_SPARCSUBTARGET_H
14#define LLVM_LIB_TARGET_SPARC_SPARCSUBTARGET_H
25#define GET_SUBTARGETINFO_HEADER
26#include "SparcGenSubtargetInfo.inc"
33 virtual void anchor();
37 bool V8DeprecatedInsts;
38 bool IsVIS, IsVIS2, IsVIS3;
53 bool HasLeonCycleCounter;
66 return &FrameLowering;
81 bool isV9()
const {
return IsV9; }
82 bool isLeon()
const {
return IsLeon; }
83 bool isVIS()
const {
return IsVIS; }
84 bool isVIS2()
const {
return IsVIS2; }
85 bool isVIS3()
const {
return IsVIS3; }
const char LLVMTargetMachineRef TM
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
const SparcRegisterInfo * getRegisterInfo() const override
int64_t getStackPointerBias() const
The 64-bit ABI uses biased stack and frame pointers, so the stack frame of the current function is th...
bool useSoftFloat() const
const SparcTargetLowering * getTargetLowering() const override
int getAdjustedFrameSize(int stackSize) const
Given a actual stack size as determined by FrameInfo, this function returns adjusted framesize which ...
bool useSoftMulDiv() const
bool enableMachineScheduler() const override
const TargetFrameLowering * getFrameLowering() const override
bool hasLeonCycleCounter() const
bool isTargetLinux() const
bool insertNOPLoad() const
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
bool fixAllFDIVSQRT() const
SparcSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS)
bool useDeprecatedV8Instructions() const
const SparcInstrInfo * getInstrInfo() const override
const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
bool detectRoundChange() const
StringRef - Represent a constant reference to a string, i.e.
Information about stack frame layout on the target.
Primary interface to the complete machine description for the target machine.
Triple - Helper class for working with autoconf configuration names.
bool isOSLinux() const
Tests whether the OS is Linux.
This is an optimization pass for GlobalISel generic memory operations.