1 //===- AMDGPUKernelCodeTUtils.h - helpers for amd_kernel_code_t -*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 /// \file AMDKernelCodeTUtils.h
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDKERNELCODETUTILS_H
15 #define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDKERNELCODETUTILS_H
17 #include "AMDKernelCodeT.h"
25 void printAmdKernelCodeField(const amd_kernel_code_t &C, int FldIndex,
28 void dumpAmdKernelCode(const amd_kernel_code_t *C, raw_ostream &OS,
31 bool parseAmdKernelCodeField(StringRef ID, MCAsmParser &Parser,
32 amd_kernel_code_t &C, raw_ostream &Err);
34 } // end namespace llvm
36 #endif // LLVM_LIB_TARGET_AMDGPU_UTILS_AMDKERNELCODETUTILS_H