21 #define DEBUG_TYPE "wasm-subtarget" 23 #define GET_SUBTARGETINFO_CTOR 24 #define GET_SUBTARGETINFO_TARGET_DESC 25 #include "WebAssemblyGenSubtargetInfo.inc" 28 WebAssemblySubtarget::initializeSubtargetDependencies(
StringRef FS) {
31 if (CPUString.empty())
32 CPUString =
"generic";
39 const std::string &CPU,
40 const std::string &
FS,
43 TargetTriple(TT), FrameLowering(),
44 InstrInfo(initializeSubtargetDependencies(FS)), TSInfo(),
bool enableMachineScheduler() const override
This class represents lattice values for constants.
bool useAA() const override
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.
bool enableAtomicExpand() const override
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.