LLVM 24.0.0git
LogicalSROA.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/// \file
9/// This file provides the interface for LLVM's Logical Scalar Replacement of
10/// Aggregates pass. This pass provides both aggregate splitting and the
11/// primary SSA formation used in the compiler when used with structured GEP
12/// and allocas.
13///
14//===----------------------------------------------------------------------===//
15
16#ifndef LLVM_TRANSFORMS_SCALAR_LOGICALSROA_H
17#define LLVM_TRANSFORMS_SCALAR_LOGICALSROA_H
18
19#include "llvm/IR/PassManager.h"
20
21namespace llvm {
22
23class Function;
24
25class LogicalSROAPass : public PassInfoMixin<LogicalSROAPass> {
26public:
28
29 /// Run the pass over the function.
31};
32
33} // end namespace llvm
34
35#endif // LLVM_TRANSFORMS_SCALAR_LOGICALSROA_H
This header defines various interfaces for pass management in LLVM.
#define F(x, y, z)
Definition MD5.cpp:54
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Run the pass over the function.
A set of analyses that are preserved following a run of a transformation pass.
Definition Analysis.h:112
This is an optimization pass for GlobalISel generic memory operations.
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition PassManager.h:89