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

#include "IR/LLVMContextImpl.h"

Collaboration diagram for llvm::MDNodeKeyImpl< DIFile >:
Collaboration graph
[legend]

Public Member Functions

 MDNodeKeyImpl (MDString *Filename, MDString *Directory, Optional< DIFile::ChecksumInfo< MDString *>> Checksum, Optional< MDString *> Source)
 
 MDNodeKeyImpl (const DIFile *N)
 
bool isKeyOf (const DIFile *RHS) const
 
unsigned getHashValue () const
 

Public Attributes

MDStringFilename
 
MDStringDirectory
 
Optional< DIFile::ChecksumInfo< MDString * > > Checksum
 
Optional< MDString * > Source
 

Detailed Description

template<>
struct llvm::MDNodeKeyImpl< DIFile >

Definition at line 579 of file LLVMContextImpl.h.

Constructor & Destructor Documentation

◆ MDNodeKeyImpl() [1/2]

llvm::MDNodeKeyImpl< DIFile >::MDNodeKeyImpl ( MDString Filename,
MDString Directory,
Optional< DIFile::ChecksumInfo< MDString *>>  Checksum,
Optional< MDString *>  Source 
)
inline

Definition at line 585 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

Definition at line 590 of file LLVMContextImpl.h.

Member Function Documentation

◆ getHashValue()

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

Definition at line 601 of file LLVMContextImpl.h.

References llvm::Optional< T >::getValueOr(), and llvm::hash_combine().

◆ isKeyOf()

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

Definition at line 594 of file LLVMContextImpl.h.

Member Data Documentation

◆ Checksum

Definition at line 582 of file LLVMContextImpl.h.

◆ Directory

Definition at line 581 of file LLVMContextImpl.h.

◆ Filename

Definition at line 580 of file LLVMContextImpl.h.

◆ Source

Definition at line 583 of file LLVMContextImpl.h.


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