LLVM 24.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

Metadata * Scope
MDString * Name
Metadata * File
unsigned Line
unsigned Column
bool IsArtificial
std::optional< unsigned > CoroSuspendIdx

Detailed Description

Definition at line 1350 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 1359 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 1364 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 1378 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 1370 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 1357 of file LLVMContextImpl.h.

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

◆ File

Definition at line 1353 of file LLVMContextImpl.h.

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

◆ IsArtificial

bool llvm::MDNodeKeyImpl< DILabel >::IsArtificial

Definition at line 1356 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: