mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-08 13:00:43 +00:00
[AMDGPU] Rename Kind to ValueKind in metadata to be consistent
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298722 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30b1056d8f
commit
1007ee7060
@ -155,7 +155,7 @@ constexpr char Size[] = "Size";
|
||||
/// \brief Key for Kernel::Arg::Metadata::mAlign.
|
||||
constexpr char Align[] = "Align";
|
||||
/// \brief Key for Kernel::Arg::Metadata::mValueKind.
|
||||
constexpr char Kind[] = "Kind";
|
||||
constexpr char ValueKind[] = "ValueKind";
|
||||
/// \brief Key for Kernel::Arg::Metadata::mValueType.
|
||||
constexpr char ValueType[] = "ValueType";
|
||||
/// \brief Key for Kernel::Arg::Metadata::mPointeeAlign.
|
||||
|
@ -117,7 +117,7 @@ struct MappingTraits<Kernel::Arg::Metadata> {
|
||||
static void mapping(IO &YIO, Kernel::Arg::Metadata &MD) {
|
||||
YIO.mapRequired(Kernel::Arg::Key::Size, MD.mSize);
|
||||
YIO.mapRequired(Kernel::Arg::Key::Align, MD.mAlign);
|
||||
YIO.mapRequired(Kernel::Arg::Key::Kind, MD.mValueKind);
|
||||
YIO.mapRequired(Kernel::Arg::Key::ValueKind, MD.mValueKind);
|
||||
YIO.mapRequired(Kernel::Arg::Key::ValueType, MD.mValueType);
|
||||
YIO.mapOptional(Kernel::Arg::Key::PointeeAlign, MD.mPointeeAlign,
|
||||
uint32_t(0));
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -12,25 +12,25 @@
|
||||
// CHECK: Args:
|
||||
// CHECK: - Size: 1
|
||||
// CHECK: Align: 1
|
||||
// CHECK: Kind: ByValue
|
||||
// CHECK: ValueKind: ByValue
|
||||
// CHECK: ValueType: I8
|
||||
// CHECK: AccQual: Default
|
||||
// CHECK: TypeName: char
|
||||
// CHECK: - Size: 8
|
||||
// CHECK: Align: 8
|
||||
// CHECK: Kind: HiddenGlobalOffsetX
|
||||
// CHECK: ValueKind: HiddenGlobalOffsetX
|
||||
// CHECK: ValueType: I64
|
||||
// CHECK: - Size: 8
|
||||
// CHECK: Align: 8
|
||||
// CHECK: Kind: HiddenGlobalOffsetY
|
||||
// CHECK: ValueKind: HiddenGlobalOffsetY
|
||||
// CHECK: ValueType: I64
|
||||
// CHECK: - Size: 8
|
||||
// CHECK: Align: 8
|
||||
// CHECK: Kind: HiddenGlobalOffsetZ
|
||||
// CHECK: ValueKind: HiddenGlobalOffsetZ
|
||||
// CHECK: ValueType: I64
|
||||
// CHECK: - Size: 8
|
||||
// CHECK: Align: 8
|
||||
// CHECK: Kind: HiddenPrintfBuffer
|
||||
// CHECK: ValueKind: HiddenPrintfBuffer
|
||||
// CHECK: ValueType: I8
|
||||
// CHECK: AddrSpaceQual: Global
|
||||
// CHECK: .end_amdgpu_code_object_metadata
|
||||
@ -44,25 +44,25 @@
|
||||
Args:
|
||||
- Size: 1
|
||||
Align: 1
|
||||
Kind: ByValue
|
||||
ValueKind: ByValue
|
||||
ValueType: I8
|
||||
AccQual: Default
|
||||
TypeName: char
|
||||
- Size: 8
|
||||
Align: 8
|
||||
Kind: HiddenGlobalOffsetX
|
||||
ValueKind: HiddenGlobalOffsetX
|
||||
ValueType: I64
|
||||
- Size: 8
|
||||
Align: 8
|
||||
Kind: HiddenGlobalOffsetY
|
||||
ValueKind: HiddenGlobalOffsetY
|
||||
ValueType: I64
|
||||
- Size: 8
|
||||
Align: 8
|
||||
Kind: HiddenGlobalOffsetZ
|
||||
ValueKind: HiddenGlobalOffsetZ
|
||||
ValueType: I64
|
||||
- Size: 8
|
||||
Align: 8
|
||||
Kind: HiddenPrintfBuffer
|
||||
ValueKind: HiddenPrintfBuffer
|
||||
ValueType: I8
|
||||
AddrSpaceQual: Global
|
||||
.end_amdgpu_code_object_metadata
|
||||
|
@ -17,25 +17,25 @@
|
||||
Args:
|
||||
- Size: 1
|
||||
Align: 1
|
||||
Kind: ByValue
|
||||
ValueKind: ByValue
|
||||
ValueType: I8
|
||||
AccQual: Default
|
||||
TypeName: char
|
||||
- Size: 8
|
||||
Align: 8
|
||||
Kind: HiddenGlobalOffsetX
|
||||
ValueKind: HiddenGlobalOffsetX
|
||||
ValueType: I64
|
||||
- Size: 8
|
||||
Align: 8
|
||||
Kind: HiddenGlobalOffsetY
|
||||
ValueKind: HiddenGlobalOffsetY
|
||||
ValueType: I64
|
||||
- Size: 8
|
||||
Align: 8
|
||||
Kind: HiddenGlobalOffsetZ
|
||||
ValueKind: HiddenGlobalOffsetZ
|
||||
ValueType: I64
|
||||
- Size: 8
|
||||
Align: 8
|
||||
Kind: HiddenPrintfBuffer
|
||||
ValueKind: HiddenPrintfBuffer
|
||||
ValueType: I8
|
||||
AddrSpaceQual: Global
|
||||
.end_amdgpu_code_object_metadata
|
||||
|
Loading…
Reference in New Issue
Block a user