You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
46
external/llvm/lib/Target/RISCV/RISCVInstrInfo.h
vendored
Normal file
46
external/llvm/lib/Target/RISCV/RISCVInstrInfo.h
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
//===-- RISCVInstrInfo.h - RISCV 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 RISCV implementation of the TargetInstrInfo class.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIB_TARGET_RISCV_RISCVINSTRINFO_H
|
||||
#define LLVM_LIB_TARGET_RISCV_RISCVINSTRINFO_H
|
||||
|
||||
#include "RISCVRegisterInfo.h"
|
||||
#include "llvm/CodeGen/TargetInstrInfo.h"
|
||||
|
||||
#define GET_INSTRINFO_HEADER
|
||||
#include "RISCVGenInstrInfo.inc"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class RISCVInstrInfo : public RISCVGenInstrInfo {
|
||||
|
||||
public:
|
||||
RISCVInstrInfo();
|
||||
|
||||
void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||
const DebugLoc &DL, unsigned DstReg, unsigned SrcReg,
|
||||
bool KillSrc) const override;
|
||||
|
||||
void storeRegToStackSlot(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI, unsigned SrcReg,
|
||||
bool IsKill, int FrameIndex,
|
||||
const TargetRegisterClass *RC,
|
||||
const TargetRegisterInfo *TRI) const override;
|
||||
|
||||
void loadRegFromStackSlot(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI, unsigned DstReg,
|
||||
int FrameIndex, const TargetRegisterClass *RC,
|
||||
const TargetRegisterInfo *TRI) const override;
|
||||
};
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user