LLVM 24.0.0git
PISAInstrInfo.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// This file declares instruction information for the PISA target.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_PISA_PISAINSTRINFO_H
15#define LLVM_LIB_TARGET_PISA_PISAINSTRINFO_H
16
17#include "PISARegisterInfo.h"
19
20#define GET_INSTRINFO_HEADER
21#include "PISAGenInstrInfo.inc"
22
23namespace llvm {
24class PISASubtarget;
25
27 const PISARegisterInfo RI;
28
29public:
30 PISAInstrInfo(const PISASubtarget &STI);
31
32 const PISARegisterInfo &getRegisterInfo() const { return RI; }
33};
34} // namespace llvm
35
36#endif // LLVM_LIB_TARGET_PISA_PISAINSTRINFO_H
This file declares register information for the PISA target.
PISAInstrInfo(const PISASubtarget &STI)
const PISARegisterInfo & getRegisterInfo() const
This is an optimization pass for GlobalISel generic memory operations.