LLVM
8.0.1
lib
Target
AMDGPU
AMDGPUPTNote.h
Go to the documentation of this file.
1
//===-- AMDGPUNoteType.h - AMDGPU ELF PT_NOTE section info-------*- 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
//
10
/// \file
11
///
12
/// Enums and constants for AMDGPU PT_NOTE sections.
13
///
14
//
15
//===----------------------------------------------------------------------===//
16
//
17
#ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUPTNOTE_H
18
#define LLVM_LIB_TARGET_AMDGPU_AMDGPUPTNOTE_H
19
20
namespace
AMDGPU
{
21
22
namespace
ElfNote {
23
24
const
char
SectionName
[] =
".note"
;
25
26
const
char
NoteNameV2
[] =
"AMD"
;
27
const
char
NoteNameV3
[] =
"AMDGPU"
;
28
29
// TODO: Remove this file once we drop code object v2.
30
enum
NoteType
{
31
NT_AMDGPU_HSA_RESERVED_0
= 0,
32
NT_AMDGPU_HSA_CODE_OBJECT_VERSION
= 1,
33
NT_AMDGPU_HSA_HSAIL
= 2,
34
NT_AMDGPU_HSA_ISA
= 3,
35
NT_AMDGPU_HSA_PRODUCER
= 4,
36
NT_AMDGPU_HSA_PRODUCER_OPTIONS
= 5,
37
NT_AMDGPU_HSA_EXTENSION
= 6,
38
NT_AMDGPU_HSA_RESERVED_7
= 7,
39
NT_AMDGPU_HSA_RESERVED_8
= 8,
40
NT_AMDGPU_HSA_RESERVED_9
= 9,
41
NT_AMDGPU_HSA_HLDEBUG_DEBUG
= 101,
42
NT_AMDGPU_HSA_HLDEBUG_TARGET
= 102
43
};
44
45
}
46
}
47
48
#endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUNOTETYPE_H
AMDGPU::ElfNote::NT_AMDGPU_HSA_HLDEBUG_DEBUG
Definition:
AMDGPUPTNote.h:41
AMDGPU::ElfNote::NT_AMDGPU_HSA_EXTENSION
Definition:
AMDGPUPTNote.h:37
AMDGPU::ElfNote::NT_AMDGPU_HSA_RESERVED_8
Definition:
AMDGPUPTNote.h:39
AMDGPU::ElfNote::NT_AMDGPU_HSA_RESERVED_0
Definition:
AMDGPUPTNote.h:31
AMDGPU::ElfNote::NT_AMDGPU_HSA_CODE_OBJECT_VERSION
Definition:
AMDGPUPTNote.h:32
AMDGPU::ElfNote::NoteNameV3
const char NoteNameV3[]
Definition:
AMDGPUPTNote.h:27
AMDGPU::ElfNote::NoteType
NoteType
Definition:
AMDGPUPTNote.h:30
AMDGPU::ElfNote::NT_AMDGPU_HSA_PRODUCER
Definition:
AMDGPUPTNote.h:35
AMDGPU::ElfNote::NT_AMDGPU_HSA_RESERVED_9
Definition:
AMDGPUPTNote.h:40
AMDGPU::ElfNote::NT_AMDGPU_HSA_ISA
Definition:
AMDGPUPTNote.h:34
AMDGPU::ElfNote::NoteNameV2
const char NoteNameV2[]
Definition:
AMDGPUPTNote.h:26
AMDGPU::ElfNote::NT_AMDGPU_HSA_RESERVED_7
Definition:
AMDGPUPTNote.h:38
AMDGPU::ElfNote::NT_AMDGPU_HSA_HLDEBUG_TARGET
Definition:
AMDGPUPTNote.h:42
AMDGPU::ElfNote::NT_AMDGPU_HSA_HSAIL
Definition:
AMDGPUPTNote.h:33
AMDGPU::ElfNote::NT_AMDGPU_HSA_PRODUCER_OPTIONS
Definition:
AMDGPUPTNote.h:36
AMDGPU::ElfNote::SectionName
const char SectionName[]
Definition:
AMDGPUPTNote.h:24
AMDGPU
Definition:
AMDGPUPTNote.h:20
Generated on Sun Dec 20 2020 13:56:13 for LLVM by
1.8.13