LLVM  6.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 (const GlobalValueSummaryMapTy::value_type *Ref)
 
 operator bool () const
 
GlobalValue::GUID getGUID () const
 
const GlobalValuegetValue () const
 
ArrayRef< std::unique_ptr< GlobalValueSummary > > getSummaryList () const
 

Public Attributes

const GlobalValueSummaryMapTy::value_type * Ref = nullptr
 

Detailed Description

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

Definition at line 93 of file ModuleSummaryIndex.h.

Constructor & Destructor Documentation

◆ ValueInfo() [1/2]

llvm::ValueInfo::ValueInfo ( )
default

◆ ValueInfo() [2/2]

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

Definition at line 97 of file ModuleSummaryIndex.h.

Member Function Documentation

◆ getGUID()

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

◆ getSummaryList()

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

◆ getValue()

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

Definition at line 102 of file ModuleSummaryIndex.h.

◆ operator bool()

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

Definition at line 99 of file ModuleSummaryIndex.h.

Member Data Documentation

◆ Ref

const GlobalValueSummaryMapTy::value_type* llvm::ValueInfo::Ref = nullptr

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