Polly 22.0.0git
ForwardOpTree.h
Go to the documentation of this file.
1//===- ForwardOpTree.h ------------------------------------------*- 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// Move instructions between statements.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef POLLY_FORWARDOPTREE_H
14#define POLLY_FORWARDOPTREE_H
15
16namespace polly {
17class Scop;
18
19/// Pass that redirects scalar reads to array elements that are known to contain
20/// the same value.
21///
22/// This reduces the number of scalar accesses and therefore potentially
23/// increases the freedom of the scheduler. In the ideal case, all reads of a
24/// scalar definition are redirected (We currently do not care about removing
25/// the write in this case). This is also useful for the main DeLICM pass as
26/// there are less scalars to be mapped.
28} // namespace polly
29
30#endif // POLLY_FORWARDOPTREE_H
Static Control Part.
Definition ScopInfo.h:1625
#define S(TYPE, NAME)
bool runForwardOpTree(Scop &S)
Pass that redirects scalar reads to array elements that are known to contain the same value.