Go to the source code of this file.
◆ DEBUG_TYPE
#define DEBUG_TYPE "amdgpu-rewrite-out-arguments" |
◆ INITIALIZE_PASS_BEGIN()
INITIALIZE_PASS_BEGIN |
( |
AMDGPURewriteOutArguments |
, |
|
|
DEBUG_TYPE |
, |
|
|
"AMDGPU Rewrite Out Arguments" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
◆ STATISTIC() [1/2]
STATISTIC |
( |
NumOutArgumentFunctionsReplaced |
, |
|
|
"Number of functions with out arguments moved to struct return values" |
|
|
) |
| |
◆ STATISTIC() [2/2]
STATISTIC |
( |
NumOutArgumentsReplaced |
, |
|
|
"Number out arguments moved to struct return values" |
|
|
) |
| |
◆ AnyAddressSpace
cl::opt< bool > AnyAddressSpace("amdgpu-any-address-space-out-arguments", cl::desc("Replace pointer out arguments with " "struct returns for non-private address space"), cl::Hidden, cl::init(false)) |
( |
"amdgpu-any-address-space-out-arguments" |
, |
|
|
cl::desc("Replace pointer out arguments with " "struct returns for non-private address space") |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(false) |
|
|
) |
| |
|
static |
◆ Arguments
AMDGPU Rewrite Out Arguments |
◆ DEBUG_TYPE
◆ false
◆ MaxNumRetRegs
cl::opt< unsigned > MaxNumRetRegs("amdgpu-max-return-arg-num-regs", cl::desc("Approximately limit number of return registers for replacing out arguments"), cl::Hidden, cl::init(16)) |
( |
"amdgpu-max-return-arg-num-regs" |
, |
|
|
cl::desc("Approximately limit number of return registers for replacing out arguments") |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(16) |
|
|
) |
| |
|
static |