LLVM  7.0.0
Public Member Functions | Public Attributes | List of all members
llvm::MDNodeKeyImpl< DILabel > Struct Template Reference

#include "IR/LLVMContextImpl.h"

Collaboration diagram for llvm::MDNodeKeyImpl< DILabel >:
[legend]

Public Member Functions

 MDNodeKeyImpl (Metadata *Scope, MDString *Name, Metadata *File, unsigned Line)
 
 MDNodeKeyImpl (const DILabel *N)
 
bool isKeyOf (const DILabel *RHS) const
 
unsigned getHashValue () const
 Using name and line to get hash value. It should already be mostly unique. More...
 

Public Attributes

Metadata * Scope
 
MDString * Name
 
Metadata * File
 
unsigned Line
 

Detailed Description

template<>
struct llvm::MDNodeKeyImpl< DILabel >

Definition at line 951 of file LLVMContextImpl.h.

Constructor & Destructor Documentation

◆ MDNodeKeyImpl() [1/2]

llvm::MDNodeKeyImpl< DILabel >::MDNodeKeyImpl ( Metadata *  Scope,
MDString *  Name,
Metadata *  File,
unsigned  Line 
)
inline

Definition at line 957 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

Definition at line 959 of file LLVMContextImpl.h.

Member Function Documentation

◆ getHashValue()

unsigned llvm::MDNodeKeyImpl< DILabel >::getHashValue ( ) const
inline

Using name and line to get hash value. It should already be mostly unique.

Definition at line 969 of file LLVMContextImpl.h.

References llvm::hash_combine().

◆ isKeyOf()

bool llvm::MDNodeKeyImpl< DILabel >::isKeyOf ( const DILabel *  RHS) const
inline

Member Data Documentation

◆ File

Definition at line 954 of file LLVMContextImpl.h.

◆ Line

Definition at line 955 of file LLVMContextImpl.h.

◆ Name

Definition at line 953 of file LLVMContextImpl.h.

◆ Scope

Definition at line 952 of file LLVMContextImpl.h.


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