1 //===- AMDGPUKernelCodeTUtils.h - helpers for amd_kernel_code_t -*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 /// \file AMDKernelCodeTUtils.h
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDKERNELCODETUTILS_H
14 #define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDKERNELCODETUTILS_H
16 #include "AMDKernelCodeT.h"
24 void printAmdKernelCodeField(const amd_kernel_code_t
&C
, int FldIndex
,
27 void dumpAmdKernelCode(const amd_kernel_code_t
*C
, raw_ostream
&OS
,
30 bool parseAmdKernelCodeField(StringRef ID
, MCAsmParser
&Parser
,
31 amd_kernel_code_t
&C
, raw_ostream
&Err
);
33 } // end namespace llvm
35 #endif // LLVM_LIB_TARGET_AMDGPU_UTILS_AMDKERNELCODETUTILS_H