LLVM 19.0.0git
R600CodeGenPassBuilder.h
Go to the documentation of this file.
1//===-- R600CodeGenPassBuilder.h -- Build R600 CodeGen pipeline -*- 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#ifndef LLVM_LIB_TARGET_AMDGPU_R600CODEGENPASSBUILDER_H
10#define LLVM_LIB_TARGET_AMDGPU_R600CODEGENPASSBUILDER_H
11
12#include "llvm/MC/MCStreamer.h"
14
15namespace llvm {
16
17class R600TargetMachine;
18
20 : public CodeGenPassBuilder<R600CodeGenPassBuilder, R600TargetMachine> {
21public:
24
25 void addPreISel(AddIRPass &addPass) const;
26 void addAsmPrinter(AddMachinePass &, CreateMCStreamer) const;
27 Error addInstSelector(AddMachinePass &) const;
28};
29
30} // namespace llvm
31
32#endif // LLVM_LIB_TARGET_AMDGPU_R600CODEGENPASSBUILDER_H
Interfaces for producing common pass manager configurations.
This class provides access to building LLVM's passes.
std::function< Expected< std::unique_ptr< MCStreamer > >(MCContext &)> CreateMCStreamer
Lightweight error class with error context and mandatory checking.
Definition: Error.h:160
This class manages callbacks registration, as well as provides a way for PassInstrumentation to pass ...
void addPreISel(AddIRPass &addPass) const
void addAsmPrinter(AddMachinePass &, CreateMCStreamer) const
Error addInstSelector(AddMachinePass &) const
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18