|
|
|||
File indexing completed on 2026-05-10 08:44:41
0001 //===- LoopLoadElimination.h ------------------------------------*- C++ -*-===// 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 /// \file 0010 /// This header defines the LoopLoadEliminationPass object. This pass forwards 0011 /// loaded values around loop backedges to allow their use in subsequent 0012 /// iterations. 0013 // 0014 //===----------------------------------------------------------------------===// 0015 0016 #ifndef LLVM_TRANSFORMS_SCALAR_LOOPLOADELIMINATION_H 0017 #define LLVM_TRANSFORMS_SCALAR_LOOPLOADELIMINATION_H 0018 0019 #include "llvm/IR/PassManager.h" 0020 0021 namespace llvm { 0022 0023 class Function; 0024 0025 /// Pass to forward loads in a loop around the backedge to subsequent 0026 /// iterations. 0027 struct LoopLoadEliminationPass : public PassInfoMixin<LoopLoadEliminationPass> { 0028 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); 0029 }; 0030 0031 } // end namespace llvm 0032 0033 #endif // LLVM_TRANSFORMS_SCALAR_LOOPLOADELIMINATION_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|