//===--- SIProgramInfo.h ----------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // /// \file /// Defines struct to track resource usage and hardware flags for kernels and /// entry functions. /// // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_AMDGPU_SIPROGRAMINFO_H #define LLVM_LIB_TARGET_AMDGPU_SIPROGRAMINFO_H #include "llvm/IR/CallingConv.h" #include "llvm/Support/Compiler.h" #include <cstdint> namespace llvm { class GCNSubtarget; class MCContext; class MCExpr; class MachineFunction; /// Track resource usage for kernels / entry functions. struct LLVM_EXTERNAL_VISIBILITY SIProgramInfo { … }; } // namespace llvm #endif // LLVM_LIB_TARGET_AMDGPU_SIPROGRAMINFO_H