LLVM 22.0.0git
DirectXInstrInfo.h
Go to the documentation of this file.
1//===-- DirectXInstrInfo.h - Define InstrInfo for DirectX -------*- C++ -*-===//
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// This file declares the DirectX specific subclass of TargetInstrInfo.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_DIRECTX_DIRECTXINSTRINFO_H
14#define LLVM_DIRECTX_DIRECTXINSTRINFO_H
15
16#include "DirectXRegisterInfo.h"
18
19#define GET_INSTRINFO_HEADER
20#include "DirectXGenInstrInfo.inc"
21
22namespace llvm {
26 const DirectXRegisterInfo &getRegisterInfo() const { return RI; }
27 ~DirectXInstrInfo() override;
28};
29} // namespace llvm
30
31#endif // LLVM_DIRECTX_DIRECTXINSTRINFO_H
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
const DirectXRegisterInfo & getRegisterInfo() const
const DirectXRegisterInfo RI