You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
45
external/llvm/lib/Target/Nios2/Nios2InstrInfo.h
vendored
Normal file
45
external/llvm/lib/Target/Nios2/Nios2InstrInfo.h
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
//===-- Nios2InstrInfo.h - Nios2 Instruction Information --------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file contains the Nios2 implementation of the TargetInstrInfo class.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIB_TARGET_NIOS2_NIOS2INSTRINFO_H
|
||||
#define LLVM_LIB_TARGET_NIOS2_NIOS2INSTRINFO_H
|
||||
|
||||
#include "Nios2RegisterInfo.h"
|
||||
#include "llvm/CodeGen/TargetInstrInfo.h"
|
||||
|
||||
#define GET_INSTRINFO_HEADER
|
||||
#include "Nios2GenInstrInfo.inc"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Nios2Subtarget;
|
||||
|
||||
class Nios2InstrInfo : public Nios2GenInstrInfo {
|
||||
const Nios2RegisterInfo RI;
|
||||
const Nios2Subtarget &Subtarget;
|
||||
virtual void anchor();
|
||||
|
||||
public:
|
||||
explicit Nios2InstrInfo(Nios2Subtarget &ST);
|
||||
|
||||
/// getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As
|
||||
/// such, whenever a client has an instance of instruction info, it should
|
||||
/// always be able to get register info as well (through this method).
|
||||
///
|
||||
const Nios2RegisterInfo &getRegisterInfo() const { return RI; };
|
||||
|
||||
bool expandPostRAPseudo(MachineInstr &MI) const override;
|
||||
};
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user