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

#include "llvm/IR/ModuleSummaryIndex.h"

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 1138 of file ModuleSummaryIndex.h.

Constructor & Destructor Documentation

◆ GVarFlags()

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

Definition at line 1139 of file ModuleSummaryIndex.h.

Member Data Documentation

◆ Constant

unsigned llvm::GlobalVarSummary::GVarFlags::Constant

Definition at line 1162 of file ModuleSummaryIndex.h.

Referenced by llvm::GlobalVarSummary::isConstant().

◆ MaybeReadOnly

unsigned llvm::GlobalVarSummary::GVarFlags::MaybeReadOnly

◆ MaybeWriteOnly

unsigned llvm::GlobalVarSummary::GVarFlags::MaybeWriteOnly

◆ VCallVisibility

unsigned llvm::GlobalVarSummary::GVarFlags::VCallVisibility

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