27 #define DEBUG_TYPE "wasm-mc-target-desc"
29 #define GET_SUBTARGETINFO_MC_DESC
30 #include "WebAssemblyGenSubtargetInfo.inc"
32 #define GET_REGINFO_MC_DESC
33 #include "WebAssemblyGenRegisterInfo.inc"
45 if (SyntaxVariant == 0 || SyntaxVariant == 1)
Target TheWebAssemblyTarget64
This class prints an WebAssembly MCInst to wasm file syntax.
static void RegisterMCInstPrinter(Target &T, Target::MCInstPrinterCtorTy Fn)
RegisterMCInstPrinter - Register a MCInstPrinter implementation for the given target.
Target TheWebAssemblyTarget32
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
This class is intended to be used as a base class for asm properties and features specific to the tar...
This file provides WebAssembly-specific target descriptions.
Interface to description of machine instruction set.
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
static MCInstPrinter * createWebAssemblyMCInstPrinter(const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
Triple - Helper class for working with autoconf configuration names.
Target - Wrapper for Target specific information.
This file contains the declaration of the WebAssemblyMCAsmInfo class.
RegisterMCAsmInfoFn - Helper template for registering a target assembly info implementation.
static MCAsmInfo * createWebAssemblyMCAsmInfo(const MCRegisterInfo &MRI, const Triple &TT)
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
void LLVMInitializeWebAssemblyTargetMC()