LLVM  14.0.0git
Public Member Functions | List of all members
llvm::CSKYSubtarget Class Reference

#include "Target/CSKY/CSKYSubtarget.h"

Inheritance diagram for llvm::CSKYSubtarget:
Inheritance graph
[legend]
Collaboration diagram for llvm::CSKYSubtarget:
Collaboration graph
[legend]

Public Member Functions

 CSKYSubtarget (const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, const TargetMachine &TM)
 
const CSKYFrameLoweringgetFrameLowering () const override
 
const CSKYInstrInfogetInstrInfo () const override
 
const CSKYRegisterInfogetRegisterInfo () const override
 
const CSKYTargetLoweringgetTargetLowering () const override
 
const SelectionDAGTargetInfogetSelectionDAGInfo () const override
 
CSKYSubtargetinitializeSubtargetDependencies (const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS)
 Initializes using the passed in CPU and feature strings so that we can use initializer lists for subtarget initialization. More...
 
void ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, StringRef FS)
 
bool useHardFloatABI () const
 
bool useHardFloat () const
 
bool hasFPUv2SingleFloat () const
 
bool hasFPUv2DoubleFloat () const
 
bool hasFPUv2 () const
 
bool hasFPUv3SingleFloat () const
 
bool hasFPUv3DoubleFloat () const
 
bool hasFPUv3 () const
 
bool hasAnyFloatExt () const
 
bool hasBTST16 () const
 
bool hasJAVA () const
 
bool hasExtendLrw () const
 
bool hasDoloop () const
 
bool hasHighRegisters () const
 
bool hasE1 () const
 
bool hasE2 () const
 
bool has2E3 () const
 
bool has3r1E3r2 () const
 
bool has3r2E3r3 () const
 
bool has3E3r1 () const
 
bool has3E7 () const
 
bool hasMP () const
 
bool hasMP1E2 () const
 
bool has7E10 () const
 
bool has10E60 () const
 

Detailed Description

Definition at line 30 of file CSKYSubtarget.h.

Constructor & Destructor Documentation

◆ CSKYSubtarget()

CSKYSubtarget::CSKYSubtarget ( const Triple TT,
StringRef  CPU,
StringRef  TuneCPU,
StringRef  FS,
const TargetMachine TM 
)

Definition at line 61 of file CSKYSubtarget.cpp.

Member Function Documentation

◆ getFrameLowering()

const CSKYFrameLowering* llvm::CSKYSubtarget::getFrameLowering ( ) const
inlineoverride

Definition at line 68 of file CSKYSubtarget.h.

◆ getInstrInfo()

const CSKYInstrInfo* llvm::CSKYSubtarget::getInstrInfo ( ) const
inlineoverride

◆ getRegisterInfo()

const CSKYRegisterInfo* llvm::CSKYSubtarget::getRegisterInfo ( ) const
inlineoverride

◆ getSelectionDAGInfo()

const SelectionDAGTargetInfo* llvm::CSKYSubtarget::getSelectionDAGInfo ( ) const
inlineoverride

Definition at line 76 of file CSKYSubtarget.h.

◆ getTargetLowering()

const CSKYTargetLowering* llvm::CSKYSubtarget::getTargetLowering ( ) const
inlineoverride

Definition at line 73 of file CSKYSubtarget.h.

Referenced by useHardFloatABI().

◆ has10E60()

bool llvm::CSKYSubtarget::has10E60 ( ) const
inline

Definition at line 116 of file CSKYSubtarget.h.

◆ has2E3()

bool llvm::CSKYSubtarget::has2E3 ( ) const
inline

◆ has3E3r1()

bool llvm::CSKYSubtarget::has3E3r1 ( ) const
inline

Definition at line 111 of file CSKYSubtarget.h.

◆ has3E7()

bool llvm::CSKYSubtarget::has3E7 ( ) const
inline

Definition at line 112 of file CSKYSubtarget.h.

◆ has3r1E3r2()

bool llvm::CSKYSubtarget::has3r1E3r2 ( ) const
inline

Definition at line 109 of file CSKYSubtarget.h.

◆ has3r2E3r3()

bool llvm::CSKYSubtarget::has3r2E3r3 ( ) const
inline

