LLVM 22.0.0git
llvm::MDNodeKeyImpl< DILabel > Struct Reference

#include "IR/LLVMContextImpl.h"

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

Public Member Functions

 MDNodeKeyImpl (Metadata *Scope, MDString *Name, Metadata *File, unsigned Line, unsigned Column, bool IsArtificial, std::optional< unsigned > CoroSuspendIdx)
 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.

Public Attributes

MetadataScope
MDStringName
MetadataFile
unsigned Line
unsigned Column
bool IsArtificial
std::optional< unsignedCoroSuspendIdx

Detailed Description

Definition at line 1316 of file LLVMContextImpl.h.

Constructor & Destructor Documentation

◆ MDNodeKeyImpl() [1/2]

llvm::MDNodeKeyImpl< DILabel >::MDNodeKeyImpl ( Metadata * Scope,
MDString * Name,
Metadata * File,
unsigned Line,
unsigned Column,
bool IsArtificial,
std::optional< unsigned > CoroSuspendIdx )
inline

Definition at line 1325 of file LLVMContextImpl.h.

References Column, CoroSuspendIdx, File, IsArtificial, Line, Name, and Scope.

◆ MDNodeKeyImpl() [2/2]

llvm::MDNodeKeyImpl< DILabel >::MDNodeKeyImpl ( const DILabel * N)
inline

Definition at line 1330 of file LLVMContextImpl.h.

References Column, CoroSuspendIdx, File, IsArtificial, Line, N, Name, and Scope.

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 1344 of file LLVMContextImpl.h.

References Column, CoroSuspendIdx, llvm::hash_combine(), IsArtificial, Line, Name, and Scope.

◆ isKeyOf()

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

Definition at line 1336 of file LLVMContextImpl.h.

References Column, CoroSuspendIdx, File, IsArtificial, Line, Name, RHS, and Scope.

Member Data Documentation

◆ Column

◆ CoroSuspendIdx

std::optional<unsigned> llvm::MDNodeKeyImpl< DILabel >::CoroSuspendIdx

Definition at line 1323 of file LLVMContextImpl.h.

Referenced by getHashValue(), isKeyOf(), MDNodeKeyImpl(), and MDNodeKeyImpl().

◆ File

Definition at line 1319 of file LLVMContextImpl.h.

Referenced by isKeyOf(), MDNodeKeyImpl(), and MDNodeKeyImpl().

◆ IsArtificial

bool llvm::MDNodeKeyImpl< DILabel >::IsArtificial

Definition at line 1322 of file LLVMContextImpl.h.

Referenced by getHashValue(), isKeyOf(), MDNodeKeyImpl(), and MDNodeKeyImpl().

◆ Line

◆ Name

◆ Scope


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