Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:48:20

0001 //===- DeadCodeElimination.h ----------------------------------------------===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 //  Eliminate dead iterations.
0010 //
0011 //===----------------------------------------------------------------------===//
0012 
0013 #ifndef POLLY_DEADCODEELIMINATION_H
0014 #define POLLY_DEADCODEELIMINATION_H
0015 
0016 #include "polly/ScopPass.h"
0017 
0018 namespace llvm {
0019 class PassRegistry;
0020 class Pass;
0021 class raw_ostream;
0022 } // namespace llvm
0023 
0024 namespace polly {
0025 llvm::Pass *createDeadCodeElimWrapperPass();
0026 
0027 struct DeadCodeElimPass final : llvm::PassInfoMixin<DeadCodeElimPass> {
0028   DeadCodeElimPass() {}
0029 
0030   llvm::PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM,
0031                               ScopStandardAnalysisResults &SAR, SPMUpdater &U);
0032 };
0033 
0034 } // namespace polly
0035 
0036 namespace llvm {
0037 void initializeDeadCodeElimWrapperPassPass(llvm::PassRegistry &);
0038 } // namespace llvm
0039 
0040 #endif /* POLLY_DEADCODEELIMINATION_H */