Polly 22.0.0git
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
13
14namespace llvm {
15class RegionInfo;
16}
17
18namespace polly {
19class IslAstInfo;
20
21using llvm::BasicBlock;
22
28
29/// Mark a basic block unreachable.
30///
31/// Marks the basic block @p Block unreachable by equipping it with an
32/// UnreachableInst.
33void markBlockUnreachable(BasicBlock &Block, PollyIRBuilder &Builder);
34
35extern bool PerfMonitoring;
36
37bool runCodeGeneration(Scop &S, llvm::RegionInfo &RI, IslAstInfo &AI);
38} // namespace polly
39
40#endif // POLLY_CODEGENERATION_H
Static Control Part.
Definition ScopInfo.h:1625
#define S(TYPE, NAME)
bool PerfMonitoring
void markBlockUnreachable(BasicBlock &Block, PollyIRBuilder &Builder)
Mark a basic block unreachable.
@ VECTORIZER_STRIPMINE
@ VECTORIZER_NONE
VectorizerChoice PollyVectorizerChoice
llvm::IRBuilder< llvm::ConstantFolder, IRInserter > PollyIRBuilder
Definition IRBuilder.h:143
bool runCodeGeneration(Scop &S, llvm::RegionInfo &RI, IslAstInfo &AI)