LLVM 24.0.0git
llvm::ABIPreserveInfo Struct Reference

The number of registers that the callers of a function are responsible for preserving across a call, as given by the nvvm.abi_preserve* attributes. More...

#include "Target/NVPTX/NVVMProperties.h"

Public Attributes

std::optional< unsigned > Preserve
std::optional< unsigned > PreserveControl

Detailed Description

The number of registers that the callers of a function are responsible for preserving across a call, as given by the nvvm.abi_preserve* attributes.

Preserve counts general purpose registers, PreserveControl counts control registers.

The presence of a value indicates that the corresponding attribute was encountered.

Definition at line 69 of file NVVMProperties.h.

Member Data Documentation

◆ Preserve

std::optional<unsigned> llvm::ABIPreserveInfo::Preserve

Definition at line 70 of file NVVMProperties.h.

◆ PreserveControl

std::optional<unsigned> llvm::ABIPreserveInfo::PreserveControl

Definition at line 71 of file NVVMProperties.h.


The documentation for this struct was generated from the following file: