Polly 22.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
16namespace llvm {
17class DominatorTree;
18class Function;
19class LoopInfo;
20class RegionInfo;
21} // namespace llvm
22
23namespace polly {
24bool runCodePreparation(llvm::Function &F, llvm::DominatorTree *DT,
25 llvm::LoopInfo *LI, llvm::RegionInfo *RI);
26} // namespace polly
27
28#endif /* POLLY_CODEPREPARATION_H */
bool runCodePreparation(llvm::Function &F, llvm::DominatorTree *DT, llvm::LoopInfo *LI, llvm::RegionInfo *RI)