22 #define DEBUG_TYPE "wasm-subtarget"
24 #define GET_SUBTARGETINFO_CTOR
25 #define GET_SUBTARGETINFO_TARGET_DESC
26 #include "WebAssemblyGenSubtargetInfo.inc"
29 WebAssemblySubtarget::initializeSubtargetDependencies(
StringRef FS) {
32 if (CPUString.empty())
33 CPUString =
"generic";
40 const std::string &CPU,
41 const std::string &FS,
44 CPUString(CPU), TargetTriple(TT), FrameLowering(),
45 InstrInfo(initializeSubtargetDependencies(FS)), TSInfo(),
bool enableMachineScheduler() const override
bool useAA() const override
Function Alias Analysis false
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)
Parses features string setting specified subtarget options.
This file provides WebAssembly-specific target descriptions.
Triple - Helper class for working with autoconf configuration names.
This file declares the WebAssembly-specific subclass of TargetSubtarget.
This file contains the WebAssembly implementation of the TargetInstrInfo 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.