LLVM  8.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::ValueInfo Struct Reference

Struct that holds a reference to a particular GUID in a global value summary. More...

#include "llvm/IR/ModuleSummaryIndex.h"

Collaboration diagram for llvm::ValueInfo:
Collaboration graph
[legend]

Public Member Functions

 ValueInfo ()=default
 
 ValueInfo (bool HaveGVs, const GlobalValueSummaryMapTy::value_type *R)
 
 operator bool () const
 
GlobalValue::GUID getGUID () const
 
const GlobalValuegetValue () const
 
ArrayRef< std::unique_ptr< GlobalValueSummary > > getSummaryList () const
 
StringRef name () const
 
bool haveGVs () const
 
const GlobalValueSummaryMapTy::value_type * getRef () const
 
bool isDSOLocal () const
 

Public Attributes

PointerIntPair< const GlobalValueSummaryMapTy::value_type *, 1, boolRefAndFlag
 

Detailed Description

Struct that holds a reference to a particular GUID in a global value summary.

Definition at line 164 of file ModuleSummaryIndex.h.

Constructor & Destructor Documentation

◆ ValueInfo() [1/2]

llvm::ValueInfo::ValueInfo ( )
default

◆ ValueInfo() [2/2]

llvm::ValueInfo::ValueInfo ( bool  HaveGVs,
const GlobalValueSummaryMapTy::value_type *  R 
)
inline

Definition at line 169 of file ModuleSummaryIndex.h.

Member Function Documentation

◆ getGUID()

GlobalValue::GUID llvm::ValueInfo::getGUID ( ) const
inline

◆ getRef()

const GlobalValueSummaryMapTy::value_type* llvm::ValueInfo::getRef ( ) const
inline

◆ getSummaryList()

ArrayRef<std::unique_ptr<GlobalValueSummary> > llvm::ValueInfo::getSummaryList ( ) const
inline

◆ getValue()

const GlobalValue* llvm::ValueInfo::getValue ( ) const
inline

Definition at line 177 of file ModuleSummaryIndex.h.

References assert().

◆ haveGVs()

bool llvm::ValueInfo::haveGVs ( ) const
inline

Definition at line 191 of file ModuleSummaryIndex.h.

Referenced by llvm::DenseMapInfo< ValueInfo >::isEqual().

◆ isDSOLocal()

bool ValueInfo::isDSOLocal ( ) const

◆ name()

StringRef llvm::ValueInfo::name ( ) const
inline

◆ operator bool()

llvm::ValueInfo::operator bool ( ) const
inline

Definition at line 174 of file ModuleSummaryIndex.h.

Member Data Documentation

◆ RefAndFlag

PointerIntPair<const GlobalValueSummaryMapTy::value_type *, 1, bool> llvm::ValueInfo::RefAndFlag

Definition at line 166 of file ModuleSummaryIndex.h.


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