LLVM  15.0.0git
Public Member Functions | List of all members
llvm::SPIRVSubtarget Class Reference

#include "Target/SPIRV/SPIRVSubtarget.h"

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

Public Member Functions

 SPIRVSubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const SPIRVTargetMachine &TM)
 
SPIRVSubtargetinitSubtargetDependencies (StringRef CPU, StringRef FS)
 
void ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, StringRef FS)
 
unsigned getPointerSize () const
 
bool canDirectlyComparePointers () const
 
uint32_t getSPIRVVersion () const
 
SPIRVGlobalRegistrygetSPIRVGlobalRegistry () const
 
const CallLoweringgetCallLowering () const override
 
const RegisterBankInfogetRegBankInfo () const override
 
const LegalizerInfogetLegalizerInfo () const override
 
InstructionSelectorgetInstructionSelector () const override
 
const SPIRVInstrInfogetInstrInfo () const override
 
const SPIRVFrameLoweringgetFrameLowering () const override
 
const SPIRVTargetLoweringgetTargetLowering () const override
 
const SPIRVRegisterInfogetRegisterInfo () const override
 

Detailed Description

Definition at line 36 of file SPIRVSubtarget.h.

Constructor & Destructor Documentation

◆ SPIRVSubtarget()

SPIRVSubtarget::SPIRVSubtarget ( const Triple TT,
const std::string &  CPU,
const std::string &  FS,
const SPIRVTargetMachine TM 
)

Definition at line 42 of file SPIRVSubtarget.cpp.

References llvm::createSPIRVInstructionSelector(), and TM.

Member Function Documentation

◆ canDirectlyComparePointers()

bool SPIRVSubtarget::canDirectlyComparePointers ( ) const

Definition at line 66 of file SPIRVSubtarget.cpp.

References isAtLeastVer().

◆ getCallLowering()

const CallLowering* llvm::SPIRVSubtarget::getCallLowering ( ) const
inlineoverride

Definition at line 68 of file SPIRVSubtarget.h.

◆ getFrameLowering()

const SPIRVFrameLowering* llvm::SPIRVSubtarget::getFrameLowering ( ) const
inlineoverride

Definition at line 81 of file SPIRVSubtarget.h.

◆ getInstrInfo()

const SPIRVInstrInfo* llvm::SPIRVSubtarget::getInstrInfo ( ) const
inlineoverride

Definition at line 80 of file SPIRVSubtarget.h.

◆ getInstructionSelector()

InstructionSelector* llvm::SPIRVSubtarget::getInstructionSelector ( ) const
inlineoverride

Definition at line 77 of file SPIRVSubtarget.h.

◆ getLegalizerInfo()

const LegalizerInfo* llvm::SPIRVSubtarget::getLegalizerInfo ( ) const
inlineoverride

Definition at line 74 of file SPIRVSubtarget.h.

◆ getPointerSize()

unsigned llvm::SPIRVSubtarget::getPointerSize ( ) const
inline

Definition at line 63 of file SPIRVSubtarget.h.

◆ getRegBankInfo()

const RegisterBankInfo* llvm::SPIRVSubtarget::getRegBankInfo ( ) const
inlineoverride

◆ getRegisterInfo()

const SPIRVRegisterInfo* llvm::SPIRVSubtarget::getRegisterInfo ( ) const
inlineoverride

◆ getSPIRVGlobalRegistry()

SPIRVGlobalRegistry* llvm::SPIRVSubtarget::getSPIRVGlobalRegistry ( ) const
inline

Definition at line 66 of file SPIRVSubtarget.h.

◆ getSPIRVVersion()

uint32_t llvm::SPIRVSubtarget::getSPIRVVersion ( ) const
inline

Definition at line 65 of file SPIRVSubtarget.h.

◆ getTargetLowering()

const SPIRVTargetLowering* llvm::SPIRVSubtarget::getTargetLowering ( ) const
inlineoverride

Definition at line 84 of file SPIRVSubtarget.h.

◆ initSubtargetDependencies()

SPIRVSubtarget & SPIRVSubtarget::initSubtargetDependencies ( StringRef  CPU,
StringRef  FS 
)

Definition at line 57 of file SPIRVSubtarget.cpp.

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

◆ ParseSubtargetFeatures()

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

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