LLVM  10.0.0svn
Public Types | Public Attributes | List of all members
llvm::WholeProgramDevirtResolution::ByArg Struct Reference

#include "llvm/IR/ModuleSummaryIndex.h"

Collaboration diagram for llvm::WholeProgramDevirtResolution::ByArg:
Collaboration graph

Public Types

enum  Kind { Indir, UniformRetVal, UniqueRetVal, VirtualConstProp }

Public Attributes

enum llvm::WholeProgramDevirtResolution::ByArg::Kind TheKind = Indir
uint64_t Info = 0
 Additional information for the resolution: More...
uint32_t Byte = 0
uint32_t Bit = 0

Detailed Description

Definition at line 836 of file ModuleSummaryIndex.h.

Member Enumeration Documentation

◆ Kind


Just do a regular virtual call.


Uniform return value optimization.


Unique return value optimization.


Virtual constant propagation.

Definition at line 837 of file ModuleSummaryIndex.h.

Member Data Documentation

◆ Bit

uint32_t llvm::WholeProgramDevirtResolution::ByArg::Bit = 0

◆ Byte

uint32_t llvm::WholeProgramDevirtResolution::ByArg::Byte = 0

◆ Info

uint64_t llvm::WholeProgramDevirtResolution::ByArg::Info = 0

Additional information for the resolution:

  • UniformRetVal: the uniform return value.
  • UniqueRetVal: the return value associated with the unique vtable (0 or 1).

Definition at line 848 of file ModuleSummaryIndex.h.

Referenced by llvm::yaml::MappingTraits< WholeProgramDevirtResolution::ByArg >::mapping(), parseWholeProgramDevirtResolutionByArg(), llvm::updateIndexWPDForExports(), and writeWholeProgramDevirtResolutionByArg().

◆ TheKind

enum llvm::WholeProgramDevirtResolution::ByArg::Kind llvm::WholeProgramDevirtResolution::ByArg::TheKind = Indir

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