LLVM 24.0.0git
llvm::WebAssemblySubtarget Class Referencefinal

#include "Target/WebAssembly/WebAssemblySubtarget.h"

Inheritance diagram for llvm::WebAssemblySubtarget:
[legend]

Public Member Functions

 WebAssemblySubtarget (const Triple &TT, StringRef CPU, StringRef FS, const WebAssemblyTargetMachine &TM, StringRef ABIName)
 This constructor initializes the data members to match that of the specified triple.
const WebAssemblySelectionDAGInfo * getSelectionDAGInfo () const override
const WebAssemblyFrameLowering * getFrameLowering () const override
const WebAssemblyTargetLowering * getTargetLowering () const override
const WebAssemblyInstrInfo * getInstrInfo () const override
const WebAssemblyRegisterInfo * getRegisterInfo () const override
const WebAssemblyOptions & getCLOpts () const
const Triple & getTargetTriple () const
bool enableAtomicExpand () const override
bool enableIndirectBrExpand () const override
bool enableMachineScheduler () const override
bool useAA () const override
bool hasAcquireReleaseAtomics () const
bool hasAddr64 () const
bool hasAtomics () const
bool hasBulkMemory () const
bool hasBulkMemoryOpt () const
bool hasCallIndirectOverlong () const
bool hasCompactImports () const
bool hasExceptionHandling () const
bool hasExtendedConst () const
bool hasFP16 () const
bool hasGC () const
bool hasCooperativeMultithreading () const
bool hasLibcallThreadContext () const
bool hasMultiMemory () const
bool hasMultivalue () const
bool hasMutableGlobals () const
bool hasNontrappingFPToInt () const
bool hasReferenceTypes () const
bool hasRelaxedSIMD () const
bool hasSignExt () const
bool hasSIMD128 () const
bool hasTailCall () const
bool hasWideArithmetic () const
bool usesMultivalueABI () const
void ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, StringRef FS)
 Parses features string setting specified subtarget options.
const CallLowering * getCallLowering () const override
InstructionSelector * getInstructionSelector () const override
const LegalizerInfo * getLegalizerInfo () const override
const RegisterBankInfo * getRegBankInfo () const override

Detailed Description

Definition at line 45 of file WebAssemblySubtarget.h.

Constructor & Destructor Documentation

◆ WebAssemblySubtarget()

WebAssemblySubtarget::WebAssemblySubtarget ( const Triple & TT,
StringRef CPU,
StringRef FS,
const WebAssemblyTargetMachine & TM,
StringRef ABIName )

This constructor initializes the data members to match that of the specified triple.

Definition at line 67 of file WebAssemblySubtarget.cpp.

References llvm::createWebAssemblyInstructionSelector(), getCLOpts(), getRegisterInfo(), and getTargetLowering().

Member Function Documentation

◆ enableAtomicExpand()

bool WebAssemblySubtarget::enableAtomicExpand ( ) const
override

Definition at line 84 of file WebAssemblySubtarget.cpp.

References hasAtomics().

◆ enableIndirectBrExpand()

bool llvm::WebAssemblySubtarget::enableIndirectBrExpand ( ) const
inlineoverride

Definition at line 118 of file WebAssemblySubtarget.h.

◆ enableMachineScheduler()

bool WebAssemblySubtarget::enableMachineScheduler ( ) const
override

Definition at line 89 of file WebAssemblySubtarget.cpp.

◆ getCallLowering()

const CallLowering * WebAssemblySubtarget::getCallLowering ( ) const
override

Definition at line 98 of file WebAssemblySubtarget.cpp.

◆ getCLOpts()

const WebAssemblyOptions & llvm::WebAssemblySubtarget::getCLOpts ( ) const
inline

◆ getFrameLowering()

const WebAssemblyFrameLowering * llvm::WebAssemblySubtarget::getFrameLowering ( ) const
inlineoverride

Definition at line 103 of file WebAssemblySubtarget.h.

◆ getInstrInfo()

const WebAssemblyInstrInfo * llvm::WebAssemblySubtarget::getInstrInfo ( ) const
inlineoverride

Definition at line 109 of file WebAssemblySubtarget.h.

Referenced by getRegisterInfo().

◆ getInstructionSelector()

InstructionSelector * WebAssemblySubtarget::getInstructionSelector ( ) const
override

Definition at line 102 of file WebAssemblySubtarget.cpp.

◆ getLegalizerInfo()

const LegalizerInfo * WebAssemblySubtarget::getLegalizerInfo ( ) const
override

Definition at line 106 of file WebAssemblySubtarget.cpp.

◆ getRegBankInfo()

const RegisterBankInfo * WebAssemblySubtarget::getRegBankInfo ( ) const
override

Definition at line 110 of file WebAssemblySubtarget.cpp.

◆ getRegisterInfo()

const WebAssemblyRegisterInfo * llvm::WebAssemblySubtarget::getRegisterInfo ( ) const
inlineoverride

◆ getSelectionDAGInfo()

const WebAssemblySelectionDAGInfo * llvm::WebAssemblySubtarget::getSelectionDAGInfo ( ) const
inlineoverride

Definition at line 100 of file WebAssemblySubtarget.h.

◆ getTargetLowering()

