LLVM  16.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 667 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 673 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

Definition at line 678 of file LLVMContextImpl.h.

Member Function Documentation

◆ getHashValue()

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

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

References RHS, and llvm::Sched::Source.

Member Data Documentation

◆ Checksum

Definition at line 670 of file LLVMContextImpl.h.

◆ Directory

Definition at line 669 of file LLVMContextImpl.h.

◆ Filename

Definition at line 668 of file LLVMContextImpl.h.

◆ Source

Definition at line 671 of file LLVMContextImpl.h.


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