Definition at line 110 of file CSKYSubtarget.h.

Referenced by llvm::CSKYTargetLowering::CSKYTargetLowering().

◆ has7E10()

bool llvm::CSKYSubtarget::has7E10 ( ) const
inline

Definition at line 115 of file CSKYSubtarget.h.

◆ hasAnyFloatExt()

bool llvm::CSKYSubtarget::hasAnyFloatExt ( ) const
inline

Definition at line 98 of file CSKYSubtarget.h.

References hasFPUv2(), and hasFPUv3().

◆ hasBTST16()

bool llvm::CSKYSubtarget::hasBTST16 ( ) const
inline

Definition at line 100 of file CSKYSubtarget.h.

◆ hasDoloop()

bool llvm::CSKYSubtarget::hasDoloop ( ) const
inline

Definition at line 103 of file CSKYSubtarget.h.

◆ hasE1()

bool llvm::CSKYSubtarget::hasE1 ( ) const
inline

Definition at line 106 of file CSKYSubtarget.h.

◆ hasE2()

bool llvm::CSKYSubtarget::hasE2 ( ) const
inline

◆ hasExtendLrw()

bool llvm::CSKYSubtarget::hasExtendLrw ( ) const
inline

Definition at line 102 of file CSKYSubtarget.h.

◆ hasFPUv2()

bool llvm::CSKYSubtarget::hasFPUv2 ( ) const
inline

Definition at line 94 of file CSKYSubtarget.h.

Referenced by hasAnyFloatExt().

◆ hasFPUv2DoubleFloat()

bool llvm::CSKYSubtarget::hasFPUv2DoubleFloat ( ) const
inline

◆ hasFPUv2SingleFloat()

bool llvm::CSKYSubtarget::hasFPUv2SingleFloat ( ) const
inline

◆ hasFPUv3()

bool llvm::CSKYSubtarget::hasFPUv3 ( ) const
inline

Definition at line 97 of file CSKYSubtarget.h.

Referenced by hasAnyFloatExt().

◆ hasFPUv3DoubleFloat()

bool llvm::CSKYSubtarget::hasFPUv3DoubleFloat ( ) const
inline

Definition at line 96 of file CSKYSubtarget.h.

Referenced by llvm::CSKYFrameLowering::determineCalleeSaves().

◆ hasFPUv3SingleFloat()

bool llvm::CSKYSubtarget::hasFPUv3SingleFloat ( ) const
inline

Definition at line 95 of file CSKYSubtarget.h.

Referenced by llvm::CSKYFrameLowering::determineCalleeSaves().

◆ hasHighRegisters()

bool llvm::CSKYSubtarget::hasHighRegisters ( ) const
inline

◆ hasJAVA()

bool llvm::CSKYSubtarget::hasJAVA ( ) const
inline

Definition at line 101 of file CSKYSubtarget.h.

◆ hasMP()

bool llvm::CSKYSubtarget::hasMP ( ) const
inline

Definition at line 113 of file CSKYSubtarget.h.

◆ hasMP1E2()

bool llvm::CSKYSubtarget::hasMP1E2 ( ) const
inline

Definition at line 114 of file CSKYSubtarget.h.

◆ initializeSubtargetDependencies()

CSKYSubtarget & CSKYSubtarget::initializeSubtargetDependencies ( const Triple TT,
StringRef  CPU,
StringRef  TuneCPU,
StringRef  FS 
)

Initializes using the passed in CPU and feature strings so that we can use initializer lists for subtarget initialization.

Definition at line 24 of file CSKYSubtarget.cpp.

References llvm::StringRef::empty(), llvm::X86AS::FS, and ParseSubtargetFeatures().

◆ ParseSubtargetFeatures()

void llvm::CSKYSubtarget::ParseSubtargetFeatures ( StringRef  CPU,
StringRef  TuneCPU,
StringRef  FS 
)

◆ useHardFloat()

bool llvm::CSKYSubtarget::useHardFloat ( ) const
inline

Definition at line 91 of file CSKYSubtarget.h.

◆ useHardFloatABI()

bool CSKYSubtarget::useHardFloatABI ( ) const

The documentation for this class was generated from the following files: