Go to the documentation of this file.
15 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSUBTARGET_H
16 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSUBTARGET_H
25 #define GET_SUBTARGETINFO_ENUM
26 #define GET_SUBTARGETINFO_HEADER
27 #include "WebAssemblyGenSubtargetInfo.inc"
32 extern const SubtargetFeatureKV
42 bool HasAtomics =
false;
43 bool HasNontrappingFPToInt =
false;
44 bool HasSignExt =
false;
45 bool HasExceptionHandling =
false;
46 bool HasBulkMemory =
false;
47 bool HasMultivalue =
false;
48 bool HasMutableGlobals =
false;
49 bool HasTailCall =
false;
50 bool HasReferenceTypes =
false;
51 bool HasExtendedConst =
false;
74 return &FrameLowering;
89 bool useAA()
const override;
const WebAssemblyRegisterInfo * getRegisterInfo() const override
const SubtargetFeatureKV WebAssemblyFeatureKV[WebAssembly::NumSubtargetFeatures]
const Triple & getTargetTriple() const
This is an optimization pass for GlobalISel generic memory operations.
bool hasExceptionHandling() const
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.
const WebAssemblyTargetLowering * getTargetLowering() const override
bool hasMultivalue() const
bool hasMutableGlobals() const
Triple - Helper class for working with autoconf configuration names.
bool isArch64Bit() const
Test whether the architecture is 64-bit.
bool hasRelaxedSIMD() const
bool enableMachineScheduler() const override
bool hasReferenceTypes() const
bool hasNontrappingFPToInt() const
const WebAssemblyInstrInfo * getInstrInfo() const override
Primary interface to the complete machine description for the target machine.
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
Parses features string setting specified subtarget options.
bool enableAtomicExpand() const override
StringRef - Represent a constant reference to a string, i.e.
bool hasBulkMemory() const
const WebAssemblyFrameLowering * getFrameLowering() const override
bool useAA() const override
const WebAssemblySelectionDAGInfo * getSelectionDAGInfo() const override
const char LLVMTargetMachineRef TM
bool enableIndirectBrExpand() const override
const WebAssemblyRegisterInfo & getRegisterInfo() const