|
|
|||
File indexing completed on 2026-05-10 08:44:41
0001 //===-------- LoopDataPrefetch.h - Loop Data Prefetching Pass ---*- C++ -*-===// 0002 // 0003 // 0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0005 // See https://llvm.org/LICENSE.txt for license information. 0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0007 // 0008 //===----------------------------------------------------------------------===// 0009 /// \file 0010 /// This file provides the interface for LLVM's Loop Data Prefetching Pass. 0011 //===----------------------------------------------------------------------===// 0012 0013 #ifndef LLVM_TRANSFORMS_SCALAR_LOOPDATAPREFETCH_H 0014 #define LLVM_TRANSFORMS_SCALAR_LOOPDATAPREFETCH_H 0015 0016 #include "llvm/IR/PassManager.h" 0017 0018 namespace llvm { 0019 0020 class Function; 0021 0022 /// An optimization pass inserting data prefetches in loops. 0023 class LoopDataPrefetchPass : public PassInfoMixin<LoopDataPrefetchPass> { 0024 public: 0025 LoopDataPrefetchPass() = default; 0026 0027 /// Run the pass over the function. 0028 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); 0029 }; 0030 0031 } // end namespace llvm 0032 0033 #endif // LLVM_TRANSFORMS_SCALAR_LOOPDATAPREFETCH_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|