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/WebAssemblyInstrInfo.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/WebAssemblyInstrInfo.h')
| -rw-r--r-- | gnu/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/gnu/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h b/gnu/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h deleted file mode 100644 index 4a3763c345b..00000000000 --- a/gnu/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h +++ /dev/null @@ -1,63 +0,0 @@ -//=- WebAssemblyInstrInfo.h - WebAssembly Instruction Information -*- 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 contains the WebAssembly implementation of the -/// TargetInstrInfo class. -/// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYINSTRINFO_H -#define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYINSTRINFO_H - -#include "WebAssemblyRegisterInfo.h" -#include "llvm/CodeGen/TargetInstrInfo.h" - -#define GET_INSTRINFO_HEADER -#include "WebAssemblyGenInstrInfo.inc" - -namespace llvm { - -class WebAssemblySubtarget; - -class WebAssemblyInstrInfo final : public WebAssemblyGenInstrInfo { - const WebAssemblyRegisterInfo RI; - -public: - explicit WebAssemblyInstrInfo(const WebAssemblySubtarget &STI); - - const WebAssemblyRegisterInfo &getRegisterInfo() const { return RI; } - - bool isReallyTriviallyReMaterializable(const MachineInstr &MI, - AliasAnalysis *AA) const override; - - void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, - const DebugLoc &DL, unsigned DestReg, unsigned SrcReg, - bool KillSrc) const override; - MachineInstr *commuteInstructionImpl(MachineInstr &MI, bool NewMI, - unsigned OpIdx1, - unsigned OpIdx2) const override; - - bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, - MachineBasicBlock *&FBB, - SmallVectorImpl<MachineOperand> &Cond, - bool AllowModify = false) const override; - unsigned removeBranch(MachineBasicBlock &MBB, - int *BytesRemoved = nullptr) const override; - unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, - MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, - const DebugLoc &DL, - int *BytesAdded = nullptr) const override; - bool - reverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const override; -}; - -} // end namespace llvm - -#endif |
