Polly
22.0.0git
llvm-project
polly
include
polly
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
16
namespace
polly
{
17
class
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.
27
bool
runForwardOpTree
(
Scop
&
S
);
28
}
// namespace polly
29
30
#endif
// POLLY_FORWARDOPTREE_H
polly::Scop
Static Control Part.
Definition
ScopInfo.h:1625
S
#define S(TYPE, NAME)
Definition
isl_list_templ.c:23
polly
Definition
Canonicalization.h:14
polly::runForwardOpTree
bool runForwardOpTree(Scop &S)
Pass that redirects scalar reads to array elements that are known to contain the same value.
Definition
ForwardOpTree.cpp:1074
Generated on
for Polly by
1.14.0