LLVM 22.0.0git
llvm::MDNodeSubsetEqualImpl< DISubprogram > Struct Reference

#include "IR/LLVMContextImpl.h"

Inheritance diagram for llvm::MDNodeSubsetEqualImpl< DISubprogram >:
[legend]

Public Types

using KeyTy = MDNodeKeyImpl<DISubprogram>

Static Public Member Functions

static bool isSubsetEqual (const KeyTy &LHS, const DISubprogram *RHS)
static bool isSubsetEqual (const DISubprogram *LHS, const DISubprogram *RHS)
static bool isDeclarationOfODRMember (bool IsDefinition, const Metadata *Scope, const MDString *LinkageName, const Metadata *TemplateParams, const DISubprogram *RHS)
 Subprograms compare equal if they declare the same function in an ODR type.

Detailed Description

Definition at line 1005 of file LLVMContextImpl.h.

Member Typedef Documentation

◆ KeyTy

Member Function Documentation

◆ isDeclarationOfODRMember()

bool llvm::MDNodeSubsetEqualImpl< DISubprogram >::isDeclarationOfODRMember ( bool IsDefinition,
const Metadata * Scope,
const MDString * LinkageName,
const Metadata * TemplateParams,
const DISubprogram * RHS )
inlinestatic

Subprograms compare equal if they declare the same function in an ODR type.

Definition at line 1021 of file LLVMContextImpl.h.

References llvm::dyn_cast_or_null(), llvm::LinkageName, and RHS.

Referenced by isSubsetEqual(), and isSubsetEqual().

◆ isSubsetEqual() [1/2]

bool llvm::MDNodeSubsetEqualImpl< DISubprogram >::isSubsetEqual ( const DISubprogram * LHS,
const DISubprogram * RHS )
inlinestatic

Definition at line 1013 of file LLVMContextImpl.h.

References isDeclarationOfODRMember(), LHS, and RHS.

◆ isSubsetEqual() [2/2]

bool llvm::MDNodeSubsetEqualImpl< DISubprogram >::isSubsetEqual ( const KeyTy & LHS,
const DISubprogram * RHS )
inlinestatic

Definition at line 1008 of file LLVMContextImpl.h.

References isDeclarationOfODRMember(), LHS, and RHS.


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