LLVM 20.0.0git
|
Print MCInst instructions to wasm format. More...
#include "MCTargetDesc/WebAssemblyInstPrinter.h"
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "MCTargetDesc/WebAssemblyMCTypeUtilities.h"
#include "WebAssembly.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolWasm.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "WebAssemblyGenAsmWriter.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "asm-printer" |
Functions | |
static std::string | toString (const APFloat &FP) |
Print MCInst instructions to wasm format.
Definition in file WebAssemblyInstPrinter.cpp.
#define DEBUG_TYPE "asm-printer" |
Definition at line 32 of file WebAssemblyInstPrinter.cpp.
Definition at line 268 of file WebAssemblyInstPrinter.cpp.
References assert(), FP, llvm::APInt::getBitWidth(), llvm::APFloat::getQNaN(), llvm::APInt::getZExtValue(), llvm::APInt::isNegative(), and llvm::APFloatBase::rmNearestTiesToEven.