LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::WebAssemblySubtarget Class Referencefinal

#include "Target/WebAssembly/WebAssemblySubtarget.h"

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

Public Member Functions

 WebAssemblySubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)
 This constructor initializes the data members to match that of the specified triple. More...
 
const WebAssemblySelectionDAGInfogetSelectionDAGInfo () const override
 
const WebAssemblyFrameLoweringgetFrameLowering () const override
 
const WebAssemblyTargetLoweringgetTargetLowering () const override
 
const WebAssemblyInstrInfogetInstrInfo () const override
 
const WebAssemblyRegisterInfogetRegisterInfo () const override
 
const TriplegetTargetTriple () const
 
bool enableAtomicExpand () const override
 
bool enableIndirectBrExpand () const override
 
bool enableMachineScheduler () const override
 
bool useAA () const override
 
bool hasAddr64 () const
 
bool hasSIMD128 () const
 
bool hasUnimplementedSIMD128 () const
 
bool hasAtomics () const
 
bool hasNontrappingFPToInt () const
 
bool hasSignExt () const
 
bool hasExceptionHandling () const
 
bool hasBulkMemory () const
 
bool hasMultivalue () const
 
bool hasMutableGlobals () const
 
bool hasTailCall () const
 
void ParseSubtargetFeatures (StringRef CPU, StringRef FS)
 Parses features string setting specified subtarget options. More...
 

Detailed Description

Definition at line 35 of file WebAssemblySubtarget.h.

Constructor & Destructor Documentation

◆ WebAssemblySubtarget()

WebAssemblySubtarget::WebAssemblySubtarget ( const Triple TT,
const std::string &  CPU,
const std::string &  FS,
const TargetMachine TM 
)

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

Definition at line 38 of file WebAssemblySubtarget.cpp.

Member Function Documentation

◆ enableAtomicExpand()

bool WebAssemblySubtarget::enableAtomicExpand ( ) const
override

Definition at line 47 of file WebAssemblySubtarget.cpp.

References hasAtomics().

Referenced by getTargetTriple().

◆ enableIndirectBrExpand()

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

Definition at line 89 of file WebAssemblySubtarget.h.

References enableMachineScheduler(), and useAA().

◆ enableMachineScheduler()

bool WebAssemblySubtarget::enableMachineScheduler ( ) const
override

Definition at line 52 of file WebAssemblySubtarget.cpp.

Referenced by enableIndirectBrExpand().

◆ getFrameLowering()

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

Definition at line 75 of file WebAssemblySubtarget.h.

◆ getInstrInfo()

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

Definition at line 81 of file WebAssemblySubtarget.h.

Referenced by getRegisterInfo(), and LowerFPToInt().

◆ getRegisterInfo()

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

◆ getSelectionDAGInfo()

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

Definition at line 72 of file WebAssemblySubtarget.h.

◆ getTargetLowering()

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

Definition at line 78 of file WebAssemblySubtarget.h.

◆ getTargetTriple()

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

Definition at line 87 of file WebAssemblySubtarget.h.

References enableAtomicExpand().

Referenced by appendEndToFunction(), and callingConvSupported().

◆ hasAddr64()

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

◆ hasAtomics()

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

Definition at line 99 of file WebAssemblySubtarget.h.

Referenced by enableAtomicExpand().

◆ hasBulkMemory()

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

Definition at line 103 of file WebAssemblySubtarget.h.

◆ hasExceptionHandling()

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

Definition at line 102 of file WebAssemblySubtarget.h.

◆ hasMultivalue()

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

Definition at line 104 of file WebAssemblySubtarget.h.

◆ hasMutableGlobals()

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

Definition at line 105 of file WebAssemblySubtarget.h.

◆ hasNontrappingFPToInt()

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

Definition at line 100 of file WebAssemblySubtarget.h.

◆ hasSignExt()

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

◆ hasSIMD128()

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

◆ hasTailCall()

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

Definition at line 106 of file WebAssemblySubtarget.h.

References ParseSubtargetFeatures().

Referenced by callingConvSupported().

◆ hasUnimplementedSIMD128()

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

◆ ParseSubtargetFeatures()

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

Parses features string setting specified subtarget options.

Definition of function is auto generated by tblgen.

Referenced by hasTailCall().

◆ useAA()

bool WebAssemblySubtarget::useAA ( ) const
override

Definition at line 59 of file WebAssemblySubtarget.cpp.

Referenced by enableIndirectBrExpand().


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