Polly
22.0.0git
llvm-project
polly
include
polly
CodeGen
CodeGeneration.h
Go to the documentation of this file.
1
//===- polly/CodeGeneration.h - The Polly code generator --------*- 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
#ifndef POLLY_CODEGENERATION_H
10
#define POLLY_CODEGENERATION_H
11
12
#include "
polly/CodeGen/IRBuilder.h
"
13
14
namespace
llvm
{
15
class
RegionInfo;
16
}
17
18
namespace
polly
{
19
class
IslAstInfo;
20
21
using
llvm::BasicBlock;
22
23
enum
VectorizerChoice
{
24
VECTORIZER_NONE
,
25
VECTORIZER_STRIPMINE
,
26
};
27
extern
VectorizerChoice
PollyVectorizerChoice
;
28
29
/// Mark a basic block unreachable.
30
///
31
/// Marks the basic block @p Block unreachable by equipping it with an
32
/// UnreachableInst.
33
void
markBlockUnreachable
(BasicBlock &Block,
PollyIRBuilder
&Builder);
34
35
extern
bool
PerfMonitoring
;
36
37
bool
runCodeGeneration
(
Scop
&
S
, llvm::RegionInfo &RI,
IslAstInfo
&AI);
38
}
// namespace polly
39
40
#endif
// POLLY_CODEGENERATION_H
IRBuilder.h
polly::IslAstInfo
Definition
IslAst.h:69
polly::Scop
Static Control Part.
Definition
ScopInfo.h:1625
S
#define S(TYPE, NAME)
Definition
isl_list_templ.c:23
llvm
Definition
CodeGeneration.h:14
polly
Definition
Canonicalization.h:14
polly::PerfMonitoring
bool PerfMonitoring
Definition
CodeGeneration.cpp:55
polly::markBlockUnreachable
void markBlockUnreachable(BasicBlock &Block, PollyIRBuilder &Builder)
Mark a basic block unreachable.
Definition
CodeGeneration.cpp:76
polly::VectorizerChoice
VectorizerChoice
Definition
CodeGeneration.h:23
polly::VECTORIZER_STRIPMINE
@ VECTORIZER_STRIPMINE
Definition
CodeGeneration.h:25
polly::VECTORIZER_NONE
@ VECTORIZER_NONE
Definition
CodeGeneration.h:24
polly::PollyVectorizerChoice
VectorizerChoice PollyVectorizerChoice
Definition
RegisterPasses.cpp:106
polly::PollyIRBuilder
llvm::IRBuilder< llvm::ConstantFolder, IRInserter > PollyIRBuilder
Definition
IRBuilder.h:143
polly::runCodeGeneration
bool runCodeGeneration(Scop &S, llvm::RegionInfo &RI, IslAstInfo &AI)
Generated on
for Polly by
1.14.0