|
LLVM 22.0.0git
|
Print MCInst instructions to wasm format. More...
#include "MCTargetDesc/WebAssemblyInstPrinter.h"#include "MCTargetDesc/WebAssemblyMCAsmInfo.h"#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"#include "MCTargetDesc/WebAssemblyMCTypeUtilities.h"#include "llvm/ADT/APFloat.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/StringExtras.h"#include "llvm/MC/MCAsmInfo.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 "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.
|
static |
Definition at line 291 of file WebAssemblyInstPrinter.cpp.
References assert(), FP, llvm::APInt::getBitWidth(), llvm::APFloat::getQNaN(), llvm::APInt::getZExtValue(), llvm::APInt::isNegative(), llvm::APFloatBase::rmNearestTiesToEven, and llvm::utohexstr().