Polly 20.0.0git
CodePreparation.h
Go to the documentation of this file.
1//===- polly/ScopPreparation.h - Code preparation pass ----------*- 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// Prepare the Function for polyhedral codegeneration.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef POLLY_CODEPREPARATION_H
14#define POLLY_CODEPREPARATION_H
15
16#include "llvm/IR/PassManager.h"
17
18namespace polly {
19struct CodePreparationPass final : llvm::PassInfoMixin<CodePreparationPass> {
20 llvm::PreservedAnalyses run(llvm::Function &F,
21 llvm::FunctionAnalysisManager &FAM);
22};
23} // namespace polly
24
25#endif /* POLLY_CODEPREPARATION_H */
llvm::PreservedAnalyses run(llvm::Function &F, llvm::FunctionAnalysisManager &FAM)