LLVM  4.0.0
AMDKernelCodeTUtils.h
Go to the documentation of this file.
1 //===- AMDGPUKernelCodeTUtils.h - helpers for amd_kernel_code_t *- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 /// \file AMDKernelCodeTUtils.h
10 //===----------------------------------------------------------------------===//
11 
12 #ifndef AMDKERNELCODETUTILS_H
13 #define AMDKERNELCODETUTILS_H
14 
15 #include "AMDKernelCodeT.h"
16 
17 namespace llvm {
18 
19 class MCAsmLexer;
20 class MCAsmParser;
21 class raw_ostream;
22 class StringRef;
23 
25  int FldIndex,
26  raw_ostream &OS);
27 
29  raw_ostream &OS,
30  const char *tab);
31 
32 bool parseAmdKernelCodeField(StringRef ID,
33  MCAsmParser &Parser,
35  raw_ostream &Err);
36 
37 }
38 
39 #endif // AMDKERNELCODETUTILS_H
bool parseAmdKernelCodeField(StringRef ID, MCAsmParser &Parser, amd_kernel_code_t &C, raw_ostream &Err)
AMD Kernel Code Object (amd_kernel_code_t).
void printAmdKernelCodeField(const amd_kernel_code_t &C, int FldIndex, raw_ostream &OS)
static GCRegistry::Add< ShadowStackGC > C("shadow-stack","Very portable GC for uncooperative code generators")
void dumpAmdKernelCode(const amd_kernel_code_t *C, raw_ostream &OS, const char *tab)