LLVM  11.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::GlobalVarSummary::GVarFlags Struct Reference

#include "llvm/IR/ModuleSummaryIndex.h"

Collaboration diagram for llvm::GlobalVarSummary::GVarFlags:
Collaboration graph
[legend]

Public Member Functions

 GVarFlags (bool ReadOnly, bool WriteOnly, bool Constant, GlobalObject::VCallVisibility Vis)
 

Public Attributes

unsigned MaybeReadOnly: 1
 
unsigned MaybeWriteOnly: 1
 
unsigned Constant: 1
 
unsigned VCallVisibility: 2
 

Detailed Description

Definition at line 759 of file ModuleSummaryIndex.h.

Constructor & Destructor Documentation

◆ GVarFlags()

llvm::GlobalVarSummary::GVarFlags::GVarFlags ( bool  ReadOnly,
bool  WriteOnly,
bool  Constant,
GlobalObject::VCallVisibility  Vis 
)
inline

Definition at line 760 of file ModuleSummaryIndex.h.

Member Data Documentation

◆ Constant

unsigned llvm::GlobalVarSummary::GVarFlags::Constant

Definition at line 783 of file ModuleSummaryIndex.h.

Referenced by getEncodedGVarFlags(), getSummaryKindName(), and resolveFwdRef().

◆ MaybeReadOnly

unsigned llvm::GlobalVarSummary::GVarFlags::MaybeReadOnly

Definition at line 770 of file ModuleSummaryIndex.h.

Referenced by getEncodedGVarFlags(), getSummaryKindName(), and resolveFwdRef().

◆ MaybeWriteOnly

unsigned llvm::GlobalVarSummary::GVarFlags::MaybeWriteOnly

Definition at line 774 of file ModuleSummaryIndex.h.

Referenced by getEncodedGVarFlags(), getSummaryKindName(), and resolveFwdRef().

◆ VCallVisibility

unsigned llvm::GlobalVarSummary::GVarFlags::VCallVisibility

Definition at line 786 of file ModuleSummaryIndex.h.

Referenced by getEncodedGVarFlags(), getSummaryKindName(), and resolveFwdRef().


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