16 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSUBTARGET_H
17 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSUBTARGET_H
26 #define GET_SUBTARGETINFO_HEADER
27 #include "WebAssemblyGenSubtargetInfo.inc"
35 std::string CPUString;
59 return &FrameLowering;
72 bool useAA()
const override;
This file defines the interfaces that WebAssembly uses to lower LLVM code into a selection DAG...
const Triple & getTargetTriple() const
bool enableMachineScheduler() const override
bool useAA() const override
const WebAssemblyFrameLowering * getFrameLowering() const override
bool isArch64Bit() const
Test whether the architecture is 64-bit.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)
Parses features string setting specified subtarget options.
const WebAssemblySelectionDAGInfo * getSelectionDAGInfo() const override
Triple - Helper class for working with autoconf configuration names.
const WebAssemblyTargetLowering * getTargetLowering() const override
const WebAssemblyRegisterInfo & getRegisterInfo() const
This file contains the WebAssembly implementation of the TargetInstrInfo class.
This file defines the WebAssembly subclass for SelectionDAGTargetInfo.
const WebAssemblyRegisterInfo * getRegisterInfo() const override
This class implements WebAssembly-specific bits of TargetFrameLowering class.
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.
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
const WebAssemblyInstrInfo * getInstrInfo() const override