; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: char
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: char
; CHECK-NEXT: Size: 1
; CHECK-NEXT: Align: 1
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: ushort2
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: ushort2
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int3
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int3
; CHECK-NEXT: Size: 16
; CHECK-NEXT: Align: 16
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: ulong4
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: ulong4
; CHECK-NEXT: Size: 32
; CHECK-NEXT: Align: 32
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: half8
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: half8
; CHECK-NEXT: Size: 16
; CHECK-NEXT: Align: 16
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: float16
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: float16
; CHECK-NEXT: Size: 64
; CHECK-NEXT: Align: 64
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: double16
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: double16
; CHECK-NEXT: Size: 128
; CHECK-NEXT: Align: 128
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: 'int *'
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: 'int *'
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: image2d_t
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: image2d_t
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: Image
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: sampler_t
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: sampler_t
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: Sampler
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: queue_t
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: queue_t
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: Queue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: struct A
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: struct A
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: i128
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: i128
; CHECK-NEXT: Size: 16
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: ValueType: I32
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: short2
+; CHECK-NEXT: - Name: b
+; CHECK-NEXT: TypeName: short2
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: ValueType: I16
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: char3
+; CHECK-NEXT: - Name: c
+; CHECK-NEXT: TypeName: char3
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: 'int *'
+; CHECK-NEXT: - Name: g
+; CHECK-NEXT: TypeName: 'int *'
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: ValueType: I32
; CHECK-NEXT: AddrSpaceQual: Global
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: 'int *'
+; CHECK-NEXT: - Name: c
+; CHECK-NEXT: TypeName: 'int *'
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: ValueType: I32
; CHECK-NEXT: AddrSpaceQual: Constant
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: 'int *'
+; CHECK-NEXT: - Name: l
+; CHECK-NEXT: TypeName: 'int *'
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: DynamicSharedPointer
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: 'int *'
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: 'int *'
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: AddrSpaceQual: Global
; CHECK-NEXT: AccQual: Default
; CHECK-NEXT: IsVolatile: true
-; CHECK-NEXT: - TypeName: 'int *'
+; CHECK-NEXT: - Name: b
+; CHECK-NEXT: TypeName: 'int *'
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: AccQual: Default
; CHECK-NEXT: IsConst: true
; CHECK-NEXT: IsRestrict: true
-; CHECK-NEXT: - TypeName: 'int *'
+; CHECK-NEXT: - Name: c
+; CHECK-NEXT: TypeName: 'int *'
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: Pipe
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: image1d_t
+; CHECK-NEXT: - Name: ro
+; CHECK-NEXT: TypeName: image1d_t
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: Image
; CHECK-NEXT: ValueType: Struct
; CHECK-NEXT: AddrSpaceQual: Global
; CHECK-NEXT: AccQual: ReadOnly
-; CHECK-NEXT: - TypeName: image2d_t
+; CHECK-NEXT: - Name: wo
+; CHECK-NEXT: TypeName: image2d_t
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: Image
; CHECK-NEXT: ValueType: Struct
; CHECK-NEXT: AddrSpaceQual: Global
; CHECK-NEXT: AccQual: WriteOnly
-; CHECK-NEXT: - TypeName: image3d_t
+; CHECK-NEXT: - Name: rw
+; CHECK-NEXT: TypeName: image3d_t
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: Image
; CHECK-NEXT: Attrs:
; CHECK-NEXT: VecTypeHint: half
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Attrs:
; CHECK-NEXT: VecTypeHint: float
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Attrs:
; CHECK-NEXT: VecTypeHint: double
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Attrs:
; CHECK-NEXT: VecTypeHint: char
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Attrs:
; CHECK-NEXT: VecTypeHint: short
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Attrs:
; CHECK-NEXT: VecTypeHint: long
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Attrs:
; CHECK-NEXT: VecTypeHint: unknown
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: ReqdWorkGroupSize: [ 1, 2, 4 ]
; CHECK-NEXT: VecTypeHint: int
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: WorkGroupSizeHint: [ 8, 16, 32 ]
; CHECK-NEXT: VecTypeHint: uint4
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: int
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: int
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: 'int **'
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: 'int **'
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: struct B
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: struct B
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: 'global int* __attribute__((ext_vector_type(2)))'
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: 'global int* __attribute__((ext_vector_type(2)))'
; CHECK-NEXT: Size: 16
; CHECK-NEXT: Align: 16
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: clk_event_t
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: clk_event_t
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: 'long *'
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: 'long *'
; CHECK-NEXT: Size: 8
; CHECK-NEXT: Align: 8
; CHECK-NEXT: ValueKind: GlobalBuffer
; CHECK-NEXT: ValueType: I64
; CHECK-NEXT: AddrSpaceQual: Global
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: 'char *'
+; CHECK-NEXT: - Name: b
+; CHECK-NEXT: TypeName: 'char *'
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: DynamicSharedPointer
; CHECK-NEXT: PointeeAlign: 1
; CHECK-NEXT: AddrSpaceQual: Local
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: 'char2 *'
+; CHECK-NEXT: - Name: c
+; CHECK-NEXT: TypeName: 'char2 *'
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: DynamicSharedPointer
; CHECK-NEXT: PointeeAlign: 2
; CHECK-NEXT: AddrSpaceQual: Local
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: 'char3 *'
+; CHECK-NEXT: - Name: d
+; CHECK-NEXT: TypeName: 'char3 *'
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: DynamicSharedPointer
; CHECK-NEXT: PointeeAlign: 4
; CHECK-NEXT: AddrSpaceQual: Local
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: 'char4 *'
+; CHECK-NEXT: - Name: e
+; CHECK-NEXT: TypeName: 'char4 *'
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: DynamicSharedPointer
; CHECK-NEXT: PointeeAlign: 4
; CHECK-NEXT: AddrSpaceQual: Local
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: 'char8 *'
+; CHECK-NEXT: - Name: f
+; CHECK-NEXT: TypeName: 'char8 *'
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: DynamicSharedPointer
; CHECK-NEXT: PointeeAlign: 8
; CHECK-NEXT: AddrSpaceQual: Local
; CHECK-NEXT: AccQual: Default
-; CHECK-NEXT: - TypeName: 'char16 *'
+; CHECK-NEXT: - Name: g
+; CHECK-NEXT: TypeName: 'char16 *'
; CHECK-NEXT: Size: 4
; CHECK-NEXT: Align: 4
; CHECK-NEXT: ValueKind: DynamicSharedPointer
; CHECK-NEXT: Attrs:
; CHECK-NEXT: RuntimeHandle: __test_block_invoke_kernel_runtime_handle
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: __block_literal
+; CHECK-NEXT: - Name: arg
+; CHECK-NEXT: TypeName: __block_literal
; CHECK-NEXT: Size: 25
; CHECK-NEXT: Align: 1
; CHECK-NEXT: ValueKind: ByValue
; CHECK-NEXT: Language: OpenCL C
; CHECK-NEXT: LanguageVersion: [ 2, 0 ]
; CHECK-NEXT: Args:
-; CHECK-NEXT: - TypeName: char
+; CHECK-NEXT: - Name: a
+; CHECK-NEXT: TypeName: char
; CHECK-NEXT: Size: 1
; CHECK-NEXT: Align: 1
; CHECK-NEXT: ValueKind: ByValue