Path: blob/main/contrib/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUCtorDtorLowering.h
35269 views
//===-- AMDGPUCtorDtorLowering.h --------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUCTORDTORLOWERING_H9#define LLVM_LIB_TARGET_AMDGPU_AMDGPUCTORDTORLOWERING_H1011#include "llvm/IR/PassManager.h"1213namespace llvm {14class Module;1516/// Lower llvm.global_ctors and llvm.global_dtors to special kernels.17class AMDGPUCtorDtorLoweringPass18: public PassInfoMixin<AMDGPUCtorDtorLoweringPass> {19public:20PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);21};2223} // namespace llvm2425#endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUCTORDTORLOWERING_H262728