const WebAssemblyTargetLowering * llvm::WebAssemblySubtarget::getTargetLowering ( ) const
inlineoverride

Definition at line 106 of file WebAssemblySubtarget.h.

Referenced by WebAssemblySubtarget().

◆ getTargetTriple()

const Triple & llvm::WebAssemblySubtarget::getTargetTriple ( ) const
inline

Definition at line 116 of file WebAssemblySubtarget.h.

◆ hasAcquireReleaseAtomics()

bool llvm::WebAssemblySubtarget::hasAcquireReleaseAtomics ( ) const
inline

Definition at line 123 of file WebAssemblySubtarget.h.

◆ hasAddr64()

bool llvm::WebAssemblySubtarget::hasAddr64 ( ) const
inline

Definition at line 124 of file WebAssemblySubtarget.h.

◆ hasAtomics()

bool llvm::WebAssemblySubtarget::hasAtomics ( ) const
inline

Definition at line 125 of file WebAssemblySubtarget.h.

Referenced by enableAtomicExpand().

◆ hasBulkMemory()

bool llvm::WebAssemblySubtarget::hasBulkMemory ( ) const
inline

Definition at line 126 of file WebAssemblySubtarget.h.

◆ hasBulkMemoryOpt()

bool llvm::WebAssemblySubtarget::hasBulkMemoryOpt ( ) const
inline

Definition at line 127 of file WebAssemblySubtarget.h.

◆ hasCallIndirectOverlong()

bool llvm::WebAssemblySubtarget::hasCallIndirectOverlong ( ) const
inline

Definition at line 128 of file WebAssemblySubtarget.h.

◆ hasCompactImports()

bool llvm::WebAssemblySubtarget::hasCompactImports ( ) const
inline

Definition at line 129 of file WebAssemblySubtarget.h.

◆ hasCooperativeMultithreading()

bool llvm::WebAssemblySubtarget::hasCooperativeMultithreading ( ) const
inline

Definition at line 134 of file WebAssemblySubtarget.h.

◆ hasExceptionHandling()

bool llvm::WebAssemblySubtarget::hasExceptionHandling ( ) const
inline

Definition at line 130 of file WebAssemblySubtarget.h.

◆ hasExtendedConst()

bool llvm::WebAssemblySubtarget::hasExtendedConst ( ) const
inline

Definition at line 131 of file WebAssemblySubtarget.h.

◆ hasFP16()

bool llvm::WebAssemblySubtarget::hasFP16 ( ) const
inline

Definition at line 132 of file WebAssemblySubtarget.h.

◆ hasGC()

bool llvm::WebAssemblySubtarget::hasGC ( ) const
inline

Definition at line 133 of file WebAssemblySubtarget.h.

◆ hasLibcallThreadContext()

bool llvm::WebAssemblySubtarget::hasLibcallThreadContext ( ) const
inline

◆ hasMultiMemory()

bool llvm::WebAssemblySubtarget::hasMultiMemory ( ) const
inline

Definition at line 138 of file WebAssemblySubtarget.h.

◆ hasMultivalue()

bool llvm::WebAssemblySubtarget::hasMultivalue ( ) const
inline

Definition at line 139 of file WebAssemblySubtarget.h.

◆ hasMutableGlobals()

bool llvm::WebAssemblySubtarget::hasMutableGlobals ( ) const
inline

Definition at line 140 of file WebAssemblySubtarget.h.

◆ hasNontrappingFPToInt()

bool llvm::WebAssemblySubtarget::hasNontrappingFPToInt ( ) const
inline

Definition at line 141 of file WebAssemblySubtarget.h.

◆ hasReferenceTypes()

bool llvm::WebAssemblySubtarget::hasReferenceTypes ( ) const
inline

Definition at line 142 of file WebAssemblySubtarget.h.

◆ hasRelaxedSIMD()

bool llvm::WebAssemblySubtarget::hasRelaxedSIMD ( ) const
inline

Definition at line 143 of file WebAssemblySubtarget.h.

◆ hasSignExt()

bool llvm::WebAssemblySubtarget::hasSignExt ( ) const
inline

Definition at line 144 of file WebAssemblySubtarget.h.

◆ hasSIMD128()

bool llvm::WebAssemblySubtarget::hasSIMD128 ( ) const
inline

Definition at line 145 of file WebAssemblySubtarget.h.

Referenced by reduceToAnyAllTrue().

◆ hasTailCall()

bool llvm::WebAssemblySubtarget::hasTailCall ( ) const
inline

Definition at line 146 of file WebAssemblySubtarget.h.

◆ hasWideArithmetic()

bool llvm::WebAssemblySubtarget::hasWideArithmetic ( ) const
inline

Definition at line 147 of file WebAssemblySubtarget.h.

◆ ParseSubtargetFeatures()

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

Parses features string setting specified subtarget options.

Definition of function is auto generated by tblgen.

◆ useAA()

bool WebAssemblySubtarget::useAA ( ) const
override

Definition at line 96 of file WebAssemblySubtarget.cpp.

◆ usesMultivalueABI()

bool llvm::WebAssemblySubtarget::usesMultivalueABI ( ) const
inline

Definition at line 149 of file WebAssemblySubtarget.h.

References llvm::WebAssembly::ExperimentalMV.


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