LLVM 24.0.0git
RISCVGatherScatterLowering.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 the RISC-V gather/scatter lowering passes.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_RISCV_RISCVGATHERSCATTERLOWERING_H
15#define LLVM_LIB_TARGET_RISCV_RISCVGATHERSCATTERLOWERING_H
16
17#include "llvm/IR/PassManager.h"
18
19namespace llvm {
20
21class FunctionPass;
22class PassRegistry;
24
26 : public OptionalPassInfoMixin<RISCVGatherScatterLoweringPass> {
27private:
28 const RISCVTargetMachine *TM;
29
30public:
33};
34
37
38} // namespace llvm
39
40#endif // LLVM_LIB_TARGET_RISCV_RISCVGATHERSCATTERLOWERING_H
This header defines various interfaces for pass management in LLVM.
#define F(x, y, z)
Definition MD5.cpp:54
FunctionAnalysisManager FAM
FunctionPass class - This class is used to implement most global optimizations.
Definition Pass.h:314
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
A set of analyses that are preserved following a run of a transformation pass.
Definition Analysis.h:112
RISCVGatherScatterLoweringPass(const RISCVTargetMachine *TM)
PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM)
This is an optimization pass for GlobalISel generic memory operations.
FunctionPass * createRISCVGatherScatterLoweringPass()
void initializeRISCVGatherScatterLoweringLegacyPass(PassRegistry &)
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.
A CRTP mix-in for passes that can be skipped.