LLVM
8.0.1
lib
Target
AMDGPU
SIDefines.h
Go to the documentation of this file.
1
//===-- SIDefines.h - SI Helper Macros ----------------------*- 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
/// \file
9
//===----------------------------------------------------------------------===//
10
11
#include "
llvm/MC/MCInstrDesc.h
"
12
13
#ifndef LLVM_LIB_TARGET_AMDGPU_SIDEFINES_H
14
#define LLVM_LIB_TARGET_AMDGPU_SIDEFINES_H
15
16
namespace
llvm
{
17
18
namespace
SIInstrFlags {
19
// This needs to be kept in sync with the field bits in InstSI.
20
enum : uint64_t {
21
// Low bits - basic encoding information.
22
SALU
= 1 << 0,
23
VALU
= 1 << 1,
24
25
// SALU instruction formats.
26
SOP1
= 1 << 2,
27
SOP2
= 1 << 3,
28
SOPC
= 1 << 4,
29
SOPK
= 1 << 5,
30
SOPP
= 1 << 6,
31
32
// VALU instruction formats.
33
VOP1
= 1 << 7,
34
VOP2
= 1 << 8,
35
VOPC
= 1 << 9,
36
37
// TODO: Should this be spilt into VOP3 a and b?
38
VOP3
= 1 << 10,
39
VOP3P
= 1 << 12,
40
41
VINTRP
= 1 << 13,
42
SDWA
= 1 << 14,
43
DPP
= 1 << 15,
44
45
// Memory instruction formats.
46
MUBUF
= 1 << 16,
47
MTBUF
= 1 << 17,
48
SMRD
= 1 << 18,
49
MIMG
= 1 << 19,
50
EXP
= 1 << 20,
51
FLAT
= 1 << 21,
52
DS
= 1 << 22,
53
54
// Pseudo instruction formats.
55
VGPRSpill
= 1 << 23,
56
SGPRSpill
= 1 << 24,
57
58
// High bits - other information.
59
VM_CNT
= UINT64_C(1) << 32,
60
EXP_CNT
= UINT64_C(1) << 33,
61
LGKM_CNT
= UINT64_C(1) << 34,
62
63
WQM
= UINT64_C(1) << 35,
64
DisableWQM
= UINT64_C(1) << 36,
65
Gather4
= UINT64_C(1) << 37,
66
SOPK_ZEXT
= UINT64_C(1) << 38,
67
SCALAR_STORE
= UINT64_C(1) << 39,
68
FIXED_SIZE
= UINT64_C(1) << 40,
69
VOPAsmPrefer32Bit
= UINT64_C(1) << 41,
70
VOP3_OPSEL
= UINT64_C(1) << 42,
71
maybeAtomic
= UINT64_C(1) << 43,
72
renamedInGFX9
= UINT64_C(1) << 44,
73
74
// Is a clamp on FP type.
75
FPClamp
= UINT64_C(1) << 45,
76
77
// Is an integer clamp
78
IntClamp
= UINT64_C(1) << 46,
79
80
// Clamps lo component of register.
81
ClampLo
= UINT64_C(1) << 47,
82
83
// Clamps hi component of register.
84
// ClampLo and ClampHi set for packed clamp.
85
ClampHi
= UINT64_C(1) << 48,
86
87
// Is a packed VOP3P instruction.
88
IsPacked
= UINT64_C(1) << 49,
89
90
// Is a D16 buffer instruction.
91
D16Buf
= UINT64_C(1) << 50,
92
93
// Uses floating point double precision rounding mode
94
FPDPRounding
= UINT64_C(1) << 51
95
};
96
97
// v_cmp_class_* etc. use a 10-bit mask for what operation is checked.
98
// The result is true if any of these tests are true.
99
enum
ClassFlags
{
100
S_NAN
= 1 << 0,
// Signaling NaN
101
Q_NAN
= 1 << 1,
// Quiet NaN
102
N_INFINITY
= 1 << 2,
// Negative infinity
103
N_NORMAL
= 1 << 3,
// Negative normal
104
N_SUBNORMAL
= 1 << 4,
// Negative subnormal
105
N_ZERO
= 1 << 5,
// Negative zero
106
P_ZERO
= 1 << 6,
// Positive zero
107
P_SUBNORMAL
= 1 << 7,
// Positive subnormal
108
P_NORMAL
= 1 << 8,
// Positive normal
109
P_INFINITY
= 1 << 9
// Positive infinity
110
};
111
}
112
113
namespace
AMDGPU
{
114
enum
OperandType
{
115
/// Operands with register or 32-bit immediate
116
OPERAND_REG_IMM_INT32
=
MCOI::OPERAND_FIRST_TARGET
,
117
OPERAND_REG_IMM_INT64
,
118
OPERAND_REG_IMM_INT16
,
119
OPERAND_REG_IMM_FP32
,
120
OPERAND_REG_IMM_FP64
,
121
OPERAND_REG_IMM_FP16
,
122
123
/// Operands with register or inline constant
124
OPERAND_REG_INLINE_C_INT16
,
125
OPERAND_REG_INLINE_C_INT32
,
126
OPERAND_REG_INLINE_C_INT64
,
127
OPERAND_REG_INLINE_C_FP16
,
128
OPERAND_REG_INLINE_C_FP32
,
129
OPERAND_REG_INLINE_C_FP64
,
130
OPERAND_REG_INLINE_C_V2FP16
,
131
OPERAND_REG_INLINE_C_V2INT16
,
132
133
OPERAND_REG_IMM_FIRST
=
OPERAND_REG_IMM_INT32
,
134
OPERAND_REG_IMM_LAST
=
OPERAND_REG_IMM_FP16
,
135
136
OPERAND_REG_INLINE_C_FIRST
=
OPERAND_REG_INLINE_C_INT16
,
137
OPERAND_REG_INLINE_C_LAST
=
OPERAND_REG_INLINE_C_V2INT16
,
138
139
OPERAND_SRC_FIRST
=
OPERAND_REG_IMM_INT32
,
140
OPERAND_SRC_LAST
=
OPERAND_REG_INLINE_C_LAST
,
141
142
// Operand for source modifiers for VOP instructions
143
OPERAND_INPUT_MODS
,
144
145
// Operand for SDWA instructions
146
OPERAND_SDWA_VOPC_DST
,
147
148
/// Operand with 32-bit immediate that uses the constant bus.
149
OPERAND_KIMM32
,
150
OPERAND_KIMM16
151
};
152
}
153
154
namespace
SIStackID {
155
enum
StackTypes
: uint8_t {
156
SCRATCH
= 0,
157
SGPR_SPILL
= 1
158
};
159
}
160
161
// Input operand modifiers bit-masks
162
// NEG and SEXT share same bit-mask because they can't be set simultaneously.
163
namespace
SISrcMods {
164
enum
{
165
NEG
= 1 << 0,
// Floating-point negate modifier
166
ABS
= 1 << 1,
// Floating-point absolute modifier
167
SEXT
= 1 << 0,
// Integer sign-extend modifier
168
NEG_HI
=
ABS
,
// Floating-point negate high packed component modifier.
169
OP_SEL_0
= 1 << 2,
170
OP_SEL_1
= 1 << 3,
171
DST_OP_SEL
= 1 << 3
// VOP3 dst op_sel (share mask with OP_SEL_1)
172
};
173
}
174
175
namespace
SIOutMods {
176
enum
{
177
NONE
= 0,
178
MUL2
= 1,
179
MUL4
= 2,
180
DIV2
= 3
181
};
182
}
183
184
namespace
VGPRIndexMode {
185
enum
{
186
SRC0_ENABLE
= 1 << 0,
187
SRC1_ENABLE
= 1 << 1,
188
SRC2_ENABLE
= 1 << 2,
189
DST_ENABLE
= 1 << 3
190
};
191
}
192
193
namespace
AMDGPUAsmVariants {
194
enum
{
195
DEFAULT
= 0,
196
VOP3
= 1,
197
SDWA
= 2,
198
SDWA9
= 3,
199
DPP
= 4
200
};
201
}
202
203
namespace
AMDGPU
{
204
namespace
EncValues {
// Encoding values of enum9/8/7 operands
205
206
enum
{
207
SGPR_MIN
= 0,
208
SGPR_MAX
= 101,
209
TTMP_VI_MIN
= 112,
210
TTMP_VI_MAX
= 123,
211
TTMP_GFX9_MIN
= 108,
212
TTMP_GFX9_MAX
= 123,
213
INLINE_INTEGER_C_MIN
= 128,
214
INLINE_INTEGER_C_POSITIVE_MAX
= 192,
// 64
215
INLINE_INTEGER_C_MAX
= 208,
216
INLINE_FLOATING_C_MIN
= 240,
217
INLINE_FLOATING_C_MAX
= 248,
218
LITERAL_CONST
= 255,
219
VGPR_MIN
= 256,
220
VGPR_MAX
= 511
221
};
222
223
}
// namespace EncValues
224
}
// namespace AMDGPU
225
226
namespace
AMDGPU
{
227
namespace
SendMsg {
// Encoding of SIMM16 used in s_sendmsg* insns.
228
229
enum
Id
{
// Message ID, width(4) [3:0].
230
ID_UNKNOWN_
= -1,
231
ID_INTERRUPT
= 1,
232
ID_GS
,
233
ID_GS_DONE
,
234
ID_SYSMSG
= 15,
235
ID_GAPS_LAST_
,
// Indicate that sequence has gaps.
236
ID_GAPS_FIRST_
=
ID_INTERRUPT
,
237
ID_SHIFT_
= 0,
238
ID_WIDTH_
= 4,
239
ID_MASK_
= (((1 <<
ID_WIDTH_
) - 1) <<
ID_SHIFT_
)
240
};
241
242
enum
Op
{
// Both GS and SYS operation IDs.
243
OP_UNKNOWN_
= -1,
244
OP_SHIFT_
= 4,
245
// width(2) [5:4]
246
OP_GS_NOP
= 0,
247
OP_GS_CUT
,
248
OP_GS_EMIT
,
249
OP_GS_EMIT_CUT
,
250
OP_GS_LAST_
,
251
OP_GS_FIRST_
=
OP_GS_NOP
,
252
OP_GS_WIDTH_
= 2,
253
OP_GS_MASK_
= (((1 <<
OP_GS_WIDTH_
) - 1) <<
OP_SHIFT_
),
254
// width(3) [6:4]
255
OP_SYS_ECC_ERR_INTERRUPT
= 1,
256
OP_SYS_REG_RD
,
257
OP_SYS_HOST_TRAP_ACK
,
258
OP_SYS_TTRACE_PC
,
259
OP_SYS_LAST_
,
260
OP_SYS_FIRST_
=
OP_SYS_ECC_ERR_INTERRUPT
,
261
OP_SYS_WIDTH_
= 3,
262
OP_SYS_MASK_
= (((1 <<
OP_SYS_WIDTH_
) - 1) <<
OP_SHIFT_
)
263
};
264
265
enum
StreamId
{
// Stream ID, (2) [9:8].
266
STREAM_ID_DEFAULT_
= 0,
267
STREAM_ID_LAST_
= 4,
268
STREAM_ID_FIRST_
=
STREAM_ID_DEFAULT_
,
269
STREAM_ID_SHIFT_
= 8,
270
STREAM_ID_WIDTH_
= 2,
271
STREAM_ID_MASK_
= (((1 <<
STREAM_ID_WIDTH_
) - 1) <<
STREAM_ID_SHIFT_
)
272
};
273
274
}
// namespace SendMsg
275
276
namespace
Hwreg {
// Encoding of SIMM16 used in s_setreg/getreg* insns.
277
278
enum
Id
{
// HwRegCode, (6) [5:0]
279
ID_UNKNOWN_
= -1,
280
ID_SYMBOLIC_FIRST_
= 1,
// There are corresponding symbolic names defined.
281
ID_MODE
= 1,
282
ID_STATUS
= 2,
283
ID_TRAPSTS
= 3,
284
ID_HW_ID
= 4,
285
ID_GPR_ALLOC
= 5,
286
ID_LDS_ALLOC
= 6,
287
ID_IB_STS
= 7,
288
ID_MEM_BASES
= 15,
289
ID_SYMBOLIC_FIRST_GFX9_
=
ID_MEM_BASES
,
290
ID_SYMBOLIC_LAST_
= 16,
291
ID_SHIFT_
= 0,
292
ID_WIDTH_
= 6,
293
ID_MASK_
= (((1 <<
ID_WIDTH_
) - 1) <<
ID_SHIFT_
)
294
};
295
296
enum
Offset
{
// Offset, (5) [10:6]
297
OFFSET_DEFAULT_
= 0,
298
OFFSET_SHIFT_
= 6,
299
OFFSET_WIDTH_
= 5,
300
OFFSET_MASK_
= (((1 <<
OFFSET_WIDTH_
) - 1) <<
OFFSET_SHIFT_
),
301
302
OFFSET_SRC_SHARED_BASE
= 16,
303
OFFSET_SRC_PRIVATE_BASE
= 0
304
};
305
306
enum
WidthMinusOne
{
// WidthMinusOne, (5) [15:11]
307
WIDTH_M1_DEFAULT_
= 31,
308
WIDTH_M1_SHIFT_
= 11,
309
WIDTH_M1_WIDTH_
= 5,
310
WIDTH_M1_MASK_
= (((1 <<
WIDTH_M1_WIDTH_
) - 1) <<
WIDTH_M1_SHIFT_
),
311
312
WIDTH_M1_SRC_SHARED_BASE
= 15,
313
WIDTH_M1_SRC_PRIVATE_BASE
= 15
314
};
315
316
}
// namespace Hwreg
317
318
namespace
Swizzle
{
// Encoding of swizzle macro used in ds_swizzle_b32.
319
320
enum
Id
{
// id of symbolic names
321
ID_QUAD_PERM
= 0,
322
ID_BITMASK_PERM
,
323
ID_SWAP
,
324
ID_REVERSE
,
325
ID_BROADCAST
326
};
327
328
enum
EncBits
{
329
330
// swizzle mode encodings
331
332
QUAD_PERM_ENC
= 0x8000,
333
QUAD_PERM_ENC_MASK
= 0xFF00,
334
335
BITMASK_PERM_ENC
= 0x0000,
336
BITMASK_PERM_ENC_MASK
= 0x8000,
337
338
// QUAD_PERM encodings
339
340
LANE_MASK
= 0x3,
341
LANE_MAX
=
LANE_MASK
,
342
LANE_SHIFT
= 2,
343
LANE_NUM
= 4,
344
345
// BITMASK_PERM encodings
346
347
BITMASK_MASK
= 0x1F,
348
BITMASK_MAX
=
BITMASK_MASK
,
349
BITMASK_WIDTH
= 5,
350
351
BITMASK_AND_SHIFT
= 0,
352
BITMASK_OR_SHIFT
= 5,
353
BITMASK_XOR_SHIFT
= 10
354
};
355
356
}
// namespace Swizzle
357
358
namespace
SDWA
{
359
360
enum
SdwaSel
{
361
BYTE_0
= 0,
362
BYTE_1
= 1,
363
BYTE_2
= 2,
364
BYTE_3
= 3,
365
WORD_0
= 4,
366
WORD_1
= 5,
367
DWORD
= 6,
368
};
369
370
enum
DstUnused
{
371
UNUSED_PAD
= 0,
372
UNUSED_SEXT
= 1,
373
UNUSED_PRESERVE
= 2,
374
};
375
376
enum
SDWA9EncValues
{
377
SRC_SGPR_MASK
= 0x100,
378
SRC_VGPR_MASK
= 0xFF,
379
VOPC_DST_VCC_MASK
= 0x80,
380
VOPC_DST_SGPR_MASK
= 0x7F,
381
382
SRC_VGPR_MIN
= 0,
383
SRC_VGPR_MAX
= 255,
384
SRC_SGPR_MIN
= 256,
385
SRC_SGPR_MAX
= 357,
386
SRC_TTMP_MIN
= 364,
387
SRC_TTMP_MAX
= 379,
388
};
389
390
}
// namespace SDWA
391
392
namespace
DPP
{
393
394
enum
DppCtrl
{
395
QUAD_PERM_FIRST
= 0,
396
QUAD_PERM_LAST
= 0xFF,
397
DPP_UNUSED1
= 0x100,
398
ROW_SHL0
= 0x100,
399
ROW_SHL_FIRST
= 0x101,
400
ROW_SHL_LAST
= 0x10F,
401
DPP_UNUSED2
= 0x110,
402
ROW_SHR0
= 0x110,
403
ROW_SHR_FIRST
= 0x111,
404
ROW_SHR_LAST
= 0x11F,
405
DPP_UNUSED3
= 0x120,
406
ROW_ROR0
= 0x120,
407
ROW_ROR_FIRST
= 0x121,
408
ROW_ROR_LAST
= 0x12F,
409
WAVE_SHL1
= 0x130,
410
DPP_UNUSED4_FIRST
= 0x131,
411
DPP_UNUSED4_LAST
= 0x133,
412
WAVE_ROL1
= 0x134,
413
DPP_UNUSED5_FIRST
= 0x135,
414
DPP_UNUSED5_LAST
= 0x137,
415
WAVE_SHR1
= 0x138,
416
DPP_UNUSED6_FIRST
= 0x139,
417
DPP_UNUSED6_LAST
= 0x13B,
418
WAVE_ROR1
= 0x13C,
419
DPP_UNUSED7_FIRST
= 0x13D,
420
DPP_UNUSED7_LAST
= 0x13F,
421
ROW_MIRROR
= 0x140,
422
ROW_HALF_MIRROR
= 0x141,
423
BCAST15
= 0x142,
424
BCAST31
= 0x143,
425
DPP_LAST
=
BCAST31
426
};
427
428
}
// namespace DPP
429
}
// namespace AMDGPU
430
431
#define R_00B028_SPI_SHADER_PGM_RSRC1_PS 0x00B028
432
#define R_00B02C_SPI_SHADER_PGM_RSRC2_PS 0x00B02C
433
#define S_00B02C_EXTRA_LDS_SIZE(x) (((x) & 0xFF) << 8)
434
#define R_00B128_SPI_SHADER_PGM_RSRC1_VS 0x00B128
435
#define R_00B228_SPI_SHADER_PGM_RSRC1_GS 0x00B228
436
#define R_00B328_SPI_SHADER_PGM_RSRC1_ES 0x00B328
437
#define R_00B428_SPI_SHADER_PGM_RSRC1_HS 0x00B428
438
#define R_00B528_SPI_SHADER_PGM_RSRC1_LS 0x00B528
439
#define R_00B848_COMPUTE_PGM_RSRC1 0x00B848
440
#define S_00B028_VGPRS(x) (((x) & 0x3F) << 0)
441
#define S_00B028_SGPRS(x) (((x) & 0x0F) << 6)
442
443
#define R_00B84C_COMPUTE_PGM_RSRC2 0x00B84C
444
#define S_00B84C_SCRATCH_EN(x) (((x) & 0x1) << 0)
445
#define G_00B84C_SCRATCH_EN(x) (((x) >> 0) & 0x1)
446
#define C_00B84C_SCRATCH_EN 0xFFFFFFFE
447
#define S_00B84C_USER_SGPR(x) (((x) & 0x1F) << 1)
448
#define G_00B84C_USER_SGPR(x) (((x) >> 1) & 0x1F)
449
#define C_00B84C_USER_SGPR 0xFFFFFFC1
450
#define S_00B84C_TRAP_HANDLER(x) (((x) & 0x1) << 6)
451
#define G_00B84C_TRAP_HANDLER(x) (((x) >> 6) & 0x1)
452
#define C_00B84C_TRAP_HANDLER 0xFFFFFFBF
453
#define S_00B84C_TGID_X_EN(x) (((x) & 0x1) << 7)
454
#define G_00B84C_TGID_X_EN(x) (((x) >> 7) & 0x1)
455
#define C_00B84C_TGID_X_EN 0xFFFFFF7F
456
#define S_00B84C_TGID_Y_EN(x) (((x) & 0x1) << 8)
457
#define G_00B84C_TGID_Y_EN(x) (((x) >> 8) & 0x1)
458
#define C_00B84C_TGID_Y_EN 0xFFFFFEFF
459
#define S_00B84C_TGID_Z_EN(x) (((x) & 0x1) << 9)
460
#define G_00B84C_TGID_Z_EN(x) (((x) >> 9) & 0x1)
461
#define C_00B84C_TGID_Z_EN 0xFFFFFDFF
462
#define S_00B84C_TG_SIZE_EN(x) (((x) & 0x1) << 10)
463
#define G_00B84C_TG_SIZE_EN(x) (((x) >> 10) & 0x1)
464
#define C_00B84C_TG_SIZE_EN 0xFFFFFBFF
465
#define S_00B84C_TIDIG_COMP_CNT(x) (((x) & 0x03) << 11)
466
#define G_00B84C_TIDIG_COMP_CNT(x) (((x) >> 11) & 0x03)
467
#define C_00B84C_TIDIG_COMP_CNT 0xFFFFE7FF
468
/* CIK */
469
#define S_00B84C_EXCP_EN_MSB(x) (((x) & 0x03) << 13)
470
#define G_00B84C_EXCP_EN_MSB(x) (((x) >> 13) & 0x03)
471
#define C_00B84C_EXCP_EN_MSB 0xFFFF9FFF
472
/* */
473
#define S_00B84C_LDS_SIZE(x) (((x) & 0x1FF) << 15)
474
#define G_00B84C_LDS_SIZE(x) (((x) >> 15) & 0x1FF)
475
#define C_00B84C_LDS_SIZE 0xFF007FFF
476
#define S_00B84C_EXCP_EN(x) (((x) & 0x7F) << 24)
477
#define G_00B84C_EXCP_EN(x) (((x) >> 24) & 0x7F)
478
#define C_00B84C_EXCP_EN
479
480
#define R_0286CC_SPI_PS_INPUT_ENA 0x0286CC
481
#define R_0286D0_SPI_PS_INPUT_ADDR 0x0286D0
482
483
#define R_00B848_COMPUTE_PGM_RSRC1 0x00B848
484
#define S_00B848_VGPRS(x) (((x) & 0x3F) << 0)
485
#define G_00B848_VGPRS(x) (((x) >> 0) & 0x3F)
486
#define C_00B848_VGPRS 0xFFFFFFC0
487
#define S_00B848_SGPRS(x) (((x) & 0x0F) << 6)
488
#define G_00B848_SGPRS(x) (((x) >> 6) & 0x0F)
489
#define C_00B848_SGPRS 0xFFFFFC3F
490
#define S_00B848_PRIORITY(x) (((x) & 0x03) << 10)
491
#define G_00B848_PRIORITY(x) (((x) >> 10) & 0x03)
492
#define C_00B848_PRIORITY 0xFFFFF3FF
493
#define S_00B848_FLOAT_MODE(x) (((x) & 0xFF) << 12)
494
#define G_00B848_FLOAT_MODE(x) (((x) >> 12) & 0xFF)
495
#define C_00B848_FLOAT_MODE 0xFFF00FFF
496
#define S_00B848_PRIV(x) (((x) & 0x1) << 20)
497
#define G_00B848_PRIV(x) (((x) >> 20) & 0x1)
498
#define C_00B848_PRIV 0xFFEFFFFF
499
#define S_00B848_DX10_CLAMP(x) (((x) & 0x1) << 21)
500
#define G_00B848_DX10_CLAMP(x) (((x) >> 21) & 0x1)
501
#define C_00B848_DX10_CLAMP 0xFFDFFFFF
502
#define S_00B848_DEBUG_MODE(x) (((x) & 0x1) << 22)
503
#define G_00B848_DEBUG_MODE(x) (((x) >> 22) & 0x1)
504
#define C_00B848_DEBUG_MODE 0xFFBFFFFF
505
#define S_00B848_IEEE_MODE(x) (((x) & 0x1) << 23)
506
#define G_00B848_IEEE_MODE(x) (((x) >> 23) & 0x1)
507
#define C_00B848_IEEE_MODE 0xFF7FFFFF
508
509
510
// Helpers for setting FLOAT_MODE
511
#define FP_ROUND_ROUND_TO_NEAREST 0
512
#define FP_ROUND_ROUND_TO_INF 1
513
#define FP_ROUND_ROUND_TO_NEGINF 2
514
#define FP_ROUND_ROUND_TO_ZERO 3
515
516
// Bits 3:0 control rounding mode. 1:0 control single precision, 3:2 double
517
// precision.
518
#define FP_ROUND_MODE_SP(x) ((x) & 0x3)
519
#define FP_ROUND_MODE_DP(x) (((x) & 0x3) << 2)
520
521
#define FP_DENORM_FLUSH_IN_FLUSH_OUT 0
522
#define FP_DENORM_FLUSH_OUT 1
523
#define FP_DENORM_FLUSH_IN 2
524
#define FP_DENORM_FLUSH_NONE 3
525
526
527
// Bits 7:4 control denormal handling. 5:4 control single precision, 6:7 double
528
// precision.
529
#define FP_DENORM_MODE_SP(x) (((x) & 0x3) << 4)
530
#define FP_DENORM_MODE_DP(x) (((x) & 0x3) << 6)
531
532
#define R_00B860_COMPUTE_TMPRING_SIZE 0x00B860
533
#define S_00B860_WAVESIZE(x) (((x) & 0x1FFF) << 12)
534
535
#define R_0286E8_SPI_TMPRING_SIZE 0x0286E8
536
#define S_0286E8_WAVESIZE(x) (((x) & 0x1FFF) << 12)
537
538
#define R_SPILLED_SGPRS 0x4
539
#define R_SPILLED_VGPRS 0x8
540
}
// End namespace llvm
541
542
#endif
llvm::AMDGPU::Hwreg::WidthMinusOne
WidthMinusOne
Definition:
SIDefines.h:306
llvm::SIInstrFlags::SMRD
Definition:
SIDefines.h:48
llvm::AMDGPU::SendMsg::OP_SYS_FIRST_
Definition:
SIDefines.h:260
llvm::AMDGPU::EncValues::INLINE_INTEGER_C_POSITIVE_MAX
Definition:
SIDefines.h:214
llvm::SIInstrFlags::P_INFINITY
Definition:
SIDefines.h:109
llvm::AMDGPU::DPP::ROW_SHR0
Definition:
SIDefines.h:402
llvm::AMDGPU::Swizzle::ID_REVERSE
Definition:
SIDefines.h:324
llvm::AMDGPU::OPERAND_REG_INLINE_C_FIRST
Definition:
SIDefines.h:136
llvm::AMDGPU::EncValues::INLINE_INTEGER_C_MAX
Definition:
SIDefines.h:215
llvm::AMDGPU::Hwreg::ID_LDS_ALLOC
Definition:
SIDefines.h:286
llvm::AMDGPU::OPERAND_KIMM16
Definition:
SIDefines.h:150
llvm::AMDGPU::Hwreg::OFFSET_SRC_SHARED_BASE
Definition:
SIDefines.h:302
llvm::AMDGPU::OPERAND_REG_INLINE_C_FP16
Definition:
SIDefines.h:127
llvm::AMDGPU::EncValues::SGPR_MIN
Definition:
SIDefines.h:207
llvm::AMDGPU::SendMsg::OP_GS_MASK_
Definition:
SIDefines.h:253
llvm::SIInstrFlags::WQM
Definition:
SIDefines.h:63
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::AMDGPU::SDWA::VOPC_DST_VCC_MASK
Definition:
SIDefines.h:379
llvm::AMDGPU::DPP::ROW_SHL0
Definition:
SIDefines.h:398
llvm::SIInstrFlags::Gather4
Definition:
SIDefines.h:65
llvm::SIInstrFlags::VOPC
Definition:
SIDefines.h:35
llvm::SIInstrFlags::IntClamp
Definition:
SIDefines.h:78
llvm::AMDGPU::DPP::ROW_SHR_FIRST
Definition:
SIDefines.h:403
llvm::SIOutMods::MUL2
Definition:
SIDefines.h:178
llvm::AMDGPU::SendMsg::OP_UNKNOWN_
Definition:
SIDefines.h:243
llvm::AMDGPU::SDWA::SRC_VGPR_MASK
Definition:
SIDefines.h:378
llvm::AMDGPU::SendMsg::ID_INTERRUPT
Definition:
SIDefines.h:231
llvm::AMDGPU::DPP::BCAST15
Definition:
SIDefines.h:423
llvm::AMDGPU::EncValues::LITERAL_CONST
Definition:
SIDefines.h:218
llvm::AMDGPU::DPP::DPP_UNUSED2
Definition:
SIDefines.h:401
llvm::AMDGPU::EncValues::VGPR_MAX
Definition:
SIDefines.h:220
llvm::AMDGPU::SDWA::SRC_VGPR_MAX
Definition:
SIDefines.h:383
llvm::SIInstrFlags::ClampLo
Definition:
SIDefines.h:81
llvm::SIOutMods::DIV2
Definition:
SIDefines.h:180
llvm::SIInstrFlags::VGPRSpill
Definition:
SIDefines.h:55
llvm::AMDGPU::SendMsg::OP_SYS_WIDTH_
Definition:
SIDefines.h:261
llvm::SIInstrFlags::VOPAsmPrefer32Bit
Definition:
SIDefines.h:69
llvm::SIStackID::SCRATCH
Definition:
SIDefines.h:156
llvm::AMDGPU::DPP::ROW_SHL_FIRST
Definition:
SIDefines.h:399
llvm::SIInstrFlags::SOP1
Definition:
SIDefines.h:26
Swizzle
static std::vector< std::pair< int, unsigned > > Swizzle(std::vector< std::pair< int, unsigned >> Src, R600InstrInfo::BankSwizzle Swz)
Definition:
R600InstrInfo.cpp:376
llvm::AMDGPU::DPP::DPP_UNUSED5_FIRST
Definition:
SIDefines.h:413
llvm::VGPRIndexMode::SRC1_ENABLE
Definition:
SIDefines.h:187
llvm::AMDGPU::Swizzle::EncBits
EncBits
Definition:
SIDefines.h:328
llvm::AMDGPU::OPERAND_REG_IMM_INT64
Definition:
SIDefines.h:117
llvm::AMDGPU::Hwreg::OFFSET_WIDTH_
Definition:
SIDefines.h:299
llvm::SIInstrFlags::MIMG
Definition:
SIDefines.h:49
llvm::AMDGPU::OPERAND_REG_INLINE_C_INT64
Definition:
SIDefines.h:126
llvm::AMDGPU::SDWA::BYTE_0
Definition:
SIDefines.h:361
llvm::AMDGPU::SendMsg::OP_GS_NOP
Definition:
SIDefines.h:246
llvm::VGPRIndexMode::SRC2_ENABLE
Definition:
SIDefines.h:188
llvm::AMDGPU::SendMsg::STREAM_ID_DEFAULT_
Definition:
SIDefines.h:266
llvm::AMDGPU::SendMsg::OP_SYS_MASK_
Definition:
SIDefines.h:262
llvm::SIInstrFlags::N_SUBNORMAL
Definition:
SIDefines.h:104
llvm::SIInstrFlags::IsPacked
Definition:
SIDefines.h:88
llvm::SISrcMods::SEXT
Definition:
SIDefines.h:167
llvm::SIOutMods::NONE
Definition:
SIDefines.h:177
llvm::AMDGPU::SendMsg::STREAM_ID_FIRST_
Definition:
SIDefines.h:268
llvm::AMDGPU::Hwreg::WIDTH_M1_SRC_SHARED_BASE
Definition:
SIDefines.h:312
llvm::SIInstrFlags::SDWA
Definition:
SIDefines.h:42
llvm::AMDGPU::SendMsg::ID_GS
Definition:
SIDefines.h:232
llvm::SIInstrFlags::P_NORMAL
Definition:
SIDefines.h:108
llvm::AMDGPU::Hwreg::WIDTH_M1_DEFAULT_
Definition:
SIDefines.h:307
llvm::SIInstrFlags::SOPC
Definition:
SIDefines.h:28
llvm::SIStackID::StackTypes
StackTypes
Definition:
SIDefines.h:155
llvm::AMDGPU::SDWA::VOPC_DST_SGPR_MASK
Definition:
SIDefines.h:380
llvm::AMDGPU::DPP::ROW_MIRROR
Definition:
SIDefines.h:421
llvm::AMDGPU::SendMsg::OP_SYS_TTRACE_PC
Definition:
SIDefines.h:258
llvm::AMDGPU::OPERAND_SRC_LAST
Definition:
SIDefines.h:140
llvm::AMDGPU::Hwreg::WIDTH_M1_WIDTH_
Definition:
SIDefines.h:309
llvm::SIStackID::SGPR_SPILL
Definition:
SIDefines.h:157
llvm::SIInstrFlags::VOP1
Definition:
SIDefines.h:33
llvm::AMDGPU::SendMsg::Id
Id
Definition:
SIDefines.h:229
llvm::SIInstrFlags::FIXED_SIZE
Definition:
SIDefines.h:68
llvm::AMDGPU::SDWA::SRC_TTMP_MAX
Definition:
SIDefines.h:387
llvm::SIInstrFlags::EXP
Definition:
SIDefines.h:50
llvm::MCOI::OPERAND_FIRST_TARGET
Definition:
MCInstrDesc.h:60
llvm::AMDGPU::Hwreg::ID_STATUS
Definition:
SIDefines.h:282
llvm::AMDGPU::Swizzle::ID_BITMASK_PERM
Definition:
SIDefines.h:322
llvm::AMDGPU::OPERAND_REG_INLINE_C_LAST
Definition:
SIDefines.h:137
llvm::AMDGPU::Hwreg::ID_MODE
Definition:
SIDefines.h:281
llvm::AMDGPU::OPERAND_REG_INLINE_C_FP64
Definition:
SIDefines.h:129
llvm::AMDGPU::OPERAND_REG_INLINE_C_INT32
Definition:
SIDefines.h:125
llvm::AMDGPU::DPP::WAVE_SHR1
Definition:
SIDefines.h:415
llvm::AMDGPU::DPP::ROW_SHL_LAST
Definition:
SIDefines.h:400
llvm::SIInstrFlags::SOP2
Definition:
SIDefines.h:27
llvm::SIInstrFlags::SOPK_ZEXT
Definition:
SIDefines.h:66
llvm::AMDGPU::DPP::ROW_SHR_LAST
Definition:
SIDefines.h:404
llvm::AMDGPU::DPP::ROW_ROR_LAST
Definition:
SIDefines.h:408
llvm::SIInstrFlags::ClampHi
Definition:
SIDefines.h:85
llvm::AMDGPU::DPP::DPP_UNUSED6_LAST
Definition:
SIDefines.h:417
llvm::VGPRIndexMode::SRC0_ENABLE
Definition:
SIDefines.h:186
llvm::AMDGPU::DPP::DPP_UNUSED3
Definition:
SIDefines.h:405
llvm::AMDGPU::Swizzle::BITMASK_AND_SHIFT
Definition:
SIDefines.h:351
llvm::AMDGPU::Hwreg::ID_GPR_ALLOC
Definition:
SIDefines.h:285
llvm::AMDGPU::Hwreg::ID_SYMBOLIC_FIRST_GFX9_
Definition:
SIDefines.h:289
llvm::SIInstrFlags::Q_NAN
Definition:
SIDefines.h:101
llvm::AMDGPU::EncValues::INLINE_FLOATING_C_MAX
Definition:
SIDefines.h:217
llvm::AMDGPU::SendMsg::ID_GS_DONE
Definition:
SIDefines.h:233
llvm::AMDGPU::SDWA::SRC_SGPR_MIN
Definition:
SIDefines.h:384
llvm::AMDGPU::SendMsg::OP_GS_EMIT_CUT
Definition:
SIDefines.h:249
llvm::AMDGPU::OPERAND_REG_IMM_LAST
Definition:
SIDefines.h:134
llvm::AMDGPU::SendMsg::OP_GS_CUT
Definition:
SIDefines.h:247
llvm::AMDGPU::SDWA::BYTE_1
Definition:
SIDefines.h:362
llvm::SIInstrFlags::VOP3
Definition:
SIDefines.h:38
llvm::AMDGPU::DPP::WAVE_SHL1
Definition:
SIDefines.h:409
llvm::AMDGPU::SDWA::SRC_VGPR_MIN
Definition:
SIDefines.h:382
llvm::AMDGPU::SendMsg::STREAM_ID_MASK_
Definition:
SIDefines.h:271
llvm::SIInstrFlags::VM_CNT
Definition:
SIDefines.h:59
llvm::AMDGPU::DPP::ROW_HALF_MIRROR
Definition:
SIDefines.h:422
llvm::AMDGPU::Hwreg::OFFSET_SHIFT_
Definition:
SIDefines.h:298
llvm::AMDGPU::SDWA::DstUnused
DstUnused
Definition:
SIDefines.h:370
llvm::AMDGPU::OPERAND_REG_IMM_FIRST
Definition:
SIDefines.h:133
llvm::SIInstrFlags::P_SUBNORMAL
Definition:
SIDefines.h:107
llvm::SIInstrFlags::VOP3P
Definition:
SIDefines.h:39
llvm::AMDGPU::OPERAND_REG_IMM_INT16
Definition:
SIDefines.h:118
llvm::AMDGPU::DPP::DppCtrl
DppCtrl
Definition:
SIDefines.h:394
llvm::AMDGPU::SendMsg::OP_SYS_HOST_TRAP_ACK
Definition:
SIDefines.h:257
llvm::AMDGPU::DPP::DPP_LAST
Definition:
SIDefines.h:425
llvm::SIInstrFlags::MTBUF
Definition:
SIDefines.h:47
llvm::AMDGPU::EncValues::TTMP_VI_MAX
Definition:
SIDefines.h:210
llvm::AMDGPU::DPP::ROW_ROR_FIRST
Definition:
SIDefines.h:407
llvm::AMDGPU::DPP::DPP_UNUSED5_LAST
Definition:
SIDefines.h:414
llvm::AMDGPU::SendMsg::OP_GS_WIDTH_
Definition:
SIDefines.h:252
llvm::SIInstrFlags::FLAT
Definition:
SIDefines.h:51
llvm::AMDGPU::Hwreg::OFFSET_SRC_PRIVATE_BASE
Definition:
SIDefines.h:303
llvm::AMDGPU::DPP::QUAD_PERM_LAST
Definition:
SIDefines.h:396
llvm::SIInstrFlags::DPP
Definition:
SIDefines.h:43
llvm::SIInstrFlags::N_NORMAL
Definition:
SIDefines.h:103
llvm::AMDGPU::OPERAND_REG_IMM_FP64
Definition:
SIDefines.h:120
llvm::AMDGPU::Hwreg::WIDTH_M1_SHIFT_
Definition:
SIDefines.h:308
llvm::AMDGPU::Swizzle::BITMASK_XOR_SHIFT
Definition:
SIDefines.h:353
llvm::SIInstrFlags::SGPRSpill
Definition:
SIDefines.h:56
llvm::AMDGPU::OPERAND_INPUT_MODS
Definition:
SIDefines.h:143
llvm::AMDGPU::Hwreg::ID_MASK_
Definition:
SIDefines.h:293
llvm::AMDGPU::SendMsg::ID_GAPS_LAST_
Definition:
SIDefines.h:235
llvm::AMDGPU::DPP::DPP_UNUSED7_FIRST
Definition:
SIDefines.h:419
llvm::AMDGPU::Hwreg::ID_SYMBOLIC_LAST_
Definition:
SIDefines.h:290
llvm::AMDGPU::Hwreg::ID_TRAPSTS
Definition:
SIDefines.h:283
llvm::SIInstrFlags::SOPK
Definition:
SIDefines.h:29
llvm::AMDGPU::EncValues::INLINE_INTEGER_C_MIN
Definition:
SIDefines.h:213
llvm::SIInstrFlags::SCALAR_STORE
Definition:
SIDefines.h:67
llvm::SIInstrFlags::VOP2
Definition:
SIDefines.h:34
llvm::SIInstrFlags::renamedInGFX9
Definition:
SIDefines.h:72
llvm::AMDGPU::Swizzle::BITMASK_MAX
Definition:
SIDefines.h:348
llvm::SISrcMods::NEG
Definition:
SIDefines.h:165
llvm::SIInstrFlags::SALU
Definition:
SIDefines.h:22
SDWA9
Definition:
SIInstrInfo.cpp:5512
llvm::AMDGPU::OPERAND_REG_INLINE_C_INT16
Operands with register or inline constant.
Definition:
SIDefines.h:124
llvm::AMDGPU::Hwreg::WIDTH_M1_MASK_
Definition:
SIDefines.h:310
llvm::SIInstrFlags::S_NAN
Definition:
SIDefines.h:100
llvm::AMDGPU::SendMsg::OP_GS_FIRST_
Definition:
SIDefines.h:251
llvm::VGPRIndexMode::DST_ENABLE
Definition:
SIDefines.h:189
llvm::AMDGPU::Swizzle::QUAD_PERM_ENC_MASK
Definition:
SIDefines.h:333
llvm::AMDGPU::Hwreg::Offset
Offset
Definition:
SIDefines.h:296
llvm::SIInstrFlags::FPClamp
Definition:
SIDefines.h:75
llvm::AMDGPU::SendMsg::OP_GS_LAST_
Definition:
SIDefines.h:250
llvm::AMDGPU::SDWA::SdwaSel
SdwaSel
Definition:
SIDefines.h:360
llvm::SISrcMods::OP_SEL_0
Definition:
SIDefines.h:169
llvm::AMDGPU::DPP::DPP_UNUSED4_FIRST
Definition:
SIDefines.h:410
llvm::AMDGPU::Hwreg::WIDTH_M1_SRC_PRIVATE_BASE
Definition:
SIDefines.h:313
llvm::SIInstrFlags::D16Buf
Definition:
SIDefines.h:91
llvm::AMDGPU::SendMsg::StreamId
StreamId
Definition:
SIDefines.h:265
llvm::AMDGPU::Swizzle::ID_SWAP
Definition:
SIDefines.h:323
llvm::AMDGPU::Hwreg::ID_SHIFT_
Definition:
SIDefines.h:291
llvm::SIInstrFlags::N_ZERO
Definition:
SIDefines.h:105
llvm::SIInstrFlags::P_ZERO
Definition:
SIDefines.h:106
llvm::SIInstrFlags::LGKM_CNT
Definition:
SIDefines.h:61
llvm::AMDGPU::Swizzle::BITMASK_PERM_ENC_MASK
Definition:
SIDefines.h:336
llvm::AMDGPU::Swizzle::BITMASK_WIDTH
Definition:
SIDefines.h:349
llvm::AMDGPU::Hwreg::ID_UNKNOWN_
Definition:
SIDefines.h:279
llvm::AMDGPU::SDWA::SRC_SGPR_MASK
Definition:
SIDefines.h:377
llvm::AMDGPU::SendMsg::OP_SYS_ECC_ERR_INTERRUPT
Definition:
SIDefines.h:255
llvm::AMDGPU::Swizzle::ID_BROADCAST
Definition:
SIDefines.h:325
llvm::AMDGPU::EncValues::TTMP_GFX9_MIN
Definition:
SIDefines.h:211
llvm::AMDGPU::OPERAND_REG_INLINE_C_V2INT16
Definition:
SIDefines.h:131
llvm::AMDGPU::SDWA::UNUSED_PAD
Definition:
SIDefines.h:371
llvm::AMDGPU::EncValues::TTMP_GFX9_MAX
Definition:
SIDefines.h:212
llvm::AMDGPU::DPP::DPP_UNUSED1
Definition:
SIDefines.h:397
llvm::AMDGPU::EncValues::TTMP_VI_MIN
Definition:
SIDefines.h:209
llvm::AMDGPU::OPERAND_SDWA_VOPC_DST
Definition:
SIDefines.h:146
llvm::AMDGPU::SDWA::BYTE_2
Definition:
SIDefines.h:363
llvm::AMDGPU::OperandType
OperandType
Definition:
SIDefines.h:114
llvm::AMDGPU::Hwreg::Id
Id
Definition:
SIDefines.h:278
llvm::SIInstrFlags::N_INFINITY
Definition:
SIDefines.h:102
llvm::AMDGPU::Hwreg::ID_SYMBOLIC_FIRST_
Definition:
SIDefines.h:280
llvm::AMDGPU::SDWA::UNUSED_SEXT
Definition:
SIDefines.h:372
llvm::AMDGPU::Swizzle::QUAD_PERM_ENC
Definition:
SIDefines.h:332
llvm::SISrcMods::ABS
Definition:
SIDefines.h:166
llvm::AMDGPU::EncValues::VGPR_MIN
Definition:
SIDefines.h:219
llvm::AMDGPU::SDWA::SRC_SGPR_MAX
Definition:
SIDefines.h:385
llvm::AMDGPU::Hwreg::OFFSET_DEFAULT_
Definition:
SIDefines.h:297
llvm::AMDGPU::DPP::ROW_ROR0
Definition:
SIDefines.h:406
llvm::SIInstrFlags::VALU
Definition:
SIDefines.h:23
llvm::AMDGPU::Swizzle::LANE_MASK
Definition:
SIDefines.h:340
llvm::AMDGPU::OPERAND_SRC_FIRST
Definition:
SIDefines.h:139
llvm::AMDGPU::EncValues::SGPR_MAX
Definition:
SIDefines.h:208
llvm::AMDGPU::Swizzle::ID_QUAD_PERM
Definition:
SIDefines.h:321
llvm::SIOutMods::MUL4
Definition:
SIDefines.h:179
llvm::SIInstrFlags::VOP3_OPSEL
Definition:
SIDefines.h:70
llvm::AMDGPU::DPP::DPP_UNUSED6_FIRST
Definition:
SIDefines.h:416
llvm::SIInstrFlags::VINTRP
Definition:
SIDefines.h:41
llvm::AMDGPU::Hwreg::ID_IB_STS
Definition:
SIDefines.h:287
llvm::AMDGPU::DPP::WAVE_ROR1
Definition:
SIDefines.h:418
llvm::AMDGPU::SDWA::SDWA9EncValues
SDWA9EncValues
Definition:
SIDefines.h:376
llvm::AMDGPU::SDWA::BYTE_3
Definition:
SIDefines.h:364
llvm::SIInstrFlags::DS
Definition:
SIDefines.h:52
llvm::AMDGPU::OPERAND_REG_IMM_FP16
Definition:
SIDefines.h:121
llvm::SIInstrFlags::DisableWQM
Definition:
SIDefines.h:64
llvm::AMDGPU::DPP::DPP_UNUSED4_LAST
Definition:
SIDefines.h:411
llvm::AMDGPU::OPERAND_REG_IMM_INT32
Operands with register or 32-bit immediate.
Definition:
SIDefines.h:116
llvm::AMDGPU::Swizzle::LANE_SHIFT
Definition:
SIDefines.h:342
llvm::AMDGPU::SendMsg::STREAM_ID_WIDTH_
Definition:
SIDefines.h:270
llvm::SIInstrFlags::FPDPRounding
Definition:
SIDefines.h:94
llvm::AMDGPU::SendMsg::STREAM_ID_LAST_
Definition:
SIDefines.h:267
llvm::SIInstrFlags::maybeAtomic
Definition:
SIDefines.h:71
llvm::AMDGPU::Hwreg::OFFSET_MASK_
Definition:
SIDefines.h:300
llvm::AMDGPU::SendMsg::OP_GS_EMIT
Definition:
SIDefines.h:248
llvm::AMDGPU::OPERAND_REG_IMM_FP32
Definition:
SIDefines.h:119
llvm::SISrcMods::NEG_HI
Definition:
SIDefines.h:168
llvm::AMDGPU::SDWA::DWORD
Definition:
SIDefines.h:367
llvm::SISrcMods::DST_OP_SEL
Definition:
SIDefines.h:171
llvm::AMDGPU::OPERAND_KIMM32
Operand with 32-bit immediate that uses the constant bus.
Definition:
SIDefines.h:149
llvm::AMDGPU::SendMsg::OP_SYS_REG_RD
Definition:
SIDefines.h:256
llvm::AMDGPU::Swizzle::LANE_NUM
Definition:
SIDefines.h:343
llvm::AMDGPU::SendMsg::Op
Op
Definition:
SIDefines.h:242
llvm::AMDGPU::SendMsg::ID_SYSMSG
Definition:
SIDefines.h:234
llvm::AMDGPU::SendMsg::OP_SHIFT_
Definition:
SIDefines.h:244
llvm::AMDGPU::DPP::WAVE_ROL1
Definition:
SIDefines.h:412
llvm::AMDGPU::DPP::DPP_UNUSED7_LAST
Definition:
SIDefines.h:420
MCInstrDesc.h
llvm::SISrcMods::OP_SEL_1
Definition:
SIDefines.h:170
llvm::AMDGPU::EncValues::INLINE_FLOATING_C_MIN
Definition:
SIDefines.h:216
llvm::AMDGPU::SendMsg::ID_GAPS_FIRST_
Definition:
SIDefines.h:236
llvm::AMDGPU::SendMsg::OP_SYS_LAST_
Definition:
SIDefines.h:259
llvm::SIInstrFlags::ClassFlags
ClassFlags
Definition:
SIDefines.h:99
llvm::AMDGPU::SDWA::SRC_TTMP_MIN
Definition:
SIDefines.h:386
llvm::AMDGPU::OPERAND_REG_INLINE_C_V2FP16
Definition:
SIDefines.h:130
llvm::AMDGPU::Swizzle::BITMASK_OR_SHIFT
Definition:
SIDefines.h:352
llvm::AMDGPU::Hwreg::ID_WIDTH_
Definition:
SIDefines.h:292
llvm::AMDGPU::Hwreg::ID_MEM_BASES
Definition:
SIDefines.h:288
llvm::AMDGPU::DPP::BCAST31
Definition:
SIDefines.h:424
llvm::AMDGPU::SDWA::WORD_0
Definition:
SIDefines.h:365
llvm::AMDGPU::Swizzle::BITMASK_MASK
Definition:
SIDefines.h:347
llvm::AMDGPU::SDWA::UNUSED_PRESERVE
Definition:
SIDefines.h:373
llvm::AMDGPU::SendMsg::STREAM_ID_SHIFT_
Definition:
SIDefines.h:269
AMDGPU
Definition:
AMDGPUPTNote.h:20
llvm::AMDGPU::DPP::QUAD_PERM_FIRST
Definition:
SIDefines.h:395
llvm::AMDGPU::Swizzle::BITMASK_PERM_ENC
Definition:
SIDefines.h:335
llvm::SIInstrFlags::MUBUF
Definition:
SIDefines.h:46
llvm::AMDGPU::SDWA::WORD_1
Definition:
SIDefines.h:366
llvm::AMDGPU::Swizzle::LANE_MAX
Definition:
SIDefines.h:341
llvm::AMDGPU::Hwreg::ID_HW_ID
Definition:
SIDefines.h:284
llvm::AMDGPU::Swizzle::Id
Id
Definition:
SIDefines.h:320
llvm::SIInstrFlags::EXP_CNT
Definition:
SIDefines.h:60
llvm::SIInstrFlags::SOPP
Definition:
SIDefines.h:30
llvm::AMDGPU::OPERAND_REG_INLINE_C_FP32
Definition:
SIDefines.h:128
llvm::AMDGPUAsmVariants::DEFAULT
Definition:
SIDefines.h:195
Generated on Sun Dec 20 2020 13:56:18 for LLVM by
1.8.13