|
|
|||
File indexing completed on 2026-05-10 08:44:43
0001 //===- MoveAutoInit.h - Move insts marked as auto-init Pass --*- 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 // This pass moves instructions marked as auto-init closer to their use if 0010 // profitable, generally because it moves them under a guard, potentially 0011 // skipping the overhead of the auto-init under some execution paths. 0012 // 0013 // 0014 //===----------------------------------------------------------------------===// 0015 0016 #ifndef LLVM_TRANSFORMS_UTILS_MOVEAUTOINIT_H 0017 #define LLVM_TRANSFORMS_UTILS_MOVEAUTOINIT_H 0018 0019 #include "llvm/IR/PassManager.h" 0020 0021 namespace llvm { 0022 0023 class MoveAutoInitPass : public PassInfoMixin<MoveAutoInitPass> { 0024 public: 0025 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); 0026 }; 0027 } // end namespace llvm 0028 0029 #endif // LLVM_TRANSFORMS_UTILS_MOVEAUTOINIT_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|