LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
lib
Target
AMDGPU
Utils
AMDGPUAsmUtils.cpp
Go to the documentation of this file.
1
//===-- AMDGPUAsmUtils.cpp - AsmParser/InstPrinter common -----------------===//
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
#include "
AMDGPUAsmUtils.h
"
10
11
namespace
llvm {
12
namespace
AMDGPU {
13
namespace
SendMsg {
14
15
// This must be in sync with llvm::AMDGPU::SendMsg::Id enum members, see SIDefines.h.
16
const
char
*
const
IdSymbolic
[] = {
17
nullptr
,
18
"MSG_INTERRUPT"
,
19
"MSG_GS"
,
20
"MSG_GS_DONE"
,
21
nullptr
,
22
nullptr
,
23
nullptr
,
24
nullptr
,
25
nullptr
,
26
nullptr
,
27
nullptr
,
28
nullptr
,
29
nullptr
,
30
nullptr
,
31
nullptr
,
32
"MSG_SYSMSG"
33
};
34
35
// These two must be in sync with llvm::AMDGPU::SendMsg::Op enum members, see SIDefines.h.
36
const
char
*
const
OpSysSymbolic
[] = {
37
nullptr
,
38
"SYSMSG_OP_ECC_ERR_INTERRUPT"
,
39
"SYSMSG_OP_REG_RD"
,
40
"SYSMSG_OP_HOST_TRAP_ACK"
,
41
"SYSMSG_OP_TTRACE_PC"
42
};
43
44
const
char
*
const
OpGsSymbolic
[] = {
45
"GS_OP_NOP"
,
46
"GS_OP_CUT"
,
47
"GS_OP_EMIT"
,
48
"GS_OP_EMIT_CUT"
49
};
50
51
}
// namespace SendMsg
52
53
namespace
Hwreg {
54
55
// This must be in sync with llvm::AMDGPU::Hwreg::ID_SYMBOLIC_FIRST_/LAST_, see SIDefines.h.
56
const
char
*
const
IdSymbolic
[] = {
57
nullptr
,
58
"HW_REG_MODE"
,
59
"HW_REG_STATUS"
,
60
"HW_REG_TRAPSTS"
,
61
"HW_REG_HW_ID"
,
62
"HW_REG_GPR_ALLOC"
,
63
"HW_REG_LDS_ALLOC"
,
64
"HW_REG_IB_STS"
65
};
66
67
}
// namespace Hwreg
68
}
// namespace AMDGPU
69
}
// namespace llvm
AMDGPUAsmUtils.h
llvm::AMDGPU::SendMsg::IdSymbolic
const char *const IdSymbolic[]
Definition:
AMDGPUAsmUtils.cpp:16
llvm::AMDGPU::Hwreg::IdSymbolic
const char *const IdSymbolic[]
Definition:
AMDGPUAsmUtils.cpp:56
llvm::AMDGPU::SendMsg::OpSysSymbolic
const char *const OpSysSymbolic[]
Definition:
AMDGPUAsmUtils.cpp:36
llvm::AMDGPU::SendMsg::OpGsSymbolic
const char *const OpGsSymbolic[]
Definition:
AMDGPUAsmUtils.cpp:44
Generated on Wed Mar 8 2017 17:05:34 for LLVM by
1.8.6