LLVM  6.0.0svn
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::ConstantAsMetadata Class Reference

#include "llvm/IR/Metadata.h"

Inheritance diagram for llvm::ConstantAsMetadata:
Inheritance graph
[legend]
Collaboration diagram for llvm::ConstantAsMetadata:
Collaboration graph
[legend]

Public Member Functions

ConstantgetValue () const
 

Static Public Member Functions

static ConstantAsMetadataget (Constant *C)
 
static ConstantAsMetadatagetIfExists (Constant *C)
 
static bool classof (const Metadata *MD)
 

Friends

class ValueAsMetadata
 

Additional Inherited Members

 Active type of storage. More...

Detailed Description

Definition at line 401 of file Metadata.h.

Member Function Documentation

◆ classof()

static bool llvm::ConstantAsMetadata::classof ( const Metadata MD)
inlinestatic

Definition at line 420 of file Metadata.h.

References llvm::Metadata::getMetadataID().

◆ get()

static ConstantAsMetadata* llvm::ConstantAsMetadata::get ( Constant C)
inlinestatic

◆ getIfExists()

static ConstantAsMetadata* llvm::ConstantAsMetadata::getIfExists ( Constant C)
inlinestatic

Definition at line 412 of file Metadata.h.

References llvm::ValueAsMetadata::getConstantIfExists().

◆ getValue()

Constant* llvm::ConstantAsMetadata::getValue ( ) const
inline

Definition at line 416 of file Metadata.h.

References llvm::ValueAsMetadata::getValue().

Referenced by getSummaryFromMD(), and wrapConstantAsMetadata().

Friends And Related Function Documentation

◆ ValueAsMetadata

friend class ValueAsMetadata
friend

Definition at line 402 of file Metadata.h.


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