LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MDNodeKeyImpl< DIFile > Struct 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

Definition at line 652 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 658 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

Definition at line 663 of file LLVMContextImpl.h.

Member Function Documentation

◆ getHashValue()

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

Definition at line 674 of file LLVMContextImpl.h.

References llvm::hash_combine(), and llvm::Sched::Source.

◆ isKeyOf()

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

Definition at line 667 of file LLVMContextImpl.h.

References llvm::Sched::Source.

Member Data Documentation

◆ Checksum

Definition at line 655 of file LLVMContextImpl.h.

◆ Directory

Definition at line 654 of file LLVMContextImpl.h.

◆ Filename

Definition at line 653 of file LLVMContextImpl.h.

◆ Source

Definition at line 656 of file LLVMContextImpl.h.


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