Polly 20.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#include "polly/ScopPass.h"
14#include "llvm/IR/PassManager.h"
15
16namespace polly {
17
21};
23
24/// Mark a basic block unreachable.
25///
26/// Marks the basic block @p Block unreachable by equipping it with an
27/// UnreachableInst.
28void markBlockUnreachable(BasicBlock &Block, PollyIRBuilder &Builder);
29
30struct CodeGenerationPass final : PassInfoMixin<CodeGenerationPass> {
31 PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM,
33};
34
35extern bool PerfMonitoring;
36} // namespace polly
37
38#endif // POLLY_CODEGENERATION_H
Static Control Part.
Definition: ScopInfo.h:1630
bool PerfMonitoring
void markBlockUnreachable(BasicBlock &Block, PollyIRBuilder &Builder)
Mark a basic block unreachable.
VectorizerChoice
@ VECTORIZER_STRIPMINE
@ VECTORIZER_NONE
VectorizerChoice PollyVectorizerChoice
llvm::IRBuilder< llvm::ConstantFolder, IRInserter > PollyIRBuilder
Definition: IRBuilder.h:140
AnalysisManager< Scop, ScopStandardAnalysisResults & > ScopAnalysisManager
Definition: ScopPass.h:46
PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM, ScopStandardAnalysisResults &AR, SPMUpdater &U)