diff options
| author | 2020-08-03 15:06:44 +0000 | |
|---|---|---|
| committer | 2020-08-03 15:06:44 +0000 | |
| commit | b64793999546ed8adebaeebd9d8345d18db8927d (patch) | |
| tree | 4357c27b561d73b0e089727c6ed659f2ceff5f47 /gnu/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h | |
| parent | Add support for UTF-8 DISPLAY-HINTs with octet length. For now only (diff) | |
| download | wireguard-openbsd-b64793999546ed8adebaeebd9d8345d18db8927d.tar.xz wireguard-openbsd-b64793999546ed8adebaeebd9d8345d18db8927d.zip | |
Remove LLVM 8.0.1 files.
Diffstat (limited to 'gnu/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h')
| -rw-r--r-- | gnu/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/gnu/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h b/gnu/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h deleted file mode 100644 index fa7a0ea61b3..00000000000 --- a/gnu/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h +++ /dev/null @@ -1,46 +0,0 @@ -//===-- WebAssemblyMCInstLower.h - Lower MachineInstr to MCInst -*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -/// -/// \file -/// This file declares the class to lower WebAssembly MachineInstrs to -/// their corresponding MCInst records. -/// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYMCINSTLOWER_H -#define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYMCINSTLOWER_H - -#include "llvm/MC/MCInst.h" -#include "llvm/Support/Compiler.h" - -namespace llvm { -class WebAssemblyAsmPrinter; -class MCContext; -class MCSymbol; -class MachineInstr; -class MachineOperand; - -/// This class is used to lower an MachineInstr into an MCInst. -class LLVM_LIBRARY_VISIBILITY WebAssemblyMCInstLower { - MCContext &Ctx; - WebAssemblyAsmPrinter &Printer; - - MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const; - MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const; - MCOperand LowerSymbolOperand(MCSymbol *Sym, int64_t Offset, bool IsFunc, - bool IsGlob, bool IsEvent) const; - -public: - WebAssemblyMCInstLower(MCContext &ctx, WebAssemblyAsmPrinter &printer) - : Ctx(ctx), Printer(printer) {} - void Lower(const MachineInstr *MI, MCInst &OutMI) const; -}; -} // end namespace llvm - -#endif |
